Overview
A home energy and automation platform that brings vehicle, solar, battery and smart-device data into one place and acts on it automatically.
Challenge
Each device ships with its own app, data model and API limits. There was no single view of energy production, storage and consumption, and no way to automate across vendors, such as charging the car from surplus solar.
Solution
- Integrations with Tesla, Sungrow inverter and battery, and SmartThings APIs
- Energy analytics across production, storage, consumption and grid usage
- Rule-based automation across devices from different vendors
- Weather-aware forecasting to inform charging and usage decisions
- A unified, responsive dashboard
Architecture
01 Devices
- Tesla
- Sungrow inverter
- Battery
- SmartThings
02 Platform
- Integration workers
- Automation engine
- REST API
- Dashboard
03 Data
- Time-series store
- Weather feed
- Analytics
Technology
- .NET
- ASP.NET Core
- React
- PostgreSQL
- Docker
- REST / device APIs
Key engineering decisions
- 01
Adapter per vendor
Each device integration sits behind a common interface, so vendor API changes stay contained.
- 02
Polling with backoff
Rate limits and flaky device APIs are handled centrally with retries and cached last-known state.
- 03
Automation as data
Rules are stored and evaluated as configuration, so behaviour can change without redeploying.
Outcome
One view of household energy and devices, with automation that works across vendors instead of within each vendor's app.
Next case study
Commerce & Hire Platform