Two actions in single script
Posted: Wednesday 04 November 2020 3:51
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¶m=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!
I have copied script that works which enables me to control an individual blind, such as:
GET /json.htm?type=command¶m=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!