3-button, 3-action switch

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
glory50
Posts: 38
Joined: Thursday 07 June 2018 22:23
Target OS: Linux
Domoticz version: 2022.1
Location: Sud de France
Contact:

3-button, 3-action switch

Post by glory50 »

Would it be possible to add a switch type with 3 buttons and 3 actions? As there is now only on and off actions, could it be added the third action, along with an icon with 3 buttons? I use a selector switch, but on mobile Domoticz app it becomes always select menu. I have blinds that are commanded with 3 relays - Up, Stop and Down.
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: 3-button, 3-action switch

Post by emme »

you can try to mock with a venetial blind whitch has UP/DOWN and STOP
and intercept the values with a script:

nValue = 1 --> UP
nValue = 0 --> Down
nValue = 2 --> STOP
The most dangerous phrase in any language is:
"We always done this way"
glory50
Posts: 38
Joined: Thursday 07 June 2018 22:23
Target OS: Linux
Domoticz version: 2022.1
Location: Sud de France
Contact:

Re: 3-button, 3-action switch

Post by glory50 »

Hi emme,

Where could I mock with those values? I posed a question about the Venetian blinds but havn't had any answers...
https://www.domoticz.com/forum/viewtopi ... =6&t=27334
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest