Add support for enable all cron fron api

This commit is contained in:
lejubila
2020-04-07 23:20:41 +02:00
parent f3c11a7fee
commit 3a5c3ef934
4 changed files with 86 additions and 5 deletions

View File

@@ -102,6 +102,12 @@ function socket_server_command {
json_status
;;
cron_enable_all_open_close)
cron_enable_all_open_close &> /dev/null
message_write "success" "All solenoid enabled"
json_status
;;
set_general_cron)
local vret=""
for i in $arg2 $arg3 $arg4 $arg5 $arg6 $arg7