Skip to content
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

Thermostats showing set point value for current temperature #21

Closed
sbarriba opened this issue Jun 16, 2016 · 4 comments
Closed

Thermostats showing set point value for current temperature #21

sbarriba opened this issue Jun 16, 2016 · 4 comments
Assignees

Comments

@sbarriba
Copy link

The Domoticz web interface is correctly reporting that the temperature in the rooms (from Honeywell evoHome). For example the Games Room is currently 22.2 with a Set Point of 5.

The relevant JSON block returned from "http://[domoticz-host]:8080/json.htm?type=devices&filter=all&used=true&order=Name" is shown below:

{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "22.2 C, (5.0 C), HeatingOff",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "EvoHome HGI80",
"HardwareType" : "Evohome USB (for HGI/S80)",
"HardwareTypeVal" : 39,
"HaveTimeout" : false,
"ID" : "",
"LastUpdate" : "2016-06-16 15:10:00",
"Name" : "Games Room Heating",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"SetPoint" : 5.0,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "HeatingOff",
"SubType" : "Zone",
"Temp" : 22.20,
"Timers" : "false",
"Type" : "Heating",
"TypeImg" : "override_mini",
"Unit" : 9,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "13"
},

When fetching the thermostats via HomeKit apps HomeBridge reports in the log:
"[6/16/2016, 2:43:06 PM] [Domoticz] Data Received for Games Room Heating: 5"

So the plugin is retrieving the SetPoint value and not the Temp value.

I'm using:
"npm -v homebridge-edomoticz" reports "2.14.2"
Domoticz v3.5169

All running on a Raspberry Pi.

@PatchworkBoy
Copy link
Owner

Hmm - fixing this would break a lot of things for those running other thermostats or using the EvoHome-via-Script method in Domoticz (see #13)

I’ll need to write in specific support for the EvoHome HGI80. Leave it with me.

@sbarriba
Copy link
Author

Thanks for following up on this. I'm happy to test scenarios for you. I also have some Nest thermostat data I can pull into Domoticz if that helps.

@sbarriba
Copy link
Author

If it helps I have a local branch working with Domoticz which has ensures we're using "s.Temp" within the getTemperature function (plus a fix for another issue I found which I'll log shortly). It sounds like that is a HGI80 specific fix though. I can push this to remote branch if that would help.

@PatchworkBoy
Copy link
Owner

PatchworkBoy commented Nov 20, 2016

Closing this as it’s a know issue (#63 + see various prev issues on this topic: https://github.com/PatchworkBoy/homebridge-edomoticz/issues?utf8=✓&q=is%3Aissue%20is%3Aclosed%20thermostat) between using prefab’d thermostats, and those creating there own thermostats from individual devices within domoticz. Too many different cases to have to code for which would make it far too clumsy for the end-user to have to set up.

Best case is simply to github-gist your particular code and reapply it whenever you update the main plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants