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

More Zigbee examples for ESP32-C6 #9480

Closed
1 task done
jorisvervuurt opened this issue Apr 10, 2024 · 33 comments
Closed
1 task done

More Zigbee examples for ESP32-C6 #9480

jorisvervuurt opened this issue Apr 10, 2024 · 33 comments
Assignees
Labels
Type: Feature request Feature request for Arduino ESP32

Comments

@jorisvervuurt
Copy link

Related area

Zigbee

Hardware specification

ESP32-C6

Is your feature request related to a problem?

There is just two (pretty much hidden - not visible in Arduino IDE examples list) examples regarding Zigbee on the ESP32-C6. I would like some more examples, especially for a temperature, humidity, pressure and CO2 sensor.

Describe the solution you'd like

There is just two (pretty much hidden - not visible in Arduino IDE examples list) examples regarding Zigbee on the ESP32-C6. I would like some more examples, especially for a temperature, humidity, pressure and CO2 sensor.

Describe alternatives you've considered

No response

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.
@jorisvervuurt jorisvervuurt added the Type: Feature request Feature request for Arduino ESP32 label Apr 10, 2024
@SuGlider SuGlider assigned SuGlider and P-R-O-C-H-Y and unassigned SuGlider Apr 11, 2024
@SuGlider
Copy link
Collaborator

@P-R-O-C-H-Y - PTAL, Thanks! That may be a nice new task.

@jorisvervuurt
Copy link
Author

Nice one. :) Looking forward to it.

@lbernstone
Copy link
Contributor

A scanner would be an extremely useful example

@lboue
Copy link
Contributor

lboue commented Apr 15, 2024

@P-R-O-C-H-Y
Copy link
Member

P-R-O-C-H-Y commented May 16, 2024

Zigbee examples got updated to work with latest esp-zigbee-sdk.
Also 2 new examples have been added to work together:

  • Temperature sensor (End device)
  • Thermostat (Coordinator)

Everything mentioned is included in the latest release 3.0.0-rc3.
I appreciate any feedback or suggestions on what we can improve or add next time :)

@mothergooose
Copy link

Zigbee examples got updated to work with latest esp-zigbee-sdk. Also 2 new examples have been added to work together:

* Temperature sensor (End device)

* Thermostat (Coordinator)

Everything mentioned is included in the latest release 3.0.0-rc3. I appreciate any feedback or suggestions on what we can improve or add next time :)

Great!
I would consider smart metering and motion detection amazing examples.
Thank you for your work!

@Hedda
Copy link

Hedda commented May 31, 2024

Zigbee examples got updated to work with latest esp-zigbee-sdk. Also 2 new examples have been added to work together:

For reference; here are the links:

https://github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/Zigbee

Synchronized from esp-zigbee-sdk examples:

https://github.com/espressif/esp-zigbee-sdk/tree/main/examples/

PS: Also see related discussion here:

espressif/esp-zigbee-sdk#228

@Hedda
Copy link

Hedda commented May 31, 2024

@P-R-O-C-H-Y maybe a good idea to add a few more simple "Zigbee HA" profiles (ZHA profile specs) from the esp-zigbee-sdk?

https://github.com/espressif/esp-zigbee-sdk/tree/main/examples/esp_zigbee_HA_sample

@P-R-O-C-H-Y
Copy link
Member

P-R-O-C-H-Y commented May 31, 2024

@P-R-O-C-H-Y maybe a good idea to add a few more simple "Zigbee HA" profiles (ZHA profile specs) from the esp-zigbee-sdk?

https://github.com/espressif/esp-zigbee-sdk/tree/main/examples/esp_zigbee_HA_sample

@Hedda I think there is no need to port more IDF zigbee-sdk examples, anyone can easily port them as you can use the 4 examples I ported as a reference. There is no much to change in the example. It's just about adding setup() and loop() and handle buttons, leds, sensors in the Arduino way. I think it's better to spent more energy on the wrapper, than porting new examples, which will be probably removed when wrapper is done :) Let me know your opinion.

But also if anyone does port any new example from zigbee-sdk, I will be really happy to see a PR adding it to the repo :)

@elgerg
Copy link

elgerg commented Aug 6, 2024

Hi @P-R-O-C-H-Y
Thanks for the effort so far.

I am really looking forward to a wrapper that makes this easier to use as to be fair I'm so confused on what needs setting where as I'd like to extend the temp sensor example to include luminosity but have no idea how to start/where to add it into the existing cluster.

Do we have any ideas when the wrapper will be available for testing?

Thanks in advance!

@Hedda
Copy link

Hedda commented Aug 6, 2024

think it's better to spent more energy on the wrapper, than porting new examples, which will be probably removed when wrapper is done :) Let me know your opinion.

What is the status of that wrapper and can we follow the development of it anywhere?

@P-R-O-C-H-Y
Copy link
Member

P-R-O-C-H-Y commented Aug 7, 2024

Hi, thank you all for the interest for the wrapper. If you want, you can follow my dev branch in my fork. Its still in early stages, but if you have any suggestions, feel free to open comment here on open an issue in my fork :). Any help or suggestions are welcome.

I have not done much on Zigbee wrapper for last month, as there was a lot of other higher priority tasks, but I am now starting to do some progress again :). I have no estimated time for now, when it should be in some "almost done" stage.

@P-R-O-C-H-Y
Copy link
Member

@Hedda Update pushed to the branch. You can test the on_off light (ED) + switch(Coordinator). Very simple sketches now :)

@elgerg
Copy link

elgerg commented Aug 9, 2024

@Hedda Update pushed to the branch. You can test the on_off light (ED) + switch(Coordinator). Very simple sketches now :)

Oh my! This looks amazing, super simple easy enough for anyone to use!

Thanks for the effort :)

@elgerg
Copy link

elgerg commented Aug 9, 2024

One thing I did notice.. how do you set the Manufacturer and model name?

IE

/* Attribute values in ZCL string format
 * The string should be started with the length of its own.
 */
#define MANUFACTURER_NAME \
  "\x0B"                  \
  "ESPRESSIF"
#define MODEL_IDENTIFIER "\x09" CONFIG_IDF_TARGET

@P-R-O-C-H-Y
Copy link
Member

One thing I did notice.. how do you set the Manufacturer and model name?

IE

/* Attribute values in ZCL string format
 * The string should be started with the length of its own.
 */
#define MANUFACTURER_NAME \
  "\x0B"                  \
  "ESPRESSIF"
#define MODEL_IDENTIFIER "\x09" CONFIG_IDF_TARGET

I am not at this moment, that's something I still need to implement :)
I have opened a feature request to have a tracker for Zigbee Wrapper #10135 to not have multiple issues opened.

Feel free to add any requests or questions there :)

@P-R-O-C-H-Y
Copy link
Member

A scanner would be an extremely useful example

@lbernstone @lboue Zigbee network scan have been implemented in the dev branch.

@lboue
Copy link
Contributor

lboue commented Aug 16, 2024

A scanner would be an extremely useful example

@lbernstone @lboue Zigbee network scan have been implemented in the dev branch.

Thanks, I'll try it as soon as I can.

@estegewr
Copy link

estegewr commented Sep 12, 2024

@P-R-O-C-H-Y: Can you please share a few words on how to use your ZigBee examples with Arduino? Do I have to compile and install the library first? I tried to compile the examples but got reference errors to the ep header files.

@labmaster
Copy link

labmaster commented Sep 15, 2024

same here, i'am not able to get the example compiled. (

Error, see here:

C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\Zigbee\src\ZigbeeCore.cpp: In function 'void esp_zb_task(void*)':
C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\Zigbee\src\ZigbeeCore.cpp:76:3: error: 'esp_zb_stack_main_loop' was not declared in this scope
   76 |   esp_zb_stack_main_loop();
      |   ^~~~~~~~~~~~~~~~~~~~~~
C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\Zigbee\src\ZigbeeCore.cpp: In member function 'const char* ZigbeeCore::getDeviceTypeString(esp_zb_ha_standard_devices_t)':
C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\Zigbee\src\ZigbeeCore.cpp:363:14: error: 'ESP_ZB_HA_LIGHT_SENSOR_DEVICE_ID' was not declared in this scope; did you mean 'ESP_ZB_HA_SIMPLE_SENSOR_DEVICE_ID'?
  363 |         case ESP_ZB_HA_LIGHT_SENSOR_DEVICE_ID: return "Light Sensor";
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |              ESP_ZB_HA_SIMPLE_SENSOR_DEVICE_ID

Using library ESP32 at version 3.0.4 in folder: C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\ESP32 
Using library Zigbee at version 1.0.0 in folder: C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\Zigbee 
exit status 1

Compilation error: exit status 1

@P-R-O-C-H-Y
Copy link
Member

@P-R-O-C-H-Y: Can you please share a few words on how to use your ZigBee examples with Arduino? Do I have to compile and install the library first? I tried to compile the examples but got reference errors to the ep header files.

Hi @estegewr, there is a PR opened for Zigbee wrapper library for Arduino. You can checkout that PR and try the examples which are included. You can take a look to the README of the examples to check what setup is needed. The esp-zigbee-sdk libraries are precompiled and included with the esp32 arduino core.

@P-R-O-C-H-Y
Copy link
Member

P-R-O-C-H-Y commented Sep 16, 2024

same here, i'am not able to get the example compiled. (

Error, see here:

C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\Zigbee\src\ZigbeeCore.cpp: In function 'void esp_zb_task(void*)':
C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\Zigbee\src\ZigbeeCore.cpp:76:3: error: 'esp_zb_stack_main_loop' was not declared in this scope
   76 |   esp_zb_stack_main_loop();
      |   ^~~~~~~~~~~~~~~~~~~~~~
C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\Zigbee\src\ZigbeeCore.cpp: In member function 'const char* ZigbeeCore::getDeviceTypeString(esp_zb_ha_standard_devices_t)':
C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\Zigbee\src\ZigbeeCore.cpp:363:14: error: 'ESP_ZB_HA_LIGHT_SENSOR_DEVICE_ID' was not declared in this scope; did you mean 'ESP_ZB_HA_SIMPLE_SENSOR_DEVICE_ID'?
  363 |         case ESP_ZB_HA_LIGHT_SENSOR_DEVICE_ID: return "Light Sensor";
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |              ESP_ZB_HA_SIMPLE_SENSOR_DEVICE_ID

Using library ESP32 at version 3.0.4 in folder: C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\ESP32 
Using library Zigbee at version 1.0.0 in folder: C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\Zigbee 
exit status 1

Compilation error: exit status 1

@labmaster I see you are on the 3.1.0-RC1 and Zigbee sdk libraries were not updated there probably yet to the last version. Thats why it cannot be compiled. I will ask to update the libs also there :)

EDIT: There is PR pending for 3.1 branch with the 1.5.0 Zigbee sdk libraries: #10272

@labmaster
Copy link

labmaster commented Sep 17, 2024

...

@labmaster I see you are on the 3.1.0-RC1 and Zigbee sdk libraries were not updated there probably yet to the last version. Thats why it cannot be compiled. I will ask to update the libs also there :)

EDIT: There is PR pending for 3.1 branch with the 1.5.0 Zigbee sdk libraries: #10272

Hmmm, thats what it shows when compiling:
...
C:\Users\m\AppData\Local\Arduino15\packages\esp32\tools\esp-rv32\2405/bin/riscv32-esp-elf-g++ -c @C:\Users\m\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.3-466a392a\esp32h2/flags/cpp_flags
...
idf-release_v5.3-466a392a

@P-R-O-C-H-Y
Copy link
Member

@labmaster Are you using git install or the release of 3.1.0-rc1 in Board Manager?

@labmaster
Copy link

@P-R-O-C-H-Y
I tried both with different results but in both cases no working compilation.

@P-R-O-C-H-Y
Copy link
Member

P-R-O-C-H-Y commented Sep 18, 2024

@P-R-O-C-H-Y

I tried both with different results but in both cases no working compilation.

On both cases you have same compilation error? If you use master or 3.0.5 release + the Zigbee PR compilation should be fine.

Also 3.1 branch got updated libs now. So if you use git and the 3.1 branch you should be good too.

@labmaster
Copy link

labmaster commented Sep 19, 2024

@P-R-O-C-H-Y

Still getting:

Detecting libraries used...
C:\Users\m\AppData\Local\Arduino15\packages\esp32\tools\esp-rv32\2405/bin/riscv32-esp-elf-g++ -c @C:\Users\m\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.3-466a392a\esp32h2/flags/cpp_flags -w -Os -Werror=return-type -w -x c++ -E -CC -DF_CPU=96000000L -DARDUINO=10607 -DARDUINO_ESP32H2_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD="ESP32H2_DEV" -DARDUINO_VARIANT="esp32h2" -DARDUINO_PARTITION_zigbee -DARDUINO_HOST_OS="windows" -DARDUINO_FQBN="esp32:esp32:esp32h2:UploadSpeed=921600,CDCOnBoot=default,FlashFreq=64,FlashMode=qio,FlashSize=4M,PartitionScheme=zigbee,DebugLevel=none,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=ed" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0 -DZIGBEE_MODE_ED @C:\Users\m\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.3-466a392a\esp32h2/flags/defines -IC:\Users\m\Documents\Arduino\Zigbee_Color_Dimmable_Light -iprefix C:\Users\m\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.3-466a392a\esp32h2/include/ @C:\Users\m\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.3-466a392a\esp32h2/flags/includes -IC:\Users\m\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.3-466a392a\esp32h2/qio_qspi/include -IC:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\cores\esp32 -IC:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\variants\esp32h2 @C:\Users\m\AppData\Local\Temp\arduino\sketches\9C15DBB43541F3B20B026FA2E289D680/build_opt.h @C:\Users\m\AppData\Local\Temp\arduino\sketches\9C15DBB43541F3B20B026FA2E289D680/file_opts C:\Users\m\AppData\Local\Temp\arduino\sketches\9C15DBB43541F3B20B026FA2E289D680\sketch\Zigbee_Color_Dimmable_Light.ino.cpp -o nul
C:\Users\m\Documents\Arduino\Zigbee_Color_Dimmable_Light\Zigbee_Color_Dimmable_Light.ino:34:10: fatal error: ZigbeeCore.h: No such file or directory
34 | #include "ZigbeeCore.h"
| ^~~~~~~~~~~~~~
compilation terminated.
Alternatives for ZigbeeCore.h: []
ResolveLibrary(ZigbeeCore.h)
-> candidates: []
exit status 1

Compilation error: ZigbeeCore.h: No such file or directory


And the additional "examples" are gone:
"Zigbee_On_Off_Light.ino" and "Zigbee_Color_Dimmable_Light.ino"

@P-R-O-C-H-Y
Copy link
Member

This is really weird. How did you added the Zigbee library to the core? (as its still a PR and not merged yet)

@labmaster
Copy link

labmaster commented Sep 19, 2024

i downloaded zip of https://github.com/P-R-O-C-H-Y/arduino-esp32/blob/feature/zigbee-library/package.json

Problem seems to be that i'am doing something wrong with it.
So what is the right place to put it or to do with it ?

Sketchbook location is
c:\Users\m\Documents\Arduino

ESP32 location is:
C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1

@labmaster
Copy link

labmaster commented Sep 19, 2024

@P-R-O-C-H-Y
i restarted all over now, cleaned everything, reinstalled Arduino ...

Simply tried to use the "Zigbee_on_Off_Light" example from the "File"->"Examples"->"ESP32"->"Zigbee"
Set "zigbee mode" and "partition scheeme" and hit the "Verify" button.

I get a new error now:

Compiling library "Zigbee"
"C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32/tools/riscv32-esp-elf/bin/riscv32-esp-elf-g++" -MMD -c "@C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\tools\esp32-arduino-libs\esp32h2/flags/cpp_flags" -w -Os -Werror=return-type -DF_CPU=96000000L -DARDUINO=10607 -DARDUINO_ESP32H2_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD="ESP32H2_DEV"" "-DARDUINO_VARIANT="esp32h2"" -DARDUINO_PARTITION_zigbee "-DARDUINO_HOST_OS="windows"" "-DARDUINO_FQBN="esp32:esp32:esp32h2:UploadSpeed=921600,CDCOnBoot=default,FlashFreq=64,FlashMode=qio,FlashSize=4M,PartitionScheme=zigbee,DebugLevel=none,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=ed"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0 -DZIGBEE_MODE_ED "@C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\tools\esp32-arduino-libs\esp32h2/flags/defines" "-IC:\Users\m\AppData\Local\Temp\.arduinoIDE-unsaved2024819-4252-wa2ki4.2hjgh\Zigbee_On_Off_Light" -iprefix "C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\tools\esp32-arduino-libs\esp32h2/include/" "@C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\tools\esp32-arduino-libs\esp32h2/flags/includes" "-IC:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\tools\esp32-arduino-libs\esp32h2/qio_qspi/include" "-IC:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\cores\esp32" "-IC:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\variants\esp32h2" "-IC:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\libraries\Zigbee\src" "@C:\Users\m\AppData\Local\Temp\arduino\sketches\2466DE2D61991CDB9445ABB317207B4D/build_opt.h" "@C:\Users\m\AppData\Local\Temp\arduino\sketches\2466DE2D61991CDB9445ABB317207B4D/file_opts" "C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\libraries\Zigbee\src\ep\ZigbeeThermostat.cpp" -o "C:\Users\m\AppData\Local\Temp\arduino\sketches\2466DE2D61991CDB9445ABB317207B4D\libraries\Zigbee\ep\ZigbeeThermostat.cpp.o"
Using previously compiled file: C:\Users\m\AppData\Local\Temp\arduino\sketches\2466DE2D61991CDB9445ABB317207B4D\libraries\Zigbee\ZigbeeCore.cpp.o
Using previously compiled file: C:\Users\m\AppData\Local\Temp\arduino\sketches\2466DE2D61991CDB9445ABB317207B4D\libraries\Zigbee\ZigbeeHandlers.cpp.o
Using previously compiled file: C:\Users\m\AppData\Local\Temp\arduino\sketches\2466DE2D61991CDB9445ABB317207B4D\libraries\Zigbee\ep\ZigbeeColorDimmableLight.cpp.o
Using previously compiled file: C:\Users\m\AppData\Local\Temp\arduino\sketches\2466DE2D61991CDB9445ABB317207B4D\libraries\Zigbee\ep\ZigbeeLight.cpp.o
Using previously compiled file: C:\Users\m\AppData\Local\Temp\arduino\sketches\2466DE2D61991CDB9445ABB317207B4D\libraries\Zigbee\ZigbeeEP.cpp.o
Using previously compiled file: C:\Users\m\AppData\Local\Temp\arduino\sketches\2466DE2D61991CDB9445ABB317207B4D\libraries\Zigbee\ep\ZigbeeTempSensor.cpp.o
Using previously compiled file: C:\Users\m\AppData\Local\Temp\arduino\sketches\2466DE2D61991CDB9445ABB317207B4D\libraries\Zigbee\ep\ZigbeeColorDimmerSwitch.cpp.o
Using previously compiled file: C:\Users\m\AppData\Local\Temp\arduino\sketches\2466DE2D61991CDB9445ABB317207B4D\libraries\Zigbee\ep\ZigbeeSwitch.cpp.o
C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\libraries\Zigbee\src\ep\ZigbeeThermostat.cpp:151:6: error: no declaration matches 'void ZigbeeThermostat::getSensorSettings()'
151 | void ZigbeeThermostat::getSensorSettings(){
| ^~~~~~~~~~~~~~~~
C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\libraries\Zigbee\src\ep\ZigbeeThermostat.cpp:151:6: note: no functions named 'void ZigbeeThermostat::getSensorSettings()'
In file included from C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\libraries\Zigbee\src\ep\ZigbeeThermostat.cpp:1:
C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\libraries\Zigbee\src\ep\ZigbeeThermostat.h:32:7: note: 'class ZigbeeThermostat' defined here
32 | class ZigbeeThermostat : public ZigbeeEP {
| ^~~~~~~~~~~~~~~~

Using library Zigbee at version 1.0.0 in folder: C:\Users\m\AppData\Local\Arduino15\packages\esp32\hardware\esp32\libraries\Zigbee
exit status 1

Compilation error: exit status 1

@P-R-O-C-H-Y
Copy link
Member

Hi @labmaster you need to select previous commit. I have pushed changes that are not finished that's why it's failing to compile. It's in progress and I am switching laptops so I pushed unfinished work. Can you please try without last commit?

@labmaster
Copy link

labmaster commented Sep 19, 2024

for now i found the problem.
In "ZigbeeThermostat.h" at "class ZigbeeThermostat : public ZigbeeEP"
"void getSensorSettings();" was missing.

So you are right, it seems to be there is work in progress from your site . ;-)

I'am not 100% familiar with git, so i am not pretty sure what you mean with "you need to select previous commit". You mean i should use an older commit ?

@P-R-O-C-H-Y
Copy link
Member

Hi everyone, I am closing this issue as there are now 8 examples for the new and easy to use Zigbee library. The old examples which were just port from esp-zigbee-sdk were removed. All the examples can be found here: https://github.com/espressif/arduino-esp32/tree/master/libraries/Zigbee/examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature request Feature request for Arduino ESP32
Projects
None yet
Development

No branches or pull requests

10 participants