Uploading a local tag database
You can view live detections of your project's Lotek tags on the SensorGnomes web interface by following these steps.
Introduction
If you are installing a SensorGnome or SensorStation that detects Lotek tags, it is often useful to know whether it is able to detect tags in real time, particularly if you are deploying tags in the vicinity. Thankfully this is possible by loading a local tag database on to the internal storage of the device. When the SensorGnome boots up, it checks for a tag database and will display any of those tags it "hears" on its web interface.
Viewing your live tag detections can also be useful when deploying tags or as a make-shift manual tracking device when a Lotek receiver is unavailable.
It's important to remember the limitations of this method: it will only search for the tags that it has been provided, and it is incapable of discerning or handling ambiguous tag IDs.
This works by using a local version of the tag finder algorithm (find_tags_unifile
) in comparison with the tag recordings provided during registration. Note that this local version differs from the version found on Motus, mainly in that Motus searches for tags from all projects across the network (but only those known to be actively deployed during the given time period) whereas this method will only compare raw radio data with the tag patterns it has been provided, regardless of deployment period.
Steps
Download the Tag Database
Navigate to your project's Manage Tags page and click on the blue "Download tag database" button on the right hand side
Download the
.sqlite
tag database. The first link contains all tags currently registered to this project, whereas the links below are older format that summarized by yearly quarter. In nearly all cases you will want the first link.
Upload the tag database to your station
The following steps will differ depending on whether you are you using a SensorGnome or SensorStation
SensorGnome
Connect to your SensorGnome with a computer using 'root' as both the username and password and navigate to the
uboot
folder. If using the V2 SensorGnome software, you can simply upload this via the web UI.Rename the files
SG_tag_database.sqlite
with the suffix ‘old’, or delete them all together.Copy the tag database you just downloaded from motus.org into the
uboot
folder. Rename the file toSG_tag_database.sqlite
5. Reboot the SensorGnome.
6. Load the SensorGnome's web interface and scroll down to near the bottom of the page where it says "Tag Database" and verify the list of tags includes tags from your project.
SensorStation
Connect to the SensorStation with an Ethernet cable.
Navigate in a browser to
sensorstation.local
Once the SensorStation web interface loads, scroll down to the very bottom and select "Browse" to choose the file on your computer. There is no need to rename the
.sqlite
file.Click the red "Upload Tag Database File" button
After seeing the confirmation message scroll up and click the blue button "SensorGnome Interface" to confirm that your tags are there.
You are done! You can now view the "live known tags" pane at the top of the page to check whether your tags are being detected by this station.
Merging multiple tag databases into one
As only one tag database can be loaded onto a SensorGnome at any given time, it is sometimes necessary to merge multiple tag databases together. You can use or modify the script below to merge multiple databases in R.
Last updated