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 Motor B1 does not report anymore #4249
Comments
Did you try and power cycle the B1? |
I think he has done this. The user is having 5 curtain motors and all are showing the same results. I have forwarded your suggestion to him just now so he can try it. Will report back when I have an answer |
No, taking out the battery and reinserting does not change anything, still a first read by hand on Analog output is needed here to have the device accepting commands. Anything we can try to understand what might go wrong? |
Is this only after starting deCONZ, or after not interacting with the B1 for a while? This doesn't make sense to me, as the B1 is reachable, since they can read the Analog Output cluster. We need to figure out if its the communication between the coordinator and the B1 or the REST API plugin. After starting deCONZ, can they write the Present Value attribute in the GUI to open/close the curtains, or do they need to read the value first? What commands are they sending? Do they have deCONZ logging or Zigbee sniffing to see what Zigbee commands the REST API Plugin makes of these? |
I can collect the commands send and webhook returns. He is running windows so tracing as far I know is not going to work out. Would love it if that would someday be enabled as my plugin has many Windows users Same for sniffing I am afraid. Not executing commands is only after starting deCONZ longer no interaction is not a problem as far we checked. Once communication has been starting by the read, comands are accepted, but no updates are send on the current status as shown in the above JSON samples. Except for Commands send by my plugin are normally only |
User has checked on the Present Value: Stop - start deConz But no updates on current position on the lift.. |
So it would seem that the API plugin doesn’t fully restore the resource until it receives a message from the device. Maybe a side effect of the As for the updates: does the API update the state when reading the attribute in the GUI? If so, it’s probably a missing binding and/or attribute report configuration. If not, there’s something broken. Does the API update |
Attributes are changing in the GUI according to the user. Will check on the battery values If this would be a side effect, would it not be the same for an IKEA blind? I have one here and it is functioning fine, after a restart of deCONZ commands are executed fine through the plugin. |
Seems like #4139 is related to that. Interestingly, after a recent restart, the plug came up like this (note the name). |
Then the reporting by the B1 to the coordinator is working. Definitely a REST API plugin issue.
Could mean that
Both my mains-powered The Analog Output and Analog Input clusters use a |
No clue what might have happened here. I just checked the DB entries and it seems as if all resources were in state Anyway, the reference made still shows similarities. |
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs. |
The issue is still in need of a solution? what can we do to get this solved? Current status: When deCONZ is started, a read is needed of Present Value before any command is accepted. From then on commands are accepted, but reporting is not doen, so my plugin does not get the status updates. The user has a Zigbee sniffer, ordered a China Aqara hub 2 and discovered he can do initial settings with the Xiaomi bridge. For one he found how the curtain can be controlled by hand (in id oxF0000, bit 0x20000. Bit is read only, but the aqara hub seems to have tricks to go around this.... Not sure if this is useful to anyone. I am sure if sniffing helps for this issue, I can ask him? |
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs. |
bump is there anyone who can help here? |
@Mimiix or @manup We are willing to try to get any information to you, but as the user is runnnig on Windows, this is a difficult road. Is there any alternate soltion to get support here? |
I have the same problem. The motor don‘t report the current state. Are there any news, or a workaround? |
Why is this difficult? Anybody help us on how to get this issue clearer for any devs? |
@wvuyk is the state report working for you? For me not. |
Why? This problem is not solved and no more response from the devs in months. |
Because the bot keeps everyone active. You just got the notified of the issue and so am i , so now i can (again) message Manuel about it. I'm happy to put a label on it that doesn't auto close (and not notify anyone), but than it probably gets forgotten more easily. I've (once again) messaged Manuel. |
Any news on this? |
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs. |
Really great! 👏🏻 |
Months ago he said he is waiting for delivery. Since then no more reaction. |
I am not saying I'm not agreeing, because I do. But as I said, I can't force him to look at it. |
Hi everyone, sorry I missed to update here. Unfortunately the motor controller shipped was not the Aqara B1 but the "X Gear". |
Hi, big thanks for your contribution folks, I'll happy to help with life session, just ping me in this issue. |
@manup i am now on the latest stable v2.13.4. If you need someone for a live session, please ping me. |
Hi, thanks we can schedule a live session after Xmas, 27.12 or later would work for me |
No problem. |
I don't have the B1, only the original mains-powered motor and now the roller shade driver E1. Afaik, the B1 should report its current position through the Present Value attribute in the Analog Output cluster. The mains-powered motor uses the Windows Covering cluster, but also the Analog Output. I hacked the API plugin to ignore the Windows Covering reports, relying only on the Analog Output, and that worked. The E1 also only reports current position through Analog Output, and that works as well. Concluding, I think the API plugin logic is sound. That would mean that the issue is with the (configuration of the) B1. Does the Lumi specific cluster (0xFCC0) carry u8 attribute 0x0009, Device Operation Mode? Could you please check its value (make sure to read it using the Attribute Editor popup window. If it's any other value than 1, could you write 1 to it, and see if Present Value in the Analog Output starts reporting after that? That magic seems to be needed for the E1. Can you please confirm whether the API plugin exposes a ZHABattery for the B1? Looking at the code, it's supposed to, but I don't think it's working. Should be fixed in my latest PR. Can someone please list the Xiaomi special attribute report from the deCONZ log? See #5330 for what I need (this is from the E1). I hope to find out how the battery is exposed, and whether it also exposes charging state, like the E1. |
I think I might have found the issue. Symptoms:
I'll include a fix for this issue in my PR. The issue is that |
@ebaauw could this also apply for the fyrtur issues people see when the fyrtus has another device than the coordinator as a parent? |
No, the FYRTUR and KADRILJ use Window Covering cluster commands, rather than writing attributes in the Analog Output, Multistate Output and Lumi Specific clusters. Are they even seeing the same symptoms: device still contollable by the GUI, but not by the API (unless you read it first from the GUI)? |
I'm not sure on that. The fyrtur seemed to have issues with controlling them over the api when they were connected with a router instead of the coordinator. I was never able to reproduce this. |
Not too happy about that; the Output clusters are probably only used by Xiaomi window covering devices, but the Lumi Specific cluster is more common. Changed the workaround: now bluntly calling |
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs. |
As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again. |
Describe the bug
Related to #3508.
When this issue was originally closed all was working well. But something has changed during the last few versions.
If deCONZ is started sending commands do not get a response on the device anymore. When the Analog Output cluster is read once after starting deCONZ REST API commands start to get response from the Aqara motor. Mainly
"lift"=nn
commands are sent.But the REST API does not return any updates of the commands back:
After sending a
"lift"=0
:After sending a
"lift"=100
:Note that only "lastseen" is changed here. So it looks like reporting is not active anymore.
Steps to reproduce the behavior
Expected behavior
Reporting back in REST API
Screenshots
Environment
deCONZ Logs
Additional context
The text was updated successfully, but these errors were encountered: