Summary
I am testing the newer six-period AlphaESS OpenAPI schedule endpoints:
POST /api/setTimeChargeBySn
GET /api/getTimeChargeBySn
The POST returns success and the new schedule is immediately returned by the GET endpoint. However, the inverter does not act on the schedule until I open the same period in the AlphaESS mobile app (or website) and press Save, without changing anything.
System
- Inverter:
SMILE-G3-S5-INV
- Battery:
SMILE-G3-BAT-10.1P
alphaessopenapi: 0.0.19
The API request is made directly against the official AlphaESS OpenAPI. It is not made through the Home Assistant charge service.
Use case
I want to prevent the house battery from discharging while an EV is charging.
A low grid-charge power period puts the inverter into grid-charge mode. The house and EV are then supplied from the grid, while any surplus solar can still charge the battery.
API test
The controller added this daily charge period while preserving the existing charge and discharge periods:
{
"beginTime": "10:04",
"endTime": "11:00",
"chargePower": 1,
"chargeLimit": 100,
"weeks": [1, 2, 3, 4, 5, 6, 7]
}
Summary
I am testing the newer six-period AlphaESS OpenAPI schedule endpoints:
POST /api/setTimeChargeBySnGET /api/getTimeChargeBySnThe POST returns success and the new schedule is immediately returned by the GET endpoint. However, the inverter does not act on the schedule until I open the same period in the AlphaESS mobile app (or website) and press Save, without changing anything.
System
SMILE-G3-S5-INVSMILE-G3-BAT-10.1Palphaessopenapi:0.0.19The API request is made directly against the official AlphaESS OpenAPI. It is not made through the Home Assistant charge service.
Use case
I want to prevent the house battery from discharging while an EV is charging.
A low grid-charge power period puts the inverter into grid-charge mode. The house and EV are then supplied from the grid, while any surplus solar can still charge the battery.
API test
The controller added this daily charge period while preserving the existing charge and discharge periods:
{ "beginTime": "10:04", "endTime": "11:00", "chargePower": 1, "chargeLimit": 100, "weeks": [1, 2, 3, 4, 5, 6, 7] }