Help Document for KootNet Sensor Units


As of right now, a Raspberry Pi is required with the option of adding one or more supported sensors.


To make your own sensor, find the instructions on the Programs Website or in the Help menu of Kootnet Sensors – Control Center.


Manage Sensor with Control Center

There is a shortcut on the pi users desktop to open the Control Center OR you can use the command bellow to open it from terminal.
The first IP is a local loop back address (127.0.0.1) to manage the local unit.


python3 /home/pi/control-center.py


Re-Configure the Sensor

This will open and allow you to edit all the configuration files, one after another, then it restarts the sensor services and runs a sensor test (See Sensor Test below).

Note: You can type in part of a command, then hit the ‘tab’ key on your keyboard to auto complete the command. For example, type sudo ./edit then hit the ‘tab’ key to complete the line.


sudo bash /home/pi/edit_sensor_config.sh


Uninstall Sensor Software

This will remove all sensor software & the control center, plus it will restore the /etc/network/interfaces file. It will leave your data, logs and configurations (Not the control center configuration).


sudo bash /home/pi/KootNetSensors/zUninstall.sh


Sensor Test

This will print your configuration settings and a snapshot of the sensors readings to the screen.


python3 /home/pi/test_sensors.py


Program Auto Start

The sensor programs automatically start and restart them selves through systemd as services.

Run one or more of the following commands. Each line disables the corresponding service and stops it.


sudo systemctl disable SensorHTTP && sudo systemctl stop SensorHTTP

sudo systemctl disable SensorCommands && sudo systemctl stop SensorCommands

sudo systemctl disable SensorRecording && sudo systemctl stop SensorRecording


To re-enable and start the services, run this command.

* Note: You do not have to change anything, the script re-enables and starts all sensor services *


sudo bash /home/pi/edit_sensor_config.sh


Configuration & File Locations

KootNet Control Center /opt/kootnet-control-center/

KootNet Sensor /opt/kootnet-sensors/

KootNet Sensor configuration files & data /home/pi/KootNetSensors/


/home/pi/KootNetSensors/zInstalled.txtSensor installed date & time

/home/pi/KootNetSensors/LastUpdated.txtSensor last updated + how

/home/pi/KootNetSensors/installed_sensors.txtSupported & enabled sensors

/home/pi/KootNetSensors/config.txt – Sensor configuration file


Clean Upgrade Service Scripts

These 2x Upgrade scripts delete the sensor & control center program directories /opt/kootnet-sensors/ & /opt/kootnet-control-center, then scripts in /home/pi/. Programs are then re-installed. The configuration and data files remain untouched, except for the control center configuration, which is restored to defaults.


sudo systemctl start SensorCleanUpgradeOnline Clean HTTP upgrade

sudo systemctl start SensorCleanUpgradeSMB Clean SMB (Windows share) upgrade

** SensorCleanUpgradeSMB Requires: Configuration in /opt/kootnet-sensors/upgrade/update_programs_smb.sh

** SensorCleanUpgradeOnline Optional: modify /opt/kootnet-sensors/upgrade/update_programs_online.sh to use your own HTTP Server


SQLite3 Database

/home/pi/KootNetSensors/data/SensorRecodringDatabase.sqlite SQLite3 database holding sensor readings


Log Files

/home/pi/KootNetSensors/logs/Primary_log.txt Contains sensor program logs

/home/pi/KootNetSensors/logs/Sensors_log.txt Contains sensor hardware errors

/home/pi/KootNetSensors/logs/Network_log.txtContains network command logs & history