pottio / ioBroker.warp

Adapter for ioBroker: Monitors and controls a wallbox (WARP charger) by Tinkerforge
MIT License
2 stars 1 forks source link

Wrong Charger_State enum #129

Open der-c opened 1 year ago

der-c commented 1 year ago

Hi,

while charging the state shows ERROR(3). The enum is not correct. The api shows 5 enums and 3 is charging not error. https://www.warp-charger.com/api.html#states_section_states

The enum in warp-api-definitions.ts: Param.enum('charger_state', { 0: 'NOT_CONNECTED', 1: 'CONNECTED', 2: 'CHARGING', 3: 'ERROR' })

Greetings, Lars