Car telemetry script update.

Based on a number of requests, I have made updates to the car Telemetry automate script. Go to Automate community to download.

3 2 votes
Article Rating
Subscribe
Notify of
guest

12 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Ruslanas
Ruslanas
3 years ago

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

Ruslanas
Ruslanas
3 years ago

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

Ruslanas
Ruslanas
3 years ago
Reply to  Ruslanas

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 🙂

Robert Cunningham
3 years ago
Reply to  Ruslanas

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”

Robert Cunningham
3 years ago
Reply to  Ruslanas

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.

Ruslanas
Ruslanas
3 years ago

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 🙁

Robert Cunningham
3 years ago
Reply to  Ruslanas

Read my blog setup instructions. You must turn off multiple logs in the torque settings. The log filename must never change

Last edited 3 years ago by Robert Cunningham
IVAN VILLOTA
3 years ago

Hello Robert

Last edited 3 years ago by IVAN VILLOTA
IVAN VILLOTA
3 years ago

Hi Robert, please I need to contact you, I have some questions about your solution in telematics car in Home Assistant.

Joel
Joel
3 years ago

thanks Robert for spending your time to provide this solution to us. congratulations!!