Selector Switch Cycle Json

Moderator: leecollings

Post Reply
gorstj
Posts: 41
Joined: Tuesday 13 December 2016 18:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Selector Switch Cycle Json

Post by gorstj »

Is there a JSON/HTTP API to cycle to the next state of a selector switch? (and if gets to the end go back to the start)

Use - to create a button which cycles through each state of a selector (a HTTP command is sent at each level)
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Selector Switch Cycle Json

Post by waaren »

gorstj wrote: Sunday 11 April 2021 19:52 Is there a JSON/HTTP API to cycle to the next state of a selector switch? (and if gets to the end go back to the start)

Use - to create a button which cycles through each state of a selector (a HTTP command is sent at each level)
No; but relatively easy to script.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest