Skip to content

CloudBotanist/growstuff-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

growstuff-client

The pi: The following configuration has been done with raspbian Wheezy on the pi.

##Using the deployement script

Just run the following command when your pi is connected on ethernet.

wget https://raw.githubusercontent.com/alexisfasquel/growstuff-client/master/init.sh -O - | sudo sh

###Dependances

  • virtualenv
  • socketIO-client
  • pySerial
  • dropbox

####Step by step Installing virutalenv,

sudo easy_install-pypy virtualenv

And then creating the virtual python environnement:

virtualenv  ~/.socketenv

Unfortunatly, the binaries may not have been added to the path, you will need to lanch it from the source:

/usr/lib/pypy-upstream/bin/virtualenv ~/.socketenv

Activating the environnement to install socketIO and pySerial

source ~/.socketenv/bin/activate

Then install the dependecies:

pip install -U pySerial socketIO-client dropbox

You may also have an issue with pip, then once again:

sudo ./.sockentenv/bin/pip install -U pySerial socketIO-client dropbox

and leave the environnement:

deactivate
Running the script at startup :
 sudo nano /etc/rc.local

Adding the following snippet juste before the exit 0 (considering that the variable path does not already exists)

 cd /home/pi/growstuff ; sudo ./socket.sh > socket.log 2>&1 &

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published