Skip to content

Update Broadcast Intent data

Michael Balzer edited this page Dec 25, 2022 · 9 revisions

Car Update Broadcast Intent

  • Intent Action: com.openvehicles.OVMS.Update

Connection

Type Name Example
String sel_vehicleid MYCAR42
String sel_vehicle_label Twizy
String sel_server ovms.dexters-web.de

Car status

Type Name Example
Double car_12vline_ref 13.5
Double car_12vline_voltage 13.4
Double car_12v_current 20.25
Boolean car_alarm_sounding false
Double car_altitude 346.1
Boolean car_awake false
Double car_battery_cac 96.87
Double car_battery_cac_ref 108.0
Double car_battery_cac_percent 89.69
Float car_soh 91.2
Double car_battery_voltage 57.7
Boolean car_bonnet_open false
Integer car_canwrite 1
String car_capabilities C6,C20-24,C200-210,C1-6,C40-41,C49
Float car_charge_current 0.0
Float car_charge_currentlimit 15.0
Integer car_charge_duration 1475
Integer car_chargeestimate -1
Integer car_chargefull_minsremaining 33
Float car_charge_kwhconsumed 0.6
Integer car_chargelimit_minsremaining 0
Integer car_chargelimit_minsremaining_range 0
Integer car_chargelimit_minsremaining_soc 0
Integer car_chargelimit_rangelimit 35
Integer car_chargelimit_soclimit 95
Float car_charge_linevoltage 233.5
Integer car_charge_mode 1
String car_charge_mode_label storage
Integer car_charge_plugtype 0
Boolean car_chargeport_open true
Double car_charge_power_kw 0.0
Float car_charge_power_input_kw 0.0
Float car_charger_efficiency 100.0
Double car_charge_power_loss_kw 0.0
Integer car_charge_state 21
String car_charge_state_label stopped
Boolean car_charge_timer false
Boolean car_charging_12v false
Boolean car_auxiliary_12v false
Boolean car_charging false
Double car_direction 92.24
String car_distance_units K
Integer car_drivemode 0
String car_firmware 3.3.003-208-g64287ad7/factory/edge (build idf v3.3.4-849-g6e214dc335 Dec 11 2022 10:27:52)
String car_hardware OVMS WIFI BLE BT cores=2 rev=ESP32/3; MODEM SIM7600
Boolean car_frontleftdoor_open false
Boolean car_frontrightdoor_open false
Integer car_gps_lock 1
Integer car_gps_stale 61
Integer car_gsm_bars 3
Integer car_gsm_dbm -93
String car_gsm_lock TMO D
Boolean car_handbrake_on false
Boolean car_headlights_on false
Boolean car_hvac_on false
Long car_lastupdated_seconds 0
String car_lastupdated_time 2016-12-08 23:15:09
Double car_latitude 56.765432
Boolean car_locked false
Double car_longitude 7.898765
Float car_odometer 416494
Long car_parked_seconds 19348
String car_parked_time 2016-12-08 17:52:41
Boolean car_pilot_present false
Float car_range_estimated 43.1
Float car_range_ideal 61.8
Integer car_range_ideal_max 64
Integer car_servicedays 283
Integer car_servicedist -1
Float car_soc 95.2
Double car_speed 55.12
Double car_power 14.85
Float car_inv_power_motor 15.24
Float car_inv_efficiency 97.4
Boolean car_started false
Float car_temp_ambient -127
Float car_temp_battery 11
Float car_temp_cabin 21
Float car_temp_charger 24
Float car_temp_motor 17
Float car_temp_pem 9
Double car_tpms_fl_p 0.0
Double car_tpms_fl_t 0.0
Double car_tpms_fr_p 0.0
Double car_tpms_fr_t 0.0
Double car_tpms_rl_p 0.0
Double car_tpms_rl_t 0.0
Double car_tpms_rr_p 0.0
Double car_tpms_rr_t 0.0
StringArray car_tpms_wheelname "FL","FR","RL","RR"
DoubleArray car_tpms_pressure 253,262,223,259
DoubleArray car_tpms_temp 45,46,44,45
DoubleArray car_tpms_health 100,99,84,97
IntArray car_tpms_alert 0,0,1,0
Float car_tripmeter 123.11
Float car_energyused 12.4
Float car_energyrecd 1.8
Boolean car_trunk_open false
Boolean car_valetmode false
String car_vin 123456789
Integer server_carsconnected 1

Renault Twizy specific

Type Name Example
Integer rt_cfg_type 0
Integer rt_cfg_profile_user 1
Integer rt_cfg_profile_cfgmode 2
Integer rt_cfg_unsaved 0
Integer rt_cfg_applied 1

KWGT KustomWidget

KustomWidget gets basically the same variables as described above, with these caveats:

  • KustomWidget does not support typed variables, so all values will be sent in their string representation. KWGT can & will interpret these accordingly depending on the context / function applied, so you normally don't need to take care about conversions or special values.
  • Arrays are not supported by KWGT, so these are sent rolled out in separate variables using this scheme:
    • <varname>_cnt = element count
    • <varname>_<i> = values of elements, i starting at 1