GithubHelp home page GithubHelp logo

Comments (9)

BennyDaBee avatar BennyDaBee commented on August 28, 2024 4

Bump on this. Would like to see a response on Start Command Sent coming back with a true/false same with door lock/unlock

from onstar2mqtt.

Fumanchooo avatar Fumanchooo commented on August 28, 2024 1

I'll bump this one as well. Would be nice to be notified if a command failed or the module didn't wake up to execute the command (Or if the login failed)

from onstar2mqtt.

BennyDaBee avatar BennyDaBee commented on August 28, 2024 1

@michaelwoods Going off of Block141s comment, would it be possible to have an MQT endpoint be published to HA with
Start Command Completed being a binary sensor that gets turned to on? This being done for each command type that gives the response. As well as if possible to have it auto reset after X time just for scripts to trigger. If not possible to reset, leave it up to us to reset them as we see fit.

from onstar2mqtt.

michaelwoods avatar michaelwoods commented on August 28, 2024

You're looking for a true/false status flag?

Would combining this command status with the diagnostics status break your use case? I planned to implement a general "it's broken" status when the API or car stops responding.

from onstar2mqtt.

Block141 avatar Block141 commented on August 28, 2024

Got everything up and running yesterday, and in my use case this is the only thing missing for my setup. I was looking in the logs and I see when the car confirms the command it says, "info: Command completed {"command":"lockDoor"}" It would be nice to have these as a value that's published with MQTT. I would like to set up push notification scripts in HomeAssistant to know when a command is sent and when it's confirmed. Still pretty new to MQTT (since yesterday), so I apologize if that's not how any of it works.

from onstar2mqtt.

michaelwoods avatar michaelwoods commented on August 28, 2024

sure, however I do not have a command-capable OnStar plan at the moment so I can't really dev/test it. I'd be happy to review a PR.

from onstar2mqtt.

BennyDaBee avatar BennyDaBee commented on August 28, 2024

I am not familiar with MQTT, so if anyone is able to look at it, or I can try to help assist it would be greatly appreciated.

from onstar2mqtt.

BigThunderSR avatar BigThunderSR commented on August 28, 2024

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.

from onstar2mqtt.

garyd9 avatar garyd9 commented on August 28, 2024

In addition, I just submitted a PR that publishes an MQTT message containing the server response for non-diagnostics/non-location commands: #338

from onstar2mqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.