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
Question
mtimc 0
Hullo
I'm using a small number (~200) of FGMS-001s in a number of homes to identify movement.
The devices are not behaving as I expect and I'd like to get some guidance on whether my expectations are wrong, the setups are wrong, or the devices are not appropriate for the scenarios that I'm considering. I'd like to scale this up to 40k PIRs, so I'd like to understand what I need to change before I go much further.
The devices are being driven through the OpenZwave stack (wrapped by python-openzwave), so I'm fairly sure that I'm seeing what is really going on. Each network has 3-7 PIRs, and they have been installed with their out-of-the-box configurations.
I'm assuming that motion detection is encoded in messages of type ValueChanged, and COMMAND_CLASS_ALARM with label "Burglar", with 0 meaning 'no motion' and anything else meaning 'motion detected'. I think that the behaviour is encapsulated in a finite state machine with two states (motion_detected [md], and no_motion_detected [nmd]), with the CC_ALARM/Burglar messages spat out when a state is entered. md is entered if the PIR is triggered by a motion (subsequent PIR identification of motion while in this state should not re-emit the message), entering md resets a timeout timer with a value of 30s. nmd is entered when the timer times out.
The ZWave networks have been kept small to minimise network errors, although some are still possible that some messages get lost as ZWave uses collision avoidance, rather than collision detection with correction.
What I see on the ZWave network includes several anomalies:
- multiple messages of the same type/value within 1.5 seconds. Are these just multiple sends of the same message and a result of the ZWave collision avoidance protocol? Presumably they can be safely consolidated into a single event by the receiving node?
- multiple messages of the same type/value over longer periods of time: both 0 followed by another many minutes or hours later, and [not 0] also followed by another.
When I set up multiple PIRs next to each other, so that each should detect the same motion events, I can see the above behaviours, mixed in with missing events (1 or 2 PIRs spot movement, but the other(s) do not).
Reading the various home automation forums, it looks like these devices do sometimes not trigger events as expected. However, in those cases, they are being used to trigger actuators (eg light switch) and a missed event is worked around by continuing to move in the field of view of the PIR. Clearly, that's not how the devices should work in the context of spotting a burglar.
Can anyone point me at any obvious blunders that I've made, and/or documentation on the expected behaviours of message emission, and false positive / false negative rates for these devices - I would like to understand whether I have a few rogue PIRs or a design issue.
tia
Tim
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.