From 3c6b057f4a83d4fc13f0809f24595b6de4065cf4 Mon Sep 17 00:00:00 2001 From: BigThunderSR <17056173+BigThunderSR@users.noreply.github.com> Date: Mon, 11 Dec 2023 18:31:15 -0600 Subject: [PATCH] Added instructions for creating MQTT binary sensor in HA for monitoring polling status --- HA-MQTT.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/HA-MQTT.md b/HA-MQTT.md index 9c432622..d16b2c28 100644 --- a/HA-MQTT.md +++ b/HA-MQTT.md @@ -66,6 +66,24 @@ mode: single icon: 'mdi:map-marker' ``` +#### MQTT Polling Status Success Monitor + +Create a MQTT binary sensor in Home Assistant + +```yaml +mqtt: + binary_sensor: + - name: " OnStar Polling Status Successful" + unique_id: _onstar_polling_status_successful + availability_topic: homeassistant//available + payload_available: "true" + payload_not_available: "false" + state_topic: "homeassistant/onstar2mqtt/vehicle1/polling/lastpollsuccessful" + payload_on: "false" + payload_off: "true" + device_class: problem +``` + ### Automation Create an automation to update the location whenever the odometer changes, instead of on a time interval.