I’m using Z2M and recently updated my blue dimmers to v2.15 firmware. I’m seeing some strange behavior with the minimum level not updating.
Repro steps:
- Factory reset dimmer by holding up and config till red flashes
- Set to dimmer mode and “single pole”
- Turn on dimmer to a visible light level
- Modify
minimumLevel
and verify that the light level changes. e.g. with it on andminimumLevel
at 40, change it to 80 and verify light brightness increases. - Modify a different config setting like
maximumLevel
to 200 - Modify
minimumLevel
again, e.g. previously was 40, then changed to 150. - Notice light level does not change.
Tried:
- turning on and off
- changing dimming level
- air gapping the switch
- Changing
maximumLevel
back to previous level
But none of them affects the min level scaling anymore.
Looking in Z2M logs I see this message when trying to set the minimumLevel
:
Debug 2023-08-30 01:45:18Received MQTT message on 'zigbee2mqtt/Upstairs Hallway Dimmer/set' with data '{"brightness":5,"maximumLevel":254,"minimumLevel":80,"outputMode":"Dimmer","rampRateOnToOffLocal":10,"smartBulbMode":"Disabled","state":"ON","switchType":"3-Way Dumb Switch"}'
Debug 2023-08-30 01:45:18Publishing 'set' 'state' to 'Upstairs Hallway Dimmer'
Debug 2023-08-30 01:45:18Received Zigbee message from 'Upstairs Hallway Dimmer', type 'readResponse', cluster 'manuSpecificInovelliVZM31SN', data '{"rampRateOnToOffRemote":127}' from endpoint 1 with groupID 0
Debug 2023-08-30 01:45:18Publishing 'set' 'maximumLevel' to 'Upstairs Hallway Dimmer'
Info 2023-08-30 01:45:18MQTT publish: topic 'zigbee2mqtt/Upstairs Hallway Dimmer', payload '{"action":null,"auxSwitchUniqueScenes":null,"bindingOffToOnSyncLevel":null,"brightness":5,"brightnessLevelForDoubleTapDown":2,"brightnessLevelForDoubleTapUp":254,"doubleTapDownToParam56":"Disabled","doubleTapUpToParam55":"Enabled","higherOutputInNonNeutral":null,"ledBarScaling":null,"linkquality":120,"power":0,"state":"ON","update":{"installed_version":16908815,"latest_version":16908815,"state":"idle"}}'
Debug 2023-08-30 01:45:19Received MQTT message on 'zigbee2mqtt/Upstairs Hallway Dimmer/set' with data '{"brightness":5,"maximumLevel":254,"minimumLevel":80,"outputMode":"Dimmer","rampRateOnToOffLocal":10,"smartBulbMode":"Disabled","state":"ON","switchType":"3-Way Dumb Switch"}'
Debug 2023-08-30 01:45:19Publishing 'set' 'state' to 'Upstairs Hallway Dimmer'
Debug 2023-08-30 01:45:19Received Zigbee message from 'Upstairs Hallway Dimmer', type 'readResponse', cluster 'manuSpecificInovelliVZM31SN', data '{"rampRateOnToOffRemote":127}' from endpoint 1 with groupID 0
Debug 2023-08-30 01:45:19Publishing 'set' 'maximumLevel' to 'Upstairs Hallway Dimmer'
Info 2023-08-30 01:45:19MQTT publish: topic 'zigbee2mqtt/Upstairs Hallway Dimmer', payload '{"action":null,"auxSwitchUniqueScenes":null,"bindingOffToOnSyncLevel":null,"brightness":5,"brightnessLevelForDoubleTapDown":2,"brightnessLevelForDoubleTapUp":254,"doubleTapDownToParam56":"Disabled","doubleTapUpToParam55":"Enabled","higherOutputInNonNeutral":null,"ledBarScaling":null,"linkquality":120,"power":0,"state":"ON","update":{"installed_version":16908815,"latest_version":16908815,"state":"idle"}}'
If I click the refresh button on minimumLevel
in Z2M UI I see:
Debug 2023-08-30 01:47:03Received MQTT message on 'zigbee2mqtt/Upstairs Hallway Dimmer/set' with data '{"brightness":5,"maximumLevel":254,"minimumLevel":80,"outputMode":"Dimmer","rampRateOnToOffLocal":10,"smartBulbMode":"Disabled","state":"ON","switchType":"3-Way Dumb Switch"}'
Debug 2023-08-30 01:47:03Publishing 'set' 'state' to 'Upstairs Hallway Dimmer'
Debug 2023-08-30 01:47:03Received MQTT message on 'zigbee2mqtt/Upstairs Hallway Dimmer/get' with data '{"minimumLevel":""}'
Debug 2023-08-30 01:47:03Publishing get 'get' 'minimumLevel' to 'Upstairs Hallway Dimmer'
Debug 2023-08-30 01:47:03Received Zigbee message from 'Upstairs Hallway Dimmer', type 'readResponse', cluster 'manuSpecificInovelliVZM31SN', data '{"minimumLevel":40}' from endpoint 1 with groupID 0
Debug 2023-08-30 01:47:04Received Zigbee message from 'Upstairs Hallway Dimmer', type 'readResponse', cluster 'manuSpecificInovelliVZM31SN', data '{"rampRateOnToOffRemote":127}' from endpoint 1 with groupID 0
Debug 2023-08-30 01:47:04Publishing 'set' 'maximumLevel' to 'Upstairs Hallway Dimmer'
Info 2023-08-30 01:47:04MQTT publish: topic 'zigbee2mqtt/Upstairs Hallway Dimmer', payload '{"action":null,"auxSwitchUniqueScenes":null,"bindingOffToOnSyncLevel":null,"brightness":5,"brightnessLevelForDoubleTapDown":2,"brightnessLevelForDoubleTapUp":254,"doubleTapDownToParam56":"Disabled","doubleTapUpToParam55":"Enabled","higherOutputInNonNeutral":null,"ledBarScaling":null,"linkquality":120,"power":0,"state":"ON","update":{"installed_version":16908815,"latest_version":16908815,"state":"idle"}}'
Which shows the minimumLevel
is still 40 and has not updated. The maximumLevel updates fine though.
I am no longer able to modify minimumLevel
unless I factory reset the dimmer. I verified this same behavior happens across 10 of my dimmers. And seems to happen for any config setting change. e.g. changing rampRateOnToOffRemote