Dyskusja ogólna [bramka Zigbee]

Moderator: vajera

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

Post

veeroos wrote: Sat Jan 04, 2025 9:12 pm Hej. co u mnie nie tak jak mam takie błędy kompilacji:

Code: Select all

In file included from C:\Users\Robercik\Downloads\Zigbee_Gateway_2-main\Zigbee_Gateway_2\ZigbeeITempMeas.cpp:1:
C:\Users\Robercik\Downloads\Zigbee_Gateway_2-main\Zigbee_Gateway_2\ZigbeeTempMeas.h:49:8: error: 'void ZigbeeTempMeas::zbAttributeRead(uint16_t, const esp_zb_zcl_attribute_t*)' marked 'override', but does not override
   49 |   void zbAttributeRead(uint16_t cluster_id, const esp_zb_zcl_attribute_t *attribute) override;
      |        ^~~~~~~~~~~~~~~
In file included from C:\Users\Robercik\Downloads\Zigbee_Gateway_2-main\Zigbee_Gateway_2\ZigbeeIASZone.cpp:1:
C:\Users\Robercik\Downloads\Zigbee_Gateway_2-main\Zigbee_Gateway_2\ZigbeeIASZone.h:45:8: error: 'void ZigbeeIASZone::zbAttributeRead(uint16_t, const esp_zb_zcl_attribute_t*)' marked 'override', but does not override
   45 |   void zbAttributeRead(uint16_t cluster_id, const esp_zb_zcl_attribute_t *attribute) override;
      |        ^~~~~~~~~~~~~~~

exit status 1

Compilation error: 'void ZigbeeTempMeas::zbAttributeRead(uint16_t, const esp_zb_zcl_attribute_t*)' marked 'override', but does not override
Boardy i schemat partycji poustawiane, zaznaczam, że przykłady zigbee z biblioteki kompilują się poprawnie
Wygląda jak byś nie miał załączonych plików z biblioteki o których pisał vajera bo chce napisać ale nie ma czego
lukasz06
Posts: 2543
Joined: Sun Jul 17, 2022 6:53 pm
Has thanked: 46 times
Been thanked: 21 times

Post

wgraj bina od Zibiego
local
Posts: 545
Joined: Mon Jan 27, 2020 11:33 am

Post

lukasz06 wrote: Sat Jan 04, 2025 9:38 pm wgraj bina od Zibiego
Czym można to wgrać?
4xShelly 1, Shelly 1L, 2xShelly 2.5, Sonoff T3, 2xSonoff Basic R2, 4xNeo 16A
User avatar
Zibi_007
Posts: 3985
Joined: Tue Oct 31, 2023 10:06 pm
Has thanked: 10 times
Been thanked: 31 times

Post

local wrote: Sat Jan 04, 2025 9:42 pm
lukasz06 wrote: Sat Jan 04, 2025 9:38 pm wgraj bina od Zibiego
Czym można to wgrać?
Najprościej flashtoolem od adresu 0x0
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

veeroos wrote: Sat Jan 04, 2025 9:12 pm Hej. co u mnie nie tak jak mam takie błędy kompilacji:

Code: Select all

In file included from C:\Users\Robercik\Downloads\Zigbee_Gateway_2-main\Zigbee_Gateway_2\ZigbeeITempMeas.cpp:1:
C:\Users\Robercik\Downloads\Zigbee_Gateway_2-main\Zigbee_Gateway_2\ZigbeeTempMeas.h:49:8: error: 'void ZigbeeTempMeas::zbAttributeRead(uint16_t, const esp_zb_zcl_attribute_t*)' marked 'override', but does not override
   49 |   void zbAttributeRead(uint16_t cluster_id, const esp_zb_zcl_attribute_t *attribute) override;
      |        ^~~~~~~~~~~~~~~
In file included from C:\Users\Robercik\Downloads\Zigbee_Gateway_2-main\Zigbee_Gateway_2\ZigbeeIASZone.cpp:1:
C:\Users\Robercik\Downloads\Zigbee_Gateway_2-main\Zigbee_Gateway_2\ZigbeeIASZone.h:45:8: error: 'void ZigbeeIASZone::zbAttributeRead(uint16_t, const esp_zb_zcl_attribute_t*)' marked 'override', but does not override
   45 |   void zbAttributeRead(uint16_t cluster_id, const esp_zb_zcl_attribute_t *attribute) override;
      |        ^~~~~~~~~~~~~~~

exit status 1

Compilation error: 'void ZigbeeTempMeas::zbAttributeRead(uint16_t, const esp_zb_zcl_attribute_t*)' marked 'override', but does not override
Boardy i schemat partycji poustawiane, zaznaczam, że przykłady zigbee z biblioteki kompilują się poprawnie
Załączam plik .zip - zastąp tymi plikami te z biblioteki u Ciebie.

Pamiętaj, że boardy muszą być w wersji 3.0.7. Sprawdź też czy skasowałeś całe EP w katalogu Zigbee/src.

W ostateczności wgraj mojego bina i sprawdź, czy Ci działa.

Swoją drogą fajnie, że dołączasz do tego projektu :)
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
local
Posts: 545
Joined: Mon Jan 27, 2020 11:33 am

Post

Pokombinowałem i aktualnie jestem na tym samym etapie co kolega @veeroos :|
@Zibi_007: Można poprosić o bin pod ESP32-C6 N16 ? Ten wcześniejszy się wgrywa ale nadal jest problem jak wcześniej:

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
4xShelly 1, Shelly 1L, 2xShelly 2.5, Sonoff T3, 2xSonoff Basic R2, 4xNeo 16A
User avatar
Zibi_007
Posts: 3985
Joined: Tue Oct 31, 2023 10:06 pm
Has thanked: 10 times
Been thanked: 31 times

Post

local wrote: Sat Jan 04, 2025 10:38 pm Pokombinowałem i aktualnie jestem na tym samym etapie co kolega @veeroos :|
@Zibi_007: Można poprosić o bin pod ESP32-C6 N16 ? Ten wcześniejszy się wgrywa ale nadal jest problem jak wcześniej:

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
No to nie wiem, co to już może być. Wyczyściłeś pamięć przed wgraniem? Ja tego bina wgrywam na N4, N8 i N16 - na wszystkich działa. Nawet przed chwilą sprawdziłem i jest OK.


Zobacz może jeszcze tego:
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
local
Posts: 545
Joined: Mon Jan 27, 2020 11:33 am

Post

Ok wgrało się i śmiga :D
4xShelly 1, Shelly 1L, 2xShelly 2.5, Sonoff T3, 2xSonoff Basic R2, 4xNeo 16A
Kwicol
Posts: 120
Joined: Sun Jan 03, 2021 3:08 pm

Post

Witam.
Którą C6 kupić na testowanie najlepiej?
User avatar
Lector
Posts: 2471
Joined: Fri Nov 17, 2017 2:26 pm
Location: Poznań
Has thanked: 13 times
Been thanked: 25 times

Post

Ja kupiłem taki model
https://a.aliexpress.com/_EHFlMyM
Jeszcze nie dotarł i czekam.
Niespełniony automatyk. :mrgreen:
https://3d-lamp.photos/
https://pool.lector.top/

Return to “Bramka ZigBee”