You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
z2m: Publish 'set' 'state' to 'Test Plug' failed: 'RangeError [ERR_OUT_OF_RANGE]: ZCL command 0x6cfd22fffe3d0909/1 genOnOff.onWithTimedOff({"ctrlbits":0,"ontime":108000,"offwaittime":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (The value of "value" is out of range. It must be >= 0 and <= 65535. Received 108000)'
What did you expect to happen?
onWithTimedOff can be set with a value between 6554 and 65535
How to reproduce it (minimal and precise)
Send a MQTT message with an on_time of > 6553 to the topic:
zigbee2mqtt//set
E.g.:
zigbee2mqtt/Test Plug/set
{"state" : "ON", "on_time": 7200}
Observe that z2m shows a RangeError and value in the error message is 10x that sent. E.g.:
z2m: Publish 'set' 'state' to 'Test Plug' failed: 'RangeError [ERR_OUT_OF_RANGE]: ZCL command 0xe0798dfffed3b7fc/1 genOnOff.onWithTimedOff({"ctrlbits":0,"ontime":72000,"offwaittime":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (The value of "value" is out of range. It must be >= 0 and <= 65535. Received 72000)'
Zigbee2MQTT version
1.42.0
Adapter firmware version
20230507
Adapter
Smartlight SLZB-06
Setup
Add-on on Home Assistant OS in ProxMox VM on Intel NUC
Debug log
No response
The text was updated successfully, but these errors were encountered:
What happened?
When using onWithTimedOff, the on_time parameter seems to be multiplied by 10 so cannot be set to a value of greater than 6553.
This seems to be independent of device and was tested with both an IKEA Tretakt E2204 UK and SONOFF ZBMINI.
zigbee2mqtt/Test Plug/set
What did you expect to happen?
onWithTimedOff can be set with a value between 6554 and 65535
How to reproduce it (minimal and precise)
Send a MQTT message with an on_time of > 6553 to the topic:
zigbee2mqtt//set
E.g.:
zigbee2mqtt/Test Plug/set
Observe that z2m shows a RangeError and value in the error message is 10x that sent. E.g.:
Zigbee2MQTT version
1.42.0
Adapter firmware version
20230507
Adapter
Smartlight SLZB-06
Setup
Add-on on Home Assistant OS in ProxMox VM on Intel NUC
Debug log
No response
The text was updated successfully, but these errors were encountered: