Sample ZigBee sensor project

mobuik
Posts: 2
Joined: Sun Jul 02, 2023 6:17 am

Sample ZigBee sensor project

Postby mobuik » Tue Jul 04, 2023 2:28 am

Hi all, I recently bought a ESP32-H2 Devkit board and am happy so far - pairing it to my Home Assistant server as a light bulb with the sample light-on-off project in the SDK. However, has anyone done with a ZED sensor? Ultimately I want to do a LED pulse counter - like what ESPHome does but with ZigBee instead. I know the v5.1 of IDF does not have the smart energy cluster yet, but I want to try with other sensors like temperature/humidity so I can get familiar with.

bidrohini
Posts: 202
Joined: Thu Oct 27, 2022 12:55 pm

Re: Sample ZigBee sensor project

Postby bidrohini » Tue Jul 04, 2023 7:18 am

https://community.home-assistant.io/t/z ... n/512864/3 This link says "There is no zigbee code in esphome...."

mobuik
Posts: 2
Joined: Sun Jul 02, 2023 6:17 am

Re: Sample ZigBee sensor project

Postby mobuik » Tue Jul 04, 2023 8:02 am

bidrohini wrote:
Tue Jul 04, 2023 7:18 am
https://community.home-assistant.io/t/z ... n/512864/3 This link says "There is no zigbee code in esphome...."
Sorry if my last post was not clear - I meant I want to create a sensor ZED in ESP32-IDF. I want to take reference to some sample code.

corelema
Posts: 1
Joined: Sat Dec 30, 2023 7:19 am

Re: Sample ZigBee sensor project

Postby corelema » Sat Dec 30, 2023 7:23 am

mobuik wrote:
Tue Jul 04, 2023 2:28 am
Hi all, I recently bought a ESP32-H2 Devkit board and am happy so far - pairing it to my Home Assistant server as a light bulb with the sample light-on-off project in the SDK. However, has anyone done with a ZED sensor? Ultimately I want to do a LED pulse counter - like what ESPHome does but with ZigBee instead. I know the v5.1 of IDF does not have the smart energy cluster yet, but I want to try with other sensors like temperature/humidity so I can get familiar with.
How did you pair your it with Home Assistant? Did you just run the "HA_ON_OFF_LIGHT" project and started including it in Home Assistant?

Drippin101
Posts: 2
Joined: Mon Mar 18, 2024 10:08 pm

Re: Sample ZigBee sensor project

Postby Drippin101 » Mon Mar 18, 2024 10:42 pm

did you ever find a solution?

exkoria
Posts: 2
Joined: Sun Jul 14, 2024 6:40 pm

Re: Sample ZigBee sensor project

Postby exkoria » Sun Jul 14, 2024 6:46 pm

A bit late here and my first post but I just managed to get the ESP32-C6 to work with Home Assistant using a Sonoff Zigbee dongle and ZHA in Home Assistant. What I did was that I clicked on "Add Device" in the Zigbee Home Automation integration. Then it entered search mode. When I flashed the sample code HA_ON_OFF_LIGHT on my ESP32-C6 it was discovered by Home Assistant and it was possible to control the LED on the ESP32 from Home Assistant.

ZHA is running on channel 25 in my setup.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 96 guests