My house is a graph. Come in.

This page is reserved for the interactive demo of my Home Assistant model in Neo4j. That is still to come. Below you can already see the idea, using an example house.

House Living room Kitchen Bedroom Garage Garden Smoke detector Light Car charger Door lock Camera Motion sensor TV Thermostat
  • Room
  • Device
Example model, not my actual setup. Tap or point at a room or device to see the query.
MATCH (huis)-[:HAS]->(x)-[:CONTAINS]->(y:Device)
RETURN x, y

5 rooms, 8 kinds of devices

Why model a house as a graph?

A smart home is a network: rooms contain devices, devices control each other, automations connect them. That fits a graph better than tables.

The same goes for a lot of business data. On a small scale, this demo shows how I look at your data: the model first, then the dashboard.

Back to the home page