Dyskusja ogólna [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

@Zibi_007 dzięki za tak aktywny feedback - wracam z urlopu 06.01 i usiądę nad kodem.
Bramka Zigbee <=> SUPLA
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
FAQ https://forum.supla.org/viewtopic.php?t=17277
lukasz06
Posts: 2543
Joined: Sun Jul 17, 2022 6:53 pm
Has thanked: 46 times
Been thanked: 21 times

Post

vajera wrote: Fri Jan 03, 2025 9:03 am
lukasz06 wrote: Thu Jan 02, 2025 11:14 pm Ja zaktualizowałem, lecz teraz się nie kompiluje. Poniżej screen ustawień płytki
poprawiłem kod - tak to jest jak z komórki się pisze 😉
OK :) Kompiluje się poprawnie, ale logi u mnie bez zmian. Coś musiałem spartolić skoro Zibiemu pokazuje poprawnie.
[email protected]
Posts: 1586
Joined: Mon Feb 06, 2023 8:56 am
Has thanked: 18 times
Been thanked: 26 times

Post

U mnie też bootloop :/

EDIT:
ale wyczytałem że to źle partycje ustawiłem.

Code: Select all

ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x4001975a
SPIWP:0xee
mode:DIO, clock div:2
load:0x4086c410,len:0xcf8
load:0x4086e610,len:0x2e30
load:0x40875728,len:0x113c
entry 0x4086c410
[   305][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x42006e84
[   316][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x42006e48
[   328][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x42006e0c
[   339][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x42006dd0
[   350][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x42006e84
[   362][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x42006e48
[   373][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x42006e0c
[   384][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x42006dd0
[   396][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type USB_DM (38) successfully set to 0x4200376c
[   407][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type USB_DP (39) successfully set to 0x4200376c
[   418][V][ZigbeeEP.cpp:21] ZigbeeEP(): Endpoint: 1
[   430][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 17 successfully set to type UART_RX (2) with bus 0x4080e554
[   440][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 16 successfully set to type UART_TX (3) with bus 0x4080e554
[   451][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 12 successfully set to type USB_DM (38) with bus 0x40810588
[   462][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 13 successfully set to type USB_DP (39) with bus 0x40810588
EDIT2:

Jest jakiś temat z GPIO, 9 to u mnie jest normalny pin a nie boot , mam konkretnie : ESP32-C6 WROOM-1 DevKitC-1-N4

Code: Select all

=========== After Setup Start ============
INTERNAL Memory Info:
------------------------------------------
  Total Size        :   451372 B ( 440.8 KB)
  Free Bytes        :   418128 B ( 408.3 KB)
  Allocated Bytes   :    25412 B (  24.8 KB)
  Minimum Free Bytes:   415052 B ( 405.3 KB)
  Largest Free Block:   393204 B ( 384.0 KB)
------------------------------------------
GPIO Info:
------------------------------------------
  GPIO : BUS_TYPE[bus/unit][chan]
  --------------------------------------
     9 : GPIO
    16 : UART_TX[0]
    17 : UART_RX[0]
============ After Setup End =============
loop
zbInit
[   734][D][ZigbeeCore.cpp:124] zigbeeInit(): Initialize Zigbee stack
[   779][D][ZigbeeCore.cpp:131] zigbeeInit(): Register all Zigbee EPs in list
[   787][I][ZigbeeCore.cpp:139] zigbeeInit(): List of registered Zigbee EPs:
[   794][I][ZigbeeCore.cpp:141] zigbeeInit(): Device type: Home Gateway, Endpoint: 1, Device ID: 0x0050
[   807][V][ZigbeeCore.cpp:340] esp_zb_app_signal_handler(): ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
[   817][I][ZigbeeCore.cpp:220] esp_zb_app_signal_handler(): Zigbee stack initialized
[   827][I][ZigbeeCore.cpp:226] esp_zb_app_signal_handler(): Device started up in  factory-reset mode
[   836][I][ZigbeeCore.cpp:230] esp_zb_app_signal_handler(): Start network formation
[  3211][I][ZigbeeCore.cpp:329] esp_zb_app_signal_handler(): Network(0xdf80) closed, devices joining not allowed.
[  3222][I][ZigbeeCore.cpp:261] esp_zb_app_signal_handler(): Formed network successfully (Extended PAN ID: 40:4c:ca:ff:fe:49:54:a4, PAN ID: 0xdf80, Channel:25, Short Address: 0x0000)
[  3705][I][ZigbeeCore.cpp:327] esp_zb_app_signal_handler(): Network(0xdf80) is open for 180 seconds
[  3714][I][ZigbeeCore.cpp:276] esp_zb_app_signal_handler(): Network steering started
Resetting Zigbee to factory settings, reboot.
EDIT3: zakomentowałem ten fragment z GPIO :D i jest sukces :D kompilowane pod Platform.io bo Arduino IDE nie zdzierże :D

Podłączony jest czujnik temperatury i wilgotności, mam jeszcze switcha tylko muszę ogarnąć bezpiecznie prąd na biurku bo to na 230V

Code: Select all

[   734][D][ZigbeeCore.cpp:124] zigbeeInit(): Initialize Zigbee stack
[   777][D][ZigbeeCore.cpp:131] zigbeeInit(): Register all Zigbee EPs in list
[   785][I][ZigbeeCore.cpp:139] zigbeeInit(): List of registered Zigbee EPs:
[   792][I][ZigbeeCore.cpp:141] zigbeeInit(): Device type: Home Gateway, Endpoint: 1, Device ID: 0x0050
[   809][V][ZigbeeCore.cpp:340] esp_zb_app_signal_handler(): ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
[   819][I][ZigbeeCore.cpp:220] esp_zb_app_signal_handler(): Zigbee stack initialized
[   833][I][ZigbeeCore.cpp:329] esp_zb_app_signal_handler(): Network(0xece7) closed, devices joining not allowed.
[   844][I][ZigbeeCore.cpp:226] esp_zb_app_signal_handler(): Device started up in non factory-reset mode
[   853][I][ZigbeeCore.cpp:239] esp_zb_app_signal_handler(): Device rebooted
[   860][I][ZigbeeCore.cpp:243] esp_zb_app_signal_handler(): Opening network for joining for 180 seconds
[   870][D][ZigbeeCore.cpp:467] searchBindings(): Requesting binding table for address 0x0000
[   879][D][ZigbeeCore.cpp:407] bindingTableCb(): Binding table callback for address 0x0000 with status 0
[   888][D][ZigbeeCore.cpp:410] bindingTableCb(): Binding table info: total 0, index 0, count 0
[   897][D][ZigbeeCore.cpp:413] bindingTableCb(): No binding table entries found
[  1344][I][ZigbeeCore.cpp:327] esp_zb_app_signal_handler(): Network(0xece7) is open for 180 seconds
[ 56201][V][ZigbeeCore.cpp:340] esp_zb_app_signal_handler(): ZDO signal: ZDO Leave Indication (0x13), status: ESP_OK
[ 60173][V][ZigbeeCore.cpp:340] esp_zb_app_signal_handler(): ZDO signal: NWK Device Associated (0x12), status: ESP_OK
[ 60185][V][ZigbeeCore.cpp:340] esp_zb_app_signal_handler(): ZDO signal: ZDO Device Update (0x30), status: ESP_OK
[ 60659][I][ZigbeeGateway.cpp:150] printGatewayDevices(): gateway devices:
[ 60665][I][ZigbeeGateway.cpp:159] printJoinedDevices(): joined devices:
[ 60695][I][ZigbeeCore.cpp:299] esp_zb_app_signal_handler(): New device commissioned or rejoined (short: 0x325d)
[ 60705][V][ZigbeeCore.cpp:303] esp_zb_app_signal_handler(): Device capabilities: 0x80
[ 60812][I][ZigbeeGateway.cpp:87] find_Cb(): Found sensor
[ 60817][D][ZigbeeGateway.cpp:96] find_Cb(): Sensor found: short address(0x325d), endpoint(1)
[ 60826][I][ZigbeeGateway.cpp:159] printJoinedDevices(): joined devices:
[ 60833][I][ZigbeeGateway.cpp:162] printJoinedDevices(): Device on endpoint 1, short address: 0x325d
[ 60842][D][main.cpp:94] loop(): getJoinedDEvices 1 0 357913941 before
[ 60848][D][main.cpp:97] loop(): getJoinedDEvices 1 0 357913941 after
[ 60855][I][ZigbeeGateway.cpp:159] printJoinedDevices(): joined devices:
[ 60928][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x1000) callback
[ 60937][V][ZigbeeHandlers.cpp:87] zb_cmd_read_attr_resp_handler(): Read attribute response: from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x0)
[ 60951][V][ZigbeeHandlers.cpp:96] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x4), type(0x42), value(16)
[ 60965][I][ZigbeeEP.cpp:223] zbReadBasicCluster(): Peer Manufacturer is "_TZ3000_rdhukkmi"
[ 60861][I][main.cpp:100] loop(): manufacturer _TZ3000_rdhukkmi
[ 61048][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x1000) callback
[ 61057][V][ZigbeeHandlers.cpp:87] zb_cmd_read_attr_resp_handler(): Read attribute response: from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x0)
[ 61071][V][ZigbeeHandlers.cpp:96] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x5), type(0x42), value(6)
[ 61085][I][ZigbeeEP.cpp:232] zbReadBasicCluster(): Peer Model is "TS0201"
[ 61092][I][main.cpp:102] loop(): model TS0201
[ 61096][D][ZigbeeGateway.cpp:108] bindDeviceCluster(): Request sensor to bind us
[ 61106][V][ZigbeeGateway.cpp:69] bindCb(): Binding success (ZC side)
[ 61112][V][ZigbeeGateway.cpp:71] bindCb(): Binding success (ED side
[ 61179][V][ZigbeeGateway.cpp:71] bindCb(): Binding success (ED side
[ 62117][V][ZigbeeCore.cpp:340] esp_zb_app_signal_handler(): ZDO signal: ZDO Device Authorized (0x2f), status: ESP_OK
[ 62196][I][ZigbeeCore.cpp:327] esp_zb_app_signal_handler(): Network(0xece7) is open for 180 seconds
[ 67246][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 67254][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[ 67268][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026 
[ 67274][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 67370][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 67378][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[ 67392][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029 
[ 67398][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 72251][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 72259][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[ 72273][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026 
[ 72279][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 72375][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 72383][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[ 72397][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029 
[ 72403][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 77255][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 77263][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[ 77277][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026
[ 77283][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 77380][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 77388][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[ 77402][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029
[ 77408][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 82258][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 82267][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[ 82281][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026
[ 82287][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 82383][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 82391][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[ 82405][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029
[ 82411][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 87263][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 87271][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[ 87285][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026 
[ 87291][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 87387][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 87395][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[ 87409][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029 
[ 87415][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 92267][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 92275][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[ 92289][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026 
[ 92295][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 92392][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 92400][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[ 92414][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029 
[ 92420][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 97270][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 97279][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[ 97293][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026
[ 97299][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[ 97395][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[ 97403][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[ 97417][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029
[ 97423][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[102276][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[102284][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[102298][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026
[102305][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[102401][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[102410][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[102423][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029
[102430][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[107279][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[107288][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[107302][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026
[107308][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[107405][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[107413][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[107427][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029
[107433][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[112283][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[112292][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[112305][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026 
[112312][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[112408][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[112417][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[112430][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029 
[112437][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[117284][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[117292][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[117306][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026 
[117312][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[117408][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[117417][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[117430][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029 
[117437][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[120673][I][ZigbeeGateway.cpp:150] printGatewayDevices(): gateway devices:
[120679][I][ZigbeeGateway.cpp:153] printGatewayDevices(): Device on endpoint 1, short address: 0x325d
[120688][I][ZigbeeGateway.cpp:159] printJoinedDevices(): joined devices:
[122289][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[122297][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[122311][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026 
[122317][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[122413][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[122422][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[122436][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029 
[122442][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[127591][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[127599][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x402)
[127613][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1026 
[127619][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
[127716][I][ZigbeeHandlers.cpp:20] zb_action_handler(): Receive Zigbee action(0x2000) callback
[127724][V][ZigbeeHandlers.cpp:67] zb_attribute_reporting_handler(): Received report from address(0x325d) src endpoint(1) to dst endpoint(1) cluster(0x405)
[127738][I][ZigbeeGateway.cpp:170] zbAttributeRead(): cluster_id 1029 
[127744][I][ZigbeeGateway.cpp:171] zbAttributeRead(): attribute->id 0
lukasz06
Posts: 2543
Joined: Sun Jul 17, 2022 6:53 pm
Has thanked: 46 times
Been thanked: 21 times

Post

[email protected]
Posts: 1586
Joined: Mon Feb 06, 2023 8:56 am
Has thanked: 18 times
Been thanked: 26 times

Post

lukasz06 wrote: Fri Jan 03, 2025 1:08 pm Ja mam taki procek
https://a.aliexpress.com/_EQl22cY
to z tego co czytałem to jest inna bajka, i wybór boardu ma znaczenie i to nie jest dev module
User avatar
Zibi_007
Posts: 3985
Joined: Tue Oct 31, 2023 10:06 pm
Has thanked: 10 times
Been thanked: 31 times

Post

Ja mam N4, N8 i N16.
Dokładnie tak oznaczone:
ESP32-C6 N16R8
ESP32-C6-WROOM-1-N8
ESP32-C6-N4
Każda płytka od innego producenta.
Na wszystkich kompiluje się i wgrywa bez problemu.
Płaciłem 8, 17 i 20 zł (z dostawą).
Mam jeszcze zamówioną wersję mini (za 6 zł), ale jeszcze nie wysłali (może to był jakiś scam).
Podsyłam Wam skompilowanego bina. Wgracie to na C6 od adresu 0x0 flashtoolem i powinno działać.
Na wszelki wypadek można wcześniej wyczyścić pamięć przez "erase".
You do not have the required permissions to view the files attached to this post.
Image Wiesz, że Supla obsługuje Zigbee? Wstąp do Klubu Promila: https://forum.supla.org/viewtopic.php?t=18018
Image Szukasz nowego GG? Jest tutaj: https://forum.supla.org/viewtopic.php?t=18036
User avatar
Zibi_007
Posts: 3985
Joined: Tue Oct 31, 2023 10:06 pm
Has thanked: 10 times
Been thanked: 31 times

Post

lukasz06 wrote: Fri Jan 03, 2025 1:08 pm Ja mam taki procek
https://a.aliexpress.com/_EQl22cY
Wgraj mojego bina i sprawdź czy zadziała. Minuta i będziesz wiedział.
Image Wiesz, że Supla obsługuje Zigbee? Wstąp do Klubu Promila: https://forum.supla.org/viewtopic.php?t=18018
Image Szukasz nowego GG? Jest tutaj: https://forum.supla.org/viewtopic.php?t=18036
User avatar
vajera
Posts: 7293
Joined: Wed Oct 31, 2018 7:58 am
Location: Biedrusko
Has thanked: 291 times
Been thanked: 161 times

Post

@Zibi_007

1. Ten przycisk x4 ma 4 endpointy, ja zrobiłem binding tylko do jednego póki co, więc sprawdź w wolnej chwili, który to i jaki jest czas reakcji (wyśle cmd na klastrze 0x6).

2. gniazdko z pomiarem prądu - czy możesz sparować je z softem a później zresetować ZC i wrzucić odczyt z binding_table - zależy mi na informacji, jakie klastry się zbindowane.
Bramka Zigbee <=> SUPLA
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
FAQ https://forum.supla.org/viewtopic.php?t=17277
local
Posts: 545
Joined: Mon Jan 27, 2020 11:33 am

Post

U mnie podobnie (wgrałem plik bin)

Code: Select all

[19:34:45]ESP-ROM:esp32c6-20220919
[19:34:45]Build:Sep 19 2022
[19:34:45]rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
[19:34:45]SPIWP:0xee
[19:34:45]mode:DIO, clock div:2
[19:34:45]load:0x4086c410,len:0xcf8
[19:34:45]load:0x4086e610,len:0x2e30
[19:34:45]load:0x40875728,len:0x113c
[19:34:45]entry 0x4086c410
[19:34:45][   171][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x4200704c
[19:34:45][   182][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x42007010
[19:34:45][   193][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x42006fd4
[19:34:45][   205][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x42006f98
[19:34:45][   216][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x4200704c
[19:34:45][   228][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x42007010
[19:34:45][   239][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x42006fd4
[19:34:45][   250][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x42006f98
[19:34:45][   262][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type USB_DM (38) successfully set to 0x4200383c
[19:34:45][   273][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type USB_DP (39) successfully set to 0x4200383c
[19:34:45][   284][V][ZigbeeEP.cpp:21] ZigbeeEP(): Endpoint: 1
[19:34:45][   295][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 17 successfully set to type UART_RX (2) with bus 0x4080e570
[19:34:45][   306][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 16 successfully set to type UART_TX (3) with bus 0x4080e570
[19:34:45][   316][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 12 successfully set to type USB_DM (38) with bus 0x408105d8
[19:34:45][   327][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 13 successfully set to type USB_DP (39) with bus 0x408105d8
i bootloop.
4xShelly 1, Shelly 1L, 2xShelly 2.5, Sonoff T3, 2xSonoff Basic R2, 4xNeo 16A
[email protected]
Posts: 1586
Joined: Mon Feb 06, 2023 8:56 am
Has thanked: 18 times
Been thanked: 26 times

Post

local wrote: Fri Jan 03, 2025 6:49 pm U mnie podobnie (wgrałem plik bin)

Code: Select all

[19:34:45]ESP-ROM:esp32c6-20220919
[19:34:45]Build:Sep 19 2022
[19:34:45]rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
[19:34:45]SPIWP:0xee
[19:34:45]mode:DIO, clock div:2
[19:34:45]load:0x4086c410,len:0xcf8
[19:34:45]load:0x4086e610,len:0x2e30
[19:34:45]load:0x40875728,len:0x113c
[19:34:45]entry 0x4086c410
[19:34:45][   171][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x4200704c
[19:34:45][   182][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x42007010
[19:34:45][   193][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x42006fd4
[19:34:45][   205][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x42006f98
[19:34:45][   216][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x4200704c
[19:34:45][   228][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x42007010
[19:34:45][   239][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x42006fd4
[19:34:45][   250][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x42006f98
[19:34:45][   262][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type USB_DM (38) successfully set to 0x4200383c
[19:34:45][   273][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type USB_DP (39) successfully set to 0x4200383c
[19:34:45][   284][V][ZigbeeEP.cpp:21] ZigbeeEP(): Endpoint: 1
[19:34:45][   295][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 17 successfully set to type UART_RX (2) with bus 0x4080e570
[19:34:45][   306][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 16 successfully set to type UART_TX (3) with bus 0x4080e570
[19:34:45][   316][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 12 successfully set to type USB_DM (38) with bus 0x408105d8
[19:34:45][   327][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 13 successfully set to type USB_DP (39) with bus 0x408105d8
i bootloop.
Masz układ partycji niezgodny z zigbee . Po ustawieniu tak jak w Arduino ide byłem w stanie wgrać kod z githuba

Return to “Bramka ZigBee”