toggle Switchselector

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

toggle Switchselector

Post by jacobsentertainment »

Hi all,

Is there a way to toggle trough an selectorswitch?
I would like o go trough three options of an selectorswitch with use of an single button.
FlyingDomotic
Posts: 359
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: toggle Switchselector

Post by FlyingDomotic »

Values in switch selector can be changed by setting level from zero to 100 by step of 10 (0,10, 20 ... 100). Just add 10 to current level, and reset when last level is reached (20 or 30, depending of first usable level (10 or 0)).
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: toggle Switchselector

Post by jacobsentertainment »

Good point, never thought of that option.

Ill have a try to implement it.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest