Yep, I have done it.
Took a bit, considering how little Unix I know.
Follow these instructions:
http://www.pimodules.com/_pdf/Simple_Setting_Guide_for_the_UPS_PIco.pdf
Also:
- Make sure only two green jumpers are on Pico board. - FSSDR and FSSDU
- I also have Reset pin, Fan and Temp device on the board.
If you get to the step with the RPi.GPIO installation and have issues, try these steps to get it installed.
- Connect OSMC to internet
- Exit kodi
Navigate to the power icon in Kodi (S Key)
Select Exit
Press ESC on your keyboard
Login to your device.
UN:PW osmc:osmc - sudo apt-get update
- Sudo apt-get upgrade
- sudo apt-get install build-essential
- export ARCH=arm
- export CROSS_COMPILE=/usr/bin/
- Sudo apt-get install -y python-dev
- Sudo apt-get install -y python-pip
- sudo apt-get install python-smbus (this line required if you want to run “sudo python pico_status.py”)
- Sudo pip install rpi.gpio
I did all of these, not necessarily in that order, but close to it.
Once GPIO is installed, follow rest of steps in first doc I linked to.
All is working fine for me now, just need to work out how to set what the voltage drop is allowed to be before it triggers FSSD.
Hope that helped.
Junkie