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

Doorbell ghost-messages


Question

Posted

Hi all,

 

I've a question for you. I'm not sure if I'm doing it right because I'm pretty new to this. I am using an old doorbell with a Fibaro Binary Sensor clarified on this website (in Dutch):

Please login or register to see this link.

 

I have created a scene like this:

Please login or register to see this code.

ID 133 is the binary sensor.

ID 106 is a light-switch in the living room.

ID 71 is a Philips Living Color which is using the 'emergency button' for a visual notification. Light is switching between red and blue for a few seconds.

 

When the living room switch is on, then the living color also needs to be on after the emergency-loop. I think I can use also a 'elseif', but I need to learn a bit more about LUA first. But for now I used a second scene:

Please login or register to see this code.

When I pressed the doorbell, everything works like intended. But the problem is that I receive 'ghost-messages'. And I think this has to do with sunset and sunrise. This morning I got a message at sunrise (6:55 AM).

 

Is there something wrong with the LUA scenes? Or is it something else? I'm not sure what's going wrong in this case. Hope you can help!

2 answers to this question

Recommended Posts

  • 0
Posted

ghostbusters:

just insert this after header

print(json.encode(fibaro:getSourceTrigger()))

 

and waiting ghost

  • Like 1
  • 0
  • Inquirer
  • Posted (edited)
    7 minutes ago, 10der said:

    ghostbusters:

    just insert this after header

    print(json.encode(fibaro:getSourceTrigger()))

     

    and waiting ghost

    Hope to see soon what is triggering this scene. Thanks for your input!

    Edited by DeKlump

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