Comments (9)
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.
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.
@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.
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.
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.
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.
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.
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.
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)
- just start, bad request and exit HOT 2
- Tire pressures are being converted incorrectly HOT 6
- Value for when at home? HOT 1
- Fails at Requesting vehicles HOT 1
- Air Pressure unit conversion broke recently HOT 2
- Request: Add support for specific diagnostic values in Commands HOT 5
- Feature Request: Engine status HOT 2
- Request Failed with status 400 - Bad Request HOT 5
- Since last update, it just die at requesting vehicle info HOT 4
- "ONS-216" after running for a while - rate limiting? HOT 8
- Onstar forcing 2fa appears to made a change preventing access HOT 1
- Request: Bump onstarjs to 2.3.26 and rebuild Docker container HOT 1
- 504 Gateway Timeout HOT 19
- 400 - Bad Request HOT 2
- Constant docker crashes HOT 11
- ONSTAR EUrope HOT 2
- Setting availability to off when not updating HOT 13
- getLocation Crashes HOT 2
- Force sensor update HOT 1
- Request Failed 400 on initial integration HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onstar2mqtt.