emsesp / EMS-ESP32

ESP32 firmware to read and control EMS and Heatronic compatible equipment such as boilers, thermostats, solar modules, and heat pumps
https://emsesp.github.io/docs
GNU Lesser General Public License v3.0
625 stars 107 forks source link

enable/disable system services and settings via API #2182

Open proddy opened 6 days ago

proddy commented 6 days ago

Triggered by https://github.com/emsesp/EMS-ESP32/discussions/2168 two new commands were added in 3.7.1 to control the shower (/api/system/showeralert and /api/system/showertimer).

A more generic approach is to extend the new action command, moving this from /rest/ to a HTTP POST API /api/system so we can use a format like {"action":'enable|disable', param:'ntp|ap|syslog|showeralert...'}.`

This will remove 3 EMS-ESP Commands and free up some memory.

proddy commented 2 days ago

Request to extend this to turn LED on and off as well

https://github.com/emsesp/EMS-ESP32/discussions/2194