aqara wall switch selector switch

Moderator: leecollings

Post Reply
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

aqara wall switch selector switch

Post by tjabas »

Hi!

I have added this: http://127.0.0.1:8080/json.htm?type=com ... cmd=Toggle

to the switch settings, but is it possible to ad another idx in this line above so i can turn on/off 2 devices at the same time?
where should i enter that idx if its possible?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: aqara wall switch selector switch

Post by waaren »

tjabas wrote: Saturday 21 December 2019 18:22 I have added this: http://127.0.0.1:8080/json.htm?type=com ... cmd=Toggle
to the switch settings, but is it possible to ad another idx in this line above so i can turn on/off 2 devices at the same time?
This command is not available for multiple switches but if you put all switches in a group you can do

http://127.0.0.1:8080/json.htm?type=com ... x=<groupID>
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