Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
MrConstruction 1
Hi,
I am a total beginner with LUA and was hoping someone could potentially help?
I have created a number of scenes with graphics blocks for all sorts of uses. I've also created Alarm scenes based on activation of devices with delays on entry etc but these have been easy to create with graphics blocks.
Here is my current Alarm Activation Scene, which is converted to Lua from graphics blocks.
Please login or register to see this code.
Over the last months I've expanded my Philips Hue and wish to use these in scenes but if I'm honest, I'm struggling.
I've recently installed the Philips Hue AIO VD @Sankotronic as previous searches lead me to this. I can get it to work in basic scenes with graphics blocks using the VD button number for flashing lights but it only lasts 10 seconds and activates the last hue bulb I was using, not a specific bulb and for a much longer period of time, until I stop it and I'm not sure what to do.
I would like to be able to arm a Door Sensor and if the sensor is breached while armed, a set number of Hue bulbs turn on and flash a colour (or alternate between colours) and trigger a siren and they continue to flash and activate for 15 mins or until I turn it off.
It's the Hue side of things where I am struggling.
I managed to write this with "Emergency" being alternate blue and red but as you can see it's super basic.
Please login or register to see this image.
/monthly_2020_03/image.png.ef768421a36959bde6975d467ad19823.png" />Please login or register to see this code.
I don't mind learning and have spent a long time searching and want to develop this more but I need some guidance.
Can anyone help?
Thanks.
Edited by MrConstruction5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.