-
Notifications
You must be signed in to change notification settings - Fork 3
/
jlr2mqtt.cfg.sample
32 lines (24 loc) · 1.15 KB
/
jlr2mqtt.cfg.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[JLR]
USER_ID = <email address>
PASSWORD = <password>
PIN = <pin>
[MQTT]
MQTT_USER = <mqtt user id>
MQTT_PASSWORD = <mqtt password>
MQTT_PUB_TOPIC = jlr2mqtt
MQTT_SUB_TOPIC = jlr2mqtt/command
MQTT_SERVER = <mqtt server ip>
MQTT_CLIENTID = jlr2mqtt
MQTT_RETAIN = False
MQTT_KEEPALIVE = 60
[MISC]
# Enabling this will post Home Assistant compatible config jsons to the homeassistant/jlr2mqtt_<category> topic
# openHAB (and Home Assistant) should then be able to automatically discover the corresponding sensors
HOMEASSISTANT_DISCOVERY = True
# An empty or undefined discovery sensors list will try to create discovery for ALL status items (which may be quite a lot).
# Otherwise, individual status items can be listed here. For location data, a single 'position' should be added.
# Comma separated.
DISCOVERY_SENSORS_LIST = "ev_charging_status, ev_state_of_charge, ev_charging_method, ev_minutes_to_fully_charged, ev_range_battery_miles,
door_is_all_doors_locked, ev_preconditioning_mode,
alerts_preconditioning_started, alerts_preconditioning_not_ok_soc, alerts_preconditioning_stopped,
position"