Update and then restart the system: # apt update Set default firewall rules with UFW: # ufw default deny # echo 'traccar ALL=(ALL) NOPASSWD: ALL' tee -a /etc/sudoers.d/designated # echo '/swap none swap defaults 0 0' > /etc/fstabĬreate a normal user named traccar with sudo privileges: # useradd -ms /bin/bash traccar Log in to your server instance as root from an SSH terminal, and then perform basic tasks as follows to harden the system.Ĭreate a swap file: # fallocate -l 2g /swap Perform Basic Tasks on the Server Instance See detailed instructions on managing DNS through Vultr in this Vultr tutorial. To ease public access, you need to set up DNS records through your domain hosting service provider, pointing domain names (an apex domain name and one or more subdomain names) to the IPv4 address of your server.įor example, if you are hosting the apex domain name on Vultr, set up DNS records as follows to point and to the IPv4 address of your server in the DNS tab of the Vultr control panel: Entry #1 Say its public IPv4 address is 203.0.113.100.Ī registered domain name for public access. PrerequisitesĪ fresh Vultr Ubuntu 20.04 LTS server instance with at least 2GB of memory. This tutorial explains how to set up a Traccar server on a Vultr Ubuntu 20.04 LTS server instance in a production environment. Providing detailed device location history, map routes, and reports as required. Sending alerts via the web, email, and Short Message Service (SMS) when abnormal conditions are detected, and Tracking various types of GPS devices in real-time, I'm a tech geek (aren't we all), and ironically my undergrad major (MIS) involved some coding, but I shy away from too much of that (guided YAML coding is kind of my maximum at the moment, Bash still confuses the hell out of me).Ĭan anyone help point me either to some guides, or to some OBD GPS trackers which would be relatively-easy to plug a SIM into and get working with Traccar (and then Home Assistant), without the need for some significant level of programming? I've done some searching and either I don't know how to look for this, or clarity seems to not exist at the moment on this topic in the areas I've looked.Traccar is a free and open-source Global Positioning System (GPS) tracking system that is capable of: I even ordered a data-only SIM from my carrier, Google Fi.īut, in double-checking I knew what I was getting into, I noticed that these Freematics devices require some degree of programming. I see all the supported devices and the prominently-mentioned Freematics ONE+ variants. However, this is where I hit a wall, in terms of solution-finding. Seems like the clear solution, as I run an UnRAID server and presumably can run a Traccar server on there (I see a Docker app in the Community Applications store), so no need for a monthly subscription fee (if I understand correctly). Lo-and-behold, there's a massive market of them on Amazon - but I want something without a subscription service, ideally open-source, that I can integrate in Home Assistant.īoom - Traccar. But this got me thinking about OBD-based GPS trackers. However, my wife has an old Honda Civic and we'd like to track that too (she shot down using a Tile tracker, as she correctly pointed out such a device is mostly useless if the car is taken into the middle of nowhere).īack in the day, I had an Automatic OBD adapter for my old car (also a Honda Civic at the time) - it was great! Of course, Automatic is no more. This is something I love having the ability to do for peace of mind, at a bare minimum. Hey all, so I've been getting into Home Assistant, and I'm lucky enough to own a car which already has a built-in integration, allowing for tracking it via GPS and whatnot.
0 Comments
Leave a Reply. |