When i click “Test settings” in Torque it says OK.
But the log in HA says: 16-09-15 15:46:29 homeassistant.components.http: Login attempt or request with an invalid password from x.x.x.x
When i test the “Webserver url” http://HOST:PORT/api/torque?api_password=YOUR_PASSWORD (with my settings)
in a webbrowser i get: {"message": "400: Bad Request", "result": "error"}
Anyone have a working setup?
Is there anyone that have this working?
Can anyone provide a little tutorial on how to get it to work, or at least show some images or text on what you can do with this?
Would be great if this could work. I have been googling a bit and found some other way to let tasker pull out some values from the log, going to test this out when I get home…
There are a few values I would like to have access to in Hass.
Check out the information added in this discussion:
The current Torque component does respond in the way that it looks like the Torque app requires, so all of the messages just pile up until you close the Torque app, and it will keep try to send those over and over again. Additionally the Torque app is dropping the api_key parameter in the URL, so it looks like you have to use some sort of proxy to add that back. Another issue is that Torque doesn’t support HTTPS right now, so that’s yet another reason you’d need to proxy if the rest of your HASS install is all completely behind TLS.
I can’t fix the issues with the Torque app, but I have a fix in a pull request for the component issues here that will hopefully get pulled in soon :
“You just need to create a script on Dory and paste the following code (make sure you replace the variables accordingly). Also, set the Web Server URL on Torque to http://localhost:8123/api/torque instead of the Home Assistant API path. Once you done this, you can make it to start on boot, so you won’t need to touch it again.”
Any Torque users still? I’m a little bit annoyed that Torque sensors are not registered until something is transmitted(= car is used) so there’s a lot of ‘Entity not available’ errors on the screen?
I think I had a different problem than you.
When I started HA, the entities are highlighted with ‘Entity not available’. Only after I used my car and got data downloaded, the entities were registered. So, my entities never change back to ‘Entity not available’, at least until I restart my HA.
( wow, I cannot correct my earlier post by deleting it and posting this as an answer because “Body is too similar than earlier post” so I have to write this nonsence so its not similar )
I forked and made a new version, where all sensors names are read first from configuration.yaml and created as sensors in HA. The original version does that when the actual measurements arrive for the first time.
Names of the sensors cannot be hard-coded because different cars have different measurements.
I’ll look if can make a fork in Github to release the code. The version seems to be working with this years HA version, but right now I’m not using Torque plugin. I found out my current car’s(Skoda) OBDII is powered always so it drains battery and allows anyone to connect to it for instance in supermarkets parking lot. My earlier car Peugeot had it powered only when car’s electricity was on. A bit of a security issue now and have to change OBDII to get it’s power from for instance radios +12v.
Example of changes in yaml:
sensors:
- 16716334:
Name: 0-100kph Time
Unit: s
- 16716388:
Name: 100-0kph Time
Unit: s