2024年11月24日星期日 下午7:57:27

Automation on the Room-Level - room presence detection and room automation

2 年 前
#15409 引用
room presence detection and room automation

moving in my house

Automation on the Room-Level


Bluetooth devices are fast enough, however you need some good positioning of the bluetooth receivers, otherwise your bluetooth device may “jump” between rooms.


motion sensor route and add conditions to your automations

However I would go the motion sensor route and add conditions to your automations.
E.g. in my office is a motion detector that turns on the light on motion, starts a timer of 10 minutes and turns the light off once the timer is finished. However if one of the PCs or the AV Receiver is on, it will restart the timer once it is finished instead of turning the light off. This way the light turns off only if there was no motion for 10 minutes and none of the devices is on.


room automation

Which is the best way to build a room presence detection system?

https://community.home-assistant.io/t/which-is-the-best-way-to-build-a-room-presence-detection-system/164944

Motion detectors are easy and cheap, but the light can go off if I am seated watching tv.
Bluetooth devices are cheap too, I could use the smartwatch I always wear as bluetooth device, but I am not sure if it will be accuracy and fast enought to turn lights on and off…
Is there any way to do it? What system do you think will be better?
0
2 年 前
#15417 引用
[monitor] Reliable, Multi-User, Distributed Bluetooth Occupancy/Presence Detection

0
2 年 前
#15422 引用
ESP32-mqtt-room

https://www.room-assistant.io/guide/#how-it-works

Automation on the Room-Level

https://www.room-assistant.io/

https://github.com/mKeRix/room-assistant

room-assistant brings your home automation onto the next level: room automation. It is capable of tracking room occupancy and your location around the house with great accuracy, plus any other sensors you may want to attach. You can pick and choose the parts you need from our flexible software to get all the data you need for writing awesome new automations - room-assistant easily integrates them with your favorite home automation suite.

Imagine it: You can turn lights and heating on only in the rooms where people are actually there. You can accurately know if someone is there even when you are just chilling on your couch, situations where a motion sensor would fail and leave you in the dark. And you can even go a step further and configure your personal thermostat preferences or turn on your favorite TV channels depending on who is in the room!
0
2 年 前
#16424 引用
use ESPHome for device tracking some BLE devices and it works very well

https://community.home-assistant.io/t/is-there-a-way-to-use-a-binary-sensor-as-an-device-tracker/250665
0
2 年 前
#16425 引用
MQTT Device Tracker - Home Assistant 3

The person entity connects to device trackers whereas these are mqtt rooms (Person - Home Assistant)

I’ve not used it with ESPresence but I use my wifi to post MQTT messages to a specific MQTT Device Tracker. There is nothing stopping you doing a similar route based on the esprence room - MQTT Device Tracker - Home Assistant 3

For my use case, I post to the relevant topics based on my phone connecting to our wifi as a backup to other presence sensors.

https://community.home-assistant.io/t/user-presence-detection-but-with-sensor-entity/452839
0
2 年 前
#16426 引用
motion sensor route and add conditions to your automations

PC is using

However I would go the motion sensor route and add conditions to your automations.
E.g. in my office is a motion detector that turns on the light on motion, starts a timer of 10 minutes and turns the light off once the timer is finished. However if one of the PCs or the AV Receiver is on, it will restart the timer once it is finished instead of turning the light off. This way the light turns off only if there was no motion for 10 minutes and none of the devices is on.
0
2 年 前
#16427 引用
1
0
2 年 前
#16432 引用
Motion Sensor automation for room light with conditions

You can buy readily assembled motion sensors from many different brands, e.g. Philips Hue. Motion is not a good metric for room occupancy though: you may just be sitting at your desk and working on something, without moving much. That will cause the lights to turn off after some timeout, requiring you to wave your hands in the air frantically to turn them on again. room-assistant has integrations that allow you to track occupancy even if the people are stationary. And if you still want to have a motion detector: you can easily use that with room-assistant as well.

https://community.home-assistant.io/t/motion-sensor-automation-for-light-with-conditions/118952
0
2 年 前
#16436 引用
Bluetooth-based presence detection


Bluetooth-based presence detection useful for mqtt-based home automation. More granular, responsive, and reliable than device-reported GPS. Cheaper, more reliable, more configurable, and less mqtt-spammy than Happy Bubbles.

Does not require any app to be running or installed. Does not require device pairing. 
Designed to run as service on a Raspberry Pi Zero W.

Note that the more frequently you scan for devices, the more 2.4GHz bandwidth you will use. This script may cause interference with Wi-Fi or other bluetooth devices for particularly short delays between scans.

https://github.com/andrewjfreyer/presence

https://bbs.hassbian.com/thread-2330-1-1.html
0