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

Device works correctly using "ezsp" driver but not with "ember" driver (EGLO 99099 with ZBDongle-E) #22928

Open
LamerTex opened this issue Jun 4, 2024 · 8 comments
Labels
ember Issues related to ember driver fixed-in-dev The issue should be fixed in current dev/edge. problem Something isn't working

Comments

@LamerTex
Copy link

LamerTex commented Jun 4, 2024

What happened?

I have an EGLO 99099 remote controller which is correctly recognized and paired using both "ezsp" and "ember" driver, but after the interview the device works correctly with the "ezsp" driver but not with the "ember" driver. In the latter case the "State" remain empty and the "Exposes" remain N/A.
image

Even in the "broken" state when I press a button of the remote in the log the press is displayed:

[2024-06-04 11:20:52] debug:    zh:ember:uart:ash: <--- [FRAME type=DATA]
[2024-06-04 11:20:52] debug:    zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=4]
[2024-06-04 11:20:52] debug:    zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=4 frmNum=7] Added to rxQueue
[2024-06-04 11:20:52] debug:    zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=0]
[2024-06-04 11:20:52] debug:    zh:ember:ezsp: <=== [FRAME: ID=63:"MESSAGE_SENT_HANDLER" Seq=51 Len=32]
[2024-06-04 11:20:52] debug:    zh:ember:ezsp: ezspMessageSentHandler(): callback called with: [type=BROADCAST], [indexOrDestination=65532], [apsFrame={"profileId":0,"clusterId":31,"sourceEndpoint":0,"destinationEndpoint":0,"options":0,"groupId":0,"sequence":0}], [messageTag=255], [status=SUCCESS], [messageContents=810162ba2f5fb238c1a4]

I don't have the same problem with other devices I have, this is the only one where I have seen the problem

What did you expect to happen?

The device should work correctly with both or, at most, just with the newer driver.

How to reproduce it (minimal and precise)

Just pair the device and see if it works correctly.

Even after pairing, without changing anything else, I can simply stop Z2M, change the "adapter:" setting from "ember" to "ezsp", restart Z2M and the remote will work correctly.

If I do the opposite, stop Z2M, change the "adapter:" setting from "ezsp" to "ember", restart Z2M, the remote will go back to the "broken" state.

Zigbee2MQTT version

1.38.0 commit: 0e6da85

Adapter firmware version

7.4.2.0 build 0

Adapter

ZBDongle-E

Setup

Plain on x64 Windows laptop

Debug log

This is the log from an empty state, interview and pairing of the device and press of RED, GREEN, BLUE buttons one after the other after the pairing was successful. Done with "ember" and with "ezsp" driver.
Ember_Interview+RGBButtons_log.log
EZSP_Interview+RGBButtons_log.log

@LamerTex LamerTex added the problem Something isn't working label Jun 4, 2024
@olyckne
Copy link

olyckne commented Jun 4, 2024

Just noticed something similar. I've had it set to ember for quite some time but after updating to 1.38 suddenly all my non-battery devices stopped responding. Changed it to ezsp and everything works again.

@LamerTex
Copy link
Author

LamerTex commented Jun 5, 2024

Just noticed something similar. I've had it set to ember for quite some time but after updating to 1.38 suddenly all my non-battery devices stopped responding. Changed it to ezsp and everything works again.

This seems the opposite for me, the device that doesn't work with ember (EGLO 99099) is the only battery-powered device I have, the others that work with ember are not with battery, Frient IOMZB-110 and Tuya TS011F

@adriangalbincea
Copy link

Just noticed something similar. I've had it set to ember for quite some time but after updating to 1.38 suddenly all my non-battery devices stopped responding. I changed it to ezsp and everything works again.

I have similar issue. I changed the driver to ember and my IKEA VINDSTYRKA started to throw errors and not report anymore, also OTA check for updates does not work either. Once I change back to ezsp, everything is back to normal. I have a PIR sensor with a battery, and that one works fine with both drivers.

@senna1992
Copy link

my sunricher / iluminize battery powered light switches also stopped working.
other sensors are working (aqara mostly).
smar tplugs also seem to do fine.

@sbemmann
Copy link

sbemmann commented Jun 9, 2024

I have also a similar problem. The Paulmann switch 501.34 has no action on ember (null), on ezsp it runs.

@Ra72xx
Copy link

Ra72xx commented Jun 10, 2024

I'll link in my error report: #22249
For my it also looks like battery powered devices still report values, but mains powered devices don't work, or work rather slowly.

@Nerivec
Copy link
Collaborator

Nerivec commented Jun 14, 2024

For anyone where the problem appeared only after 1.38, there were no change in ember in 1.38 that would explain this (practically no change at all), so I'm pretty sure the ezsp switch that "fixes the problem", is more about the switch itself, than ezsp (possible partial network rebuild, reboot of the adapter, etc).

@LamerTex I've identified the issue with the EGLO (it's using multicast -group- for state updates...). I'll push a fix.
@sbemmann I'm assuming it's the same issue as the EGLO. Can you provide a debug log of the switch being triggered on ember or ezsp, so I can confirm?

@Nerivec Nerivec added the ember Issues related to ember driver label Jun 14, 2024
@Nerivec Nerivec added the fixed-in-dev The issue should be fixed in current dev/edge. label Jun 17, 2024
@LamerTex
Copy link
Author

I confirm that this problem is fixed for me in the dev branch, I'll leave this open until @sbemmann can confirm if it's fixed also for him.
If it is fixed also for him I will close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ember Issues related to ember driver fixed-in-dev The issue should be fixed in current dev/edge. problem Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants