Build a Kootnet Sensor
** WIP: This will be updated with better instructions as time goes on **

Currently Supported Add-On Sensor’s
Raspberry Pi products: SenseHAT
Pimoroni Sensors: BH1745, AS7262, LTR559, VEML6075, BME680, BMP280,EnviroPHAT, Enviro+, PMS5003, LSM303D, ICM20948, VL53L1X
Pimoroni Displays: 0.96" SPI Colour LCD, 1.12" Mono OLED, 11x7 LED Matrix

User Requirements
1. Basic TCP/IP Version 4 concepts
-
IP Address, Subnet, Gateway

2. Basic operations of the Gnu/Linux terminal
-
Raspberry Pi Menu -> Accessories -> Terminal


Required Hardware
Raspberry PiThe Raspberry Pi 3B+ & Zero W have been tested, but it should also work on earlier models
Optional – additional sensors (See currently supported sensor’s above)

Install Instructions
The Installer script will automatically install and enable all required modules and settings. It also includes an optional install of the Control Center program to manage up to 16 sensors at a time.

Step 1. Physically Install your Sensor(s) onto the Raspberry Pi
Step 2. Install Raspbian OS
Step 3. Make sure you are connected to the Internet with your Pi, then run the following command in a terminal to start the installer

wget http://kootenay-networks.com/utils/koot_net_sensors/Installers/raspbian/install_update_kootnet-sensors_http.sh && sudo bash install_update_kootnet-sensors_http.sh

Near the end of the installer, it will prompt for a username and password to secure the web portal, used for interacting with the sensor. On the sensor’s first launch, it will automatically create default configuration files and SSL key/certificate to use with the Web server.

If you wish to use your own SSL key/certificate, replace the SSL files located in /opt/kootnet-sensors/http_server/ssl_files/ with your version, using the same file names. If you need to generate new self signed keys, simply delete the SSL files and reboot the sensor; New 5 year self signed SSL files will be generated when the sensor starts back up.

It is recommended you login to the web portal and setup the configurations when the install script finishes, then reboot the sensor.

The default URL to access the web portal from the local sensor is https://localhost:10065

If you wish to access the web portal from another device on the same local network, simply replace “localhost” from the above URL with the IP of the sensor, such as this https://192.168.10.11:10065

The sensor’s IPs are shown in the terminal after the install script finishes.

Uninstall Sensor Software
This will remove all sensor software and ask to remove Kootnet Sensors – Control Center (If installed). Sensor data & logs are untouched.

sudo bash /home/kootnet_data/scripts/uninstall_kootnet-sensors.sh