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

Scene or variable not working as intended


Question

Posted

I am not able to see why this scene is not working as intended.

 

What I try to do:

Only after sunset, and I have gone to bed.

If I need to go to/from the toilet I would like 2 lamps to turn on for 30 seconds.

 

Problem is the lamps turn on and off any time of the day.

 

Setting night time):

Please login or register to see this attachment.

 

Setting day time:

Please login or register to see this image.

/monthly_2018_02/5a802c14c648d_VariabelDag.PNG.ce65db5e194d2f790d4060a26606d332.PNG" alt="5a802c14c648d_VariabelDag.PNG.ce65db5e194d2f790d4060a26606d332.PNG" />

 

Setting sunrice:

5a802c164b700_Variabelsoloppgang.PNG.ad84f80af62845c01e8ec2f5a49432dd.PNG

 

Setting sunset:

5a802c16207cb_Variabelsolnedgang.PNG.cd6487dd541092da11fa7d407ab6c285.PNG

 

Turning lamps on/off:

Please login or register to see this attachment.

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

Hi @Teza

I Use similar conditionals for this nightlight scene but .. it lets me grab back door access, someone getting up from the couch, going to the toilet at night etc etc when the primary areas lights are off ..

 

Please login or register to see this image.

/monthly_2018_02/image.png.58bc91852d254a927ba5dd2e5432320e.png" />

 

image.png.299cccabbfc01dabd15952d45fe65e7e.png

 

image.png.659586d4076ac978e2e692ade38390d5.png

..

 

I suspect though that it is the conditonals in day/night .. mine looks like this .. so it turns one variable off then the next on :) ( Otherwise they are both night & day  and lights get confused )

 

image.png.df662698ae54e17c532c8d5c27d583c6.png

image.png.01fc8ff626ba36e2a1c8c33fc4fb3526.png

 

Hope this helps !

 

Cheers,

al.

 

Edited by alandee
  • 0
  • Inquirer
  • Posted (edited)

    I am only using "predefined variables", no "variables", it seems like you are using "variables".

    When should I use the different type of variables?

     

     

    Edited by Teza
    • 0
    Posted (edited)

    @TezaSee how you go with Global, I don't claim to be a programmer, but it works for me.

    I use predefined variables for very little but I'm sure I should probably use them more. I have them for decklight brightness settings , pre defined temperature in the attic 20 30 40 and corresponding fan speeds for cooling, humidity options in the cellar, and things like that so I can call that in lua scene,

    I don't know what others use them for but imagine one variable called 'lights' and having all the light id's stored so then if you call that variable in lua script with the ids you get all the lights.

     

     

     

     

    Hope this helps !

    Cheers,

    al.

     

     

     

    Edited by alandee
    I actually read the response I was replying to !! :)
    • Like 1

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