Difference between revisions of "User:Arthur"

From Sudo Room
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
! Header text !! Header text
! Header text !! Header text
|-
|-
Pin || thing || Mode in Tasmota Configure Unit menu
| Pin || thing || Mode in Tasmota Configure Unit menu
|-
|-
| 4 || forward || Power
| 4 || forward || Power
Line 24: Line 24:
{"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":""}}
{"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":""}}


Rule2 on Analog#A0>190 do Power1 0 endon
turn off when limit current hit
Rule2 ON ANALOG#Voltage1>100 DO Power1 0 ENDON


set the adc range
AdcParam 6, 0, 4095, 0, 1024
AdcParam 6, 0, 4095, 0, 1024

Latest revision as of 23:30, 2 October 2024

Caption text
Header text Header text
Pin thing Mode in Tasmota Configure Unit menu
4 forward Power
14 reverse Power
33 current ADC Current (bottom of list)
Example Example
Example Example
Example Example


{"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 {"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":""}}

turn off when limit current hit Rule2 ON ANALOG#Voltage1>100 DO Power1 0 ENDON

set the adc range AdcParam 6, 0, 4095, 0, 1024