- Important This application is no longer Supported. I have since moved to another controller.
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
- Clone ths repo
- 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)*
- docker build -t sprinkler:latest
- docker run -d -p
port
:5000 sprinkler:latest - Ensure you have port forward set up for the port you want open from ifttt
Create a new Applet
Google Assistant with simpe phrase with text ingredient. Start water in $
Webhook
URL
http:// your public IP:port
/sprinkler/
Method
GET
Content Type
applcation/json
Body
{'apikey':'key for application
'}
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