Skip to content

A Python app to control a solar panel with a Raspberry Pi

Notifications You must be signed in to change notification settings

errkk/wsp_control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wsp_control

A Python app to control a solar panel with a Raspberry Pi

sudo apt-get update
sudo apt-get install python-dev python-rpi.gpio python-smbus
sudo python setup.py develop

Enable SPI:

http://www.raspberrypi-spy.co.uk/2014/08/enabling-the-spi-interface-on-the-raspberry-pi/

Ensure 1 Wire bus is enabled:

sudo vim /etc/modules

...add this to the bottom to load the modules: w1-gpio w1_therm

And edit /boot/config.txt adding

dtoverlay=w1-gpio

to the bottom.

Command line utilities

Check pump state

sudo wcheck

Turn pump on and off

sudo won
sudo woff

Auto, for testing

sudo wtoggle

About

A Python app to control a solar panel with a Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages