-
Hi, When I connect "ET to battery +" for a second time, I don't get any MQTT message anymore. Also the "PW" LED stays active... it doesn't shut off after the configured 15 seconds. I have to remove the battery to power down the ESPBell-MAX. Even after re-insterting the battery, connecting "ET to battery +", it won't send any MQTT messages and won't power down the device. It will only work again, after several hours of downtime. Then it will only work for one single message and any further triggers will bring the device in the same state as described above. Is there any way to debug what is happening and why it is either not sending messages, or not shutting down the device? Maybe some way to get log output during operation? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
Hi, Let's go through a few steps to better understand the issue:
The ESPBell-MAX uses two MQTT topics:
Could you please check the following?
This information will help us narrow down the root cause of the behavior. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the late reply. I finally had the time to do some more debugging with my new device.
I only changed my wifi settings in the config.h file, I didn't change any of the code logic. The "full" log looks like this:
|
Beta Was this translation helpful? Give feedback.
-
After countless iteratoins of adjusting code and re-flashing to the device, I have found my issue: I updated the code to connect only via SSID and password using DHCP, afterwards I printed the wifi details to the log. There I found, that ESP is displaying a different BSSID as my managing UI does. Updating my config.h file with the correct values finally worked. It takes about 1.7 seconds to trigger the MQTT message when someone rings at the door. That is okay. Thanks for all the support. |
Beta Was this translation helpful? Give feedback.
After countless iteratoins of adjusting code and re-flashing to the device, I have found my issue:
The BSSID was wrong! My network managing software actually displays a wrong value.
I updated the code to connect only via SSID and password using DHCP, afterwards I printed the wifi details to the log. There I found, that ESP is displaying a different BSSID as my managing UI does. Updating my config.h file with the correct values finally worked.
It takes about 1.7 seconds to trigger the MQTT message when someone rings at the door. That is okay.
Thanks for all the support.