Given up in the end. I cant use an older Mosquitto so that stops me dead in the water.
The heater i was able to get in to the Tuya app and can control it via Tuya Local so its better than nothing. Would prefer MQTT but right now i am just happy to be able to control it via HA.
Thanks! I’ve done this and I am able to add the integration using my email and password, but I don’t have any devices load into the integration. I currently use the dehumidifier, which works fine through the Homewizard Climate app.
@mhjansen79 I should’ve mentioned that it currently only supports one type of device (HeaterFan). Main reason is I only had access to that one device. I might have a way to find out other device types’ websocket payloads, but I’m not sure yet. You are welcome to open a PR in the underlying library if you know what payloads are sent for your device type. Otherwise, I might have more supported devices in about a month or so.
Someone asked me for a more detailed instruction on how I got my heater into HA. Here’s what I sent them:
Do you know how to use command line? If not, here’s a youtube video on that for windows. Install this:
Once you have python installed download this and go into the command line at the location of the extracted files you downloaded. In it is a debug.sh command which can log the devices that exist on your homewizard climate account. You just run it by typing: ./debug.sh
This tells you what your device type is. “heater” is mine. Download this, but go into this file locally and edit it, putting in the device type you got above. Save the file.
Then install the component the same way @mepla suggests here. Once you’ve done that reboot your HA instance and then go into integrations and it should be there to add.
Successfully installed homewizard-climate-websocket-0.0.8
DEBUG:homewizard_climate_websocket.api.api:Logging in to https://api.homewizardeasyonline.com/v1/auth/login with username [email protected]
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.homewizardeasyonline.com:443
DEBUG:urllib3.connectionpool:https://api.homewizardeasyonline.com:443 "GET /v1/auth/login HTTP/1.1" 200 696
DEBUG:homewizard_climate_websocket.api.api:Login ([email protected]) status code: 200
ERROR:homewizard_climate_websocket.api.api:Login failed for username [email protected], response was: <Response [200]>
Traceback (most recent call last):
File "/home/atarian/Downloads/homewizard-climate-websocket-feature-debug-devices/homewizard_climate_websocket/debug.py", line 28, in <module>
main()
File "/home/atarian/Downloads/homewizard-climate-websocket-feature-debug-devices/homewizard_climate_websocket/debug.py", line 15, in main
api.login()
File "/home/atarian/.local/lib/python3.10/site-packages/homewizard_climate_websocket/api/api.py", line 52, in login
raise InvalidHomewizardAuth()
homewizard_climate_websocket.api.api.InvalidHomewizardAuth
I try to add our HomeWizard compatible Dehumidifier. My login email and password are working 100% (for login to account on the website), however if I add these to debug.sh and run the script, I get a response 200.
Is this because the dehumidifier is not a climate type device or could I be doing something wrong?
btw, I exchanged my real email to [email protected] in the output above