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 relay. Only one channel works. #55

Open
3AXAPOB opened this issue Jun 23, 2020 · 3 comments
Open

Aqara relay. Only one channel works. #55

3AXAPOB opened this issue Jun 23, 2020 · 3 comments

Comments

@3AXAPOB
Copy link

3AXAPOB commented Jun 23, 2020

Hi. I am using cc2531 and have some problems with two channel aqara relay (LUMI lumi.relay.c2acn01). I can switch from frontend only first relay. If I press second channel switch there is no result and got this at log:

2020-06-23 22:26:25 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lumi_lumi_relay_c2acn01_5bd84b04_on_off_2: turned off:
2020-06-23 22:26:25 WARNING (MainThread) [zigpy_cc.api] Waiter timeout: <Waiter matcher=<Matcher type=CommandType.AREQ subsystem=Subsystem.AF command=dataConfirm payload={'endpoint': 2, 'transid': 102}> future= timeout=10000 sequence=None>
2020-06-23 22:26:27 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xfaa2:2:0x0006]: command failed: on exception:
2020-06-23 22:26:27 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lumi_lumi_relay_c2acn01_5bd84b04_on_off_2: turned on: {'on_off': TimeoutError()}

@sanyatuning
Copy link
Collaborator

I think you need a https://github.com/zigpy/zha-device-handlers for this device
I have some Aqara wall switch, and I had the same problem.
I fixed my issue with these handlers:
https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/xiaomi/aqara/ctrl_ln.py
https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/xiaomi/aqara/ctrl_neutral.py

Without the device it is hard to fix your issue.
Can you try to fix by yourself?

@3AXAPOB
Copy link
Author

3AXAPOB commented Jun 27, 2020

Thank you for reply!
I will try. But can you provide some instructions how to add handler to my setup?

UPD: It seems that quirk - zhaquirks.xiaomi.aqara.relay_c2acn01.Relay is allready used

@Hedda
Copy link
Contributor

Hedda commented Jun 29, 2020

@3AXAPOB FYI; Home Assistant's ZHA integration component already uses the "ZHA Device Handlers" library by default for ZHA exception and deviation handling

https://www.home-assistant.io/integrations/zha/

Check out:

https://github.com/zigpy/zha-device-handlers => https://github.com/zigpy/zha-device-handlers/issues

So what you need to do is create a new quirk or update the existing quirks, or submit an issue there with more detailed information if you need help with the creation or updating quirks in the "ZHA Device Handlers" library:

https://github.com/zigpy/zha-device-handlers/blob/dev/CONTRIBUTING.md

PS: There are also instructions in their readme file now on how to test new releases that are not yet available in Home Assistant:

https://github.com/zigpy/zha-device-handlers/blob/dev/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants