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!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Two time of day and light level memory


Question

Posted

Hello,

 

I'm a new user of Fibaro devices. I have a dimmer and motion sensor in the kitchen. Today in night i went to the kitchen and the light hurt my eyes.

So i created a variable day_night to choose the light level dependently, dim1_day and dim1_night values.

Please login or register to see this image.

/monthly_2019_06/day_night.jpg.90372cb083753a24e408f530c00cdd44.jpg" alt="day_night.jpg.90372cb083753a24e408f530c00cdd44.jpg" />

 

Now I would like to change dim1_day and dim2_night values each time i set dimmer value by button or by HC.

dim1.jpg.4604091f8a4179cc1897e3c93df54619.jpg

But dimmer don't have a trigger "value changed" and the variable don't have possibility to get value from dimmer.

 

I want to have two time of day and light level memory. Is graphic block able to handle that basic behavior?

4 answers to this question

Recommended Posts

  • -1
Posted

Why not making a variable day and night or light and dark.

 

Change the variable in an other scene based of time of sunset and sunrise.

 

The day scene will be:

if motion is detected and variable is day/light than set dim level at 100%

 

The night scene will be:

if motion is detected and variable is night/dark than set dim level at 50%

 

I think this is easier to do with block scenes

  • 0
  • Inquirer
  • Posted

    I did it above. I even made a screenshots for you. Can I make light level memory - set variables when I set dimmer level - or not?

    • 0
    Posted (edited)

    See my screenshot. For day time you can use this also but change the variable value to day and dim value at 100 (or something else)

     

    Please login or register to see this attachment.

     

    In the advanced settings of the dimmer you can set a value that always need to be used when the light turns on, but you cannot add that it needs to have a different value at day and night.

     

     

    But what you want is that when you turn on the light at night it goes to dim level 50%

    The problem is that if the variable changes to night the light will automatically turn on at 50%. You want that on the background the dim level is already is set to 50% for IF the light will be turned on. Not possible with block scenes I guess.

    Edited by kevin
    • 0
    Posted (edited)

    What I just think is, with block scenes, if you use sceneactivation on the dimmer module. I don’t know if it works but you can give it a try.

     

    Create a scene:

    add dimmer and use sceneactivation (you need to google what number is for a single click that you need to add in the green field)

    and variable is night

    then

    dimmer 2 is value 5

    the trigger is only the sceneactivation of the dimmer

     

    for day time an new scene

    add dimmer and use sceneactivation (you need to google what number is for a single click that you need to add in the green field)

    and variable is day

    then

    dimmer 2 is value 100

    the trigger is only the sceneactivation of the dimmer

     

    Please login or register to see this attachment.

    Edited by kevin

    Join the conversation

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

    Guest
    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...