Skip to content

Shelly1 Pulsetimer interrupt #10532

Answered by barbudor
rasti70 asked this question in Q&A
Jan 12, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi

You can interrupt a running Pulsetimer with power off
You should be able to achieve what you are looking for with the following rule :

rule1 
    on power1#state=1 do 
        var1 0 
    endon 
    on power1#state=0 do 
        var1 1 
    endon 
    on switch1#state do 
        power %var1% 
    endon

NOT TESTED

Let us know if it works

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rasti70
Comment options

Answer selected by ascillato2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants