Enabling EVSE through API
Verfasst: Sa 30. Jan 2021, 19:42
- Software-Version : 1.1.0
- Welcher Betriebsmodus wird verwendet (Normal / Always Active / Remote)? Normal
- Welcher Stromzähler wird verwendet (S0 / Modbus)? no power meter
- Betrieb als WLAN-A oder WLAN-Client? Client
- Welcher Ladecontroller wird verwendet? Simple EVSE DIN fw 12
- Welches Fahrzeug wird geladen? Zoe
Hello,
I'm trying to control EVSE Wifi through the API (node-red) because my meter can be reached only via mqtt.
After pushing GET http://192.168.4.1/setStatus?active=true message, charging begins, but I've receiving with
GET http://192.168.4.1/getParameters the following response:
{"type":"parameters","list":[{"vehicleState":2,"evseState":true,"maxCurrent":20,"actualCurrent":7,"actualPower":0,"duration":8000,"alwaysActive":false,"lastActionUser":"API","lastActionUID":"API","energy":0,"mileage":0,"meterReading":0,"currentP1":0,"currentP2":0,"currentP3":0,"useMeter":false}]}
after a while I'm receiving this and charging continues. (or according to vehicleState :3 it just begins actually)
{"type":"parameters","list":[{"vehicleState":3,"evseState":false,"maxCurrent":20,"actualCurrent":7,"actualPower":0,"duration":8000,"alwaysActive":false,"lastActionUser":"API","lastActionUID":"API","energy":0,"mileage":0,"meterReading":0,"currentP1":0,"currentP2":0,"currentP3":0,"useMeter":false}]}
according this also status on main screen looks strange. "Vehicle charging" but Activate EVSE turns to green again. (evseState false?)
If I send the setStatus?active=true message again things getting normal, status remain charging and button changes to red "Deactivate EVSE". (evseState also turns to true)
Can somebody help me, what I'm doing wrong?
another question, is there a way to activate alway active mode via the API?
Thanks
- Welcher Betriebsmodus wird verwendet (Normal / Always Active / Remote)? Normal
- Welcher Stromzähler wird verwendet (S0 / Modbus)? no power meter
- Betrieb als WLAN-A oder WLAN-Client? Client
- Welcher Ladecontroller wird verwendet? Simple EVSE DIN fw 12
- Welches Fahrzeug wird geladen? Zoe
Hello,
I'm trying to control EVSE Wifi through the API (node-red) because my meter can be reached only via mqtt.
After pushing GET http://192.168.4.1/setStatus?active=true message, charging begins, but I've receiving with
GET http://192.168.4.1/getParameters the following response:
{"type":"parameters","list":[{"vehicleState":2,"evseState":true,"maxCurrent":20,"actualCurrent":7,"actualPower":0,"duration":8000,"alwaysActive":false,"lastActionUser":"API","lastActionUID":"API","energy":0,"mileage":0,"meterReading":0,"currentP1":0,"currentP2":0,"currentP3":0,"useMeter":false}]}
after a while I'm receiving this and charging continues. (or according to vehicleState :3 it just begins actually)
{"type":"parameters","list":[{"vehicleState":3,"evseState":false,"maxCurrent":20,"actualCurrent":7,"actualPower":0,"duration":8000,"alwaysActive":false,"lastActionUser":"API","lastActionUID":"API","energy":0,"mileage":0,"meterReading":0,"currentP1":0,"currentP2":0,"currentP3":0,"useMeter":false}]}
according this also status on main screen looks strange. "Vehicle charging" but Activate EVSE turns to green again. (evseState false?)
If I send the setStatus?active=true message again things getting normal, status remain charging and button changes to red "Deactivate EVSE". (evseState also turns to true)
Can somebody help me, what I'm doing wrong?
another question, is there a way to activate alway active mode via the API?
Thanks