Help with my first piston!


How to set time between 20:00-09:00 (24 hour time)!? What variables do I use.

Best regards


I am not sure I understand your question. Can you give us a little more information about what you are trying to accomplish?


Depending on what you are trying to do, you may not even need variables.




I want to set my Aeotec Doorbell 6 to volume (0) at 20:00 (evening) to about 9:00 (morning). At 9:00 it should go back to normal, end the piston. Simple as that.

I have got the right code to SetVolume from the guy how wrote the device handler.

Many thanks in advance


That could work, I will look at that!

Thanks for the help



Variables are needed IF the same automation needs to behave differently under different circumstances.
(one of the ways of using them ofcourse)