-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
problemSomething isn't workingSomething isn't working
Description
What happened?
In the past, I used this workaround to overcome the accumulated calibration drift when handling the blinds on LoraTap SC500ZB.
It is a Home Assistant automation that, whenever 0% is reached, sends a MQTT message to overwrite the SC500ZB currentPositionLiftPercentage so that the position is reset.
The automation stopped working some time ago (don't know when exactly: the drift depends on the blinds' usage), as the endpoint is not writeable anymore:
[8/1/2026, 0:00:27] z2m: Publish 'set' 'write' to 'lora_blinds_3' failed: 'Error: Attribute currentPositionLiftPercentage (8) is not writable'
What happened? Any ideas for a workaround?
What did you expect to happen?
The endpoint to be writeable back again.
How to reproduce it (minimal and precise)
Send a MQTT message:
- topic:
zigbee2mqtt/<device-id>/1/set - payload:
{"write":{"cluster":"closuresWindowCovering","options":{},"payload":{"currentPositionLiftPercentage":10}}}
It will fail
Zigbee2MQTT version
2.7.2
Adapter firmware version
20210708
Adapter
sonoff ZBDongle
Setup
Home-Assistant Green, Add-On
Device database.db entry
No response
Debug log
[8/1/2026, 20:23:58] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/lora_blinds_1', payload '{"backlight_mode":"ON","calibration":"OFF","calibration_time":20,"calibration_time_to_close":20,"calibration_time_to_open":23,"calibration_to_close":"OFF","calibration_to_open":"OFF","indicator_mode":"off","linkquality":36,"motor_reversal":"OFF","moving":"STOP","position":7,"state":"OPEN","switch_type_curtain":"flip-switch"}'
[8/1/2026, 20:23:59] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/lora_blinds_1', payload '{"backlight_mode":"ON","calibration":"OFF","calibration_time":20,"calibration_time_to_close":20,"calibration_time_to_open":23,"calibration_to_close":"OFF","calibration_to_open":"OFF","indicator_mode":"off","linkquality":33,"motor_reversal":"OFF","moving":"DOWN","position":7,"state":"OPEN","switch_type_curtain":"flip-switch"}'
[8/1/2026, 20:24:00] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/lora_blinds_1', payload '{"backlight_mode":"ON","calibration":"OFF","calibration_time":20,"calibration_time_to_close":20,"calibration_time_to_open":23,"calibration_to_close":"OFF","calibration_to_open":"OFF","indicator_mode":"off","linkquality":36,"motor_reversal":"OFF","moving":"STOP","position":0,"state":"CLOSE","switch_type_curtain":"flip-switch"}'
[8/1/2026, 20:24:00] z2m: Publish 'set' 'write' to 'lora_blinds_1' failed: 'Error: Attribute currentPositionLiftPercentage (8) is not writable' # <--- Here the automation is triggered
[8/1/2026, 20:24:02] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/lora_blinds_1', payload '{"backlight_mode":"ON","calibration":"OFF","calibration_time":20,"calibration_time_to_close":20,"calibration_time_to_open":23,"calibration_to_close":"OFF","calibration_to_open":"OFF","indicator_mode":"off","linkquality":36,"motor_reversal":"OFF","moving":"STOP","position":0,"state":"CLOSE","switch_type_curtain":"flip-switch"}'
Notes
No response
Metadata
Metadata
Assignees
Labels
problemSomething isn't workingSomething isn't working