Skip to content

SonyCSL/apis-main_controller

Repository files navigation

apis-main_controller

Introduction

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.

main_controller

a-is-main_controller1

Installation

Here is how to install apis-main_controller individually.

$ git clone https://github.com/SonyCSL/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

Running

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.

Stopping

Here is how to stop apis-main_controller individually.

$ bash stop.sh
$ deactivate

Documentation

apis-mian_controller_specification(EN)
apis-mian_controller_specification(JP)

License

Apache License Version 2.0

Notice

Notice