Giter VIP home page Giter VIP logo

talkingplants's Introduction

Not maintained.


Talking Plants

Notifies you when your plants need your attention.

Installation / Development Setup

Follow this simple 12 step guide to get started! App sepecific instructions are intended for android, iOS has not been tested yet.

  1. sql/: Setup a postgres database and run the sql scripts.
  2. api/: Find a nice place to host the rest api.
  3. Add all necessary variables to the environment where the api is running. These are specified in api/.env.example. If you are running the api locally you can add the variables to a .env file similar to the example file.
  4. Wire up your arduino: good luck :)
  5. arduino/arduino_mkr_1010: In this folder, create a file named config.h. The content should look like this:
#define WIFI_SSID "wifiname"
#define WIFI_PASS "wifipassword"
#define API_KEY "apikey"
#define PLANT_ID "42"
#define API_HOST "example.com"
  1. You can use the Arduino IDE to upload the sketch to your arduino.
  2. Find a nice place to host the web app.
  3. Update web/.env to point to where you are hosting the api.
  4. Create a firebase project (and upgrade to blaze plant, you need this for api calls that goes out of firebase).
  5. Set the default GCP resource location in project settings.
  6. Create notifier/functions/.env, similar to notifier/functions/.env.example.
  7. Go into notifier/ (which is the firebase project root) and deploy to your own firebase instance.
  8. Configure the app to talk to your firebase project. There are plenty of resources on how to do this. Essentially what you have to do is to get the google-services.json file.

talkingplants's People

Contributors

dependabot[bot] avatar petterdaae avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.