sidoh / esp8266_milight_hub

Replacement for a Milight/LimitlessLED hub hosted on an ESP8266
MIT License
939 stars 220 forks source link

Reboot at specific times #769

Closed smarticz closed 1 year ago

smarticz commented 2 years ago

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

Sometimes it gets lags and only rebooting helps.

For example:

garmck commented 2 years ago

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

VDRainer commented 2 years ago

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:

DigiH commented 1 year ago

@VDRainer

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