Main Controller is a web app for real-time display of the status of each node on which apis-main is installed, and the energy sharing status. The information required for display is obtained via the Web API provided by apis-web. It can also change the energy sharing operation mode of the cluster for operation and debugging, and control the DC/DC Converter of each node individually to implement energy sharing.
Refer to the apis-mmain_controller_specification for more details.
Here is how to install apis-main_controller individually.
$ git clone https://github.com/hyphae/apis-main_controller.git
$ cd apis-main_controller
$ python3 -m venv venv
$ . venv/bin/activate
$ pip install --upgrade pip
$ pip install -r requirements.txt
$ deactivate
Here is how to run apis-main_controller individually.
$ cd apis-main_controller
$ . venv/bin/activate
$ python3 startMain.py
Go to "0.0.0.0:4382/" in Web browser.
Here is how to stop apis-main_controller individually.
$ bash stop.sh
$ deactivate
apis-mian_controller_specification(EN)
apis-mian_controller_specification(JP)