311
edits
m (Removed protection from "Omnindoor") |
|||
Line 1: | Line 1: | ||
[[File:Omnindoor-ESP32-wiring.png|thumb]] | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ Caption text | |+ Caption text | ||
Line 21: | Line 23: | ||
{"POWER1":"ON"}0jake@eg:~/sketchbook/omnindoor$ curl -u "admin:password" http://10.111/cm?cmnd=POWER1+off | {"POWER1":"ON"}0jake@eg:~/sketchbook/omnindoor$ curl -u "admin:password" http://10.111/cm?cmnd=POWER1+off | ||
{"POWER1":"OFF"}0jake@eg:~/sketchbook/omnindoor$ curl -u "admin:password" http://10.111/cm?cmnd=rule1+1 | {"POWER1":"OFF"}0jake@eg:~/sketchbook/omnindoor$ curl -u "admin:password" http://10.111/cm?cmnd=rule1+1 | ||
{"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":""}} | {"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":""}} | ||
turn off when limit current hit | turn off when limit current hit | ||
Rule2 ON ANALOG#Voltage1>100 DO Power1 0 ENDON | Rule2 ON ANALOG#Voltage1>100 DO Power1 0 ENDON | ||
set the adc range | set the adc range | ||
AdcParam 6, 0, 4095, 0, 1024 | AdcParam 6, 0, 4095, 0, 1024 |