Howto make a scene trigger an event

Moderator: leecollings

Post Reply
jonny2k
Posts: 2
Joined: Monday 22 February 2016 14:13
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10088
Contact:

Howto make a scene trigger an event

Post by jonny2k »

Hey,

is it possible to trigger a lua script, when a scene is activated?

Background:
I have different scenes controlling my "conventional lights" (brightness, on/off). I also wanna activate the corresponding scene of my Philips Hue lights. And since I'm doing that so far with lua scripts, I hope there is a possibility to use those scripts with the domoticz scenes.

Thanks a lot
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Howto make a scene trigger an event

Post by StanHD »

Hi, have you looked at the "On Action" in the Scene / Group edit?
I think you can do it from there.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest