BigThunderSR / homeassistant-addons-onstar2mqtt

OnStarJS wrapper for MQTT as a Home Assistant Add-on
Apache License 2.0
23 stars 2 forks source link

Non HAOS support? #729

Closed tucker87 closed 1 week ago

tucker87 commented 1 week ago

Hey I'm running my Home assistant in a docker image.

I just got onstar2mqtt working in docker as well but mqtt just has the VIN/available topic.

Is there a way to get the devices and such via HACs?

BigThunderSR commented 1 week ago

You should use the standalone version in that case: https://github.com/BigThunderSR/onstar2mqtt

However, I wouldn't spend a lot of time trying to get it to work because we currently don't have a path forward when the current API key expires.

tucker87 commented 1 week ago

Thanks! I was using the michaelwoods/onstar2mqtt repo!

I'll dig into the code base a bit and see if I can help with that API issue.

I don't even currently have OnStar service right now. Was considering putting a Pi or something in my car to sync the data but if this can work it might be worth the subscription!

BigThunderSR commented 1 week ago

The API interface comes from https://github.com/samrum/OnStarJS and that's where the API key is used.

Also, you need an active subscription for onstar2mqtt to work.