-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
thermostat support #20
Comments
Certainly support adding this - but I don't have any connected thermostats. Would welcome a contribution, and happy to help! |
thanks. I'm not really a programmer. I can work myself through some python code but i have never actually done any real programming. Of course I can test the code and give feedback. I guess remote access to my setup could also be provided. |
@snizzleorg Thanks for the offer. I think adding a thermostat will take some experimenting - so would need to be a developer with local access. Hopefully we'll find someone! |
I started working on adding thermostat support, It doesn't look like it is going to take too long to get this added. @snizzleorg what kind of thermostat do you have? I'll be developing this to work against a Radio Thermostat CT80. When I paired my thermostat with vera, it shows up as 3 different devices in the Vera Devices page but it seems that I can only really control the thermostat using 1 of those 3... |
I have danfoss living connect (http://www.pepper1.net/zwavedb/device/426) not sure which firmware version though. Let me know if I can help somehow... |
@snizzleorg I've got this working on my end. If you would like to help me test you can install and run my fork of pyvera (https://github.com/robjohnson189/pyvera) and home-assistant (https://github.com/robjohnson189/home-assistant). Let me know how it works. It seems to be working good for me but my thermostat has quite a few more features than yours. By default home-assistant will load any thermostats as climate components, if you want them loaded into home-assistant as a thermostat you can add the config "climate: thermostat" to your vera config. @pavoni After a little more testing I'll create a pr |
@robjohnson189 Thanks! |
Now added - so closing. |
@pavoni I still don't see my thermostats. But I was wondering if this is maybe because they show up as heater in vera? |
@snizzleorg Could you have a go at running this code via python? Use the ip of your controller. This will list all you devices and their types. Might give us some clues. Also which vera version are you using?
|
Ok I tried:
I get this when I run it:
So the Thermostats show up as Thermostats... I seem to also be able to address them
|
So I suppose the problem with home-assistant does not come from pyvera? I'm running home-assistant 29.6 - which is the first version supporting it? |
That all looks good. Worth updating to the current HA - just so we know you're using the latest code. Is there anything interesting in your HA log when HA loads the vera component? |
Updating will be a bit complicated as I'm away for the next weeks... I can update but a couple of times docker made the system hang (during the building of the image) to a state where I had to pull the plug which I can't do remotely... |
Ok with hass 30.1 they show up. However every Thermostat shows up 2 times. and the Unit is wrong. They work with °C but show up with °F... |
I think I saw that there was a bug in HA - perhaps home-assistant/core#3605. As to showing up twice - can you do some detective work on the entity names and the Vera id in HA. Should probably move the discussion to HA. Feel free to tag me if you want some help. |
What do you mean by detective work? Those are the two entities showing up for the same vera ids: climate.bathroom_radiator:
climate.bathroom_radiator_2:
|
Additionally these Thermostats only support Heating, no fan, no cooling etc. also no reporting of the current temperature. Any way to reflect that in hass? and when I cane the Setpoint I get:
Will the command eventually be sent? |
I can't see anything obvious in the HA code that would cause duplication (the thermostat code looks the same as the switch code). Worth taking a look at your log and config - check if anything is being loaded twice. Afraid I don't know how the HA climate stuff works - but my Nest also has options (cooling etc) shown that it doesn't support! |
... would be very nice as well. I have a couple of danfoss z-wave thermostats and of course would love to be able to control them via home-assistant.
The text was updated successfully, but these errors were encountered: