michaelwoods / onstar2mqtt

OnStarJS wrapper for MQTT
MIT License
107 stars 40 forks source link

Expose error states and availability #6

Open michaelwoods opened 3 years ago

michaelwoods commented 3 years ago

When the OnStar API inevitably fails, provide a new /status topic or binary_sensor so that we can indicate availability.

michaelwoods commented 3 years ago

Availability is now pushed to the discovery topic schema. Still need to expose an error state, or last updated timestamp.

BigThunderSR commented 11 months ago

I just updated my fork where the polling status is now published to a MQTT topic (which you specify) along with command response status where the topic is determined by the command name (README updated with schema). Please try the "latest" docker image and let me know what you think. I will publish the changes in a versioned release after I get some feedback. Thanks.