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

4ch zigbee not work #714

Closed
damma83 opened this issue Feb 22, 2022 · 5 comments
Closed

4ch zigbee not work #714

damma83 opened this issue Feb 22, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@damma83
Copy link

damma83 commented Feb 22, 2022

I paired this 4ch zigbee on my gateway.
https://www.amazon.it/MHCOZY-interruttore-dispositivo-intelligente-automatizza/dp/B08M3B1TZW/ref=sr_1_4?crid=3RLUJUNVX4BA7&keywords=4ch+zigbee&qid=1645527615&sprefix=4ch+zigbee%2Caps%2C346&sr=8-4

In the ewelink app it works correctly while with sonofflan on Home assistant I see the 4 channels but when I turn on one of this, the others switch turn off.
It is always lit only 1 at a time (interlock mode)

but i need self-locked mod

the strange is... in the ewelink app work correctly in selflocked mod.
problem is visualization in HA

How can I solve..
I tried various solutions but nothing

pls help me Alex!!

@AlexxIT AlexxIT added the question Further information is requested label Feb 22, 2022
@AlexxIT
Copy link
Owner

AlexxIT commented Feb 22, 2022

You can enable logs and collect data from control via ewelink app

@damma83
Copy link
Author

damma83 commented Feb 22, 2022

this is a log from sonofflan in HA

2022-02-22 12:44:51  DEBUG    main          SysInfo: {'version': '2022.2.7', 'dev': False, 'hassio': False, 'virtualenv': False, 'python_version': '3.9.7', 'docker': True, 'arch': 'x86_64', 'os_name': 'Linux', 'os_version': '4.4.180+', 'user': 'root'}
2022-02-22 12:44:51  DEBUG    main          AUTO mode start
2022-02-22 12:44:57  DEBUG    sonoff_cloud  3 devices loaded from the Cloud Server
2022-02-22 12:44:57  DEBUG    main          10014ae999 == Init   | {'uiid': 66, 'extra': {'manufacturer': '知易科技', 'model': 'ZB-GW03', 'sw_version': 'ZBG-AB1-GL v1.0.3'}, 'params': {'version': 7, 'subDevNum': 2, 'subDevMaxNum': 128, 'sledOnline': 'on', 'zled': 'off', 'fwVersion': '1.0.3', 'subDevices': [{'subDevId': '6586ceed2538c1a4', 'deviceid': 'a48001f4da', 'uiid': '4256'}, {'subDevId': 'd3a46822004b1200', 'deviceid': 'a480027576', 'uiid': '1770'}], 'rssi': -2, 'addSubDevState': 'off', 'addDevTime': 180, 'cloud': 'online'}}
2022-02-22 12:44:57  DEBUG    main          a48001f4da == Init   | {'uiid': 4256, 'extra': None, 'params': {'subDevId': '6586ceed2538c1a4', 'parentid': '10014ae999', 'switches': [{'switch': 'off', 'outlet': 0}, {'switch': 'off', 'outlet': 1}, {'switch': 'off', 'outlet': 2}, {'switch': 'off', 'outlet': 3}], 'cloud': 'online'}}
2022-02-22 12:44:57  DEBUG    main          a480027576 == Init   | {'uiid': 1770, 'extra': None, 'params': {'subDevId': 'd3a46822004b1200', 'parentid': '10014ae999', 'temperature': '1413', 'humidity': '5105', 'battery': 100, 'trigTime': '1645531744089', 'cloud': 'online'}}
2022-02-22 12:45:02  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1645533902491'}
2022-02-22 12:56:46  DEBUG    sonoff_cloud  a48001f4da <= Cloud3 | {'action': 'update', 'deviceid': 'a48001f4da', 'apikey': '...', 'userAgent': 'app', 'sequence': '1645534621952', 'params': {'switches': [{'outlet': 2, 'switch': 'on'}]}, 'tempRec': '10014ae999'}
2022-02-22 12:56:46  DEBUG    sonoff_cloud  a48001f4da <= Cloud3 | {'action': 'update', 'deviceid': 'a48001f4da', 'apikey': '...', 'userAgent': 'device', 'd_seq': 54184, 'params': {'switches': [{'switch': 'on', 'outlet': 2}]}, 'from': 'device'}
2022-02-22 12:57:03  DEBUG    sonoff_cloud  a48001f4da <= Cloud3 | {'action': 'update', 'deviceid': 'a48001f4da', 'apikey': '...', 'userAgent': 'app', 'sequence': '1645534638259', 'params': {'switches': [{'outlet': 2, 'switch': 'off'}]}, 'tempRec': '10014ae999'}
2022-02-22 12:57:03  DEBUG    sonoff_cloud  a48001f4da <= Cloud3 | {'action': 'update', 'deviceid': 'a48001f4da', 'apikey': '...', 'userAgent': 'device', 'd_seq': 5103, 'params': {'switches': [{'switch': 'off', 'outlet': 2}]}, 'from': 'device'}
2022-02-22 12:57:26  DEBUG    sonoff_cloud  Cloud WS retrying in 0 seconds
2022-02-22 12:57:26  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1645534646583'}
2022-02-22 13:22:01  DEBUG    sonoff_cloud  a480027576 <= Cloud3 | {'action': 'update', 'deviceid': 'a480027576', 'apikey': '...', 'userAgent': 'device', 'd_seq': 56985, 'params': {'humidity': '4716'}, 'from': 'device'}
2022-02-22 13:24:26  DEBUG    sonoff_cloud  Cloud WS retrying in 0 seconds
2022-02-22 13:24:26  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1645536266479'}
2022-02-22 14:08:47  DEBUG    sonoff_cloud  a480027576 <= Cloud3 | {'action': 'update', 'deviceid': 'a480027576', 'apikey': '...', 'userAgent': 'device', 'd_seq': 6305, 'params': {'battery': 100, 'trigTime': '1645538942126'}, 'from': 'device'}
2022-02-22 14:10:54  DEBUG    sonoff_cloud  Cloud WS retrying in 0 seconds
2022-02-22 14:10:56  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1645539056888'}
2022-02-22 14:13:14  DEBUG    sonoff_cloud  a480027576 <= Cloud3 | {'action': 'update', 'deviceid': 'a480027576', 'apikey': '...', 'userAgent': 'device', 'd_seq': 26112, 'params': {'temperature': '1405'}, 'from': 'device'}
2022-02-22 14:13:36  DEBUG    sonoff_cloud  Cloud WS retrying in 0 seconds
2022-02-22 14:13:38  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1645539218868'}
2022-02-22 14:29:22  DEBUG    sonoff_cloud  a48001f4da <= Cloud3 | {'action': 'sysmsg', 'deviceid': 'a48001f4da', 'apikey': '...', 'params': {'online': False}}
2022-02-22 14:29:22  DEBUG    sonoff_cloud  a48001f4da <= Cloud3 | {'action': 'sysmsg', 'deviceid': 'a48001f4da', 'apikey': '...', 'params': {'online': True}}
2022-02-22 14:30:55  DEBUG    sonoff_cloud  Cloud WS retrying in 0 seconds
2022-02-22 14:30:57  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1645540257300'}
2022-02-22 15:19:26  DEBUG    sonoff_cloud  a480027576 <= Cloud3 | {'action': 'update', 'deviceid': 'a480027576', 'apikey': '...', 'userAgent': 'device', 'd_seq': 55886, 'params': {'humidity': '5090'}, 'from': 'device'}
2022-02-22 15:19:51  DEBUG    sonoff_cloud  Cloud WS retrying in 0 seconds
2022-02-22 15:19:51  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1645543191761'}
2022-02-22 15:50:53  DEBUG    sonoff_cloud  a480027576 <= Cloud3 | {'action': 'update', 'deviceid': 'a480027576', 'apikey': '...', 'userAgent': 'device', 'd_seq': 56873, 'params': {'humidity': '5489'}, 'from': 'device'}
2022-02-22 15:51:44  DEBUG    sonoff_cloud  Cloud WS retrying in 0 seconds
2022-02-22 15:51:44  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1645545104482'}
2022-02-22 16:08:47  DEBUG    sonoff_cloud  a480027576 <= Cloud3 | {'action': 'update', 'deviceid': 'a480027576', 'apikey': '...', 'userAgent': 'device', 'd_seq': 61339, 'params': {'battery': 100, 'trigTime': '1645546141891'}, 'from': 'device'}
2022-02-22 16:13:12  DEBUG    sonoff_cloud  a480027576 <= Cloud3 | {'action': 'update', 'deviceid': 'a480027576', 'apikey': '...', 'userAgent': 'device', 'd_seq': 38512, 'params': {'temperature': '1395'}, 'from': 'device'}
2022-02-22 16:13:53  DEBUG    sonoff_cloud  Cloud WS retrying in 0 seconds
2022-02-22 16:13:53  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1645546433733'}
2022-02-22 16:14:37  DEBUG    sonoff_cloud  a480027576 <= Cloud3 | {'action': 'update', 'deviceid': 'a480027576', 'apikey': '...', 'userAgent': 'device', 'd_seq': 61395, 'params': {'humidity': '5878'}, 'from': 'device'}
2022-02-22 16:16:33  DEBUG    sonoff_cloud  Cloud WS retrying in 0 seconds
2022-02-22 16:16:34  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1645546594226'}

@damma83
Copy link
Author

damma83 commented Feb 25, 2022

Same problem (but a little different) with relays of the same brand but 2 channels instead of 4
Sonoff LAN finds 4 switches instead of 2 but continues to work
only 1 switch at a time (interlock mode)

on the ewelink app, everything works correctly.
But I need to manage the relays with HA

pls, help me, thanks

@AlexxIT AlexxIT added enhancement New feature or request and removed question Further information is requested labels Mar 27, 2022
@AlexxIT
Copy link
Owner

AlexxIT commented Mar 27, 2022

I think I understand the problem. But don't have time to fix it in near future.

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 23, 2022

Fixed in latest master-version

@AlexxIT AlexxIT closed this as completed Apr 23, 2022
@AlexxIT AlexxIT mentioned this issue Apr 23, 2022
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants