Giter Club home page Giter Club logo

flowerpower's Introduction

projectgaming

Scrum training project at the Royal Institute of Technology, where a group consisting of five students, Erik Holm, Max Körlinge, Nicole Othman, Hampus Pukitis Furhoff and Kim Säther, created a remotely controlled watering system for plants called FlowerPower. It enables you to monitor the moist value of your plant by going to a website, and to then water your plant using a simple button. If the plant dries out, the system will also send you a notification by email so that you can log in and water your plant. You can find all the documentation regarding the project such as project plan, architecture, design, testing, etc. in the Wiki.

Installation

Before you can start monitoring your plants and live that high-life you always have dreamt about you have some configuring to do.

If you don't already have it, go ahead and install the arduino developing tool from https://www.arduino.cc/en/Main/Software as well as python 3.5 from https://www.python.org/downloads/

Arduino Config

Download and open up the file projectgaming/src/arduino/flowerpower/flowerpowerwifi.ino using the Arduino IDE. Change the wifi settings at line 11 and 12 accordingly to the wifi-ssid and pass that you will be using. Verify and upload to the arduino-board using the usb-cable. Open up the serial monitor (icon in the top right corner) to see that it is functioning properly and to get the IP-adress of the arduino. You can now save the file and close the arduino IDE. Plug in the usb-cable to a power supply.

Raspberry Config

Install the telldus-core package on the Raspberry system and configure it to turn on/off your device as device number "1". Install the Python modules listed in the Pipfile, either globally on the system or in a virtual environment of your choice. The system was developed using Pipenv to handle virtual environments. Change the IP at line 10 in projectgaming/src/raspberry/Webserver/externals/moistcontrol/arduinoconnection.py to the one from the Arduino retrieved from serialmonitor above. Change the email and password at line 16 and 17 in projectgaming/src/raspberry/Webserver/externals/notification/notificationsender.py to a valid email and password.

To run the system:

  • SSH into your Raspberry Pi with ssh pi@RASPBERRYIP , password is "flowerpower", from a computer connected to the same wifi network as the Raspberry.
  • Type the command: cd projectgaming
  • Type the command: pipenv shell
  • Type the command: ./start_server.bash

You can now access the website on the same network on http://RASPBERRYPIIP:5000

If you are setting up your own FlowerPower system, you need to use your own Raspberry login details to ssh into the Raspberry. This guide is used for the demo system that the group turned in at the end of the course. If you installed Python modules globally, you also do not need to run the pipenv command above.

Further development

To further develop the system you can fork the repository on GitHub. You will find detailed documentation on the different subsystems in the Technical Documentation part of the wiki.

flowerpower's People

Contributors

hfurhoff avatar fongie avatar hello696969 avatar immy89 avatar nicooth avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

rlindsberg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.