Solar Powered Computers
Purpose
The purpose of this plugin is to read from the Kirkton Power Board. This is used to manage solar powered computers.
Usage
Data is collected from the Kirkton power board via serial USB. It will automatically identify a connected Kirkton board via its unique USB signature, and connect to the USB port. The discover
and log
features of the plugin will collect data from the serial port, which is streamed continuously, write the log to the cloud and return. During a log
operation, if a low battery signal is received, the plugin will issue a Linux shutdown command to the host computer, to save battery power and undertake a graceful shutdown. The Kirtkton board will repower the computer when there is sufficient charge. A shutdown will not be issued during a discovery
. For compatability purposes, Values21
and Values22
telemetry data are both able to be collected. This plugin collects the following telemetry data from the Kirkton Power Board. All data will be sent to the power_board
table.
The kirkton_ardexa
script will also enable control of the USB ports. To turn on/off a USB device use the command: kirkton_ardexa control-usb 2 on
Arguments
The plugin takes no arguments for the discover
and log
commands. The control-usb
command takes 2 arguments:
usb_port
. This is an integer number greater than 0.action
. This is eitheron
ortog
(toggle ie; turn off then on again)
Last updated