Open psyciknz opened 2 years ago
Hi @psyciknz ,
I think i found a logic issue in my code...since I have the same item for targetHeatingCoolingState
(Which can be set to Heating, Cooling, Off and Auto) and currentHeatingCoolingState
(Which can only be set to Heating, Cooling, Off), when setting the target state, the current state is updated as well and will produce the above error...I think I need to split this into two items, one setting and one reading the current state, alternatively I could scratch the Auto
setting...
Let me know what you think.
Auto doesn't seem to do what I expected, in terms of ui.
I expected that if it was in auto and the heating switch was on, it would show something in the ui to show the state of the heating. But it doesn't seem to change.
So it could go, but then if you did have a heating and cooling system how would you control it? Mine is pretty much just for reflecting state.
Could they be split into individual thermostats with different capabilities rather than one that tries to do all?
Here's what mine looks like when I set the heating to on (forced on) - ignore the heating to temp.
But here's auto - which is my schedule mode that if temp gets below (in this case 16, it will turn on). But in this case the actual heating switch is actually on. Should the top left blue circle with 16 in it, go orange if the heating is running?
I've just changed my thermostats for openhab to include a modeItem and modeItemCharacteristic, in the hope that I can get it to show the difference between the central heating On, and in Auto Mode.
But after this change I now see these errors, talking about the cooling state. Do I need to other items (these don't seem to be mentioned in the docs) that are attached to nothing?
Update
So I've just updated to the latest version of the plugin (homebridge-openhab2-complete v1.3.3) Now when in homekit switching the values between off, heat, cool (which shouldn't be there) and auto, on auto I see this in the log:
Same config as above, I tell it I only have heating.
Auto guidance? I have states I can put my central heating in (defined by openhab) as On, Off and Schedule, I'm mapping On to Heat, Off to off, and Schedule to Auto modes in homebridge.