Jump to content

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!



Smart Home Forum by FIBARO Team

  • 0

DECLARATIONS (Conditions/Triggers), lighting scene




What devices I'm using:

  • 2 Fibaro Motion Sensors in different places of the room (With calculating the Lux)
  • 1 LED stripe
  • 1 Room main Lamp


What I would like to do:

  • I need to Turn On the Led Stripe when Main Lamp is Off and it's dark
  • I need to Turn On the Led Stripe with different Brightness params depending on the hours (for example: when is dark and the time is not 00:00, set brightness 99. Other situations: when is dark and the time is from 00:01  to while becomes lighter set brightness 30, if is light enoght turn off the led)
  • If LED Stripe is On and someone makes the main Lamp On, Turn Off LED Stripe ASAP


How Can I do it?

  • To write a scene without any declarations and trigger this scene each second. But I'm aware that this solution will overload my Home Center 3
  • On other hand I'm thinking about to write seperate small scenes:
    • 1 Add condition: when one of the sensor is breach and the lux is under X and the main lamp is off, turn On the LED
    • 2 Add condition: when Main Lamp is On or motion sensors is safe, Turn Off the LED
    • At this point I will have 2 additional scenes to Turn On the LED Stripe and Turn Off the LED Stripe


There are so many possibles ways to do, but which way to choose?


I'm absolutely new in Lua and I don't know how it influences gateway. The goals is to make Lighting smart and don't overload the Home Center 3 Gateway


Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...