Based on a number of requests, I have made updates to the car Telemetry automate script. Go to Automate community to download.
Based on a number of requests, I have made updates to the car Telemetry automate script. Go to Automate community to download.
Hi
The script works very strangely, the “trackLog” torque file is present from the directory, even writing a log into it as soon as I show
to the script, the path erases the file and writes that it doesn’t find anything, that is, it physically erases the file that was there before
This is expected. The script wipes the old log and then starts Torque and waits for a new log to be created. Check you are not launching Torque before you launch the script. Or check why torque is not creating a new log when old log is deleted.
OK thanks
This has its own logic, why every time I run the scripts it asks about the log file, its location, then it displays a window with a token and then one confirmation window 🙁 I thought that it was enough for him to do this once, otherwise he would get into the auto I need to confirm this is kinda weird
Partially found out where the torque lies log found another dir, but the problem with confirmation remained every time you need to show the path and give confirmation this is strange.But there is a problem if you turn off the engine and, for example, exit the car until the time of 10 seconds has arrived, then in HA the speed data will remain incorrect or the engine speed is necessary so that in case of a long loss of communication with obd, they are reset 🙂
Here is the HA sensor example. It should display all data in the mqtt payload as long as it is formed correctly.
– platform: mqtt
name: “Quashqai Torque”
state_topic: “devices/quashqai/torque”
value_template: “{{ state_attr(‘sensor.quashqai_torque’, ‘GPS Time’) }}”
json_attributes_topic: “devices/quashqai/torque”
You should only start the script once. It will not ask you to run it again if you have set automate to restart scripts after reboot.
Hi
Torgue is a very poor quality app.
Personally, I don’t feel like writing a new file, and if it starts giving it a long name with a date, so when the script itself deletes the old file, I have to make a new copy to this directory, it’s just a nightmare, and of course every time it forces me to confirm all requests :(, to also strange thing shifts the value in mqtt because of this confusion in the variables https://prnt.sc/26wz23v Can’t I use your script 🙁
Read my blog setup instructions. You must turn off multiple logs in the torque settings. The log filename must never change
Hello Robert
Hi Robert, please I need to contact you, I have some questions about your solution in telematics car in Home Assistant.
You can contact me at rafcunningham@gmail.com
thanks Robert for spending your time to provide this solution to us. congratulations!!