[RELEASE] Simple Irrigation


#41

What you could do for now is just have a notification sent to you on your virtual switch changes.

That's what I'm doing.

My weather is skipped based off Rachio's IFTTT states.


#42

Sorry for the delay... you would NOT believe the past few days I've had...not going to be on much again, but if anything is wrong with this version PLEASE let me know and I'll try to get to it. (gonna go post on my need a few days off post, if you're curious what's going on.... :sunglasses:)

V1.0.4 - 05/24/19 - Added more safety features, max retries


#43

check my github... I'll do a proper release at some point but not today.

Simple Device Timer is what you're looking for.

Thanks


#44

awesome! thanks


#45

Using the Simple Irrigation for my Orbit timer. I've set it up to water twice a day, once at 5:00 AM for 10 minutes, and once at 5:00 PM for 10 minutes. Weird thing is the 5:00 PM cycle hasn't missed at all since I set this up, and the 5:00 AM cycle has never run. I tried changing the AM time to 5:30 AM to see if I get a different result. NADA. Also deleted it and re-added with same results. I feel like I must be missing, or misunderstanding something about the setup. Seems so simple. Thoughts?




#46

I actually had a new version ready to go, please give it a try. If you still have any problems please post a log.

Thanks

V1.0.5 - 06/03/19 - Code cleanup


#47

Will do. Thanks for all your hard work, and hope your recovery is going well.


#48

Hi @bptworld, looks like there's a bug on notification with simple device timer. I have the notification for the switch is off which is supposed to be on for 40 mins. The off notification is correct.


#49

Hi,
I would need to see a log.

Thanks


#50

Everthing is working now after I removed the instance and create a new one. thanks


#51

New version on Github...

V1.0.6 - 06/09/19 - Fixed issue with multiple schedules


#52

What driver are you using to expose your temps from weewx?


#53

It's a custom rip of another driver. There is only one weewx driver available for the HE that I know of but it has a lot of 'other' stuff in it, so I ripped it down to the bare essence to only handle the weewx data.

I can't share it because of it being someone else's work. Sorry.


#54

Can anyone tell me specifically (with link if possible) which device you guys are using for this? When I search Orbit Water Hose timer, I dont see any smart connected devices.

Thanks!


#55

Orbit doesn’t seem to make them anymore. I got mine on eBay. They are the “works with Iris” version. 27087-03 ra


#56

Same vendor I bought both of mine from. He accepted my offer of $15 each.

They work great with Simple Irrigation app.


#57

Thanks for sharing! I got two for $15/ea. Excited to try this out. :grin:


#58

Hi @bptworld, I have been using Simple Irrigation and the Orbit valve (thanks Ebay) for a couple of weeks, and I thank you for writing SI! I think I found a bug with multiple schedules, even though I grabbed V1.0.6. The first instance SIFront runs perfect for 20 minutes beginning at 7:00 and turns off at 7:20. The second instance SIHouse seems to be turning off after 10 minutes at 7:40, although it appears to remain in the SIHouse instance until 7:50.

I had this same problem before V1.0.6. After I installed V1.0.6 I deleted and recreated the parent and child instances, thinking that either the new version or the new instances might correct the problem. Note that the device has a 10 minute default that I am overriding in SI to 20 minutes. The log seems to indicate that it sees the 20 minutes, but is still turning off after 10.

Here's the log, and screen shots:
dev:342019-06-25 07:50:20.991 am infoSending Message: [SIHouse - House is now closed] Priority: [null] to [All Devices]

app:482019-06-25 07:50:20.968 am debugIn pushNow...Sending message: SIHouse - House is now closed

app:482019-06-25 07:50:20.966 am debugIn pushNow...

app:482019-06-25 07:50:20.965 am warnHouse is now closed

app:482019-06-25 07:50:20.964 am debugIn turnValveOff - Valve is now closed

app:482019-06-25 07:50:20.962 am debugIn turnValveOff...

dev:342019-06-25 07:40:24.741 am infoSending Message: [House Valve Closed] Priority: [null] to [All Devices]

dev:342019-06-25 07:30:20.307 am infoSending Message: [SIHouse - House is now open] Priority: [null] to [All Devices]

app:482019-06-25 07:30:20.286 am debugIn pushNow...Sending message: SIHouse - House is now open

app:482019-06-25 07:30:20.284 am debugIn pushNow...

app:482019-06-25 07:30:20.283 am warnHouse is now open

app:482019-06-25 07:30:20.281 am debugIn turnValveOn - Valve is now open, Setting valve timer to off in 20 minutes

app:482019-06-25 07:30:20.280 am debugIn turnValveOn...

app:482019-06-25 07:30:20.278 am debugIn checkForWeather - Weather Check passed.

app:482019-06-25 07:30:20.268 am debugIn checkForWeather...

app:482019-06-25 07:30:20.266 am debugIn dayOfTheWeekHandler - Days of the Week Passed

app:482019-06-25 07:30:20.265 am debugIn dayOfTheWeek...

dev:342019-06-25 07:30:05.265 am infoSending Message: [House Valve Open] Priority: [null] to [All Devices]

app:482019-06-25 07:30:00.138 am debugIn turnValveOn - trying to turn on - will check again in 20 seconds

app:482019-06-25 07:30:00.136 am debugIn turnValveOn...

app:482019-06-25 07:30:00.135 am debugIn checkForWeather - Weather Check passed.

app:482019-06-25 07:30:00.123 am debugIn checkForWeather...

app:482019-06-25 07:30:00.122 am debugIn dayOfTheWeekHandler - Days of the Week Passed

app:482019-06-25 07:30:00.120 am debugIn dayOfTheWeek...

dev:342019-06-25 07:20:41.774 am infoSending Message: [SIFront - Front Hose is now closed] Priority: [null] to [All Devices]

app:472019-06-25 07:20:41.738 am debugIn pushNow...Sending message: SIFront - Front Hose is now closed

app:472019-06-25 07:20:41.736 am debugIn pushNow...

app:472019-06-25 07:20:41.734 am warnFront Hose is now closed

app:472019-06-25 07:20:41.732 am debugIn turnValveOff - Valve is now closed

app:472019-06-25 07:20:41.730 am debugIn turnValveOff...

dev:342019-06-25 07:20:25.479 am infoSending Message: [Front Valve Closed] Priority: [null] to [All Devices]

dev:342019-06-25 07:20:25.455 am infoSending Message: [Front Valve Closed] Priority: [null] to [All Devices]

app:472019-06-25 07:20:21.599 am debugIn turnValveOff - trying to turn off - will check again in 20 seconds

app:472019-06-25 07:20:21.597 am debugIn turnValveOff...

dev:342019-06-25 07:00:20.897 am infoSending Message: [SIFront - Front Hose is now open] Priority: [null] to [All Devices]

app:472019-06-25 07:00:20.871 am debugIn pushNow...Sending message: SIFront - Front Hose is now open

app:472019-06-25 07:00:20.868 am debugIn pushNow...

app:472019-06-25 07:00:20.866 am warnFront Hose is now open

app:472019-06-25 07:00:20.860 am debugIn turnValveOn - Valve is now open, Setting valve timer to off in 20 minutes

app:472019-06-25 07:00:20.855 am debugIn turnValveOn...

app:472019-06-25 07:00:20.853 am debugIn checkForWeather - Weather Check passed.

app:472019-06-25 07:00:20.843 am debugIn checkForWeather...

app:472019-06-25 07:00:20.841 am debugIn dayOfTheWeekHandler - Days of the Week Passed

app:472019-06-25 07:00:20.839 am debugIn dayOfTheWeek...

dev:342019-06-25 07:00:05.437 am infoSending Message: [Front Valve Open] Priority: [null] to [All Devices]

dev:342019-06-25 07:00:05.437 am infoSending Message: [Front Valve Open] Priority: [null] to [All Devices]

app:472019-06-25 07:00:00.522 am debugIn turnValveOn - trying to turn on - will check again in 20 seconds

app:472019-06-25 07:00:00.520 am debugIn turnValveOn...

app:472019-06-25 07:00:00.517 am debugIn checkForWeather - Weather Check passed.

app:472019-06-25 07:00:00.478 am debugIn checkForWeather...

app:472019-06-25 07:00:00.475 am debugIn dayOfTheWeekHandler - Days of the Week Passed

app:472019-06-25 07:00:00.410 am debugIn dayOfTheWeek...




#59

It looks like it's the device that's turning itself off. Go into the device settings and change the 'Default time to water when turning on' setting in Preferences. This needs to be set higher than anything you set in SI. So if your longest time set in SI is '20 minutes' then set the 'default time' in your device settings to '30' as a fail safe.


#60

Thanks for the quick response @bptworld.
Yes, I could see that it had not entered your turnValveOff class yet, and couldn't understand where the rogue [House Valve Closed] Priority: [null] to [All Devices] was coming from at 7:40.

I will try increasing the House device default time to 30 minutes, but I find it odd that the Front device also has a default time of 10, but it is being successfully overridden. I find that 10 minute default handy if I need to run it manually from a dashboard for a short watering, remotely, since I haven't figured out how modify the device default time remotely. I'll update you on Thursday...