espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
12.99k stars 7.29k forks source link

More Zigbee examples for ESP32-C6 #9480

Open jorisvervuurt opened 2 months ago

jorisvervuurt commented 2 months ago

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

SuGlider commented 2 months ago

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

jorisvervuurt commented 2 months ago

Nice one. :) Looking forward to it.

lbernstone commented 2 months ago

A scanner would be an extremely useful example

lboue commented 2 months ago

For those looking for the link: https://github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/Zigbee

P-R-O-C-H-Y commented 1 month ago

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

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 commented 1 month ago

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 commented 1 month ago

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:

https://github.com/espressif/esp-zigbee-sdk/issues/228

Hedda commented 1 month ago

@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 commented 1 month ago

@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 :)