Skip to content

Cause I couldn't buy a ready-to-use flower watering system.

Notifications You must be signed in to change notification settings

Reinmar/wooterer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wooterer

DIY flower watering system. Cause I couldn't by a ready to use one...

Installing

  1. Clone this repo.

  2. git co status (because wooterer'll push there its logs)

  3. git merge master

  4. npm i

  5. Configure git and GitHub so wooterer is able to commit.

    1. Configure SSH key (ideally, a deploy key).
    2. Say who you are.
    git config --global user.name "You"
    git config --global user.email "y@o.u"
    
  6. Start me!

Starting via SSH

ssh pi@raspberrypi.local
nohup node index.js >> log.out 2>> log.err < /dev/null &

Starting automatically

Add the following line before exit 0 in etc/rc.local:

sudo -H -u pi bash -c "cd /home/pi/wooterer && (node index.js >> log.out 2>> log.err)" &

About

Cause I couldn't buy a ready-to-use flower watering system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published