[RELEASE] Simple Irrigation

*** BPTWorld apps are no longer being developed or maintained. Thanks ***

Introducing 'Simple Irrigation'
For use with any valve device connected to your hose, like the Orbit Hose Water Timer. Features multiple timers and restrictions.

I needed something simple to water the flowers around the front porch. Was surprised to find there wasn't an app already out there to simply turn a valve on and off on a schedule. So I made this Simple Irrigation app. Now I can use the Orbit Hose Water Timer (single version) and a irrigation drip kit to automatically water the flowers everyday!

Features:

  • Schedule watering on any day, multiple days or everyday
  • Schedule up to 3 times to water per day selected
  • Select up to 3 switches to override the schedule. Highly recommend using @bangali WATO app to make use of any attribute to turn on/off the override switches. ie. Rain and/or wind attributes.
  • Parent/Child App structure
  • Create as many child apps as needed

Apps can be found on my GitHub or by using Bundle Manager

When reporting problems...

  • Be sure you are on the latest version. I won't troubleshoot an older version.
  • Turn on debug and screenshot the issue happening in the log. One line or just the error doesn't cut it. I need a log.
  • Post the screenshot of the log with an explanation of the problem.

Thanks

7 Likes

I am going to try this out on the weekend! I was surprised to not find one either, and setting it up through RM is a painstaking task. I have 3 of the Orbit timers and was close to purchasing a completely different, self running irrigation system, like hyve, but this seems like the answer! I will be getting the garden plants in soon and I use drip irrigation as well. Thank you for your efforts! Do you think tying in weather information would be necessary or beneficial? I use my timers for veggies, and generally water twice per day for short periods in the summer in the high heat.

@bptworld What other types of irrigation devices will this control? I have a GoControl WI15VZ-1. It has 15 valves and is z-wave.

Absolutely, you don't want to water when it's raining!

This app won't have it tied in directly but like it says in the description and in the app itself. You can select up to 3 switches to override the schedule. Highly recommend using bangali's WATO app to make use of any attribute to turn on/off the override switches. ie. Rain and/or wind attributes.

I only have the single valve version of the Orbits to test with. Anything else you will just have to try and see. :grin:

1 Like

What are you using to obtain your weather attributes? I do not have a PWS, and APIXU does not seem that accurate for my location.

Sorry, I use the values from my PWS.

Can you tell me more about your weather station, and how you gather the weather data information?

I have an acurite 5in1 pro weather station, the display panel plugs into a rpi running Weewx. I use a stripped down version of an app customized for just my system. From there I use WATO to set virtual switches based on rain, wind and humidity.

Hope this helps

I have this installed, and it appears to not be working. Setup was straight forward, but i am getting errors in the logs...

app:12182019-05-07 10:00:00.131 am errorjava.lang.NullPointerException: Cannot invoke method open() on null object on line 156 (turnValveOn2)
app:12182019-05-07 08:00:00.321 am errorjava.lang.NullPointerException: Cannot invoke method open() on null object on line 131 (turnValveOn1)
--- Loading Past Logs... ---

app:12182019-05-07 11:16:00.097 am errorjava.lang.NullPointerException: Cannot invoke method open() on null object on line 177 (turnValveOn3)
app:12182019-05-07 11:16:00.076 am debugIn turnValveOn3 - trying to open - will check again in 10 seconds
app:12182019-05-07 11:16:00.074 am debugIn turnValveOn3...
app:12182019-05-07 11:16:00.071 am debugIn checkForWeather - Weather Check passed.
app:12182019-05-07 11:16:00.068 am debugIn checkForWeather...
app:12182019-05-07 11:15:11.381 am debugUpdated with settings: [pauseApp:false, onLength3:2, onLength2:2, onLength1:2, startTime2:2019-05-07T10:00:00.000-0500, days:[Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday], startTime1:2019-05-07T08:00:00.000-0500, logEnable:true, device:Hose Timer 2, startTime3:2019-05-07T11:16:00.000-0500]
app:12182019-05-07 11:15:05.117 am debugUpdated with settings: [pauseApp:false, onLength3:2, onLength2:2, onLength1:2, startTime2:2019-05-07T10:00:00.000-0500, days:[Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday], startTime1:2019-05-07T08:00:00.000-0500, logEnable:true, device:Hose Timer 2, startTime3:2019-05-07T11:16:00.000-0500]
app:12182019-05-07 10:00:00.131 am errorjava.lang.NullPointerException: Cannot invoke method open() on null object on line 156 (turnValveOn2)
app:12182019-05-07 08:00:00.321 am errorjava.lang.NullPointerException: Cannot invoke method open() on null object on line 131 (turnValveOn1)

I think I found it... hold on

thanks

New version on Github...

V1.0.1 - 05/07/19 - Fixed typo with selecting devices

Thanks

Awesome... trying it now. Is there an easy way to update an app, or do i just remove and reinstall?

app:13002019-05-07 11:43:00.121 am errorjava.lang.NullPointerException: Cannot invoke method currentValue() on null object on line 172 (turnValveOn3)

app:13002019-05-07 11:42:32.768 am debugUpdated with settings: [pauseApp:false, valveDevice:Hose Timer 2, onLength3:2, onLength2:2, onLength1:2, startTime2:2019-05-07T10:00:00.000-0500, days:[Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday], startTime1:2019-05-07T08:00:00.000-0500, logEnable:true, startTime3:2019-05-07T11:43:00.000-0500]

app:13002019-05-07 11:42:07.795 am debugInstalled with settings: [pauseApp:false, valveDevice:Hose Timer 2, onLength3:2, onLength2:2, onLength1:2, startTime2:2019-05-07T10:00:00.000-0500, days:[Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday], startTime1:2019-05-07T08:00:00.000-0500, logEnable:true, startTime3:2019-05-07T11:43:00.000-0500]

--- Loading Past Logs... ---

Sorry, try again...

V1.0.2 - 05/07/19 - Fix one thing break another

I blame the new meds (if you don't get it...see my post in the lounge) :smirk::grin::upside_down_face:

2 Likes

Success! Thank you! My plants thank you too!

2 Likes

I was looking into personal weather stations but was overwhelmed by the selections. Wanted to use Weewx but could not decide on which unit to use. Did you have any issues setting up Weewx and connecting it to the 5in1? Are you happy with it? Price seems decent for this level of functionality.

Btw hope you are feeling better!!!

To connect the 5in1 to the rPI, you need the screen that has the usb connector.

I purchased this unit originally and put the screen in my living room...
amazon.com/gp/product/B01MF7HK97

I then purchased this Display with PC connect and put it in the basement next to my rPI...
amazon.com/gp/product/B01N5KBHAC

Works great!

Thanks!

1 Like

I guess that pc-connect display is the key. Was looking at the cheaper AcuRite 06014 PRO+ 5-in-1. Don't need to get all fancy or anything.. :smile: just want to integrate some additional local weather info.. currently only have lux from an old MS6 I repurposed for outdoor use.

Thank you for the info!

E.

1 Like