Two actions in single script

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Zandort
Posts: 1
Joined: Wednesday 04 November 2020 3:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Two actions in single script

Post by Zandort »

I use Domoticz to control somfy blinds via an rfxtrx433 and Fibaro

I have copied script that works which enables me to control an individual blind, such as:
GET /json.htm?type=command&param=switchlight&idx=2&switchcmd=On HTTP/1.10x0D0x0A0x0D0x0A

However, I want a single script that can control two blinds. I have tried just adding another line by duplicating the above and changing the idx but this doesn't work.

Any ideas?

thanks in Advance!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest