Sponsored

OpenEVSE and Home Assistant Fordpass range integration is off

chriserx

Well-known member
First Name
Chris
Joined
Oct 3, 2025
Threads
2
Messages
707
Reaction score
530
Location
Louisiana
Vehicles
2025 Ford Lightning Flash Job 2 😭
Anyone using this or maybe a similar setup and notice that the range is off by 1.61x. It's obviously a miles to kilometers conversion problem. I've tried different settings in different locations, outside of looking at the code for Home Assistant and HA Fordpass, anyone have a fix I may be overlooking? The only thing I know I haven't tried is changing the Ford app to report km. Range shows right everywhere but in the OpenEVSE entity for Home Assistant. Pretty minor but kinda annoying.
Sponsored

 
OP
OP

chriserx

Well-known member
First Name
Chris
Joined
Oct 3, 2025
Threads
2
Messages
707
Reaction score
530
Location
Louisiana
Vehicles
2025 Ford Lightning Flash Job 2 😭
I realize this isn't going to be a super popular setup, I made several automations by myself to control to taper the charge rate without setting a hard cut off limit like most setups for HVB battery life and to support the LVB without a battery maintainer. Then I consulted ChatGPT about it not realizing that I could combine all of the automations into one so I thought I'd share in case anyone else's charger is compatible with Home Assistant, which may require modification.

Prerequisites as is:
OpenEVSE
Home Assistant with HA Fordpass
Home Assistant Helper Toggle labled Full Charge Mode

Variables to replace:
OpenEVSE_device_id
OpenEVSE_entity_id
VIN
--------------------------
alias: OpenEVSE 4-Stage Charge Curve with Cold-Weather Support

entity_id: sensor.openevse_evse_vehicle_state_of_charge
below: 53
sequence:
- device_id: OpenEVSE_device_id
domain: number
entity_id: OpenEVSE_entity_id
type: set_value
value: 48
- conditions:
- condition: numeric_state
entity_id: sensor.openevse_evse_vehicle_state_of_charge
above: 52
below: 66
sequence:
- device_id: OpenEVSE_device_id
domain: number
entity_id: OpenEVSE_entity_id
type: set_value
value: 32
- conditions:
- condition: numeric_state
entity_id: sensor.openevse_evse_vehicle_state_of_charge
above: 65
below: 76
sequence:
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.fordpass_VIN_outsidetemp
below: 40
sequence:
- device_id: OpenEVSE_device_id
domain: number
entity_id: OpenEVSE_entity_id
type: set_value
value: 20
default:
- device_id: OpenEVSE_device_id
domain: number
entity_id: OpenEVSE_entity_id
type: set_value
value: 16
- conditions:
- condition: numeric_state
entity_id: sensor.openevse_evse_vehicle_state_of_charge
above: 74
sequence:
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.fordpass_VIN_outsidetemp
below: 40
sequence:
- device_id: OpenEVSE_device_id
domain: number
entity_id: OpenEVSE_entity_id
type: set_value
value: 16
default:
- device_id: OpenEVSE_device_id
domain: number
entity_id: OpenEVSE_entity_id
type: set_value
value: 6
mode: single
--------------------------
Profile has hysteresis but is generally:
0-50% 48A
51-65% 32A
66-75% 16A, below 40F 20A
75-100% 6A, below 40F 16A
 
 







Top