So I have, like many been frustrated with the Torque apps inability to send data back to HA when using a HTTPS url.
Although there certainly are solutions out there, they’re very hacky and could be quite daunting for the uninitiated.
I believe there is a better way… I discovered that the Torque dev(s) created an. AIDL file for their app. This is how the various plugins interact with the app.
My goal is to create a plugin that will grab any Torque logs and send them back to HA.
Here is the Github Repo:
Right now it’s VERY much a work in progress as I just took an old plugin example, striped it back and brought it up to date. Currently all the plugin does it list the available PIDs and show their values.
That’s where you (could) come in.
I’m looking for someone who knows how to prepare the Torque logs so HA can read them as if they were sent by the app.
I have been trying to get your solution up & running on my Pi & am stuck trying to start it up, always getting the error below & it continually restarting. I confirmed I have a valid config.json file at /usr/src/app/config.json
Perhaps I installed it incorrectly? I am fairly new to gitlab & docker-compose.
Any help would be greatly appreciated as I think your solution could be very helpful getting data from my EVs to HA.
sudo docker-compose up
torque-api is up-to-date
Attaching to torque-api
torque-api | standard_init_linux.go:228: exec user process caused: exec format error
torque-api | standard_init_linux.go:228: exec user process caused: exec format error
Hi. The problem is that @bar only made images to amd64 architecture. I don’t have skills to make an image to ARM (Raspberry PI). So, same problem here…
Hi
I have successfully setup your docker image, but i can’t find how to add the sensors into home assistant. I assume this does not make use of the discovery feature in home assistant?
Also, what APIKEY is meant to be specified in the config file? Where does this come from?
Hi, I am also on this long journey to get a vehicle talking to home assistant. Tried everything except reaching out, havent even gotten http data into HA or any of my other databases. Feel like your (bar) torque api docker container is a great solution if my monkey butt could get it working, stuck with the error:
API Key is not available in configuration
Cannot start API
What is APIKEY supposed to be?
Sounds like folks are able to get data sent via http, any suggestions on what i’m missing using that method, maybe using incorrect webserver URL
Another method ive seen is changing nginx settings, I use NPM so the guides don’t exactly line up.
Would prefer not to go through a Automate or macrodroid parsing style method since its much setup and most cases adding a single sensor requires an almost complete re-config of the parsing.
Thanks for all the info everyone has been contributing for me to be able get this far.