-
Notifications
You must be signed in to change notification settings - Fork 8
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
Reboot after x hours v1.10 #51
Comments
Sorry to hear, I'll check that. |
@Seinuh |
status message disappears over time... when I manually reboot it it publishes it as {"status: "",ip: 192.168.XX"} "on" is missing here |
status mqqt message is only published when mqtt explorer is open during a reboot. |
Okay, I found a problem here. Probably you set this value to "" on an admin page.
I should check if the value exists and non-empty. Please set Device status string (on) / Device status string (off) on an admin page (advanced should be open) |
It is published, but since that message is not retained, then later you won't receive that. |
I had not changed anything about this, just set on to online and off to offline as a test. Now it is well published "online" |
I have set reboot after 2 hours. I'll leave mqqt explorer open for the next 2 hours so I can check if it reboots after 2 hours |
Based on mqqt topic status, this issue can be closed. after 2 hours a new status appeared. I now have a complete fresh installation running based on v1.10 |
v1.10 does not crash based on not restarting |
@Seinuh Cool! Thank for testing. |
I also experience spontaneous not_present even though they are really present. v.1.10 is still very unstable unfortunately |
I would like to updte the libraries. I hope it helps |
I now have v1.09 and v1.10 running side by side to compare V1.1.09 via mqtt V1.10 via Webhook Both reboot 2 hours |
v1.10 freezes over time and can no longer be reached via IP. Also inexplicable device drops |
@Seinuh |
Up and running.. thanks for your support |
@redakker I have been testing via webhook for almost a day now. he published 2 messages every hour. After a few hours a spontaneous not_present was displayed, which was only set to present again at the hour mark. after that, only 1 message was published every hour. publishing has now also stopped and the Esp32 is no longer accessible via IP. |
Is that issue with the latest firmaware? 1.11? |
@redakker yes v1.11 unfortunately.. |
Okay, I think I know what is going on here. |
mqtt now also activated and working |
@redakker from 10:00 a "ping" runs on both webhook and mqtt |
after 1 hour mqtt published 1 message. webhook 2 |
@redakker 11.21 everything on mqtt and on webhook is set to not_present.. while my backup esp32 with v1.09 keeps the same devives as present |
Interesting. 1.11 should send a status MQTT message every 30 seconds. Are you receiving that? |
Interesting, because i have not touched the Bluetooth part of that |
Yes it does |
It drops mqtt as webhook at the same time |
@redakker 12:00 devices were all reset to present, both mqtt and webhook at the same time |
@Seinuh please set the reboot hours to 0 on device with firmware 1.11 |
All set 12:30 |
@redakker Unfortunately, even after disabling auto reboot, he loses the devices via both mqtt and webhook |
Interesting, for me it has running for almost 2 days now. |
I now have a fresh installation running based on v1.11 |
I've changed the time config for bluetooth, try the new binary |
Up and running 🤞 |
@redakker unfortunately still unstable, I have now done a fresh installation on another esp32, these same problems. only v1.9 remains stable |
I don't understand why? Do you have a stable power source for that? Is the Wifi is okay? |
stable 5v and WiFi 100% to rule things out now another Bluetooth tracker installed on the same power supply and esp32 |
@redakker maybe I have found something... I have fixed the esp32 to an access point so that it cannot jump |
@redakker esp32 attached to an access point other power supply and tightly next to an esp32 v1.9 unfortunately v1.11 sets everything back to not_present and picks up the correct value after a reboot. Version v1.9 keeps this neatly. If no one else is experiencing this problem, something must be going wrong here somewhere. |
I continue developing this version and let's see |
Please let me know when I can test something again. Hopefully you get it stable and look forward to http and https support for webhooks. This will be a nice combination with Homey, the platform I use. |
@Seinuh
You can update your board with that. |
V1.11.144 up and running 👍 I think my new Mosquitto broker provides more stability here 🤞 |
@redakker Unfortunately, v1.11.144 also stops here, what I notice is that the 3 second status message is also no longer posted... a restart is needed to start things up again. My broker runs fine with other mqtt devices so my broker seems to be fine. |
There should be a status message ~30 seconds |
That's right, 30 seconds instead of 3... I'm running mqtt explorer. To check |
Would be great to have some logs. |
I'll do that.. |
@redakker after adjusting the restart timer after 4 hours. currently stable 13 hours... fingers crossed |
it seems that in version v1.10 the reboot after x hours function does not work. it might be useful to publish uptime in a topic for checking.
The text was updated successfully, but these errors were encountered: