watts_vision_username: <e-mail address of user account>
watts_vision_password: <password>
watts_vision_client_id: "app-front"
watts_vision_url: "https://smarthome.wattselectronics.com"
watts_vision_smarthome_id: <smarthome_id found on website of wattselectronics.com>
It appears that the order is important and the client_id is in my case app-front instead of the real id. Offcourse if the client_id is always the same for everyone it needs to be hardcoded in the request. For now I kept it in de secrets file.
Thatās correct; the client ID is āapp-frontā. I chose to store all settings related to the Watts Vision login in the secrets file. Itās a personal choice to hard-code some of these values.
the app is running in AppDeamon with your latest instructions. now it seems the mapping is incorrect:
2021-12-07 16:08:29.663294 WARNING get_watts_vision_status: get_watts_vision_status: Entity input_number.temperature_kantoor not found in namespace default
2021-12-07 16:08:29.705284 WARNING get_watts_vision_status: get_watts_vision_status: Entity input_number.set_temperature_kantoor not found in namespace default
You have to add the devices to the Central Unit in a pre-defined order:
1.) First you need to pair your submodule(s) with your master module.
2.) Second you need to pair your themostat(s) with the module(s).
3.) Finally you need to pair your module(s) with the Central Unit.
See āType 4ā on page 5 of the manual of the Central Unit and pages 6 to 9 of the manual of the module.
Thanks that didnāt turn out to be the problem, but I think i found it.
I only have one 6 zone master, which was already paired to the each room thermostat when I moved into the house. Since I wanted to have more control I bought the wifi unit and tried adding that.
As my 6 zone master is located behind my fridge and washing machine I set up wifi before pairing it to the master. It then showed up without any zones, obviously.
Later I moved the washing machine and managed to pair the master and wifi unit. I then named all the zones correctly, but the zones wouldnāt show up in the app.
I then deleted the device, but didnāt disable wifi, and re-added it with a new pairing code from the app. It still didnāt show any zones, even after waiting for a day. But it did show the unit
Finally I deleted the wifi setup and re-entered it, then re-paired it for the 3rd time with cloud. Then it almost instantly showed all zones.
My guess is, that the unit posts itās configuration when added to wifi. And the code is only used for coupling your unit, to your account. So if your unit is connected to the internet before being fully configurated, it doesnt take in changes made after being connected to wifi.
I tried to create an integration for Watts. I only have a limited number of devices so I donāt know if it will work for other devices. Thereās lots to do therefore only basic functionality. Besides that I find the watts api is unstable and is regurlaly unavailable. Use at your own risk. Source code at https://github.com/pwesters/watts_vision
Hi, I have HASS now for 2 days, so itās all VERY new to me
Iāve tried to set everything up according to the posts above, but iām getting the following errors and i hope thereās someone who could help me to getting it to work:
2022-03-02 18:00:21.024459 WARNING watts: Unexpected error in worker for App watts:
2022-03-02 18:00:21.025372 WARNING watts: Worker Ags: {'id': '03a8f434bfa94d909341ded7fcf9d3ca', 'name': 'watts', 'objectid': 'ea99b53a089e425da6c74151d55a933b', 'type': 'scheduler', 'function': <bound method GetWattsVisionStatus.fetch_token of <GetWattsVisionStatus.GetWattsVisionStatus object at 0x7f82d4de20>>, 'pin_app': True, 'pin_thread': 1, 'kwargs': {'interval': 120, '__thread_id': 'thread-1'}}
2022-03-02 18:00:21.026818 WARNING watts: ------------------------------------------------------------
2022-03-02 18:00:21.029558 WARNING watts: Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/appdaemon/threading.py", line 904, in worker
funcref(self.AD.sched.sanitize_timer_kwargs(app, args["kwargs"]))
File "/config/appdaemon/apps/GetWattsVisionStatus.py", line 9, in fetch_token
username = self.args['username']
KeyError: 'username'
These errors are a result from attempting to add the script higher up.
I tried the package from pwesters as well.
the automatic installation didnāt work, so I tried the manual one.
After copying the files, the app didnāt show up in Add Integration
I have the same issue as you describe, however Iām not able to see any zones in the app. Also tried deleting the unit from the app, deleting the WiFi config and adding it again and requesting a new pairing code
Any more pointers?
I got in touch with Watts technical support and apparently I had a quite new firmware that was not fully supported yet by there backendā¦
They fixed it and I can see all the zones in my app so next step will be to use Paul his integration