/Solar-Pi-Platter-UX

Web server for Solar Pi Platter

Primary LanguagePython

Solar-Pi-Platter-UX (instructions in progress)

This is a web interface to interact with the Solar Pi Platter offered by Dan Julio Designs which can be purchased on Tindie. This is an excellent add-on(? or add-to) for the Raspberry Pi Zero (W) to provide full power managment for your project. It is packed full of useful features like: managed shutdown and power-up of the Pi based on battery voltage, switchable USB ports for further power management, and also I/O like PWM outputs and analog inputs. There is also a breakout for an ethernet expansion port. Check out Dan's site for more details.

This project will allow a user to connect to their Solar Pi Platter using a web browser in order to view and change system settings.

  1. Install Raspbian-Jessie or Raspbian Jessie-Lite on your Pi Zero (W) -- not covered here
  2. Download/install talkpp binary from Dan Julio's github.
  3. Download/install Solar-Pi-Platter-UX
  4. Set-up UX to start-up as a service on RPi0 or RPi0-W

Download/install talkpp binary

This is a command line utility to interact with the Solar Pi Platter. While command lines are useful, web interfaces are more user friendly. That is the motivation behind this project! Instructions for this process can be found here.

Instructions

Begin by downloading the binarys using:

wget ... 

Then move them to the /usr/local/bin directory:

sudo mv talkpp /usr/local/bin

Set the file permissions to be executable:

sudo chmod 775 /usr/local/bin/talkpp 

Finally test the command line utility to ensure all was successful:

talkpp -h

Download/install Solar-Pi-Platter-UX

One you have the command-line utility installed, now we want to install a few package dependencies and get the UX installed.

#install bottle

Next, install the files from this repository:

wget ...

Set the permissions of the serve_my_platter.py to be executable (required for next step):

chmod +x ~/pi_platter/serve_my_platter.py

Set-up Solar-Pi-Platter-UX to run as service

Final step is to set-up the web server to run as a service and starts up automatically with boot.

instructions will be elaborated from here.

If you have suggestions/comments, I welcome them toward the improvment of this project and documentation. Im not a developer by trade, but I'll do my best to accommodate them as I continue on this learning experience.