This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Staircase logic with repeating off
#1
Hello every one.
I use the Staircase logic Version 3.1 by Erwin van der Zwart.
I use this to start my lawn sprinkler and this one startet an EnOcean Rocker. 
It works realy fine, but sometimes EnOcean Rocker does not receive the signal. 
The Staircase logic is off but the EnOcean Rocker is still on. so i need to turn it manually off.
Is it possible to add a repeating off signal...like 2 or 3 times after ending the Staircase logic?

Tanks for you help!
Reply
#2
Maybe you can add something like?

Code:
os.sleep(10)    --time delay of 10 seconds
grp.write('my object', false)
os.sleep(10)    --time delay of 10 seconds
grp.write('my object', false)
os.sleep(10)    --time delay of 10 seconds
grp.write('my object', false)

replace my object with your groupadress / objectname
Reply
#3
(03.06.2023, 10:57)Dré Wrote: Maybe you can add something like?

Code:
os.sleep(10)    --time delay of 10 seconds
grp.write('my object', false)
os.sleep(10)    --time delay of 10 seconds
grp.write('my object', false)
os.sleep(10)    --time delay of 10 seconds
grp.write('my object', false)

replace my object with your groupadress / objectname

hey thanks
But in which line should I enter this??  -->  Staircase logic Version 3.1 by Erwin van der Zwart.
In "SET PARAMETERS" ???
Reply
#4
Do you have a link to the post? post of Erwin
Maybe next time you need to post in that treat?

I think i should put it between line 101 and 102
Code:
grp.write(AddressOutput, false)
        ValueOutput = false

what would look now
Code:
grp.write(AddressOutput, false)
os.sleep(10)    --time delay of 10 seconds
grp.write(AddressOutput, false)
os.sleep(10)    --time delay of 10 seconds
grp.write(AddressOutput, false)
os.sleep(10)    --time delay of 10 seconds
grp.write(AddressOutput, false)
        ValueOutput = false

But does the EnOcean not have a feedback object, what you can use?
Reply
#5
(04.06.2023, 12:19)Dré Wrote: Do you have a link to the post? post ofErwin 
[quote pid="31053" dateline="1685881182"]
Maybe next time you need to post in that treat?

I think i should put it between line 101 and 102
Code:
            grp.write(AddressOutput, false)
        ValueOutput = false

what would look now

Code:
           grp.write(AddressOutput, false)
os.sleep(10)    --time delay of 10 seconds
grp.write(AddressOutput, false)
os.sleep(10)    --time delay of 10 seconds
grp.write(AddressOutput, false)
os.sleep(10)    --time delay of 10 seconds
grp.write(AddressOutput, false)
        ValueOutput = false

But does the EnOcean not have a feedback object, what you can use?
[/quote]


OH  Confused sorry my mistake.

should I write here then?  post of Erwin

because this one didnt work.
because after the time has elapsed, it still only sends the off signal once.
the feedback doesn't help me because I start the logic from everywhere
Reply


Forum Jump: