Wanted to try out how v2 sdk is working and tried to compile it but got an error:
Compiling .pioenvs/link-repeater-first-second-site/driver/deprecated/i2s_legacy.c.o
src/main.cpp: In function 'void setup()':
src/main.cpp:272:56: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
272 | zigbee_zigbeecomponent_id->create_default_cluster(1, "CUSTOM_ATTR");
| ^~~~~~~~~~~~~
| |
| const char*
In file included from src/esphome/components/zigbee_custom/zigbee_attribute.h:5,
from src/esphome/components/zigbee_custom/automation.h:10,
from src/esphome.h:63,
from src/main.cpp:3:
src/esphome/components/zigbee_custom/zigbee.h:71:61: note: initializing argument 2 of 'void esphome::zigbee::ZigBeeComponent::create_default_cluster(uint8_t, uint16_t)'
71 | void create_default_cluster(uint8_t endpoint_id, uint16_t device_id);
| ~~~~~~~~~^~~~~~~~~
Compiling .pioenvs/link-repeater-first-second-site/driver/deprecated/mcpwm_legacy.c.o
*** [.pioenvs/link-repeater-first-second-site/src/main.cpp.o] Error 1
========================= [FAILED] Took 84.62 seconds =========================
Config validated successfully in esphome itself,so all parameters and fields are ok but even with default config,which you provided it's not building. Which intel could I provide to kinda dig deeper and understand the underlying issue?
P.S. No issues while building v1 sdk with the same config though and I renamed zigbee component to zigbee_custom so there'll be no conflict with existing zigbee esphome component
Update: found key use_v2_sdk which is not parsed no matter if I use main branch or directly switching to the v2 branch. Esphome simply doesn't parse needed field
[use_v2_sdk] is an invalid option for [zigbee_custom]. Please check the indentation.
But other fields are parsed correctly,so I'm using your version of the library and not yhe standard one
Wanted to try out how v2 sdk is working and tried to compile it but got an error:
Compiling .pioenvs/link-repeater-first-second-site/driver/deprecated/i2s_legacy.c.o
src/main.cpp: In function 'void setup()':
src/main.cpp:272:56: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
272 | zigbee_zigbeecomponent_id->create_default_cluster(1, "CUSTOM_ATTR");
| ^~~~~~~~~~~~~
| |
| const char*
In file included from src/esphome/components/zigbee_custom/zigbee_attribute.h:5,
from src/esphome/components/zigbee_custom/automation.h:10,
from src/esphome.h:63,
from src/main.cpp:3:
src/esphome/components/zigbee_custom/zigbee.h:71:61: note: initializing argument 2 of 'void esphome::zigbee::ZigBeeComponent::create_default_cluster(uint8_t, uint16_t)'
71 | void create_default_cluster(uint8_t endpoint_id, uint16_t device_id);
| ~~~~~~~~~^~~~~~~~~
Compiling .pioenvs/link-repeater-first-second-site/driver/deprecated/mcpwm_legacy.c.o
*** [.pioenvs/link-repeater-first-second-site/src/main.cpp.o] Error 1
========================= [FAILED] Took 84.62 seconds =========================
Config validated successfully in esphome itself,so all parameters and fields are ok but even with default config,which you provided it's not building. Which intel could I provide to kinda dig deeper and understand the underlying issue?
P.S. No issues while building v1 sdk with the same config though and I renamed zigbee component to zigbee_custom so there'll be no conflict with existing zigbee esphome component
Update: found key use_v2_sdk which is not parsed no matter if I use main branch or directly switching to the v2 branch. Esphome simply doesn't parse needed field
[use_v2_sdk] is an invalid option for [zigbee_custom]. Please check the indentation.
But other fields are parsed correctly,so I'm using your version of the library and not yhe standard one