Was this page helpful?

Uploading the tags database file to your SensorGnome

From $1

    You have registered your tags, so that hits from them can be detected when your SensorGnome data are later processed.  Usually, you'd also like your SensorGnome to recognize your tags in the field or lab, so that you can watch for detections in the Live Tag window on the web interface, and validate tag registration (i.e. make sure all your tags are detected with the correct ID).   To do this, you need to give your SensorGnome a copy of the tags database file.  Currently, this file is produced from tag registration recordings after these are uploaded to the sensorgnome.org website, and the database file will be emailed to you.  Eventually, the entire process will take place on your SensorGnome.

    Note: This step is optional, but strongly recommended.  Even if you choose not to do this step, you must still register your tags.  (Where "must" means if you don't, you will not obtain any useful data.  Really!)

    Summary: Installing the database file

    You will receive a copy of the tags database attached to an email.  Alternatively, it will be available for download from

       https://sensorgnome.org/download/

    under your project's folder.

    It will have a name like this:

    project_31_2017-2_tag_database.sqlite             ## name of the database file upon receipt
    
    

    This indicates the tags are for motus project 31, and are tags expected to be deployed in the 2nd quarter of 2017.
    For a large project where there might be staggered deployments, we might manually generate a file and give it
    a name like this:

    project_121_2016-4-2017-1_tag_database.sqlite     ## database file for a set of tags with broader deployment dates

    Whatever the file is called, copy it to an attached SensorGnome or onto the micro SD drive (details below), then rename it to

    SG_tag_database.sqlite      ## name of the database file once installed on SensorGnome or SD card.
    

    Then restart your SensorGnome with the new file and make sure you can still connect
    to the web interface and see live clock updates, at least.

    Always verify that you can reconnect to the SensorGnome after installing the new tag database
    file and restarting the unit.

    Details: copy onto a live attached SensorGnome

    1. download the tag database file and save it on your computer.
      Please make sure you are doing "Save Link As..." to save the file from your email,
      rather than opening it in a program and saving it from there. 
      (e.g. gmail+chrome users: right click on the attachment and choose "Save Links As...")
    2. attach the SensorGnome to your computer via USB
    3. visit the shared network drive at \\192.168.7.2\boot  (NB: not \data )
    4. if there is already a copy of SG_tag_database.sqlite on the drive, rename it to saved_SG_tag_database.sqlite, in case you need
      to restore it later.
    5. copy the saved tag database file to the shared network drive
    6. rename the tag database on the shared drive to SG_tag_database.sqlite
    7. disconnect from the SensorGnome
    8. restart the SensorGnome to have it load the database and allow live display of tag detections via the web interface

    or

    Details: copy onto a SENSORGNOME micro SD card

    Which card you put this on depends on the beaglebone model:

    • white: copy onto the card you will deploy with the SG (i.e. onto the card for every unit)
    • black: copy onto the imaging card *before* imaging the SG(s).  If you have already imaged the SG(s), use the previous copying method above for each unit.
    1. download the tag database file and save it on your computer
      Please make sure you are doing "Save Link As..." to save the file from your email,
      rather than opening it in a program and saving it from there. 
      (e.g. gmail+chrome users: right click on the attachment and choose "Save Links As...")
    2. place the microSD card in its SD adapter
    3. insert the SD adapter into your computer - this should open a drive folder called SENSORGNOME
    4. if there is already a copy of SG_tag_database.sqlite on the drive, rename it to saved_SG_tag_database.sqlite, in case you need
      to restore it later.
    5. copy the saved tag database file to the SENSORGNOME drive
    6. rename the tag database on the SENSORGNOME drive to SG_tag_database.sqlite
    7. use "safely remove" to logically eject the SENSORGNOME drive from your computer
    8. physically remove the SD adapter from your computer
    9. the next time this microSD card is used in a SensorGnome, that SensorGnome will be able to display live detections for tags in the database, via the web interface

    Troubleshooting

    If after installing a new tag database file you can no longer connect to the SensorGnome's web interface,
    you'll need to restore the previous version of the SG_tag_database.sqlite file:

    1. Using the same method as you used to install the file, access the boot drive or micro SD card
    2. delete the SG_tag_database.sqlite file which you installed
    3. rename the saved copy from saved_SG_tag_database.sqlite to SG_tag_database.sqlite
    4. mail us a copy of the problematic SG_tag_database.sqlite so we can have a look at it.
    Was this page helpful?
    Tags: (Edit tags)
    • No tags
     
    Comments (0)

     
    Powered by MindTouch Core