Skip to content
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

Scheduled reboot facility #756

Closed
jefft4 opened this issue Nov 20, 2022 · 7 comments
Closed

Scheduled reboot facility #756

jefft4 opened this issue Nov 20, 2022 · 7 comments
Labels
enhancement New feature or request
Milestone

Comments

@jefft4
Copy link

jefft4 commented Nov 20, 2022

Would it be possible to add an automatic scheduled reboot to EMS-ESP?

My smart home controller reboots once each week overnight, restarting the MQTT broker with it. My EMS-ESP sometimes fails to re-establish the broker connection after this and sits there doing nothing until I wake up and see the alerts from the controller than EMS hasn't reported in for a few hours. There are also (rarely) problems with it reconnecting EMS, which a reboot soon fixes.

A scheduled reboot option would mean that any temporary problems with EMS-ESP would have a good chance of being resolved without intervention.

@jefft4 jefft4 added the enhancement New feature or request label Nov 20, 2022
@proddy
Copy link
Contributor

proddy commented Nov 20, 2022

Which version are you on? And are you ipv4 or 6? We made some improvements to the MQTT reconnection in v3.5.x. You can also reboot EMS-ESP remotely with an API call via an external scheduler (eg. in HA or ioBroker)

@jefft4
Copy link
Author

jefft4 commented Nov 20, 2022

3.4.4 at present, IPv4 network. I'll try 3.5 when it's out of beta, sounds positive.
Remote reboot is an interesting point; will look into that. It wouldn't help if the ESP lost wi-fi though. I like things to do a local reboot to clean up periodically.

@proddy
Copy link
Contributor

proddy commented Nov 20, 2022

This would be easy to do in #701 - which we're planning to work on after v3.5 is out (before xmas hopefully)

@jefft4
Copy link
Author

jefft4 commented Nov 20, 2022

:-)

@proddy proddy added this to the v3.6.0 milestone Dec 16, 2022
@tefracky
Copy link
Contributor

Which version are you on? And are you ipv4 or 6? We made some improvements to the MQTT reconnection in v3.5.x. You can also reboot EMS-ESP remotely with an API call via an external scheduler (eg. in HA or ioBroker)

This is a nice idea. What is the right API-call for a reboot?

@proddy
Copy link
Contributor

proddy commented Dec 19, 2022

It's in the doc. Search for restart

@proddy
Copy link
Contributor

proddy commented Feb 24, 2023

closing. will be addressed in #701

@proddy proddy closed this as completed Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants