SELKIELogger
1.0.0
|
These utilities are designed to test functions related to the Pimoroni Automation HAT and probably don't have other uses.
Uses the functions defined in SELKIELoggerI2C to test support for the SN3218 LED driver used on the automation hat. Each LED should light in sequence for approximately 1 second.
See SN3218 control functions and SN3218 Registers for details of the library support.
Performs a single read of each ADS1014 ADC channel (0-3) and two delta channels (1-3 and 2-3). This should also work for any other HAT or interface board that places an ADS1015 onto the I2C bus using the default address.
See ADS1015 for the corresponding library documentation.
Designed to test the Current/Power monitor from Waveshare, this program reads each of the 4 IN219 chips present on that device. For each of the 4 inputs the voltage across the shunt resistor, bus voltage, current, and power reported by the chip will be printed.
See INA219 for library documentation.
Tests the support for MQTT subscriptions, optionally including the Victron style keepalive commands. This tool will connect to a specified host and port and subscribe to one or more topics.
If not specified, will attempt to connect to a broker running locally on port 1883.
Prints a simple representation of each message contained in a data file.
Does not try to read friendly names from a channel mapping file - message source and channel IDs are output as hexadecimal numbers.