OpenZWave / qt-openzwave

QT5 Wrapper for OpenZWave
GNU Lesser General Public License v3.0
105 stars 30 forks source link

Wrong level report - Philio Technology Corp PAN08-1 #196

Open elad-bar opened 3 years ago

elad-bar commented 3 years ago

I'm running the allinone edition using docker with HA core, from time to time HA presents 257% for a cover, I checked it in MQTT Explorer and noticed that COMMAND_CLASS_SWITCH_MULTILEVEL Level is 255 (HA is calculating it level / 99 * 100), in logs of ozwdaemon and it looks that the reporting is incorrect.

Refresh the node solves it (temporary)

Log:

2020-12-11 07:55:31.903183632  [20201211 9:55:31.903 IST] [ozw.library] [debug]: Detail - Node: 48   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x30, 0x03, 0x26, 0x03, 0xff, 0x1b 
2020-12-11 07:55:31.903187179  [20201211 9:55:31.903 IST] [ozw.logging] [debug]: popping Log Mesages 
2020-12-11 07:55:31.903651998  [20201211 9:55:31.903 IST] [ozw.library] [info]: Info - Node: 48 Received SwitchMultiLevel report: level=255 
2020-12-11 07:55:31.903654753  [20201211 9:55:31.903 IST] [ozw.logging] [debug]: popping Log Mesages 
2020-12-11 07:55:31.903867034  [20201211 9:55:31.903 IST] [ozw.library] [debug]: Detail - Node: 48 Value Updated: old value=90, new value=255, type=byte 
2020-12-11 07:55:31.903869780  [20201211 9:55:31.903 IST] [ozw.logging] [debug]: popping Log Mesages 
2020-12-11 07:55:31.904075619  [20201211 9:55:31.904 IST] [ozw.library] [debug]: Detail - Node: 48 Changes to this value are not verified 
2020-12-11 07:55:31.904078374  [20201211 9:55:31.904 IST] [ozw.logging] [debug]: popping Log Mesages 
2020-12-11 07:55:31.904306646  [20201211 9:55:31.904 IST] [ozw.library] [debug]: Detail - Node: 48 Notification: ValueChanged CC: COMMAND_CLASS_SWITCH_MULTILEVEL Instance: 1 Index: 0