Install GPSd on the host OS and ensure it is working correctly and can be accessed from outside localhost.
You need to determine the IP address of the docker host and provide this information to the container as an environment variable called EV_GPSD_ADDR.
Did you install using the .DEB file?
You'll need to edit your docker compose file using these instructions.
You can get this by running this command on the Host OS while the container is running:
docker inspect -f β{{range.NetworkSettings.Networks}}{{.Gateway}}{{end}}β edgevis-encoder(this is one line and has a space between the first and second lines)
The default when using docker compose is 172.18.0.1.
The compose file change would look like this - add the last two lines below underneath the restart: unless-stopped line:
services:
edgevis-encoder:
...
...
restart: unless-stopped
environment:
- EV_GPSD_ADDR=172.18.0.1
Log in to EdgeVis Server and go to the encoder's configuration page. Select Device Location -> Edit Location, then enter the following settings:
![]()
NOTE - action required!
β
As we are 'faking' a serial port, the baud rate in the dialog isn't real and corresponds to the TCP port used by GPSd! You should tweak this if you have changed GPSd to a non-standard port.
You should now observe your encoder transmitting location data within EdgeVis Client (assuming your encoder has a GPS signal).

