Gniazdka, rolety, włączniki, mierniki elektryczne - zgłoszenia, uwagi, pomysły [bramka ZigBee]

Moderator: vajera

User avatar
vajera
Posts: 7293
Joined: Wed Oct 31, 2018 7:58 am
Location: Biedrusko
Has thanked: 291 times
Been thanked: 161 times

Post

Znalazłem odpowiedź:

https://github.com/Koenkk/zigbee2mqtt/discussions/12197

State wydaje się rozwiązaniem problemu rozbieżności między pozycją włącznika bistabilnego a stanem przekaźnika, ale pytanie czy ktoś tego używa...

EDIT
Works perfect with a usual rocker switch. For example, without a relay, when the top part is pressed, the light is on, when bottom part - off. Using relay in "toggle" mode creates a situation, where light can be both on and off in both positions of switch, depending on if you switched the relay digitally even or odd number of times. But with "state" mode switch is always pressed on top side with light on, and bottom - when off. The only drawback is a need to press switch additional time when digital and physical states don't match - light is off digitally, but top side is pressed, so you need to switch rocker down and back up to turn the light on and on reverse if light is on digitally.
Bramka Zigbee <=> SUPLA
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
FAQ https://forum.supla.org/viewtopic.php?t=17277
User avatar
RomanG
Posts: 1060
Joined: Tue Jul 21, 2020 7:35 am
Has thanked: 26 times
Been thanked: 7 times

Post

Sprawdziłem ustawienie "State" i faktycznie działa w ten sposób, że pozycja wyłącznika zgadza się ze stanem przekaźnika.
Jest to opcja o którą wielokrotnie pytano tutaj na forum.
Czyli żony nie będą narzekały :lol: , że wyłącznik jest w złej pozycji, albo że po zaniku napięcia nie będzie wiadomo, czy światło się zaświeci, czy nie.
User avatar
vajera
Posts: 7293
Joined: Wed Oct 31, 2018 7:58 am
Location: Biedrusko
Has thanked: 291 times
Been thanked: 161 times

Post

RomanG wrote: Tue Apr 01, 2025 3:42 pm Sprawdziłem ustawienie "State" i faktycznie działa w ten sposób, że pozycja wyłącznika zgadza się ze stanem przekaźnika.
Jest to opcja o którą wielokrotnie pytano tutaj na forum.
Czyli żony nie będą narzekały :lol: , że wyłącznik jest w złej pozycji, albo że po zaniku napięcia nie będzie wiadomo, czy światło się zaświeci, czy nie.
Dzięki, każdego dnia człowiek uczy się czegoś nowego ;)
Bramka Zigbee <=> SUPLA
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
FAQ https://forum.supla.org/viewtopic.php?t=17277
User avatar
RomanG
Posts: 1060
Joined: Tue Jul 21, 2020 7:35 am
Has thanked: 26 times
Been thanked: 7 times

Post

Testowałem teraz konfigurację dla poszczególnych przekaźników po restarcie modułu.
Ta próba wyszła negatywnie. Być może składnia polecenia jest zła i nie przyjmuje tych komend, aczkolwiek odpowiedź w konsoli nie różni się od poprzednich.
Łukaszu, mógłbyś sprawdzić;

Code: Select all

>Welcome 192.168.188.169
>Use quit  to disconnect.
write-attribute 3 0xE001 0xD010 ENUM8 1 0
>Device 8521
>>write-attribute 3 0xE001 0xD010 0x30 0x1
>Write attribute async request sent
write-attribute 4 0xE001 0xD010 ENUM8 1 1
>Device 8521
>>write-attribute 4 0xE001 0xD010 0x30 0x1
>Write attribute async request sent
write-attribute 5 0xE001 0xD010 ENUM8 1 2
>Device 8521
>>write-attribute 5 0xE001 0xD010 0x30 0x1
>Write attribute async request sent
write-attribute 6 0xE001 0xD010 ENUM8 1 2
>Device 8521
>>write-attribute 6 0xE001 0xD010 0x30 0x1
>Write attribute async request sent
edit;
Tak wpisywałem;
write-attribute 3 0xE001 0xD010 ENUM8 1 0 - po restarcie wyłączony
write-attribute 4 0xE001 0xD010 ENUM8 1 1 - po restarcie włączony
write-attribute 5 0xE001 0xD010 ENUM8 1 2 - po restarcie pamiętaj stan
write-attribute 6 0xE001 0xD010 ENUM8 1 2 - po restarcie pamiętaj stan
User avatar
vajera
Posts: 7293
Joined: Wed Oct 31, 2018 7:58 am
Location: Biedrusko
Has thanked: 291 times
Been thanked: 161 times

Post

RomanG wrote: Tue Apr 01, 2025 4:16 pm Testowałem teraz konfigurację dla poszczególnych przekaźników po restarcie modułu.
Ta próba wyszła negatywnie. Być może składnia polecenia jest zła i nie przyjmuje tych komend, aczkolwiek odpowiedź w konsoli nie różni się od poprzednich.

Tak wpisywałem;
write-attribute 3 0xE001 0xD010 ENUM8 1 0 - po restarcie wyłączony
write-attribute 4 0xE001 0xD010 ENUM8 1 1 - po restarcie włączony
write-attribute 5 0xE001 0xD010 ENUM8 1 2 - po restarcie pamiętaj stan
write-attribute 6 0xE001 0xD010 ENUM8 1 2 - po restarcie pamiętaj stan
Konsola jest jeszcze dosyć ograniczona, zwłaszcza w zakresie zwracania odpowiedzi - musiałbyś podłączyć bramkę do monitora portu szeregowego i patrzeć co wyskakuje po wpisaniu danego polecenia w konsoli.

Wiele z tych przekaźników Tuya posiada klaster 0xE001 tylko na pierwszym punkcie końcowym, więc najprawdopodobniej u Ciebie nie da się indywidualnie tego ustawić.

Spróbuj ewentualnie użyć tego polecenia :
DEVICE-DISCOVERY NR_KANAŁU_SUPLA
Bramka Zigbee <=> SUPLA
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
FAQ https://forum.supla.org/viewtopic.php?t=17277
User avatar
RomanG
Posts: 1060
Joined: Tue Jul 21, 2020 7:35 am
Has thanked: 26 times
Been thanked: 7 times

Post

Taką odpowiedź dostałem;

Code: Select all

DEVICE-DISCOVERY 3
>Device 8521
>>device-discovery 3 0x2149
>
W sumie to te przetestowane pozytywnie ustawienia są z zupełności wystarczające dla przeciętnego urzytkownika. :)
Last edited by RomanG on Tue Apr 01, 2025 5:12 pm, edited 1 time in total.
LukiSpajder
Posts: 1548
Joined: Tue Aug 18, 2020 2:22 pm
Has thanked: 25 times
Been thanked: 34 times

Post

vajera wrote: Tue Apr 01, 2025 3:10 pm Znalazłem odpowiedź:

https://github.com/Koenkk/zigbee2mqtt/discussions/12197

State wydaje się rozwiązaniem problemu rozbieżności między pozycją włącznika bistabilnego a stanem przekaźnika, ale pytanie czy ktoś tego używa...
To idealnie nadaje się ta funkcja do czujników ruchu 😁 - tak jak to jest GG
User avatar
vajera
Posts: 7293
Joined: Wed Oct 31, 2018 7:58 am
Location: Biedrusko
Has thanked: 291 times
Been thanked: 161 times

Post

RomanG wrote: Tue Apr 01, 2025 5:10 pm Taką odpowiedź dostałem;

Code: Select all

DEVICE-DISCOVERY 3
>Device 8521
>>device-discovery 3 0x2149
>
W sumie to te przetestowane pozytywnie ustawienia są z zupełności wystarczające dla przeciętnego urzytkownika. :)
No tak, znowu dokonałem skrótu myślowego - odpowiedź na to polecenie jest widoczna tylko w logach (serial).
Bramka Zigbee <=> SUPLA
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
FAQ https://forum.supla.org/viewtopic.php?t=17277
User avatar
vajera
Posts: 7293
Joined: Wed Oct 31, 2018 7:58 am
Location: Biedrusko
Has thanked: 291 times
Been thanked: 161 times

Post

LukiSpajder wrote: Tue Apr 01, 2025 5:11 pm
To idealnie nadaje się ta funkcja do czujników ruchu 😁 - tak jak to jest GG
Masz na myśli podłączenie czujki ruchu w miejsce włącznika?
Bramka Zigbee <=> SUPLA
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
FAQ https://forum.supla.org/viewtopic.php?t=17277
User avatar
RomanG
Posts: 1060
Joined: Tue Jul 21, 2020 7:35 am
Has thanked: 26 times
Been thanked: 7 times

Post

Jako, że udało mi się zrobić te logi, to je wkleję. Może coś więcej powiedzą.
Jak dla mnie, to już więcej zamarzyć nawet nie mogę. :D
UART;

Code: Select all

Using 'COM11' as serial port.
Showing logs:
[19:14:09]Send: [53 55 50 4C 41 17 24 01 00 00 28 00 00 00 10 00 00 00 01 3B EC 67 00 00 00 00 8B 15 02 00 00 00 00 00 ]
[19:14:09]Send: [53 55 50 4C 41 ]
[19:14:09]Recv: [53 55 50 4C 41 17 DE 00 00 00 32 00 00 00 10 00 00 00 E1 1E EC 67 00 00 00 00 48 7D 0A 00 00 00 00 00 53 55 50 4C 41 ]
[19:14:34][14385275][I][Z2S_Gateway.ino:272] Z2S_onTelnetCmd(): cmd: WRITE-ATTRIBUTE, param 3, param 0XE001
[19:14:34][14385278][I][ZigbeeGateway.cpp:1065] sendAttributeWrite(): Sending 'write attribute' command - id (0xd010), type (0x30), size (0x1), value (0x0)
[19:14:34][14385296][I][ZigbeeHandlers.cpp:35] zb_action_handler(): Receive Zigbee action(0x1001) callback
[19:14:34][14385296][V][ZigbeeHandlers.cpp:187] zb_cmd_write_attr_resp_handler(): Write attribute response: from address(0x2149) src endpoint(1) to dst endpoint(1) cluster(0xe001)
[19:14:34][14385297][V][ZigbeeHandlers.cpp:194] zb_cmd_write_attr_resp_handler(): Write attribute response: status(134), cluster(0xe001), attribute(0xd010)
[19:14:34]Send: [53 55 50 4C 41 17 25 01 00 00 28 00 00 00 10 00 00 00 1A 3B EC 67 00 00 00 00 90 EC 06 00 00 00 00 00 ]
[19:14:34]Send: [53 55 50 4C 41 ]
[19:14:34]Recv: [53 55 50 4C 41 17 DF 00 00 00 32 00 00 00 10 00 00 00 FB 1E EC 67 00 00 00 00 62 D0 00 00 00 00 00 00 53 55 50 4C 41 ]
[19:14:36][14387717][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14387717
[19:14:36][14387718][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14387718
[19:14:36][14387718][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14387718
[19:14:36][14387719][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14387719
[19:14:36][14387720][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14387720
[19:14:36][14387720][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14387720
[19:14:36][14387721][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14387721
[19:14:36][14387721][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14387722
[19:14:54]Send: [53 55 50 4C 41 17 26 01 00 00 E0 01 00 00 00 00 00 00 ]
[19:14:54]Send: [53 55 50 4C 41 ]
[19:14:54]Recv: [53 55 50 4C 41 17 E0 00 00 00 EA 01 00 00 1A 00 00 00 E9 07 04 01 03 13 0E 36 0E 00 00 00 45 75 72 6F 70 65 2F 57 61 72 73 61 77 00 53 55 50 4C 41 ]
[19:14:54]Clock: current time: 2025-04-01 19:14:54
[19:14:56][14407187][I][Z2S_Gateway.ino:272] Z2S_onTelnetCmd(): cmd: WRITE-ATTRIBUTE, param 4, param 0XE001
[19:14:56][14407190][I][ZigbeeGateway.cpp:1065] sendAttributeWrite(): Sending 'write attribute' command - id (0xd010), type (0x30), size (0x1), value (0x1)
[19:14:56][14407208][I][ZigbeeHandlers.cpp:35] zb_action_handler(): Receive Zigbee action(0x1001) callback
[19:14:56][14407208][V][ZigbeeHandlers.cpp:187] zb_cmd_write_attr_resp_handler(): Write attribute response: from address(0x2149) src endpoint(2) to dst endpoint(1) cluster(0xe001)
[19:14:56][14407209][V][ZigbeeHandlers.cpp:194] zb_cmd_write_attr_resp_handler(): Write attribute response: status(134), cluster(0xe001), attribute(0xd010)
[19:15:06][14417725][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x1), short address(0x1907), model id(0x2000), cluster id(0x1), rejoined(NO)
[19:15:06][14417726][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14417726
[19:15:06][14417726][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x1), short address(0x1907), model id(0x2000), cluster id(0x500), rejoined(NO)
[19:15:06][14417727][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14417727
[19:15:06][14417728][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x1), short address(0x62cb), model id(0x2000), cluster id(0x1), rejoined(NO)
[19:15:06][14417729][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14417729
[19:15:06][14417729][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x1), short address(0x62cb), model id(0x2000), cluster id(0x500), rejoined(NO)
[19:15:06][14417730][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14417730
[19:15:06][14417731][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x1), short address(0x2149), model id(0x4001), cluster id(0x6), rejoined(NO)
[19:15:06][14417732][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14417732
[19:15:06][14417732][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x2), short address(0x2149), model id(0x4001), cluster id(0x6), rejoined(NO)
[19:15:06][14417733][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14417733
[19:15:06][14417734][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x3), short address(0x2149), model id(0x4001), cluster id(0x6), rejoined(NO)
[19:15:06][14417735][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14417735
[19:15:06][14417735][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x4), short address(0x2149), model id(0x4001), cluster id(0x6), rejoined(NO)
[19:15:06][14417736][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14417736
[19:15:19]Send: [53 55 50 4C 41 17 27 01 00 00 28 00 00 00 10 00 00 00 47 3B EC 67 00 00 00 00 E2 7E 02 00 00 00 00 00 ]
[19:15:19]Send: [53 55 50 4C 41 ]
[19:15:19]Recv: [53 55 50 4C 41 17 E1 00 00 00 32 00 00 00 10 00 00 00 27 1F EC 67 00 00 00 00 18 DF 0A 00 00 00 00 00 53 55 50 4C 41 ]
[19:15:25][14436373][I][Z2S_Gateway.ino:272] Z2S_onTelnetCmd(): cmd: WRITE-ATTRIBUTE, param 5, param 0XE001
[19:15:25][14436376][I][ZigbeeGateway.cpp:1065] sendAttributeWrite(): Sending 'write attribute' command - id (0xd010), type (0x30), size (0x1), value (0x2)
[19:15:25][14436394][I][ZigbeeHandlers.cpp:35] zb_action_handler(): Receive Zigbee action(0x1001) callback
[19:15:25][14436394][V][ZigbeeHandlers.cpp:187] zb_cmd_write_attr_resp_handler(): Write attribute response: from address(0x2149) src endpoint(3) to dst endpoint(1) cluster(0xe001)
[19:15:25][14436395][V][ZigbeeHandlers.cpp:194] zb_cmd_write_attr_resp_handler(): Write attribute response: status(134), cluster(0xe001), attribute(0xd010)
[19:15:36][14447740][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14447740
[19:15:36][14447741][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14447741
[19:15:36][14447741][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14447741
[19:15:36][14447742][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14447742
[19:15:36][14447743][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14447743
[19:15:36][14447743][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14447743
[19:15:36][14447744][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14447744
[19:15:36][14447744][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14447744
[19:15:37][14448770][I][Z2S_Gateway.ino:272] Z2S_onTelnetCmd(): cmd: WRITE-ATTRIBUTE, param 6, param 0XE001
[19:15:37][14448773][I][ZigbeeGateway.cpp:1065] sendAttributeWrite(): Sending 'write attribute' command - id (0xd010), type (0x30), size (0x1), value (0x2)
[19:15:37][14448791][I][ZigbeeHandlers.cpp:35] zb_action_handler(): Receive Zigbee action(0x1001) callback
[19:15:37][14448792][V][ZigbeeHandlers.cpp:187] zb_cmd_write_attr_resp_handler(): Write attribute response: from address(0x2149) src endpoint(4) to dst endpoint(1) cluster(0xe001)
[19:15:37][14448792][V][ZigbeeHandlers.cpp:194] zb_cmd_write_attr_resp_handler(): Write attribute response: status(134), cluster(0xe001), attribute(0xd010)
[19:15:44]Send: [53 55 50 4C 41 17 28 01 00 00 28 00 00 00 10 00 00 00 60 3B EC 67 00 00 00 00 74 92 02 00 00 00 00 00 ]
[19:15:44]Send: [53 55 50 4C 41 ]
[19:15:44]Recv: [53 55 50 4C 41 17 E2 00 00 00 32 00 00 00 10 00 00 00 40 1F EC 67 00 00 00 00 A2 F9 0A 00 00 00 00 00 53 55 50 4C 41 ]
[19:16:06][14477748][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14477748
[19:16:06][14477749][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14477749
[19:16:06][14477749][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14477749
[19:16:06][14477750][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14477750
[19:16:06][14477751][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14477751
[19:16:06][14477751][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14477751
[19:16:06][14477752][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14477752
[19:16:06][14477753][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14343368, current millis 14477753
[19:16:09]Send: [53 55 50 4C 41 17 29 01 00 00 28 00 00 00 10 00 00 00 79 3B EC 67 00 00 00 00 04 A2 02 00 00 00 00 00 ]
[19:16:09]Send: [53 55 50 4C 41 ]
[19:16:09]Recv: [53 55 50 4C 41 17 E3 00 00 00 32 00 00 00 10 00 00 00 59 1F EC 67 00 00 00 00 60 D7 0B 00 00 00 00 00 53 55 50 4C 41 ]
[19:16:26][14497798][I][ZigbeeHandlers.cpp:35] zb_action_handler(): Receive Zigbee action(0x2000) callback
[19:16:26][14497799][V][ZigbeeHandlers.cpp:129] zb_attribute_reporting_handler(): Received report from address(0x2149) src endpoint(1) to dst endpoint(1) cluster(0x0)
[19:16:26][14497800][I][ZigbeeGateway.cpp:709] zbAttributeReporting(): zbAttributeReporting from (0x2eef), endpoint (1), cluster (0x0), attribute id (0x1), attribute data type (0x20) 
[19:16:26][14497801][I][ZigbeeHandlers.cpp:35] zb_action_handler(): Receive Zigbee action(0x2000) callback
[19:16:26][14497801][V][ZigbeeHandlers.cpp:129] zb_attribute_reporting_handler(): Received report from address(0x2149) src endpoint(1) to dst endpoint(1) cluster(0x0)
[19:16:26][14497802][I][ZigbeeGateway.cpp:709] zbAttributeReporting(): zbAttributeReporting from (0x2eef), endpoint (1), cluster (0x0), attribute id (0xffe2), attribute data type (0x20) 
[19:16:26][14497802][I][ZigbeeHandlers.cpp:35] zb_action_handler(): Receive Zigbee action(0x2000) callback
[19:16:26][14497803][V][ZigbeeHandlers.cpp:129] zb_attribute_reporting_handler(): Received report from address(0x2149) src endpoint(1) to dst endpoint(1) cluster(0x0)
[19:16:26][14497804][I][ZigbeeGateway.cpp:709] zbAttributeReporting(): zbAttributeReporting from (0x2eef), endpoint (1), cluster (0x0), attribute id (0xffe4), attribute data type (0x20) 
[19:16:34]Send: [53 55 50 4C 41 17 2A 01 00 00 28 00 00 00 10 00 00 00 92 3B EC 67 00 00 00 00 C4 AD 02 00 00 00 00 00 ]
[19:16:34]Send: [53 55 50 4C 41 ]
[19:16:34]Recv: [53 55 50 4C 41 17 E4 00 00 00 32 00 00 00 10 00 00 00 72 1F EC 67 00 00 00 00 91 98 0B 00 00 00 00 00 53 55 50 4C 41 ]
[19:16:36][14507756][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14507756
[19:16:36][14507757][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14507757
[19:16:36][14507757][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14507757
[19:16:36][14507758][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14507758
[19:16:36][14507759][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14507759
[19:16:36][14507759][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14507759
[19:16:36][14507760][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14507760
[19:16:36][14507761][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14507761
[19:16:59]Send: [53 55 50 4C 41 17 2B 01 00 00 28 00 00 00 10 00 00 00 AB 3B EC 67 00 00 00 00 77 B9 02 00 00 00 00 00 ]
[19:16:59]Send: [53 55 50 4C 41 ]
[19:16:59]Recv: [53 55 50 4C 41 17 E5 00 00 00 32 00 00 00 10 00 00 00 8B 1F EC 67 00 00 00 00 77 66 0B 00 00 00 00 00 53 55 50 4C 41 ]
[19:17:06][14537764][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x1), short address(0x1907), model id(0x2000), cluster id(0x1), rejoined(NO)
[19:17:06][14537765][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14537765
[19:17:06][14537766][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x1), short address(0x1907), model id(0x2000), cluster id(0x500), rejoined(NO)
[19:17:06][14537766][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14537766
[19:17:06][14537767][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x1), short address(0x62cb), model id(0x2000), cluster id(0x1), rejoined(NO)
[19:17:06][14537768][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14537768
[19:17:06][14537768][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x1), short address(0x62cb), model id(0x2000), cluster id(0x500), rejoined(NO)
[19:17:06][14537769][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14537769
[19:17:06][14537770][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x1), short address(0x2149), model id(0x4001), cluster id(0x6), rejoined(NO)
[19:17:06][14537771][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14537771
[19:17:06][14537771][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x2), short address(0x2149), model id(0x4001), cluster id(0x6), rejoined(NO)
[19:17:06][14537772][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14537772
[19:17:06][14537773][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x3), short address(0x2149), model id(0x4001), cluster id(0x6), rejoined(NO)
[19:17:06][14537773][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14537773
[19:17:06][14537774][I][Z2S_Gateway.ino:717] loop(): Device on endpoint(0x4), short address(0x2149), model id(0x4001), cluster id(0x6), rejoined(NO)
[19:17:06][14537775][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14537775
[19:17:24]Send: [53 55 50 4C 41 17 2C 01 00 00 28 00 00 00 10 00 00 00 C4 3B EC 67 00 00 00 00 2F C5 02 00 00 00 00 00 ]
[19:17:24]Send: [53 55 50 4C 41 ]
[19:17:24]Recv: [53 55 50 4C 41 17 E6 00 00 00 32 00 00 00 10 00 00 00 A4 1F EC 67 00 00 00 00 D4 40 0B 00 00 00 00 00 53 55 50 4C 41 ]
[19:17:36][14567779][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14567779
[19:17:36][14567780][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14567780
[19:17:36][14567780][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14567780
[19:17:36][14567781][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14567781
[19:17:36][14567782][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14567782
[19:17:36][14567782][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14567782
[19:17:36][14567783][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14567783
[19:17:36][14567784][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14567784
[19:17:49]Send: [53 55 50 4C 41 17 2D 01 00 00 28 00 00 00 10 00 00 00 DD 3B EC 67 00 00 00 00 ED D0 02 00 00 00 00 00 ]
[19:17:49]Send: [53 55 50 4C 41 ]
[19:17:49]Recv: [53 55 50 4C 41 17 E7 00 00 00 32 00 00 00 10 00 00 00 BD 1F EC 67 00 00 00 00 0A 3C 0B 00 00 00 00 00 53 55 50 4C 41 ]
[19:18:06][14597787][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14597787
[19:18:06][14597788][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14597788
[19:18:06][14597788][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14597788
[19:18:06][14597789][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14597789
[19:18:06][14597790][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14597790
[19:18:06][14597791][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14597791
[19:18:06][14597791][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14597791
[19:18:06][14597792][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14597792
[19:18:14]Send: [53 55 50 4C 41 17 2E 01 00 00 28 00 00 00 10 00 00 00 F6 3B EC 67 00 00 00 00 90 E0 02 00 00 00 00 00 ]
[19:18:14]Send: [53 55 50 4C 41 ]
[19:18:15]Recv: [53 55 50 4C 41 17 E8 00 00 00 32 00 00 00 10 00 00 00 D6 1F EC 67 00 00 00 00 2A 51 0B 00 00 00 00 00 53 55 50 4C 41 ]
[19:18:36][14627796][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14627796
[19:18:36][14627797][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 2778275, current millis 14627797
[19:18:36][14627798][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14627798
[19:18:36][14627798][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 3386956, current millis 14627798
[19:18:36][14627799][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14627799
[19:18:36][14627799][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14627799
[19:18:36][14627800][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14627800
[19:18:36][14627801][I][Z2S_Gateway.ino:720] loop(): getZbgDeviceUnitLastSeenMs 14497804, current millis 14627801
[19:18:37][14628647][I][ZigbeeHandlers.cpp:58] zb_raw_cmd_handler(): cluster id: 0xa, command id: 0
[19:18:37][14628647][I][ZigbeeHandlers.cpp:59] zb_raw_cmd_handler(): src endpoint (0x1, dst endpoint 0x1
[19:18:37][14628648][I][ZigbeeHandlers.cpp:60] zb_raw_cmd_handler(): is common comand 1, disable_default_response 0, is_manuf_specific 0
[19:18:37][14628648][I][ZigbeeHandlers.cpp:61] zb_raw_cmd_handler(): manuf_specific 0x0
[19:18:37][14628648][I][ZigbeeHandlers.cpp:63] zb_raw_cmd_handler(): RAW bufid: 28 size: 2
[19:18:37][14628649][I][ZigbeeHandlers.cpp:65] zb_raw_cmd_handler(): 0x07 
[19:18:37][14628649][I][ZigbeeHandlers.cpp:65] zb_raw_cmd_handler(): 0x00 
[19:18:37][14628650][I][ZigbeeHandlers.cpp:70] zb_raw_cmd_handler(): ZigbeeHandlers rawCMD 0x2149, 0x2149, 0x0, 0x0
[19:18:37][14628650][I][z2s_devices_table.cpp:989] Z2S_onCustomCmdReceive(): Z2S_onCustomCmdReceive cluster 0xa, command id 0x0, rssi: -57
[19:18:37][14628651][I][z2s_devices_table.cpp:96] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0x42:0x36:0x3c:0x2e:0xef, endpoint 0x1, channel type 0xffffffff
[19:18:37][14628652][I][z2s_devices_table.cpp:998] Z2S_onCustomCmdReceive(): z2s_devices_table[channel_number_slot].Supla_channel 0x3
[19:18:37][14628652][I][ZigbeeHandlers.cpp:84] zb_raw_cmd_handler(): ----------------------------raw command not processed---------------------------------------------------------------
[19:18:39]Send: [53 55 50 4C 41 17 2F 01 00 00 28 00 00 00 10 00 00 00 0F 3C EC 67 00 00 00 00 29 F0 02 00 00 00 00 00 ]
[19:18:39]Send: [53 55 50 4C 41 ]
[19:18:39]Recv: [53 55 50 4C 41 17 E9 00 00 00 32 00 00 00 10 00 00 00 EF 1F EC 67 00 00 00 00 C1 59 0C 00 00 00 00 00 53 55 50 4C 41 ]
telnet;

Code: Select all

>Welcome 192.168.188.169
>Use quit  to disconnect.
write-attribute 3 0xE001 0xD010 ENUM8 1 0
>Device 8521
>>write-attribute 3 0xE001 0xD010 0x30 0x1
>Write attribute async request sent
write-attribute 4 0xE001 0xD010 ENUM8 1 1
>Device 8521
>>write-attribute 4 0xE001 0xD010 0x30 0x1
>Write attribute async request sent
write-attribute 5 0xE001 0xD010 ENUM8 1 2
>Device 8521
>>write-attribute 5 0xE001 0xD010 0x30 0x1
>Write attribute async request sent
write-attribute 6 0xE001 0xD010 ENUM8 1 2
>Device 8521
>>write-attribute 6 0xE001 0xD010 0x30 0x1
>Write attribute async request sent
DEVICE-DISCOVERY 3
>Device 8521
>>device-discovery 3 0x2149
>
DEVICE-DISCOVERY 3
>Device 8521
>>device-discovery 3 0x2149
>Device 8521
>>device-discovery 3 0x2149
>
DEVICE-DISCOVERY 3
>Device 8521
>>device-discovery 3 0x2149
>Device 8521
>>device-discovery 3 0x2149
>write-attribute 3 0xE001 0xD010 ENUM8 1 0
>Device 8521
>>write-attribute 3 0xE001 0xD010 0x30 0x1
>Write attribute async request sent
write-attribute 4 0xE001 0xD010 ENUM8 1 1
>Device 8521
>>write-attribute 4 0xE001 0xD010 0x30 0x1
>Write attribute async request sent
write-attribute 5 0xE001 0xD010 ENUM8 1 2
>Device 8521
>>write-attribute 5 0xE001 0xD010 0x30 0x1
>Write attribute async request sent
write-attribute 6 0xE001 0xD010 ENUM8 1 2
>Device 8521
>>write-attribute 6 0xE001 0xD010 0x30 0x1
>Write attribute async request sent

Return to “Bramka ZigBee”