OpenSprinkler › Forums › OpenSprinkler Mobile and Web App › Logs to not record control via API › Reply To: Logs to not record control via API
January 21, 2024 at 7:36 pm
#77956
Chester Corcos
Participant
hmm. this only seems to be a problem if you turn it on more than once.
`
# This will not show up in the logs
curl ‘http://192.168.1.79/cm?pw=xxxx&sid=0&en=1&t=60’
sleep 10
curl ‘http://192.168.1.79/cm?pw=xxxx&sid=0&en=1&t=60’ # extend another 60 seconds
sleep 10
curl ‘http://192.168.1.79/cm?pw=xxxx&sid=0&en=0’
# This will show up in the logs.
curl ‘http://192.168.1.79/cm?pw=xxxx&sid=1&en=1&t=60’
sleep 10
curl ‘http://192.168.1.79/cm?pw=xxxx&sid=1&en=0’
`