Hello! I want to configure the smart plug so that it only adds consumption to the total watt counter only if the consumption exceeds some value. Chipset BK7231N. Firmware OpenBK 1.17.131. Please tell me how to do it? Sorry for my bad English

Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tam
setChannel 11 0
start1:
delay_s 5
if $CH11>=5 then goto end1
if $power>=60 then goto end2
if $power<60 then goto end3
goto start1
end1:
setChannel 11 0
setChannel 1 0
goto start1
end2:
setChannel 11 0
goto start1
end3:
addChannel 11 1
goto start1
addChangeHandler Current > 100 setChannel 0 0
addChangeHandler Power > 40 setChannel 1 0
addChangeHandler Channel0 < 50 echo value is low
addChangeHandler Energy > 40 setChannel 1 0
SendGet http://192.168.0.112/myLogger.php?energy=$energy