A tool to notify you of excess solar power generated by your sunways inverter
config.json with the following
{
"station_id": "get from https://www.sunways-portal.com/station_more?id=<id>",
"email": "your sunways portal email",
"password": "get from https://www.sunways-portal.com/api/sys/login/manager payload",
"salt": "get from https://www.sunways-portal.com/api/sys/login/manager payload"
"bot_id": "telegram bot id",
"recipient": "telegram channel or user id",
}
touch old.json
go build
go run main.go