GithubHelp home page GithubHelp logo

ozirissp / google-pyrainbird Goto Github PK

View Code? Open in Web Editor NEW

This project forked from biofects/google-pyrainbird

0.0 0.0 0.0 36 KB

Rainbird Controller in Python; Contol with Google home and IFTTT

Home Page: http://Biofects.com

License: MIT License

Python 97.97% Dockerfile 2.03%

google-pyrainbird's Introduction

Google-pyRainbird

Allow voice control of Rainbird Sprinkler Wifi. This will allow you to start a program and stop the irrigation. Biofects, is not affiliated with Rainbird corperation or its affailites. This application relies to be run in Docker with a simple build and run. I run this from my Raspberry pi along my other Docker applications.

If you like this and want continous development or want other developed you can dontate here

Donate to get geek stuff(sorry no beer here)

paypal

Set up Application

  1. Clone ths repo
  2. Edit config.cfg (do not use quotes)
[apikey]
key = Add Key here*
[rainbird]
ip = IP of your Rainbird Link Module
pass = Password of your Rainbird Link Module*
[programs]
a = Program a Name (use only single word i.e. (all - to run all zones)
b = Program b Name (use only single word i.e. (back - 	to run all zones in backyard)
c = Program c Name (use only single word i.e. (front - 	to run all zones in front yard)
d = Program d Name (use only single word i.e. (flowers  to run flowers drip)*
  1. docker build -t sprinkler:latest
  2. docker run -d -p port:5000 sprinkler:latest
  3. Ensure you have port forward set up for the port you want open from ifttt

Set up IFTTT

Create a new Applet

If This

Google Assistant with simpe phrase with text ingredient. Start water in $

Then That

Webhook URL http:// your public IP:port/sprinkler/ Method GET Content Type applcation/json Body {'apikey':'key for application'}

Test / Troubleshoot

Once the Docker is running you can do a simple Curl call to test curl -X GET -H "Content-type: Application/json" -d '{"apikey":"<key you have created"}' <ip of Host>:8123/sprinkler/<(front|back|flowers|all|getraindelay)> if you login to your running docker image, you can look at the pypython.log file for send and reply call-backs

google-pyrainbird's People

Contributors

jbarrancos avatar biofects avatar klathmon 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.