The dcdc_batt_comm component is a Device Driver for actual control of hardware to implement energy sharing according to instructions from apis-main. The controlled DC/DC Converter is assumed to be the TDK-Lambda EZA2500(EZA-2500-32048SC0), with communication using the proprietary TDK Lambda protocol via RS485. The battery to be controlled is designed for communication using the Modbus RTU communication protocol via RS485. Communication with apis-main is accomplished via a Web API developed by Sony CSL and implemented on a Python Bottle Web server running on dcdc_batt_comm.
Here is how to install apis-dcdc_batt_comm individually.
$ git clone https://github.com/hyphae/apis-dcdc_batt_comm.git
$ cd apis-dcdc_batt_comm
$ python3 -m venv venv
$ . venv/bin/activate
$ sudo pip3 install -r requirements.txt
$ deactivate
Here is how to run apis-dcdc_batt_comm individually.
*By default, 2 USB-RS485 converters are required for /dev/ttyUSB0 and /dev/ttyUSB1.
See apis-dcdc_batt_comm's Document for more information.
$ cd apis-dcdc_batt_comm
$ . venv/bin/activate
$ cd drivers
$ sudo python3 essx_server.py
Here is how to stop apis-dcdc_batt_comm individually.
$ cd apis-dcdc_batt_comm/drivers
$ bash stop.sh
$ deactivate
apis-dcdc_batt_comm_specification(EN)
apis-dcdc_batt_comm_specification(JP)