Development of OpenEMS-Fork
Overview
Openems (on github: https://github.com/OpenEMS/openems/blob/develop/README.md) has been forked to energie-plus (https://github.com/energie-plus/openems)
Contribute
-
Pull from https://github.com/energie-plus/openems to your development computer
git clone git@github.com:energie-plus/openems.git cd openems -
Set the upstream
git remote add upstream https://github.com/OpenEMS/openems.git -
Check
git remote -vYou should see:
origin git@github.com:energie-plus/openems.git upstream https://github.com/OpenEMS/openems.git -
Create your own development branch, e.g.
feature/new_featuregit checkout develop git pull origin develop git checkout -b feature/new_feature -
Build a new openems-edge.jar file:
(in Windows CMD (not PowerShell)):
Set the
HOME_JAVAValue correctlyset "JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-21.0.10.7-hotspot"Then build:
gradlew.bat buildEdgeUse WinSCP to copy the following file:
C:\...\Documents\git\EnPlus_OpenEMS\openems\build\openems-edge.jarto the edge device in:/opt/openemsRestart OpenEMS:
systemctl restart openems.serviceCheck the logs:
journalctl -u openems.service -f