![]() They, and the phone, also appear as bars in the HA History page.ĥ Get traccar to use MariaDb - The following needed to be added to traccar.xml file in the custom configuration area: .jdbc.Driver Sure enough, the cars then appeared on the traccar map within their 1 minute refresh rate. I then added the tracker port I needed for my cars into the traccar.xml file in the config directory by copying the appropriate entry commented out into the custom configuration area thus: The phone suddenly appeared on the traccar map but the cars didn’t. ![]() I then created the port forwarding rules in the router - one for my cars on Port 5002, and the other for my phone on Port 5055. Then I changed the URL in the trackers to my home’s domain name maintained by dynu and the router. At this point it is using its own DB I think.Ĥ Set up my trackers - I added the trackers through the GUI with their ID (I have 2 in cars and the traccar client on my phone). You can create a new account or login to admin/admin. Added the following to the configuration.yaml file:ĭb_url: restarting HA it seemed to pick up the new database, old stuff was lost (I think) but nothing else new appeared.ģ Installed the traccar ad-in with the config: ssl: true. ![]() ![]() I’m running on a dedicate Raspberry Pi 4 Model B 4GB with the 32bit version of Home Assistant on a 64GB micro SD card.Īt this point nothing is using MariaDb but 2 empty databases are created somewhere on my SD card ready for HA and traccar to use. So if it helps other newbies I summarize (my interpretation) what I did to get it going. It was a struggle pulling together all the snippets of info from the main documentation and various support fora, but I think I’m there. I’m a complete newbie to Home Assistant, but have been using traccar for several years relying on the demo servers so was very pleased to see that I could create my own server - Thanks Franck. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |