goroot Blog

Cloud. Architecture. IoT.

Presence detection: Bee in a box

The ‘bee in a box’ algorithm enables you to detect presence in a given area of your smart home. It will enable your smart home system to know whether in a given area anybody is present or not. No special sensors or other additional hardware is required to do so. Bee in a box algorithm: The theory Imagine somebody handing you over a small box made out of cardboard. On the top side of the box, there is a yellow warning symbol ‘Warning: there might be a bee inside’. Continue reading

ESP32 as BLE Gateway for Xiaomi Mijia BLE Temperature & Humidity Sensor

Problem statement Too many unused BLE sensors, too much time during the COVID-19 lockdown - lets add more sensors! Just because we can… No seriously. I struggled a lot with too much humidity in the air in several areas of my house. After having a hot shower in the bathroom, the humidity condensed at the window, increasing the risk for mold growth. In the basement where our food supplies are stored, we had issues with salt getting wet. Continue reading