Giter Site home page Giter Site logo

digitaltwinconsortium / ua-edgehems Goto Github PK

View Code? Open in Web Editor NEW
13.0 6.0 5.0 440 KB

An OPC UA server-backed Home Energy Management System (HEMS) for the Smart Home

License: MIT License

C# 99.39% Dockerfile 0.61%
smarthome sunspec modbus-tcp iot azure smartmeter photovoltaic smartmessagelanguage ems energy energy-management-system hems opcua

ua-edgehems's Introduction

Home Energy Management System with an OPC UA Server Interface

This Home Energy Management System (HEMS) is an OPC UA Server capturing energy telemetry data from a photovoltaik system and a smart 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).

Running UA-EdgeHEMS

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.).

Future Extensions

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).

Telemetry Data Captured

  1. Weather data from www.openweathermap.org, as the weather impacts PV performance.
  2. Telemetry data from the PVā€™s inverter (The inverter uses the Fronius API). A SunSpec-compliant version using ModbusTCP is in PoC stage.
  3. 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.
  4. Wallbe wallbox configuration using surplus energy from the PV to charge an Electric Vehicle.
  5. IDM heat pump integration.

Telemetry is made available via an OPC UA server interface.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.