Presence detector vs Movement detector

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

Presence detector vs Movement detector

Post by juankar »

HI
I've wrote a script for turning on/off lights when I enter in a room. So when I enter in a room my PIR detects me and, and lux are too low, turn on lights. If the detector doesn't see anybody in the room lights are turn off.
Thats righ and Works finet. But If I'm sit down or I don't move, or I move just a little, the sensor interprets that the room is empty and turn off the light.
My question: is there any sensor for detecting presence not movement, but PRESENCE?. That's if anybody stays quiet in front of the sensor, this one detect him, althoug he is not moving.
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Presence detector vs Movement detector

Post by dannybloe »

Google for 'microwave doppler motion detector' maybe they are better.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
toreandre
Posts: 91
Joined: Tuesday 19 January 2016 12:51
Target OS: -
Domoticz version:
Contact:

Re: Presence detector vs Movement detector

Post by toreandre »

You could set the off delay in domotics, and on most diy PIRs there is setting to make the PIR stay on for a number of minutes before switching off again.
About the doppler i have seen people having minor problems with it since it can see through walls :)
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Presence detector vs Movement detector

Post by dannybloe »

I'd say: leaded wallpaper is the bomb :lol:
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

Re: Presence detector vs Movement detector

Post by juankar »

Yes, delay is a solution, but not is an ideal solution. If the room is empty light is ON for several for the time delay set.
If there is none sensor to detect presence isntead of movement the only way is a counter. I would increase or decrease when a perons goes into the room or exit from it. When persons are 0 light is off.
Then, now the question is if there is any kind of counter for ZWave. And two PIR cannot be used for this, as they see in a big angle.
I'll look for it.
toreandre
Posts: 91
Joined: Tuesday 19 January 2016 12:51
Target OS: -
Domoticz version:
Contact:

Re: Presence detector vs Movement detector

Post by toreandre »

If you are familiar with arduinos you could use something like a presure sensor to detect if someone is sitting in the sofa/chair.
You could also use a distance sensor to see if someone is entering or leaving a room.

Og you could check out using a soundsensor to detect sound in the room.
RoyT
Posts: 16
Joined: Wednesday 02 December 2015 19:30
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Presence detector vs Movement detector

Post by RoyT »

You could have a motion sensor above the door, on both sides, pointing down. When there's motion in the room and there was no event where the inside & outside sensors fire in rapid succession, it means that whatever entered did not leave. Didn't invent this: Fibaro markets this as a use case for their motion sensors :)
juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

Re: Presence detector vs Movement detector

Post by juankar »

I think it doesn't work because sensors doesn't know if a person is going in or out the room.
Think that a person goes into the room, and then another person goes into the room. When first one enter sensor turns light ON, when the second persons enter sensors turns light OFF, it "thinks" the person who entered is exiting.
Or I didn't understand how Works this system.
Although with two sensors we could build a counter but sensors have a big angle so.... It's an idea...
toreandre
Posts: 91
Joined: Tuesday 19 January 2016 12:51
Target OS: -
Domoticz version:
Contact:

Re: Presence detector vs Movement detector

Post by toreandre »

juankar wrote:I think it doesn't work because sensors doesn't know if a person is going in or out the room.
Think that a person goes into the room, and then another person goes into the room. When first one enter sensor turns light ON, when the second persons enter sensors turns light OFF, it "thinks" the person who entered is exiting.
Or I didn't understand how Works this system.
Although with two sensors we could build a counter but sensors have a big angle so.... It's an idea...
As i mentioned earlier, to be sure to sense prensence you need multiple sensors like sound, presure, motion. Other than that know there is sensors that can detect bodyheat and co2 levels but dont know if they are available for zwave/DIY.

EDIT: This type of sensor can detect presence with no motion.
https://www.omron.com/ecb/products/sensor/11/d6t.html
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: Presence detector vs Movement detector

Post by pvm »

When you carry a phone you can also use beacons
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

Re: Presence detector vs Movement detector

Post by juankar »

I've read about some posts about beacons, but indeed I don't know what is it.
trixwood

Re: Presence detector vs Movement detector

Post by trixwood »

It's one google away: https://learn.adafruit.com/pibeacon-ibe ... i/overview
To test use something like: https://itunes.apple.com/us/app/locate- ... 09014?mt=8

another fine site: https://www.pubnub.com/blog/2015-04-14- ... -overview/

So for movement presence/detection you can use (incomplete summery):

* PIR
NOTE: sees in big angle

* Laser

* Distance Sensor:
- Infrared distance sensor
- Ultrasonic distance sensor

* Microwave doppler motion detector
CONS: goes through walls

* Thermal Sensors
PRO: presence detection with no motion

* iBeacon
NOTE: only presence detection (and you need to carry your phone around)

* Wifi (presence detection)
NOTE: very wide (flat) area
CONS: some devices as the iphone disable wifi to save battery (and you need to carry your phone around)

* GPS Geofencing (presence detection)
NOTE: very wide (flat) area
CONS: and you need to carry your phone around

* Camera (motion detection)
- MotionEye
- Zoneminder
- Pikrellcam (http://domoticz.com/forum/viewtopic.php ... ion#p90277 developer promissed to provide some sort of domoticz integration!)
- OpenCV face recognition
- ...
NOTE: need ir cam, with ir lights for night detection


So are there more cons pros? or like combinations? or use cases?
Last edited by trixwood on Monday 11 July 2016 20:45, edited 3 times in total.
juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

Re: Presence detector vs Movement detector

Post by juankar »

Thanks, I'm Reading about it.
juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

Re: Presence detector vs Movement detector

Post by juankar »

When you need to know if there is anybody in a room the best system is a counter. This system add when anybody go in and substract when anybody goes out from the room. It depends on the situation, and we need PIR with a very little angle to avoid false positives. It would be like two curtains in a door: one external and another internal. if you activate external PIR and then the internal one, you are entering in the room +1, if you activate internal PIR and then the external one, you are exiting off the room -1. While there are people in the room lighta are on, or heater are on, ar AC are on...
I think this is the ideal sistem, but there are not this device for ZWave. And the circuit is very easy.
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Presence detector vs Movement detector

Post by dannybloe »

The problem with this is when more than one person leaves the room at once. Then your counter fails. And it is also hard if you have multiple entrances to the room.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest