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.
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.