fordpass-ha icon indicating copy to clipboard operation
fordpass-ha copied to clipboard

charge electric / hybrid cars

Open garide78 opened this issue 3 years ago • 8 comments

Hello, one information, in electric/hybrid cars it is possible via the application on the phone to set the type of charge of the car

  • immediately connected or -with customized settings and with % of charge to give to the battery.

are these values ​​exposed by the API?

garide78 avatar Sep 02 '21 15:09 garide78

Curious about this as well. Would love to see it added if it's something available in the API (and make it configurable from HASS)

FuzzyMistborn avatar Dec 08 '21 18:12 FuzzyMistborn

I don't have an electric/hybrid to test but is it possible in the native Fordpass application to do this? If not it's probably not implemented in the backend API however I can take a look.

itchannel avatar Dec 08 '21 21:12 itchannel

yes, in Fordpass application can set these parameters i can help for test if you want

garide78 avatar Dec 08 '21 22:12 garide78

I don't have my Mach E yet but once I do happy to help test too.

FuzzyMistborn avatar Dec 09 '21 00:12 FuzzyMistborn

Ok I'll take a look when I have 5. I'll let you know when a beta branch is ready for testing.

itchannel avatar Dec 10 '21 21:12 itchannel

I found these API endpoints for the EV services. I however cannot figure out what the full URL for these should be. Have you @itchannel had time to look into this?

/api/smartcharging/v1/vehicles/{vin}/forecast
api/smartcharging/v1/vehicles/{vin}
api/smartcharging/v1/vehicles/{vin}/status/{testID}
/api/smartcharging/v1/tariffs
api/smartcharging/v1/vehicles/{vin}
/api/cevs/v1/chargestatus/retrieve
/api/cevs/v1/commandstatus/retrieve
api/cevs/v1/otechargelimit/retrieve
api/cevs/v1/otechargelimit/save
/api/cevs/v1/GlobalCharge
/api/cevs/v1/departuretimes/deleteall
/api/cevs/v1/departuretimes/toggleoff
/api/cevs/v1/departuretimes/toggleon
/api/cevs/v1/departuretimes/retrieve
/api/cevs/v1/departuretimes/next
/api/cevs/v1/departuretimes/save
/api/cevs/v1/departuretimes/srsupdate
/api/cevs/v1/batterythreshold/retrieve
/api/cevs/v1/batterythreshold/inactivate
/api/cevs/v1/commandstatus/retrieve
/api/cevs/v1/batterythreshold/save

markusleh avatar Jan 18 '22 22:01 markusleh

Ok I'll take a look when I have 5. I'll let you know when a beta branch is ready for testing.

@itchannel - I would be happy to test in beta when ready!

ziptbm avatar Feb 18 '22 15:02 ziptbm

Curious about this as well. Would love to see it added if it's something available in the API (and make it configurable from HASS)

For me this would be very useful to start charging when electricity is cheap. Let me know if I can help with testing.

simon-froelich avatar Aug 15 '22 18:08 simon-froelich

Any updates on this @itchannel? It would be really useful.

simon-froelich avatar Jun 14 '23 19:06 simon-froelich

Now the API has changed I've opened up a new issue to look into this #357

If anyone in this thread wants to help debug and test let me know :)

itchannel avatar Oct 14 '23 09:10 itchannel