RPi2 with UPS pico and OSMC

Hello Guys
anybody out there that allready have expirience how to install the UPS pico (on RPi 2) under OSMC ?

Any help is welcome.

So far no reply till yet. Somebody has any idea for a solution ?

I want to use my Raspberry Pi 2 as a mediacenter in my car.
to ensure a file safe shutdown i have added UPS PIco (Uninterruptible Power Supply)

But i am not abble to install it properly under OSMC.

Any help is welcome.

Where does the instructions fail ?

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:

  1. Make sure only two green jumpers are on Pico board. - FSSDR and FSSDU
  2. 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.

  1. Connect OSMC to internet
  2. 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
  3. sudo apt-get update
  4. Sudo apt-get upgrade
  5. sudo apt-get install build-essential
  6. export ARCH=arm
  7. export CROSS_COMPILE=/usr/bin/
  8. Sudo apt-get install -y python-dev
  9. Sudo apt-get install -y python-pip
  10. sudo apt-get install python-smbus (this line required if you want to run “sudo python pico_status.py”)
  11. 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