Skip to content

Rainbird Controller in Python; Contol with Google home and IFTTT

License

Notifications You must be signed in to change notification settings

biofects/google-pyrainbird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thank you all for your support

- Important This application is no longer Supported. I have since moved to another controller. 

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

About

Rainbird Controller in Python; Contol with Google home and IFTTT

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published