There is no such option at the moment.
Just remembered, it is possible to pass deviceId
url parameter to autoselect device.
@abyss May I ask you to explain in a bit more detail where and how to add the deviceId to auto select the device at startup
@GotYou
Just add ?deviceId=n
to a URL. Where n
is internal id of the desired device. You can find it out in browser developer console.
Hello @abyss, Thank you for taking the time to answer me.
My little project is to build a standalone tracking system that does not need to connect to internet. The system will be connected to a large screen tv on a train that does not have internet connection running in desert.
Requirement It has also to be automated so that at bootup of the NUC, the browser opens at correct url "http://127.0.0.1:1080" The traccapy script send data to Traccar in the browser and unit becomes live with correct position. I tested it while moving and it works perfectly.
Components are as follows.
Adafruit GPS module connected with USB interface, Intel NUC running Ubuntu.
Software as follows.
Traccar Server, Tileserver GL with mbtiles map of world, traccapy.py script that push GPSD data to Traccar, Chromium browser
I automated bootup in systemd and boot sequence works correctly.
It all works very well except I have no way to auto select my gpsd device in Traccar browser view with unique id="12345"
Currently I have to select the unit with a mouse click. Only then does it show as a bigger green online symbol. I also need to center the unit in the map and keep it centered during movement. As different train drivers will switch on the unit and does not understand the working of Traccar I was hoping to automate the system. From switch on to centered device with live tracking with no mouse clicks.
I tried this url "http://127.0.0.1:1080/?deviceId=12345" the Traccar service load but it does not select or center the device.
Any suggestion or guidance will be much appreciated. If anything in my question is unclear please let me know.
sorry I made a typo
Hi Anton,
For public access is there a way for Traccar to auto select the device and follow it(usually its a single device in the account)?
Right now the user has to select the device and hit the follow button to do that.