steilerDev / homebridge-openhab2-complete

A homebridge plugin for openHAB, that has the expectation to fully support all Services offered by Apple's Homekit Accessory Protocol (HAP)
GNU General Public License v3.0
52 stars 16 forks source link

Heater/cooler - heatingThreshold and coolingThreshold not working #24

Closed maisun closed 4 years ago

maisun commented 5 years ago

Hi, Me agin - would like to report a potential bug with heater/cooler accessory - it looks like there is no way to set target temperature so in HomeKit it shows Set to (null).

Edit: looks like I should use heatingThresholdItem and coolingThresholdItem to set the target temperatures when running in auto mode. However it seems that the plugin doesn't try to pull the values from the OH. I tried to manually update the values in OH but in HomeBridge log nothing has been reported. I also tried to create a simple temperature sensor which seems to read the value from OH fine without issue. Could it be a bug in Heater/Cooler accessory?

maisun commented 5 years ago

Enable debug log in HomeBridge shows the following: [6/10/2019, 2:21:40 PM] [openHAB2-Complete] Got item prmUserTemperature with value 22.0, not adding to value cache, since it is not linked to homebridge!

Not sure why the value is not read though.

maisun commented 5 years ago

Ok, it turns out that the names of the configuration items in readme is wrong (Temp is missing): "heatingThresholdTempItem": "Itemname-within-OpenHAB", "coolingThresholdTempItem": "Itemname-within-OpenHAB",

steilerDev commented 4 years ago

Thanks! Fixed the docs!