Open sorgonas opened 2 weeks ago
Since I'm unfortunately not a programmer, I would be very grateful if anyone has an idea for this project, or can explain to me well how it all works or can recommend a book that explains programming an ESP with Zigbee
Question
I'm currently in despair. I'm now trying to set up a Zigbee device with my ESP32 C6 for my mailbox project, which is currently still running via WiFi and MQTT and I would like to replace it. I only managed to get the temperature displayed with the DHT11 (GPIO 3). just no matter what I try to get the servo MG90S into Zigbee fails. I also need a button to move the servo (GPIO 16) up and one to move it down. I managed to do it without Zigbee, but I just can't keep up with my 90 degree movement. The last hurdle, which I haven't started with yet, is to create 3 LEDs (GPIO 4,5,6) with a button each.
Maybe one of you can help me get this sorted
Additional context.
this is my main.c which works with zigbee and dht11:
and this is my servo code that works without zigbee and locally: