-
Notifications
You must be signed in to change notification settings - Fork 502
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
Update to 2.05.84 breaks Aqara/Opple switch event x003 in Ubuntu on x86 hardware. #3412
Comments
I really want to close this one instantly. Please edit your post according to the template. |
I have the same issue. No xxx3 events at all with opple switches that was paired and working before (2 gang WXCJKG12LM). I also tried to add a new 3-gang switch of the same type but that didn't work at all. It controls all lights without me telling it to (as it did before that bug was fixed a long time ago). I'm using HA OS on a RPI3. v 2.05.84 |
I can confirm this bug I have the 6 button Aqara Opple. A long press causes a x001 to be sent but there is never an x003 when you release the button. The other codes seem to work. It is just the x003 that is goofed Edit: I also checked an IKEA hockey puck remote and a Philips Hue 4 button. They both send the 003 at long press release. It is only the Opple that does not work. I have a Conbee II and run deCONZ on bare metal installed from .deb upgraded today to 2.05.84 and also updated the Conbee II firmware that came with the .84 |
The bug is forwarded to devs of DE. @manup confirmed it in our discord. I will keep you updated. |
Can someone check with the latest beta release, please? |
@SwoopX I would like to, however I have no idea how to use beta on Home Assistant with deCoNZ addon :( |
I upgraded to latest beta. Now the Opple does not work at all. Totally broken. No events |
Actually, at 85 version guys, I have the same trouble, my opple switch is away... And this is my conbee2 running at x86 also... |
I downgraded deconz back to 2.05.84 and the Opple works again except for the x003 codes. So .85 destroys the support of Opple completely In case someone runs deconz from .deb like I do the downgrade is apt install deconz=2.05.84-debian-buster-stable |
I will wait for developer comments, maybe it will be fixed in the next beta. |
That's why it's a Beta! Thanks for testing this. I'll try to get in touch with some Devs to get this fixed. After that i'll try to get a hotfix. |
Guys, can we have some logs please? |
When you ask for logs you assume we know what you want. Please specify what logs you need and I will try over the weekend. Last time I ran with logging I was instructed to run with --dbg-info=2 --dbg-error=2 |
Yes, those settings should bring us some further insights. In particular, we need to understand what is (or is not) going on behind the curtain. Any Opple related line is of interest, which should be identifyable by the corresponding mac address in the line. Also, the button map debug output, typically starting with info is of value. Ideally, we catch the deconz startup procedure, shortly followed by some botton presses, including the previously troublesome. |
Did some debugging with @SwoopX. The code that reads the buttonmap reads deconz-rest-plugin/read_files.cpp Lines 399 to 416 in ba60344
Line 403 should use radix 10. After changing the value in the json to |
All required changes to fix the experienced issue can be done locally. The required file For version .84Below you see the button map for the opple switches. In the 5th field, there's 6 entries containing the number
For version .85In addition to that, for version .85, the corresponding button map should contain the dedicated modelID Currently:
Must be:
|
Confirmed all working in the 2.05.86. Thanks a lot for the fast fixing |
Guys, I'm not confirm fixes, 'coz I'm still have a issues with opple, aqara and etc... and one more think, I have 85 version in phoscon, maybe Docker not fully updated the container? Don;t know what happens. Container from yesterday the latest branch... but in phoscon at all my three gateways shown 85 version. Removed the random tag to some guy not related. |
@SAOPP Are you on the docker version? The docker version is not updated to 86 yet. |
sure, but, yesterday I saw container was updated... okay maybe I'm wrong. |
It was, but not to beta apparantly. He will update tonight. |
guys a false alarm on my part, apparently Martin really hasn't updated the containers yet ... and I was knocked off the right track by yesterday's update of the stable branch ... @manup yesterday I was talking 'bout wrong version of phoscon... I think this is related my post 'bout docker. so I'm sorry for this. I need to be more careful next time - but yesterday's updates to containers and the stable branch are to blame, it just confused me. |
Okay. Have an 86th version. Opple and Aqara is was fixed. Aqara vibro sensor is no. But it's in another topic... Thanks. |
Update 2.05.84 breaks the Aqara/Opple x003 event running Ubuntu 18.04 on x86 hardware.
Downgrading to 2.05.81 and everything is OK again.
Is it the same issue as before that has come back or is it a new bug?
That appears to be the most plausible explanation, as I remarked earlier.
The erratic expression seems to be:
deconz-rest-plugin/de_web_plugin.cpp
Line 3586 in 2a26b78
zclParam0
is aquint16
;zclFrame.payload()
returns aQByteArray
.QByteArray::at()
returns achar
. So we're comparing an unsigned 16-bit integer value of 255 with an, I assume, 8-bit, possibly signed,char
value. I suppose that is asking for trouble.The only other place in the button maps where we use a
zclParam0
value of 255 is for the 1002 (sharp right turn) of the IKEA dimmer. Care to guess what we see there? Hint: #2787. Maybe we were a bit premature calling out the dimmer to be cursed?@manup, what's your take on this?
Originally posted by @ebaauw in #2061 (comment)
The text was updated successfully, but these errors were encountered: