3 ms·
It's a good question! I'm super curious about that myself. I do have a bed occupancy sensor, in the form of a SparkFun OpenScale under the legs. There was a
by matthew-wegner 5y ago
It's a good question! I'm super curious about that myself.
I do have a bed occupancy sensor, in the form of a SparkFun OpenScale under the legs. There was a Raspberry Pi in the room for speakers already, so it's just on that.
It needs some fancy calibration to deal with temperature changes, but I just constantly tare it when my desktop computer is active (and I'm home alone I'm certainly not on the bed). That's been super responsive and great. Bed transitioning from empty->occupied when bedroom is in night mode turns off all the other rooms again.
In general, I've found that it's a lot easier to track actions than presence. So computer activity, or a door opening.
I did just flash some ESP32s with this, which is a way to report bluetooth signal for a single device across a network of listeners. They can report direct to HASS via MQTT, but it also has its own persistent python thing to more carefully triangulate. No idea if it'll work reliably or fast enough to really be useful: https://espresense.com/ https://espresense.com/