Chapter 13 Server Tools

These tools are only needed for running and maintaining the webserver.

13.1 Installation

git clone
cp .ws-db.php ~/

#Edit ~/.ws-db.php to connect to the wildlife-systems database

13.2 Adding nodes and receieving a token

ws-node-add <node_id>

Adding a node by it’s ID (serial number of the Raspberry Pi) will add the device to the database, generate a token, and display the token (a UUID) in the console. This token is used to authenticate the device when it sends data to

13.3 Removing a node

ws-node-remove <node_id>