Closed firstof9 closed 3 months ago
Technically this will be an update to the library used to parse the websocket/API data.
If it can help using MQTT explorer the topic publish with MQTT by the charger about the vehicule are: battery_level = 100 vehicle_state_update = 0 battery_range = 259 time_to_full_charge = 300
Thank for the investigation
This should work in version 2.1.44
for you.
Thank for the update now the Vehicle Battery Level, Vehicle Charge Completion and Vehicle Range are available But there still a probleme of unit in HA: the 300 min should be 300 s or 5min the vehicul range 0.267 km should be 267 km
Yikes, working on it now.
2.1.45
should fix that. Thanks!
Thanks for the great job Now the unit are ok if I can I suggest 2 improvements: 1/ for Vehicle Charge Completion rather than display the time in s in HA, display it in “hh:mm:ss” like in the OpenEVSE UI which is more convenient numbers to understand Vehicle Charge Completion time 2/ For the Vehicle Range unit, if possible, this unit has to be define by the unit define in the OpenEVSE UI (km or miles) see figure below with your last update the unit is km (fine for me) whatever you put (km or miles) in the OpenEVSE UI
1/ for Vehicle Charge Completion rather than display the time in s in HA, display it in “hh:mm:ss” like in the OpenEVSE UI which is more convenient numbers to understand Vehicle Charge Completion time
I can try, but I have to convert the data from OpenEVSE into a timestamp, not super hard, but I can see what I can do. Would be nice if OpenEVSE spit out timestamps in another key, would make things tons easier.
2/ For the Vehicle Range unit, if possible, this unit has to be define by the unit define in the OpenEVSE UI (km or miles) see figure below with your last update the unit is km (fine for me) whatever you put (km or miles) in the OpenEVSE UI
I don't think that configuration variable comes in over any of the endpoints so I have no way to read that into Home Assistant.
1/ for Vehicle Charge Completion rather than display the time in s in HA, display it in “hh:mm:ss” like in the OpenEVSE UI which is more convenient numbers to understand Vehicle Charge Completion time
I can try, but I have to convert the data from OpenEVSE into a timestamp, not super hard, but I can see what I can do. Would be nice if OpenEVSE spit out timestamps in another key, would make things tons easier.
It is nice thing to have if to complicatedd I can manage also by template sensor in HA to transform it in hh:mm:ss
2/ For the Vehicle Range unit, if possible, this unit has to be define by the unit define in the OpenEVSE UI (km or miles) see figure below with your last update the unit is km (fine for me) whatever you put (km or miles) in the OpenEVSE UI
I don't think that configuration variable comes in over any of the endpoints so I have no way to read that into Home Assistant.
For this point I see that in HA we can override the unit of this sensor so if somebody need to replace km to mi it can be done manually in HA which is ok I think.
I'll see about making the timestamp a separate sensor, that way someone can pick however they want to see it.
The problem
Vehicle Battery Level, Vehicle Charge Completion and Vehicle Range are always unavailable
What version of Home Assistant?
core-2024.8.0
What version of OpenEVSE?
2.1.40
Diagnostics information
No response
Anything in the logs that might be useful for us?
Additional information
No response