/home

Kubernetes-powered smart home ecosystem offering advanced automation and real-time monitoring capabilities.

Primary LanguageRust

Integrated Smart Home Ecosystem

Services for advanced home automation and monitoring.

Hardware and software

The services, unless specified otherwise, are docker containers running in a kubernetes cluster managed by K3s powered by a Intel NUC.

The kubernetes cluster has a ingress controller powered by Istio and manages certificates with cert-manager.

The services are made into docker images and pushed to a private docker registry powered by Harbor running in the cluster.

Some services utilize argocd for continuous deployment and take advantage of kubernetes rollouts for zero downtime deployments. (although a bit overkill for a home automation setup)

Services and devices

The following services are currently in use:

Home utilities

Services used for monitoring and controlling utilities in the house.

Electricity - Electricity consumption monitoring

The electricity service monitors the electricity consumption of the house, it does this by aggregating the data from the p1meter service and from a modbus connection available on the solaredge smart solar inverter.

Grafana is deployed in the cluster and is used to visualize the data:

Grafana electricity dashboard

P1 Meter - P1 energy meter reader

The p1meter is powered by an ESP-12F and runs firmware which connects to the LAN and transmits the latest DSMR 5.0.2 data from the P1 han-port of the smart meter to a TCP socket running on the electricity ingest service.