-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
Reset via URL (with or maybe without PW if it is easier) #643
Comments
I just noticed this today with FW |
idk if that's a sufficient solution for you, but you can indeed trigger a reboot via web request (your browser does nothing different when you hit the button in the web interface).
I just recorded the web requests with Chrome and then copied the reboot one as a curl command, and then cut everything unnecessary. Maybe it can be shortened even further. I don't know if there is another way to retrieve the auth key (YW..VT), didn't look into the code. You can also supply your credentials in the url (as you would for the api) like You even get a short response message to check via script or so on: |
As mentioned above and here #656 this is already implemented. |
I tried it yesterday but http://admin:@opendtu/api/maintenance/reboot with pw and opendtu replaces by the password and the IP did not work. I need something like this link to use it as a http request in Nodered. I don't know what to do with this curl stuff... |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns. |
Is your feature request related to a problem? Please describe.
I discovered that the MQTT data is not updated anymore once in a while, although the webinterface opens normally.
It can be noticed with a watchdog timer in NodeRed and I would like to software reset the ESP then, because this solved the problem.
Describe the solution you'd like
A software reset via URL that can be triggered with automation (via NodeRed for instance). Or is this already implemented?
Describe alternatives you've considered
No response
Additional context
I somehow thought of this issue that happens to be related to MQTT libraries:
"MQTT client does not connect to MQTT broker after a TCP reconnection" mruettgers/SMLReader#47
But I could not yet reproduce this with the openDTU ESP for sure.
After disconneting and connecting my access point again the ESP with openDTU just rebooted and was working correctly.
With the SMLreader I could reproduce the problem by restarting my Fritzbox and the SMLreader is not sending MQTT data although connected to the WiFi.
But the ESP with openDTU is connected to my Unifi access points in a different WiFi. So it is not the absolute same situation.
For the SMLreader the watchdog soultion is working fine so far.
The text was updated successfully, but these errors were encountered: