Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.
/ cemd Public archive

Energy management system using the EEBUS protocol

License

Notifications You must be signed in to change notification settings

enbility/cemd

Repository files navigation

cemd

Build Status GoDoc Coverage Status Go report CodeFactor

The goal is to provide an EEBUS CEM implementation

IMPORTANT NOTICE

This repository will NOT be continued as of 16th June 2024. Instead all use case implementations, fixes and improvements are being moved into the eebus-go library and are then useable by any type of service.

As of June 29th 2024 all the use case implementations are part of the eebus-go starting with its release v0.6.0

This repository is now deprecated.

Introduction

This library provides a foundation to implement energy management solutions using the eebus-go library. It is designed to be included either directly into go projects, or it will be able to run as a daemon for other systems interact with (to be implemented).

Packages

  • api: API interface definitions
  • cem: Central CEM implementation which needs to be used by a HEMS implementation
  • cmd: Example project
  • uccevc: Use Case Coordinated EV Charging V1.0.1
  • ucevcc: Use Case EV Commissioning and Configuration V1.0.1
  • ucevcem: Use Case EV Charging Electricity Measurement V1.0.1
  • ucevsecc: Use Case EVSE Commissioning and Configuration V1.0.1
  • ucevsoc: Use Case EV State Of Charge V1.0.0 RC1
  • uclpc: Use Case Limitation of Power Consumption V1.0.0 as a Energy Guard
  • uclpcserver: Use Case Limitation of Power Consumption V1.0.0 as a Controllable System
  • ucmgcp: Use Case Monitoring of Grid Connection Point V1.0.0
  • ucmpc: Use Case Monitoring of Power Consumption V1.0.0 as a Monitoring Appliance
  • ucopev: Use Case Overload Protection by EV Charging Current Curtailment V1.0.1b
  • ucoscev: Use Case Optimization of Self Consumption During EV Charging V1.0.1b
  • ucvabd: Use Case Visualization of Aggregated Battery Data V1.0.0 RC1 as a Visualization Appliance
  • ucvapd: Use Case Visualization of Aggregated Photovoltaic Data V1.0.0 RC1 as a Visualization Appliance
  • util: various internal helpers

Usage

Run the following command to see all the options:

Usage: go run cmd/main.go

Example certificate and key files are located in the keys folder. If no certificate and key are provided in the options, new ones will be generated in the current folder.

Explanation

The remoteski is from the eebus service to connect to. If no certfile or keyfile are provided, they are generated and printed in the console so they can be saved in a file and later used again. The local SKI is also printed.