roofrefa.blogg.se

Opensprinkler wiring
Opensprinkler wiring









opensprinkler wiring
  1. #Opensprinkler wiring software
  2. #Opensprinkler wiring code

It doesn’t really matter if the forecasts aren’t 100% accurate – the plants aren’t going to mind if we get 10mm of rain instead of 20mm of rain! The web server also polls the BOM (Bureau of Meteorology) data feed (available in JSON format) for rain forecasts for my area.

#Opensprinkler wiring code

I integrated it into an existing web server infrastructure that I’ve developed over time, so I can’t really share the PHP code itself but I have included a sample XML response that the server produces, and the Python code that runs on the Pi.

#Opensprinkler wiring software

There’s some software with the OpenSprinkler that I could have made use of, but I really wanted to roll my own.

opensprinkler wiring

I wrote the Python for the Pi from scratch. I setup a web server to do much of the “thinking” the Pi basically then polls the web server and does what it’s told. You know it’s a success when someone else asks you for one too! How have you setup the network topology? It ended up working so well that I set one up at my parents’ house too! They're both working really well. I understand Python well, so I thought I’d give it a go. Over the years, I’ve gained some experience hardware interfacing with Raspberry Pi in a few different projects, so I figured I’d apply my IT knowledge to a little home automation. A sprinkler system on a standard timer doesn’t really account for the seasons either, so it’s easy to over- or under-water everything. Well I’m rather busy, so spending 30 minutes watering the garden with a hose isn’t a great use of my time. What made you embark on your automatic garden watering project? We’re definitely onboard for using technology to save time, and this certainly reclaims some time that could otherwise be lost. The system is equally suited to planter-pot micro-spray and other methods to keep your pots from drying out on a hot summer day, which can happen in just hours. This installation has been used for in-ground watering, and can easily adapt above-ground sprinklers, drip-tube just about any irrigation method. Although the garden may not need as much water in winter (as compared to summer), in Australia we can certainly go weeks or months without significant rain, so letting technology handle this task makes a lot of sense. Using a Raspberry Pi, an OpenSprinkler breakout controller, and a little ingenuity, Thomas has created an intelligent IoT-connected watering system to keep the garden watered year-round. But it doesn’t mean we have to do it manually. As much as watering the garden might be a soothing sort of meditation for some, for others, it’s simply one of many necessary chores to keep a home looking nice.











Opensprinkler wiring