-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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 and Zigbee2MQTT - Sleepy Temperature Example rebooting constantly #10663
Comments
Hi @HiFiJ, please use |
Hi, thanks a lot. I believe I changed the branch successfully (git checkout release/v.3.1.x, then python get.py), and the reboots seem to be fixed! Booting... |
I was reading this comment #10612 (comment) regarding disabling the power source, and on first sight it seems like it does indeed improve the situation. Now I am getting the planned 1 minute deep sleep both immediately after flashing and also after powering down/repowering the device. Those are very preliminary observations, just running for a couple of sleep cycles for now. 19:19:47.002 -> [ 2681][I][ZigbeeCore.cpp:139] zigbeeInit(): Device type: Temperature Sensor, Endpoint: 10, Device ID: 0x0302 |
On a side note, is ther info on what external converter would be needed for Z2M to show the values of the example? |
@HiFiJ I am not that familiar with Zigbee2MQTT. I am using HomeAssistant with ZHA. |
Hello, thanks for your continued efforts :-) For now, the humidity part of the message is not calculated/represented correctly, probably as some kind of easy converter is needed: Perhaps someone else as well has an easy example for this ESP32 Zigbee example code/end device to get this supported with Zigbee2MQTT. Regarding the main issue I opened, it looks like the basic sleep/transmit cycle is working now if there is adequate reception for the end device. Thanks again, best regards, Joost |
Thank you very much for the heads up - I'll test and get back with results this weekend I hope! Joost |
Thanks, I managed to update and it looks like it is working now. Only battery level is not available. |
@HiFiJ I will also test soon with Z2M, and check the battery level if there is any issue. Using ZHA on HomeAssistant there is no issue with the battery level. |
Board
M5Nano-C6 (M5Stack)
Device Description
No additional hardware
Hardware Configuration
No
Version
latest development Release Candidate (RC-X)
IDE Name
Arduino-IDE 2.3.3
Operating System
Linux
Flash frequency
40 or 80MHz
PSRAM enabled
yes
Upload speed
961600
Description
Hi everyone, thanks to your great work!!
I updated to yesterday night's (28. to 29.11.2024) github master code using the manual method (download in the Sketchbook/Arduino folder). This went successfull, I could choose the esp32c6-dev in "esp 32 (Arduino Sketchbbok)".
I am using "Erase all flash".
I have zigbee2mqtt with a Zigstar Gateway connected via Ethernet, running a Zigbee network with around 10-15 devices.
I am using the unmodified "Zigbee_Temp_Hum_Sensor_Sleepy.ino" example.
After joining the network and getting a "Inteview successfull" from Z2M, the end device / ESP32 reboots constantly approximately every 7 seconds.
NB: probably as the end point is not known/supported, I can only see a temperature/LQI in Z2m (no humidity), and this does not update (this is likely caused by the constant reboots, as no new data is sent).
Thanks everyone,
Joost
Sketch
Unmodified "Zigbee_Temp_Hum_Sensor_Sleepy.ino" example
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: