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


Recommended Posts

Posted

I have a garage door and state of the door is monitored by two door-sensors. I would like to map the readings to one virtual sensor. However basic door sensor is not enough, because door has three states: closed, open and ajared (not closed, not opened). What kind of device would be the best template to reflect this three-state door?

Posted
24 minutes ago, Łukasz997 said:

I have a garage door and state of the door is monitored by two door-sensors. I would like to map the readings to one virtual sensor. However basic door sensor is not enough, because door has three states: closed, open and ajared (not closed, not opened). What kind of device would be the best template to reflect this three-state door?

I guess you could use the base shutter? :)
I use it for my sectional garage door QA


image.png.9bff76ff39824e63553367c680d5eb43.png

 

  • Thanks 1
  • Topic Author
  • Posted (edited)

    Thank you. That fits my need!

    And - if I want the getValue to be updated automatically, then I have to react to events from sensors (oe. by using TriggerQA)? Eventlib - as I understand it - is not necessary in such basic event collection?

    Thanks in advance for an advice...

     

    UPDATE:

    OK, thank you, I have resolved it myself.

    Edited by Łukasz997
    Posted
    2 hours ago, Łukasz997 said:

    Thank you. That fits my need!

    And - if I want the getValue to be updated automatically, then I have to react to events from sensors (oe. by using TriggerQA)? Eventlib - as I understand it - is not necessary in such basic event collection?

    Thanks in advance for an advice...

     

    UPDATE:

    OK, thank you, I have resolved it myself.



    I would have used the eventlib :D easy to use :D 

    to update the state of the shutter i think it was like this:

    self:updateProperty("state", "Closed")
    self:updateProperty("state", "Opened")
    self:updateProperty("state", "Unknown")

     

    • Thanks 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
    Reply to this topic...

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