I have a Princess Glass Smart Panel Heater, 2000 W, and I’d like to help find other device types and contribute to finding them and getting my heater in HA. Any suggestions @mepla?
Hi @mepla! Thanks for your work.
I have tried this component, but I get an authentication error. “invalid_auth”.
What could be the error?
Many thanks in advance!
So…long journey. I don’t know how I found them initially, but I think I was looking at who forked @mepla’s library and came across Dennis.
He helped me figure out my device type. I did this by:
- Installing python and pip on an old Linux PC I had.
- running the debug script found here.
- It said at the end of the script,
ValueError: 'heater' is not a valid HomeWizardClimateDeviceType
- That is the device type, so I added
HEATER = "heater"
to homewizard_climate_websocket/model/climate_device.py
I’m still working on getting that into the custom component integration.
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
When I did it, this was the message I received:
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.
If you need any help, let me know.
With the help of Profile - MartiAbernathey - Home Assistant Community I also managed to get my infraredheater into HA. Thanks for all your great work.
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
The api module expects content-type “application/json” but it receives “application/json; charset=utf-8”.
Let me create a PR if I can find the lib
It was already done 4 days ago Change content-type check · mepla/homewizard-climate-websocket@db59a72 · GitHub
Use version 0.0.10
It works great, thanks
Only one thing when I click on the heat icon the cool icon lits
and it displays cooling instead of heating.
Just a reminder, there are two versions @mepla version which only has “heaterfan” but Dennis’ version (fork) includes heater, infrared heater, heaterfan, and fan.
The version from dennis1804 is indeed further developed. There’s an open PR made by Dennis for some initial changes into the @mepla repository, but this hasn’t been merged in yet, so that repo seems stale… I think at this point Dennis decided to maintain this component in his own repository (combined with a corresponding homewizard-climate-ws
Python package instead of the original homewizard-climate-websocket
package).
Note that recently I added support for ECO / BOOST preset mode for the heater type devices, this PR has been approved and released by Dennis, indicating his repository is actually maintained.
Yesterday I also did a bugfix for an initialization issue for these heater type devices into the related websocket repo. I expect this PR to also be approved and merged in short notice…
Has anyone managed to get this working with the Princess Smart Dehumidifier (that works with HomeWizard)? I am pretty new to HASS to any help is hugely appreciated. Thanks
dennis1804 has added dehumidifiers to his version. No need to do all the above, just install it using HACS and your good to go. It doesnt have all functions yet but it’s being worked on.
The integration works with my Princess 343700 IR Panel Heater. Thanks!
Does anyone knows what this log messages mean:
2024-02-08 19:28:14.610 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class ‘custom_components.homewizard_climate.climate.HomeWizardClimateEntity’>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please report it to the author of the ‘homewizard_climate’ custom integration
2024-02-08 19:28:14.610 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class ‘custom_components.homewizard_climate.climate.HomeWizardClimateEntity’>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please report it to the author of the ‘homewizard_climate’ custom integration
2024-02-08 19:28:14.610 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class ‘custom_components.homewizard_climate.climate.HomeWizardClimateEntity’>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the ‘homewizard_climate’ custom integration
Is there some howto for this plugin?
My equipment: 2x Princess Glass Panel Heaters that uses the Homewizard Climate App.
My issue (and probably a few other folks are probably at the same spot).
- I have an account registered on https://www.homewizard.com/ (seeing another post about authentication on 401 error when activating the plugin in HACS)
The plugin now logs in, however, what worries me is that I already had a login on the Homewizard Climate App, but had to create a new account to be able to log in via integration. Unsurprised, there are no devices listed. This suggests that there are different systems at play.
I have Dennis’ integration installed and at the latest version, but I am a bit confused on what is supposed to happen, given that the devices are already set up in the app etc…
When I try to download the integration in HACS I get an error:
The version d906d76 for this integration can not be used with HACS.
Any idea?
Same error here. HA version 2024.8.3
What is correct way of doing it? I have few Princess Home devices, so I need to connect them to Homewizard app instead of Princess Home app? Then I should be able to load them with this integration to Home Assistant?