-
Notifications
You must be signed in to change notification settings - Fork 43
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
ESP32-C6 Zigbee witch DHT11, MG90S and 3 LED (TZ-877) #344
Comments
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 |
Hello there. I am almost in the same situation. I have few ESP32 at home, doing temperature and humidity data collection. Powering WIFI from a battery is not ideal in term of lifetime. I wanted to switch to a complete Zibgee setup, but after 2 complete days trying to make it work, only the temperature sensor worked (not the humidity one). I mainly based my attempts on the example codes, but once you want to modify something, it is really painfull to understand how to do ! I simply decided to wait until some more documentation pops out. Good luck with your project @sorgonas. |
Hello @quentains , |
The issue is caused by the missing
|
Thank you @xieqinan for your answer and your attempt to help me, but I don't even understand how I should put them together and where this code should go. The linked post that you linked to this one is also very complicated for me. And when I think that I actually wanted to integrate a servo, 3 LEDs and a battery indicator for my mailbox guard, I get even more dizzy. I'll probably wait until there's a book about Zigbee that can teach you how it all works together from the beginning, etc. As I said, I'm not a programmer, I learned system administration. I've rewritten it so far with ChatGPT, but the bind isn't included either, so currently only the temperature is displayed and nothing else works. I don't really understand why MQTT is included here even though I don't want to use it or have it in there
|
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:
The text was updated successfully, but these errors were encountered: