-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
I fail to set my Xiaomi B1 curtain motor to reverse mode. #3412
Comments
This was not enabled for the B1 curtain motor yet, just did it please try the latest edge addon in 5 hours from now. |
it seems that I lost the opportunity to try in 5 hours because I noticed your comment too late. at the moment, even though I amended the devices.js in my docker and I got the different msg: zigbee2mqtt:info 2020-04-25 01:25:46: ZNCLDJ11LM setting reverse direction |
I tried latest dev, Option is working. but command is failed. B1 packet is here https://github.com/freenetwork/ZNCLDJ12LM Please check packet. Thanks |
@nukusinji thanks, I've implemented this. Changes will be available in the latest dev brach in 3 hours from now. |
I still have a problem after amending 2 files, tozigbee.js and devices.js as you guided. the error msg in zigbee2mqtt is as follow zigbee2mqtt:error 2020-04-26 21:19:00: Publish 'set' 'options' to 'xiaomi_curtain_b1' failed: 'Error: Write 0x04cf8cdf3c7559c9/1 genBasic({"65320":{"value":"true","type":1}}, {"timeout":6000,"manufacturerCode":null,"disableDefaultResponse":true}) failed (Error: Write for 'BUFFER' not available)' Thanks for your checking again |
Thanks. |
I hope, this link help for you. (dresden-elektronik/deconz-rest-plugin#1654 (comment)) please support battery level in z2m. |
I forgot to update after this, please try again with latest dev branch. |
Thanks. I try latest dev and I saw error. Follow the debug logs. zigbee2mqtt:debug 2020-04-29 01:09:02: Received MQTT message on 'Ryan_home/zigbee2mqtt/curtain_inner_living_room/set' with data '{ |
Can you check if this has been fixed in the latest dev branch? |
It's same. But I found where is bug.
and have to delete line 1116 I try to change to 'opt1s' from 'options'. It saw working. |
I found check method for battery level. I don't know how to apply async read command. Thanks for update. |
where should I change the name to opt1s? and I still failed to set reverse_direction. zigbee2mqtt:error 2020-04-29 23:41:39: Failed to call 'EntityPublish' 'onMQTTMessage' (TypeError: Cannot read property 'key' of undefined |
Working is Good! Thanks ~~~~ |
Fixed in latest dev branch. |
Appreciate!, Koenkk and nukusinji. by the way, is there any way to use latest dev branch when using add-on in Hass.io? |
@cchalong use the edge version of the addon. Assuming this can be closed now. |
Can you tell me how to set reverse_direction to xiaomi curtain? I dont understand how to config Thank you so much |
i have canged the reverse_direction, but how can i do the recalibration? |
Fully open and close by your hand |
i cant fully open and close, it has saved the position (edges), is there a way to reset it with the button? when i do it by hand, it is not doing the recalibration, so the reverse_direction is not taken affect. |
Open plastic part under this motor like this video. Goodluck to you |
Bug Report
What happened
{"options": {"reverse_direction":"true"}}
zigbee2mqtt:error 2020-04-23 11:05:30: No converter available for 'options' ([object Object])
I use Hassio and zigbee2mqtt add on which are updated with latest version.
What did you expect to happen
I wanted to use reverse mode as my b1 motor showed "open" when the curtain is closed in reality.
How to reproduce it (minimal and precise)
Debug Info
Zigbee2mqtt version:
Adapter hardware: CC2531, CC2530, CC26X2R1 or CC1352P-2
Adapter firmware version:
The text was updated successfully, but these errors were encountered: