Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aqara ZNJLBL01LM - Position, State Closed and Opened isn't updated #22872

Closed
H1ghSyst3m opened this issue Jun 1, 2024 · 10 comments
Closed

Aqara ZNJLBL01LM - Position, State Closed and Opened isn't updated #22872

H1ghSyst3m opened this issue Jun 1, 2024 · 10 comments
Labels
converters Issues related to zigbee-herdsman-converters codebase problem Something isn't working

Comments

@H1ghSyst3m
Copy link

What happened?

I newly installed 2 of my new Aqara Roller Driver E1. After Pairing I also updated the Firmware of the 2 Roller Drivers.

in Zigbee2MQTT, normally everything works good.

Expect, the Position and the open/close state isn't being updated in Home Assistant

What did you expect to happen?

It should automatically update the position and state after a change or action.

How to reproduce it (minimal and precise)

Pair the Drivers and set them in Zigbee2MQTT up.

Go to a Dashboard and create a card. Now open or close the shutters. The shutters work, but the state and position stays the same

Zigbee2MQTT version

1.37.1

Adapter firmware version

20210708

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus

Setup

Add-on on HomeAssistant OS direct

Debug log

No response

@H1ghSyst3m H1ghSyst3m added the problem Something isn't working label Jun 1, 2024
@H1ghSyst3m
Copy link
Author

Extra Information, the Position isn't being updated until I go to Zigbee2MQTT and refresh the position manually

@samvel-galstyan
Copy link

same problem here. I downgraded the version of zigbee2mqtt to 1.35.1-1 and it solved my problem. Hope it will be fixed soon.

@LaurentChardin
Copy link
Contributor

LaurentChardin commented Jun 1, 2024

I wonder if this is related to #22852 and #22847 : do you have anything in your logs ? It looks like the integration is ok (control shutter works) but something is wrong for some events.

@H1ghSyst3m
Copy link
Author

I also upgraded the firmware of my sonoff usb now to see if this would change something, but still the same problem.

In the logs, I found this:

[2024-06-01 16:17:08] debug: 	z2m:mqtt: Received MQTT message on 'zigbee2mqtt/bridge/request/options' with data '{"options":{"advanced":{"log_level":"info"}},"transaction":"htsta-1"}'
[2024-06-01 16:17:08] info: 	z2m: Successfully changed options
[2024-06-01 16:17:08] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":false},"status":"ok","transaction":"htsta-1"}'
[2024-06-01 16:17:17] info: 	z2m: Successfully changed options
[2024-06-01 16:17:17] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":false},"status":"ok","transaction":"htsta-4"}'
[2024-06-01 16:22:17] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/RolloLinks', payload '{"battery":100,"charging_status":false,"device_temperature":null,"linkquality":134,"motor_speed":"medium","motor_state":null,"position":100,"running":null,"state":"STOP","update":{"installed_version":3871,"latest_version":3870,"state":"idle"},"update_available":null}'
[2024-06-01 16:22:17] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/RolloRechts', payload '{"battery":100,"charging_status":true,"device_temperature":null,"linkquality":145,"motor_speed":"medium","motor_state":null,"position":100,"running":null,"state":"STOP","update":{"installed_version":3871,"latest_version":3870,"state":"idle"},"update_available":null}'

The weird thing is, it says here too, that the position is 100% even though I stopped it in the middle

@Nerivec Nerivec added the converters Issues related to zigbee-herdsman-converters codebase label Jun 1, 2024
@Xornop
Copy link

Xornop commented Jun 5, 2024

I'm seeing the same issue on my end. A while back there was a similar topic on the forums, where someone updated the firmware of their stick, but I can't reproduce this as a solution either.
I am seeing some error in the log though:

[2024-06-05 21:10:47] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bedroom blinds', payload '{"battery":42,"charging_status":null,"device_temperature":null,"linkquality":232,"motor_speed":"high","motor_state":null,"position":90,"running":null,"state":"STOP","update":{"installed_version":3870,"latest_version":3870,"state":"idle"},"update_available":false}'
[2024-06-05 21:10:49] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bedroom blinds', payload '{"battery":42,"charging_status":null,"device_temperature":null,"linkquality":255,"motor_speed":"high","motor_state":null,"position":90,"running":null,"state":"STOP","update":{"installed_version":3870,"latest_version":3870,"state":"idle"},"update_available":false}'
[2024-06-05 21:10:55] error: 	z2m: Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({"presentValue":90}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (92))'
[2024-06-05 21:10:55] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({\"presentValue\":90}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (no response received (92))'","meta":{"friendly_name":"Bedroom blinds"},"type":"zigbee_publish_error"}'
[2024-06-05 21:10:55] error: 	z2m: Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({"presentValue":90}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (91))'
[2024-06-05 21:10:55] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({\"presentValue\":90}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (no response received (91))'","meta":{"friendly_name":"Bedroom blinds"},"type":"zigbee_publish_error"}'
[2024-06-05 21:10:55] error: 	z2m: Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({"presentValue":90}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (90))'
[2024-06-05 21:10:55] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({\"presentValue\":90}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (no response received (90))'","meta":{"friendly_name":"Bedroom blinds"},"type":"zigbee_publish_error"}'
[2024-06-05 21:10:55] error: 	z2m: Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({"presentValue":90}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (89))'
[2024-06-05 21:10:55] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({\"presentValue\":90}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (no response received (89))'","meta":{"friendly_name":"Bedroom blinds"},"type":"zigbee_publish_error"}'
[2024-06-05 21:10:55] error: 	z2m: Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({"presentValue":90}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (88))'
[2024-06-05 21:10:55] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({\"presentValue\":90}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (no response received (88))'","meta":{"friendly_name":"Bedroom blinds"},"type":"zigbee_publish_error"}'
[2024-06-05 21:10:56] error: 	z2m: Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({"presentValue":91}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (93))'
[2024-06-05 21:10:56] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({\"presentValue\":91}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (no response received (93))'","meta":{"friendly_name":"Bedroom blinds"},"type":"zigbee_publish_error"}'
[2024-06-05 21:10:57] error: 	z2m: Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({"presentValue":87}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (97))'
[2024-06-05 21:10:57] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({\"presentValue\":87}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (no response received (97))'","meta":{"friendly_name":"Bedroom blinds"},"type":"zigbee_publish_error"}'
[2024-06-05 21:10:57] error: 	z2m: Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({"presentValue":88}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (96))'
[2024-06-05 21:10:57] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'position' to 'Bedroom blinds' failed: 'Error: ZCL command 0x54ef441000b58f2b/1 genAnalogOutput.write({\"presentValue\":88}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (no response received (96))'","meta":{"friendly_name":"Bedroom blinds"},"type":"zigbee_publish_error"}'
[2024-06-05 21:11:11] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Bedroom blinds', payload '{"battery":42,"charging_status":null,"device_temperature":null,"linkquality":255,"motor_speed":"high","motor_state":null,"position":90,"running":null,"state":"STOP","update":{"installed_version":3870,"latest_version":3870,"state":"idle"},"update_available":false}'

@H1ghSyst3m
Copy link
Author

I have 2 Shutters and now suddenly one of them seems working with position updates...
Don't know why and since when. The other one still doesn't work.
Both of them have still the same firmware

@lskeet
Copy link

lskeet commented Oct 16, 2024

This is likely related to #23557 to which a fix has been integrated so give it a try

@Xornop
Copy link

Xornop commented Nov 14, 2024

The blinds now do report opening/closing for me, and their position when stopped (either manually or after reaching their destination). Should the position not be live-updated?

@H1ghSyst3m
Copy link
Author

The blinds now do report opening/closing for me, and their position when stopped (either manually or after reaching their destination). Should the position not be live-updated?

As I know it should only update after an action is started or stopped.

So a live view shouldn't be there

@H1ghSyst3m
Copy link
Author

H1ghSyst3m commented Nov 14, 2024

Right now my roller drivers work fine now. And also all new Drivers I installed work properly work now.

I think if someone has still the problem, they should reinstall the drivers. That helped me

So I'm closing the ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
converters Issues related to zigbee-herdsman-converters codebase problem Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants