@Oliver_Baumgart I use the passage trough sensor now for a few days and I am not happy. I have 3 of them at around 80cm height position and mostly default settings. Just changed the Time interval in which both sensors must be triggered to 3 seconds so there you can walk slower trough the sensor and set Time interval until the next motion is detected to 500ms. But sometimes the sensors work great but mostly they do not detect motion or detect them double. Not sure if I can fix that with changing setting. How his your experience with this sensors? What are your settings? How did you position them?
If you are using a motion sensor only to turn on the bathroom light, canât you use a simple occupancy sensor switch like the Luron Maestro? Their built-in motion sensors are really good at detection and I use them in all of my friendâs bathrooms without problems (including showers).
Here is the Amazon link.
https://www.amazon.com/Lutron-Maestro-Required-Single-Pole-MS-OPS2-WH/dp/B005WM3ALC/ref=sr_1_5?crid=1QZR1DH7AA2ZM&keywords=occupancy+switch&qid=1551609442&s=gateway&sprefix=occupancy+switch%2Caps%2C188&sr=8-5
Maybe for bathroom but then I would need two. And in other rooms there is more a problem. Thats why I tried the solution from above with the passage trough sensor, but they do not work very stable.
Using the Lutron Maestro switches is still cheaper than buying two motion sensors and two smart switches, or smart bulbsâŚwhat are you using now to control the lights remotely? Smart bulbs or smart switch?
As written on top I use a motion sensor and a switch for now. But I tried going with the Homematic solution. There you only have 1 sensor not 2 and only 1 switch but you should know how many persons are in a room. The is the benefit, just using motion sensor to switch the light on in easy. But shutting the light automatic off when the last person left the room its nice. But for now the passage sensor to not work very reliable, maybe need to change the position or the config.
YesâŚthe Lutron Maestro switch has a motion sensor built inside the light switch. And itâs only $20 USD. The motion detection works very well and can detect movement much better than Z-Wave or Zigbee motion sensors. You can also set a time limit, so the Lutron switch will turn off after 1, 5, or 15 minutes of inactivity. It works perfectly in the bathrooms I installed it in. And youâre looking for a solution for your bathroomâŚmaybe you shouldnât overcomplicate things and use a simpler solution.
The only problem with Lutron Maestro is the motion sensor is on the switch, so if the location of the switch is not good, then maybe it wonât detect motion. But Iâve installed a switch that was far away from the bathroom entrance, and the Lutron Maestro is still able to detect motion well. It has a 180 degree view.
And how do you handle multiple persons entering a room? Or how do you know if all people left the room and not just sitting still?
Lutron Maestro can detect slight movements if the person is sitting on the toilet. Unless you are a statue, you are going to be making some movements on the toilet.Trust me, the motion detection works. It even works when Iâm showering behind a curtain.
I donât really understand your need to track multiple people entering a room. All you need to detect is if there is motion detected in the bathroom, then turn on the lights. It doesnât matter if itâs one person or two people, the switch detects motion from any person. If one person leaves the bathroom and the other stays in the bathroom, there is still motion detected from that one person in the bathroom. If both people leave the bathroom, then there is no motion detected and the light will turn off after 1, 5, or 15 minutes of inactivity (depending on what your settings are).
Hi skyscryer,
to count the person(s) in the bathroom i have one passage through sensor and one PIR sensor (fibaro). i have also figure out what the best position and configuration is. Now i have a config for my environment with a near 100% correct function. The passage through sensor is in 160cm high. The Time interval in which both sensors must be triggered is 3 seconds. Set Time interval until the next motion is detected to 1500ms. Sensorempfindlichkeit 90%.
Here my Counter automation include 2 automation to correct the counter in the case of a error. The entity: binary_sensor.fibaro_system_fgms001zw5_motion_sensor_sensor is the PIR sensor. I hope this helps!
###########Counter Badezimmer#################
-
alias: âBadezimmer Personen Zähler (hoch)â
trigger:- platform: state
entity_id: sensor.000c5709ae6808_3_passage_counter_value
condition:
condition: and
conditions:- condition: numeric_state
entity_id: counter.personen_im_badezimmer
below: 2
action:
- condition: numeric_state
- service: counter.increment
entity_id: counter.personen_im_badezimmer
- platform: state
-
alias: âBadezimmer Personen Zähler (runter)â
trigger:- platform: state
entity_id: sensor.000c5709ae6808_2_passage_counter_value
condition:
condition: and
conditions:- condition: numeric_state
entity_id: counter.personen_im_badezimmer
above: 0
action:
- condition: numeric_state
- service: counter.decrement
entity_id: counter.personen_im_badezimmer
- platform: state
-
alias: âSetzen eine Personen bei Bewegungung im Badezimmerâ
trigger:
platform: state
entity_id: binary_sensor.fibaro_system_fgms001zw5_motion_sensor_sensor
to: âonâ
condition:
condition: and
conditions:
- condition: state
entity_id: counter.personen_im_badezimmer
state: â0â
action:- service: counter.increment
entity_id: counter.personen_im_badezimmer
- service: counter.increment
-
alias: âReset Counter Personen keine Bewegungung im Badezimmerâ
trigger:- platform: state
entity_id: binary_sensor.fibaro_system_fgms001zw5_motion_sensor_sensor
to: âoffâ
for:
minutes: 60
condition:
condition: and
conditions:- condition: numeric_state
entity_id: counter.personen_im_badezimmer
above: â0â
action:
- condition: numeric_state
- service: counter.reset
entity_id: counter.personen_im_badezimmer
###################################################################
- platform: state
This might sound silly but if you just want to know the bathroom is occupied why not add the state of the light (or the smart switch that turned it on) as the trigger that the room is occupied?
You can then add conditions that turn the light off after a period of no movement OR the light switch was turned off?
I want to know the bathroom is occupied to do several things also to switch the light on or off.
Iâm still unsure of how occupation should be executed.
Still trying to come up with a more reliable system here.
i ditched infrared based motion sensors in the bathroom about two years ago. first they produced a lot of false negatives due to heat from the radiator, second, they donât detect people sitting on the loo or takiing a shower and third they have a limited field of vision.
i replaced them with a âradarâ sensor mounted on the ceiling (acually above the ceiling, out of sight) and they âseeâ even the slightest movement and also movements behind the shower curtain. actually they see through walls and i had to shield parts of the field of vision.
but since i switched to these sensors i reduced false positives and almost never miss an occupancy. exception: from time to time i manage to sit on the loo longer than 5 minutes without moving. but thats only possible if read something on my mobile.
If you read the initial post you see my problem is not checkin occupancy but checkin occupancy direct if persons left the room. So I do not have the light on extra minutes after leaving the room. Or doing the automations and scripts direct when leaving the room.
I use a magnet sensor and simply toggle the light when the door/magnet is opened.