This Home Energy Management System (HEMS) is an OPC UA Server capturing energy telemetry data from a photovoltaik system and a smart energy meter and controlling an EV wallbox and heat pump with the surplus energy available from local production. This is running in Docker containers (pre-built Intel x64 and ARMx64 containers are available).
Simply run the pre-built containers on a Docker-enabled computer, e.g. for RaspberryPi4:
docker run -itd -p 4840:4840 --device=/dev/ttyUSB0 --restart=always ghcr.io/digitaltwinconsortium/ua-edgehems-arm64:latest
This will expose the OPC UA server on the default OPC UA port of 4840 and also make any USB serial devices available in the container (for reading out smart meters, etc.).
As a next step, the connected EV battery will be used as an additional energy source during the night via Vechile-to-Home (V2H) leveraging EEBUS (see seperate EEBus.Net repo for a reference implementation).
- Weather data from www.openweathermap.org, as the weather impacts PV performance.
- Telemetry data from the PV’s inverter (The inverter uses the Fronius API). A SunSpec-compliant version using ModbusTCP is in PoC stage.
- Smart meter telemetry data leveraging its IEC 62056-21 standard optical interface using a USB reader. IEC 62056-21 uses the Smart Message Language - SML.
- Wallbe wallbox configuration using surplus energy from the PV to charge an Electric Vehicle.
- IDM heat pump integration.
Telemetry is made available via an OPC UA server interface.