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


Fibaro Motion Sensor


Recommended Posts

Guest bozman
Posted

Hi,

I'm thinking in investing in a Fibaro Motion Sensor.

In the comercial ad it mentions and shows about counting persons in a room.

Is that actually working or is it in a future release?

Does anyone use that feature yet?

Regards

Boz

Posted
Hi,

I'm thinking in investing in a Fibaro Motion Sensor.

In the comercial ad it mentions and shows about counting persons in a room.

Is that actually working or is it in a future release?

Does anyone use that feature yet?

Regards

Boz

I am very interested in an official response to this question aswell!

Please login or register to see this image.

/emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

I own approx 11 sensors...

Posted

for counting you Always need 2 sensor (at least)

and then there is still room for errors

Guest bozman
  • Topic Author
  • Posted

    Akatar why 2 sensors?

    Posted

    for the walk direction?

    if one is breached, you have to know where the person is going to.

    in the room or out the room

    so number of persons = +1 or -1

    Guest bozman
  • Topic Author
  • Posted

    Aha for walk direction you would need several sensors.

    I'm thinking of more counting persons in a room, is 1 or 10 persons in a room.

    Is that working with the Fibaro sensor?

    Posted

    no it's not.

    how do you want to do that?

    if the sensor sees someone, is it a new one, was he already here, is he leaving? etc

    Posted

    personally cannot see how can achieve this?

    person 1 walks into room

    sensor 1 > sensor 2 = kitchen 1 person

    person 2 walks into room 1 minute later

    sensor 1 > sensor 2 kitchen 2 persons

    person 3 walks in directly behind person 2

    sensor 1 (still breached) > sensor 2 (still breached)

    am i wrong? happy to be told different that is what learning is all about!

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    Guest bozman
  • Topic Author
  • Posted

    Ok I'm not sure how to interpret this then.

    Isn't this a counting feature?

    Please login or register to see this image.

    Posted

    like i said, room for plenty of erros.

    1 person walking in the kitchen, same time 2 persons walks out

    these things happen

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    sensor will see both as one

    Guest bozman
  • Topic Author
  • Posted

    OK, thanks akatar!

    I guess you saved me some time and money and not investing in this then!

    Posted

    maybe fibrao can inform us how this could be done?

    Guest merylion
  • Topic Author
  • Posted

    Generally reliable person counting is not very easy to perform

    What about if two persons are walking in the same time?

    And many other scenarios where automated way is not very easy.

    There are some systems but they are based on analysis of video but it is very complicated and expensive.

    I have another one question.

    I am trying to do easy reliable luminance recognition.

    I have mounted Fibaro Motion sensor outside.

    Now I am observing this for last few days and can see that luminance reported is quite strange. When sun is pointing straight onto sensor it can show even more than 9000 Lux.

    When it points out from angle it can drop below 1000 Lux. Then if sun goes behind sensor then some reflection from walls which are far away (100m white color non reflective) gives more that 7000 Lux.

    I need to recognize when sun is shining straight onto sensor and I should expect luminance to be much higher when sun is shining directly on sensor not from reflection.

    Generally luminance level is not exactly showing how stong sun is shining

    Please login or register to see this image.

    /emoticons/default_sad.png" alt=":(" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    Anyone have any observations? Is there anything in parameters what I can change? Insert any additional filters on so?

    Regards

    Marcin

    Posted

    Hi everyone,

    The limitations that have been mentioned are unavoidable. The minimum setting for the motion sensor is 1 second. Which means if two people enter a room within 1 second of each other, there is no way of detecting the two people apart. If you need accuracy like this, perhaps a better option is a universal sensor connected with two light beams in the door frame - this still wont detect two people walking through the door at the same time sideways, but the chances of this are much less - one would assume!

    However, here is a setup we have used here in the Fibaro UK office.

    Some things that need to be considered:

    Please login or register to see this image.

    /emoticons/default_icon_arrow.gif" alt=":arrow:" /> The motion sensors need to be above the door frame so the frame acts as a filter - so the outside sensor doesn't detect the inside one and visa versa.

    Please login or register to see this image.

    /emoticons/default_icon_arrow.gif" alt=":arrow:" /> The sensors need to be rotated inwards so that only a very narrow beam of detection is looking straight down. This stops the movement in the room triggering the device.

    In essence you are narrowing the beam to two areas just on either side of the door.

    Making the sensors more sensitive

    Change these parameters in both motion sensors:

    Parameter 1 = 8

    Parameter 2 = 0

    Parameter 6 = 1s

    Save this and wake up the device to let it know things have changed.

    The global variable

    We need a global variable to contain the count of people in the room. We have called ours PeopleCount, but feel free to change that - especially if you're counting more than one area.

    The code

    Don't forget to change the trigger device IDs and the two local variables motionInside and motionOutside to the IDs of the motion sensors you want to monitor!

    Please login or register to see this code.

    Adjustments

    See how it works. Adjust the height of the sensors if there is interference between inside and outside. Rotate them further in if there is interference from within the room.

    The local variable debugLevel can be changed to give more debugging detail. Try values of 5, 10, 11 and 20.

    Things you could try

    If you have a door sensor, it would make sense to ignore movement unless the door is open - but don't ignore it completely, you may be wanting to go out through the door you just opened... or maybe you could ignore it completely - time to experiment some more

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

    Happy automating!

    Adam Bewsher

    [ Added: 2014-08-13, 17:58 ]

    I have another one question.

    I am trying to do easy reliable luminance recognition.

    I have mounted Fibaro Motion sensor outside.

    Hi Marcin,

    The light sensor chip is not on the surface of the motion sensor, but inside, so it makes sense that light at an angle could be perceived as less intense than light reflected into the device (and on to the sensor).

    (It's not really a good idea to mount the sensor outside by the way.)

    It may not be exactly what you're looking for, but have a look at

    Please login or register to see this link.

    at the article on constant light levels - there may be something in there that you can use.

    Happy automating!

    Adam Bewsher

    Posted

    Brilliant work on the tutorials Adam, credit where credit is due, these are exactly the advanced scenarios people are looking for

    Posted

    Well spoken, a lot of users have been asking and waiting for this type of documentation and help. Applaus!

    Posted

    Thanks for the feedback guys!

    I've made my post from this thread into an official tutorial:

    Please login or register to see this link.

    It has been slightly modified (one line has moved down in the code) so it will work better if there is more than one door in the room and the scene is duplicated.

    Happy automating!

    Adam

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