![]() ![]() We assume that you already have PHP installed on your server. Installing the Redis PHP extension will allow PHP to communicate with the Redis server. The Redis PHP extension provides client access to the Redis server. Jul 11 11:00:55 systemd: Started Advanced key-value store. Jul 11 11:00:55 systemd: Starting Advanced key-value store. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Mon 11:00:55 UTC 4min 52s agoĬGroup: /system.slice/rvice You should receive the following output: sudo systemctl status rvice sudo systemctl enable rvice & sudo systemctl start rviceĬheck if the service is up and running: sudo systemctl status rvice Once installed, start and enable the redis service. To install the Redis server, execute the command below: sudo apt-get install redis-server -y We need to update the packages to their latest versions available after a fresh install of Ubuntu 22.04 sudo apt-get update -y & sudo apt-get upgrade -y Step 2. User privileges: root or non-root user with sudo privileges.It has been tested by one kind user but interested if anyone else uses it whether it works and if so any suggestions. ![]() Iii) If you use passwords on your local LAN option in HS3 then I will need to provide some additional instructions to include a header in the traccar.xml file Ii) There is one trigger and that is when a device enters/exits a geofence - that seems to work fine for me, you will potentially need to reload devices/geofences in the settings page should you create a geofence after you have started the plugin I) Most of the work in HS will be done by devices that will change status (motion, speed, ignition, course etc) and you can trigger events from these devices will need to replace the IP address with that of your HS PC and also ensure there is a clear path (outgoing/incoming rules on firewalls) between the two so Traccar can talk to HSĥ) Start the plugin, enter a username/password for Traccar in the settings page (I would use an admin user just to ensure there are no permissions issues) and it should then read in devices/geofences. I've been running it for a few months now and seems to be OK.ġ) If you have not yet done so then install TraccarĢ) Install this plugin (not sure if it will be going into the updater or not yet), extract the zip file into your HS directoryģ) Edit your traccar.xml file (I do it with the service stopped) and then add the following fields I personally do that and use a free DNS service to provide me a URL and then to receive data from both the tracker in my car (one of these ) and the mobile client. You are responsible for running your Traccar server, I expect most people would run it on their HS PC and if so then that makes life easier. Geofences and the like are therefore created in Traccar and read into HS, geofence events are raised in Traccar and then forwarded to HS for events to be triggered. The goal of the plugin was to read from Traccar and not do anything complex in HS - there really is no need as the UI and functions built into Traccar are much better than anything I could create in HS. I've used that client on Android and it seems to work fairly well but I doubt it as feature rich as some of them out there. It only works with Traccar, it does not work with any other tracking solution however Traccar supports the majority of tracking devices and also has a mobile tracking client. I know some functionality exists between Traccar ( ) and PHLocation and also a script but I have decided to write a HS3 (most of it probably works in HS4 but there is no official support for it) plugin, this was mainly for my purposes but thought it might be of use to others. ![]()
0 Comments
Leave a Reply. |