esp8266_milight_hub icon indicating copy to clipboard operation
esp8266_milight_hub copied to clipboard

Reboot at specific times

Open smarticz opened this issue 3 years ago • 2 comments

Would it be possible to add in the settings, automatic restart of the device?

Sometimes it gets lags and only rebooting helps.

For example:

  • Never
  • Every hour
  • Every 3 hours
  • Every 6 hours
  • Every 12 hours
  • At 4 am

smarticz avatar Feb 01 '22 15:02 smarticz

This is already implemented. Settings / Setup / Auto-restart period

garmck avatar Feb 01 '22 20:02 garmck

You can also use curl to restart the hub at specific times. For example with a homeassistant shell_command.

# Restart Milight Hub
shell_command:
  mlh_eg_restart: "curl http://192.168.2.62/system -X POST -H 'Content-Type: application/json' -d '{\"command\":\"restart\"}'"

But NOT if you have this https://github.com/sidoh/esp8266_milight_hub/issues/765 issue. :neutral_face:

VDRainer avatar May 15 '22 05:05 VDRainer

@VDRainer

Also possible across restarts with my comment in https://github.com/sidoh/esp8266_milight_hub/issues/765#issuecomment-1627745981

DigiH avatar Jul 09 '23 17:07 DigiH