Skip to content

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 -v
    

    You 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_feature

    git 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_JAVA Value correctly

    set "JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-21.0.10.7-hotspot"
    

    Then build:

    gradlew.bat buildEdge
    

    Use WinSCP to copy the following file: C:\...\Documents\git\EnPlus_OpenEMS\openems\build\openems-edge.jar to the edge device in: /opt/openems

    Restart OpenEMS:

    systemctl restart openems.service
    

    Check the logs:

    journalctl -u openems.service -f