ESP32-H2 working code please?

Hi all,

I have about 100 Zigbee and 20 ESP-32 devices online and I have been interested to be able to make some Zigbee projects.

To that end I recently bought a couple of ES32-H2’s (Waveshare ESP32-H2-DEV-KIT-N4) and have (with the help of AI as I’m not a coder) had some level of success, at least re getting the code onto the board, it being seen by HA and getting some interaction between them (reading the boards ‘Boot’ button and displaying it’s status in the dash etc).

But it all seems to be a bit too ‘cutting edge’ for AI and we end up going round fairly long code > syntax check > validate > compile > upload > re-pair loops so I wondered if anyone here would mind sharing any code that they have working on such a setup please?

One project I did have in mind was a Rain Gauge and have 3D printed and tested the mechanics and linked it to HA with a Sonoff Zigbee door sensor … and whilst that works and seems to be reasonably reliable … I think I’d like to roll my own at bit more, at least as far as the hardware / concept goes.

It may be that the AI’s are right and it’s all a bit new but I thought I’d ask those who may actually know the current state of play.

ESPhome Discord might get you an answer as well…

Have a look here. I have not used it so can’t comment.

Thanks for the reply / feedback.

Whilst I did manage to get to have the boot button status on my HA dashboard, it seems that Zigbee / ESP is still pretty new and is likely to become more / better integrated in time.

So I went the other ‘mesh’ way with Thread, bought a Sonoff 3.0 Plus dongle, flashed it with the border router firmware and was then able to configure the ESP32-H2 to talk Thread and can now read the boot button and also manage the onboard RGB LED. :wink:

I still also have the ESP32-H2 / Zigbee board working and so will keep an eye on that in the hope they improve the integration over time.