Need creative help

Hello everyone, I have a mini project in Hospital for my friend, He need to know 3 parameters,

  1. If anyone is found In toilet
  2. if nobody there
  3. if anyone is found and dead :face_with_hand_over_mouth:

He bought tuya sensors,
1.presence sensor
2.motion sesnor

Now a question, the presence sensor will detect someone died?
if not what your way to do it most accurate?

after that I will make automations but its so easy so I just need help with any idea to detected someone dead on the toilet.

**door sensor not possible because they dont close the door.

thank you!

Detect if person in bathroom

Occupancy start Timer . Timer reset if motion detect

If occupied and timer >60minute or no motion detect > 30, notify security staff to knock and check. Basically assume there is problem and check on person if not moving for 30 minutes or in bathroom more than an hour. Of course maybe view the Data collected for some period to determine correct time for occupancy and no motion.

1 Like

sounds good, you know if the presence sensor detected or not detected died body?
this is the sensor

No. I cannot determine the
Detection method of the device but also I do NOT know method to detect heartbeat in room and accurately guess dead or alive. I do know method for

  • detect object moving in room(motion detection) - detect change to room dimension and object placement (sonic sensor)
  • detect object enter exit room (beam detector…2 placed on opposite side door or similar method)

I believe heat detection may be used to detect person but it depend your real goal. Currently i imagine hospital where patient death is not garuntee and maybe saving life is possible. In this case waiting for body to lower is too late and sign of death i imagine. But temperature data may be useful along with other sensor to detect condition. I think the basic concept of

  • verify person entry/exit
  • watch the time of presence and alert
    If too long

This basic concept may be enough to both prevent some death and detect death if done well.

Infrared sensor. Body of 34-40 Celsius cooling down below 34 Celsius. Body is dead.

Two motion sensors in a row. Must be placed on distance from each other. Like, one in the front room above the entrance of the WC, one in the WC room it self.

  1. Person enters:

Sensor 1 goes on, after that sensor 2 goes on.

  1. Person is on the WC

Only sensor 2 is on, but when sitting quiet, can be off too.

  1. Person leaves:

Sensor 2 goes on, after that sensor 1 goes on.

So the third point is important. If that sequence does not happen in reasonable time, person is still inside and alarm goes on.

1 Like

maybe you have link to product?

To detect occupancy the best sensor I know is this

Or this one. It packs a microwave sensor, like the aqara fp1, which is the best type of sensor you can find for occupancy purposes, plus a number of other sensors in one device.

Both can detect presence without motion. I mean, it needs motion, but these sensors are so sensitive they’ll trigger with a deep breathe.

Yes I know, I have 4 of this . :face_with_hand_over_mouth:

implement simultaneous personal breathing rate and heart rate detention in high accuracy

1 Like

Can I integrate with HA? esp home?
you know how to add this to HA?

Integrate with HA via Esphome, but some work and testing is involved, I haven’t done it myself yet, but plan to very soon once I had some time to dedicate to it, below is some further info found on the forum, and an Arduino code that can be used with Esphome as a custom component.

  1. https://community.home-assistant.io/search?context=tag&context_id=esphome&q=%20MR60BHA1&skip_context=false

  2. mmWave Breathing and Heartbeat Module - Seeed Wiki

Further Reading - Evaluating a 60GHz mmWave Radar System — Matt Gaidica, Ph.D.

1 Like