Controlling the Kostal Plenticore 10 API. If this software works in IOBroker is not tested. If you need more information about this package create an issue here.
This software comes without proper testing. It is not safe to use.
It uses puppetter to complete the login phase. The generated sessionKey is used to send put request to the API. axios is used for sending the requests.
First of all clone this repository and install all packages.
git clone
npm install
You have to populate your global.config.js
with your own data. The global.config.example.js contains all the necessary fields for your own config.
You can run the plenti.js
file by
npm run plenti
All Endpoints are listed in PlentiApiSwagger.pdf
All Settings you can control can be found in settings.json
The data sent to the API is built up in the following way:
[
{
"moduleid": "devices:local", // moduleID of setting
"settings": [
{
"id": "Battery:MinSoc", //ID of setting
"value": "10"
}
]
}
]
Please create an Issue or Pull request
MIT-License