this post was submitted on 23 Jun 2026
1 points (100.0% liked)

Home Assistant

277 readers
1 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY...

founded 3 years ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Any_Slice9096 on 2026-06-22 17:02:45+00:00.


I built TopoMation because my Home Assistant occupancy automations stopped fitting the simple "one room, one motion sensor, one light" model.

TopoMation is a custom Home Assistant integration where you model the home as a hierarchy: property, buildings, grounds, floors, areas, and subareas. Each level can have its own occupancy entity, and the integration can generate normal Home Assistant automations from that model.

The cases that pushed me toward this were things like:

  • bathrooms without dedicated motion sensors, where the light switch is still a useful occupancy signal
  • pantries/closets that need very short hold times
  • bedrooms where mmWave/presence should hold longer than motion
  • kitchen/family-room layouts where two HA areas behave like one open space
  • devices that belong to a floor, building, driveway, yard, or whole property instead of one room
  • wanting simple entities like "anyone upstairs", "anyone outside", or "anyone on the property"

The screenshots show:

  1. The TopoMation hierarchy/tree.
  2. A Basement Hallway lighting rule: room becomes occupied, only if it is dark, turn on the hallway light.
  3. Ambient config: inherited lux source and dark/bright thresholds.
  4. Generated Home Assistant automation: normal trigger, condition, and action.

It is still beta, and I am looking for feedback from people with occupancy-heavy setups or weird real-house edge cases.

Repo:

https://github.com/mjcumming/topomation

Examples:

https://github.com/mjcumming/topomation/blob/main/docs/examples.md

https://preview.redd.it/hzl62t8l8v8h1.png?width=973&format=png&auto=webp&s=aefd8bcc2253cf5ce823ce3ecb080c06058d4ad6

https://preview.redd.it/97wc1u8l8v8h1.png?width=1656&format=png&auto=webp&s=5ae6c0b0d313a749e6d0d751c2d6af21a0369d3a

https://preview.redd.it/qv084u8l8v8h1.png?width=1658&format=png&auto=webp&s=a900f468df98628caaea923a33b19908de59bcd0

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here