Archived software and instructions
Please use a more recent version if able.
======================================================
Version mopower-ups-v0.93-BETA3-build-05-16-2017-INA219-MOD.tar
Software can be downloaded HERE
Client software has been tested with Raspbian Jessie and Stretch, please see INSTALL-Raspbian-Jessie.txt or use INSTALL-Raspbian-Jessie.sh
# Client software quick start
# You will want to update Raspbian's package list before the install by running..
$ sudo apt-get update
# Optionally you can also update all your installed packages with the following command:
$ sudo apt-get dist-upgrade
# Download and installation quick start for newer versions of Raspbian Jessie > 2017-02-16:
# wget desired client software (make sure you are in /home/pi/ directory)
$ wget http://www.allspectrum.com/mopower-hw2/mopower-ups-v0.93-BETA3-build-05-16-2017-INA219-MOD.tar
# UNTAR FILE
$ tar -xf mopower-ups-v0.93-BETA3-build-05-16-2017-INA219-MOD.tar
# You will now have a mopower directory, cd to it and run the install program, reboot when asked..
$ cd mopower
$ sudo ./INSTALL-Raspbian-Jessie.sh
# A manual install can be done by following instructions in INSTALL-Raspbian-Jessie.txt
# This was tested on RASPBIAN STRETCH LITE, 2018-04-18, others may need
# modification per the requirements of your operating system.
# CURRENT SENSOR OPTION - Run the following to install the INA219 libraries.
$ sudo apt-get -y install python-pip
$ sudo pip install pi-ina219==1.1.0
# NOTE the above command installs version 1.1.0 of the pi-ina219 libraries, version 1.2.0 currently has a problem with i2c bus numbers on the Pi
# You can check your currently installed version by running "sudo pip show pi-ina219"
$ sudo raspi-config
# under interface options enable I2C
# This was tested on RASPBIAN STRETCH LITE, 2018-04-18, others may be similar
======================================================