openhab / org.openhab.binding.zigbee

openHAB binding for ZigBee
Eclipse Public License 2.0
73 stars 111 forks source link

Simplify mechanism to detect thermostat channels #700

Closed cdjackson closed 2 years ago

cdjackson commented 2 years ago

This changes the thermostat channel detection to just rely on reading the attributes rather than requesting the supported attributes list from the device. This should make the detection more robust as we have seen a thermostat that incorrectly reports the supported attributes.

The downside of this is that more requests are made to the device - 8 requests rather than 1. However this is only required during initialisation, and it seems that robustness is probably a stronger requirement here.

Signed-off-by: Chris Jackson chris@cd-jackson.com

openhab-bot commented 2 years ago

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/stelpro-maestro-asmt402ad-with-zigbee/128661/14