Add autoclose of the solenoid when the soil moisture has reached the set level
This commit is contained in:
@@ -256,7 +256,7 @@ function socket_server_command {
|
||||
if [ "empty$arg2" == "empty" ]; then
|
||||
json_error 0 "Alias sensor not specified"
|
||||
else
|
||||
sensor_status_set $arg2 $arg3 &> /dev/null
|
||||
sensor_status_set $arg2 $arg3 $arg4 &> /dev/null
|
||||
json_status
|
||||
fi
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user