Zwave scene Fibaro FGR-222 and script

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
Tonio16
Posts: 45
Joined: Friday 23 February 2018 20:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: France
Contact:

Zwave scene Fibaro FGR-222 and script

Post by Tonio16 »

Hello

I activated the scene association of my FGR-222 which gave me:
- for S1, 3 devices
- for S2, 4 devices

The forth device for S2 is the one for three pushes.

I want to use it to close the blinds and to put on the zwave plug on of the tv-set or to open the blinds and put off the tv-set.
To do so, I have to use a script since I can't modify the action of the events.
So my questions are?
I am using the lua script implemented in domoticz. How should I write the link ?
The zwave scene device seems to be always to be on. How can I manage it in a script? If not possible, how can I use a domoticz event in a lua script ?

Tx for your help


Antoine
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest