Most of our smart home systems collect thousands of events every day:
- Doors opening
- Motion detection
- TVs turning on
- Lights changing state
- Phones connecting/disconnecting
But has anyone successfully turned all of that data into a meaningful activity timeline?
I’m imagining the system automatically producing something like:
"Johnny arrived home from school, spent 10 minutes in the kitchen, and is now watching TV in the living room."
Not for surveillance purposes, but as a way to improve automations, occupancy awareness, and household insights - think of it as reverse-engineering a natural-language prompt from binary sensor events.
What solutions are people using for:
- Presence tracking?
- Event correlation?
- Activity inference?
- Long-term logging and visualization?
I’d be especially interested in seeing or hearing about implementations using Home Assistant, Node-RED, MQTT, InfluxDB/Grafana, or AI-based approaches.
3 Likes
I use the FP400 in Home Assistant for lighting, stopping TV, music or radio when I get up, and presence-based climate automations. I haven’t built a natural-language activity timeline, so this is a starting approach rather than a tested implementation.
For a first version, I’d use Home Assistant’s Log activity action (logbook.log) to add a short entry at each meaningful automation decision, then record the observed device state separately. For example, a presence change triggering a media stop request is different from the media player actually stopping. That gives the timeline a useful distinction between intent and outcome.
I’d keep room observations separate from named-person stories. Presence and TV state alone don’t establish who is watching. A summary could describe the room events and label inferred activity as uncertain. Also, custom Activity entries follow Recorder retention, so they aren’t automatically a long-term archive.
1 Like