Push on button increments selector Value script
Posted: Friday 18 January 2019 18:17
Hello everybody!
Do some of you know enough about scripting to help me on this?
Situatation:
I have a Z-wave wirelesse remote which only send ON value.
Want to use it to switch LED color afer every push: flow will be like OFF -> 10 -> 20 -> 30 -> OFF
I want that after every ON received, the value of a Dummy selector switch to be incremented.
flow will be like OFF -> 10 -> 20 -> 30 -> OFF
Ideally, one with and one without the OFF values (10 -> 20 -> 30 -> 10)
maybe one that can be edited to add seletor values to the script to have more options: ( 10->20->30->40)
Maybe someone already have something like this:-)
Looking forward for your hints!
Regards, JS
Do some of you know enough about scripting to help me on this?
Situatation:
I have a Z-wave wirelesse remote which only send ON value.
Want to use it to switch LED color afer every push: flow will be like OFF -> 10 -> 20 -> 30 -> OFF
I want that after every ON received, the value of a Dummy selector switch to be incremented.
flow will be like OFF -> 10 -> 20 -> 30 -> OFF
Ideally, one with and one without the OFF values (10 -> 20 -> 30 -> 10)
maybe one that can be edited to add seletor values to the script to have more options: ( 10->20->30->40)
Maybe someone already have something like this:-)
Looking forward for your hints!
Regards, JS