Page 1 of 1

Blocky Assitance (LightwaveRF Mood Controller)

Posted: Friday 31 January 2014 23:58
by asmithdub
Hi,

Couple of questions if anyone can help..

In blocky is it possible to use the status of a LightwaveRF Mood Controller as a trigger. Eg If Mood Controller = Group Mood4 etc then 'Do Something'...

Also, does any one know how to use a PIR in an IF scenario whereby - If PIR was not active say for the last 30mins?

Hope all that clear!

Thanks.

Re: Blocky Assitance (LightwaveRF Mood Controller)

Posted: Saturday 01 February 2014 15:21
by simonrg
Not sure this is possible in Blockly - however @ro has written a very clever LUA script to connect the buttons to scenes - http://www.domoticz.com/forum/viewtopic ... itch#p2940

For the PIRs I have written a couple of LUA scripts which will turn off lights a set time after a PIR was LAST activated, with Blockly it is only possible to do it so that the lights turn off a set time after the PIR was FIRST activated. Have read of the thread to get an idea about what is possible - http://www.domoticz.com/forum/viewtopic ... +pir#p9003

Re: Blocky Assitance (LightwaveRF Mood Controller)

Posted: Monday 21 December 2015 11:59
by julianmclean
Just picking up on this a couple of years later...does anyone know of any possible way to detect state (individual button pressed) for a LightwaveRF Mood switch within Blockly? I'm aware of how to do it externally in a LUA/other script, but for maintenance reasons, I generally like to keep within Domoticz Events wherever possible. Other than the logs, I cannot find any way that Domoticz understands the state that has been set. Any creative ideas welcomed!