From d3128f57e2d6e1427db8d976aee32f4a087353ba Mon Sep 17 00:00:00 2001 From: Michael Woods Date: Tue, 7 Jun 2022 22:53:48 -0400 Subject: [PATCH] Update HA-MQTT.md --- HA-MQTT.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/HA-MQTT.md b/HA-MQTT.md index 423d52c..05fe7b3 100644 --- a/HA-MQTT.md +++ b/HA-MQTT.md @@ -12,7 +12,7 @@ device_tracker: your_car_name: homeassistant/device_tracker/YOUR_CAR_VIN/getlocation/state ``` -script yaml: +#### script yaml: ```yaml alias: Car - Location sequence: @@ -29,7 +29,7 @@ Create a new dashboard, or use the cards in your own view. The `mdi:car-electric ![lovelace screenshot](images/lovelace.png) -script yaml: +#### script yaml: ```yaml alias: Car - Start Vehicle sequence: @@ -40,8 +40,20 @@ sequence: mode: single icon: 'mdi:car-electric' ``` +#### Commands: +[OnStarJS Command Docs](https://github.com/samrum/OnStarJS#commands) +1. `getAccountVehicles` +2. `startVehicle` +3. `cancelStartVehicle` +4. `alert` +5. `cancelAlert` +6. `lockDoor` +7. `unlockDoor` +8. `chargeOverride` +9. `cancelChargeOverride` +10. `getLocation` -dashboard yaml: +#### dashboard yaml: ```yaml views: - badges: [] @@ -171,6 +183,3 @@ views: columns: 2 title: Bolt EV ``` - -TODO -- Utility meter that resets for monthly LIFETIME ENERGY USED. This seems to only be updated after a full charge, along with other data points. \ No newline at end of file