Jump to content

Status in Program


Go to solution Solved by Jimbo.Automates,

Recommended Posts

Thought maybe someone would have an idea why this isn't working.  In summary I have an Insteon Door Sensor that when it is On (Door Opens) it will turn on a Ranchio Program that runs two zones for 10 minutes each to wash out the gift the dog just left that kills the grass.  It works great, but in the evening we have our normal watering taking place.  When this Insteon Program is triggered once the current zone that is watering natively via Ranchio Schedule it will stop that and kick off the program from Insteon thus ending our scheduled nightly water.  To fix this I thought I could add a check to see if Ranchio is currently watering but that does not seem to work.  Ideas?

The Insteon Program is:

If
        'Outside / Front Door / Front Door Sensor' Status is On
    And 'Generic / Rachio-Sprinkler' Watering is Off
 
Then
        Run Program 'Front Door Dog Water' (Then)
 
Else
   - No Actions - (To add one, press 'Action')

The Program to turn the Front Door Dog Water On is:

Front Door Dog Water - [ID 0060][Parent 0001]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Wait  10 minutes 
        Set 'Generic / Rachio-Sprinkler / Dog Water' Start
 
Else
   - No Actions - (To add one, press 'Action')
 

 

Link to comment
9 hours ago, MGustin said:

Thought maybe someone would have an idea why this isn't working.  In summary I have an Insteon Door Sensor that when it is On (Door Opens) it will turn on a Ranchio Program that runs two zones for 10 minutes each to wash out the gift the dog just left that kills the grass.  It works great, but in the evening we have our normal watering taking place.  When this Insteon Program is triggered once the current zone that is watering natively via Ranchio Schedule it will stop that and kick off the program from Insteon thus ending our scheduled nightly water.  To fix this I thought I could add a check to see if Ranchio is currently watering but that does not seem to work.  Ideas?

The Insteon Program is:

If
        'Outside / Front Door / Front Door Sensor' Status is On
    And 'Generic / Rachio-Sprinkler' Watering is Off
 
Then
        Run Program 'Front Door Dog Water' (Then)
 
Else
   - No Actions - (To add one, press 'Action')

The Program to turn the Front Door Dog Water On is:

Front Door Dog Water - [ID 0060][Parent 0001]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Wait  10 minutes 
        Set 'Generic / Rachio-Sprinkler / Dog Water' Start
 
Else
   - No Actions - (To add one, press 'Action')
 

 

If 'Generic / Rachio-Sprinkler' is a program can it be 'off' status?.

How long will the status of the door open sensor be 'On' and will it ever coincide with the following line?

Link to comment

Larryllix - I do not follow what you are asking.  Generic / Rachio-Sprinkler' Watering is Off is not a program it is the status of the Rachio.  Watering is either Off or On.  Its a door sensor so its simply opening the door to let the dogs out, it is in the ON status for 5 seconds or so.

In a nutshell what I believe the IF statement should be doing is saying if the front door is opened check to see if Rachio is watering the lawn; if it is not watering the lawn then run the program called Front Door Dog Water. 

If I remove the Rachio Watering check and put say a time in when the scheduled nightly watering takes place all works as you would want; door opens while it is between those times and it doesn't run the Front Door Dog Water program.  It seems like the check on Rachio to see if it is Watering is not working.

Link to comment
12 minutes ago, MGustin said:

Larryllix - I do not follow what you are asking.  Generic / Rachio-Sprinkler' Watering is Off is not a program it is the status of the Rachio.  Watering is either Off or On.  Its a door sensor so its simply opening the door to let the dogs out, it is in the ON status for 5 seconds or so.

In a nutshell what I believe the IF statement should be doing is saying if the front door is opened check to see if Rachio is watering the lawn; if it is not watering the lawn then run the program called Front Door Dog Water. 

If I remove the Rachio Watering check and put say a time in when the scheduled nightly watering takes place all works as you would want; door opens while it is between those times and it doesn't run the Front Door Dog Water program.  It seems like the check on Rachio to see if it is Watering is not working.

Your logic and troubleshooting sounds good.

Try using the reverse logic as such:
  And 'Generic / Rachio-Sprinkler' Watering is Not On

Link to comment

I don’t use that sprinkler system and can only guess. I do wonder if using the sprinkler system schedule along with insteon is incompatible. Have you considered the possibility of disabling your program based upon time. The time that you would disable the program would be the time that it is natively running.

Link to comment

My Rachio is in Home Assistant so I can't be of direct help to that specific device. I would suggest posting in the Rachio part of the forum so maybe the developer can help. Assuming there aren't specific ways for the Rachio plugin to let the ISY know if it is currently watering or not, here are the other basic logic ways that I would handle it, if it were me.

1. Use the time that the device is being used, so if you run the watering schedule at the same time. @oberkc covered how to handle this.

2. Use a variable. If you start the watering via an ISY program, create a variable and add a line to the program that triggers a unique value. You would then need to have a way to change this value back once the watering ends. Then in your program, check the variable value to decide when to use the dog water program.

Link to comment
Posted (edited)

I did mention that setting a time to not run the program works fine which would be the fallback but it would be nice when you manually kick things on in the middle of the day it is aware of the Watering status.

Edited by MGustin
Link to comment

Communications between the ISY/Polisy/eISY is uni-directional when it comes to control.

HA can control all ISY/Polisy/eISY devices, but the ISY/Polisy/eISY can not control any of the HA devices.

From what I've read, the Rachio NS on your ISY device is not correctly reporting zone status.

Since you need the Rachio status to trigger on an Insteon device. I would move the Rachio to HA. Per Rachio...

The Rachio platform on HA allows you to control your Rachio irrigation system.

There is currently support for the following device types within Home Assistant:

They will be automatically added if the Rachio integration is loaded.

Now that you can correctly see the zone status you can create an automation in HA that triggers based upon the ISY device status and the status of the Rachio zone you are monitoring. Alternatively you can leave a note on the github page for Brian the original dev of the Rachio NS, but he hasn't done any work on this NS for 3 years.

  • Like 1
Link to comment

I would say this post from 2023 gives the answer on a similar situation on the status of each zone:

"I have found that this node is not really be maintained and doesn't really work."

Developer as has been mentioned has not done anything with this for years.  Perhaps someone else will pickup.

Link to comment
Posted (edited)
17 hours ago, Jimbo.Automates said:

Interesting if the developer of Rachio Plugin is not around anymore, I could look at taking it over.  I have 3 rachio controllers and had it installed on my system but didn't have much need for it so I don't think I even have it installed anymore.

 

If you choose to @Jimbo.Automates, I am interested in the smarthose timer if that could be supported. I went from a 15 zone rainmachine system at my last house to very simple 1, possibly 2 smarthose setup at my current house.

Edited by paulbates
  • Like 1
Link to comment
On 7/3/2024 at 5:16 PM, Jimbo.Automates said:

Interesting if the developer of Rachio Plugin is not around anymore, I could look at taking it over.  I have 3 rachio controllers and had it installed on my system but didn't have much need for it so I don't think I even have it installed anymore.

 

I think this would be fantastic!  Looks like it has been years since they have done any updates.

  • Like 1
Link to comment
  • 3 weeks later...
  • 2 weeks later...

Huge thanks to @Jimbo.Automates for taking this project on.  I have upgraded to 5.0.1 (all went very smooth) and am unfortunately still in the same boat.  I am not sure that this has even been addressed yet so I very well might be jumping the gun and sure don't want to come across as pushing.  

In summary unless I manually query Rachio it does not update the status of Watering Yes/No.  The goal is to have a program that will turn a zone on if a door is opened and Rachio is not watering.  I have the program working correctly but it will only work if I manually query to get the correct status before the program runs.

 

Link to comment

That's odd because I created the below program to test and I get notifications very quickly after a zone turns on or off.

Rachio Zone Watcher - [ID 0028][Parent 0024]

If
        'Searle Back Yard Left / Hill above garden' Watering is Off
     Or 'Searle Back Yard Left / Hill above garden' Watering is On
     Or 'Searle Back Yard Left / Hill below Garden' Watering is On
     Or 'Searle Back Yard Left / Hill below Garden' Watering is Off
     Or 'Searle Back Yard Left / House and Pool Deck Planters' Watering is Off
     Or 'Searle Back Yard Left / House and Pool Deck Planters' Watering is On
     Or 'Searle Back Yard Left / Jacuzzi' Watering is On
     Or 'Searle Back Yard Left / Jacuzzi' Watering is Off
     Or 'Searle Back Yard Left / Lower Slope Left of Jaccuzzi' Watering is Off
     Or 'Searle Back Yard Left / Lower Slope Left of Jaccuzzi' Watering is On
     Or 'Searle Back Yard Left / North Slope Back Gate' Watering is On
     Or 'Searle Back Yard Left / North Slope Back Gate' Watering is Off
     Or 'Searle Back Yard Left / Pool' Watering is Off
     Or 'Searle Back Yard Left / Pool' Watering is On
     Or 'Searle Back Yard Left / South Lower Slope' Watering is On
     Or 'Searle Back Yard Left / South Lower Slope' Watering is Off
     Or 'Searle Back Yard Left / South Upper Slope Bottom' Watering is Off
     Or 'Searle Back Yard Left / South Upper Slope Bottom' Watering is On
     Or 'Searle Back Yard Left / South Upper Slope Top' Watering is On
     Or 'Searle Back Yard Left / South Upper Slope Top' Watering is Off
     Or 'Searle Back Yard Left / Upper Slope Behind Sport Cour' Watering is Off
     Or 'Searle Back Yard Left / Upper Slope Behind Sport Cour' Watering is On
     Or 'Searle Back Yard Right / Behind Slide and Tree Well' Watering is On
     Or 'Searle Back Yard Right / Behind Slide and Tree Well' Watering is Off
     Or 'Searle Back Yard Right / Bottom Garden' Watering is Off
     Or 'Searle Back Yard Right / Bottom Garden' Watering is On
     Or 'Searle Back Yard Right / East Fence' Watering is On
     Or 'Searle Back Yard Right / East Fence' Watering is Off
     Or 'Searle Back Yard Right / Lawn North' Watering is Off
     Or 'Searle Back Yard Right / Lawn North' Watering is On
     Or 'Searle Back Yard Right / Lower Slope Right Of Jaccuzzi' Watering is On
     Or 'Searle Back Yard Right / Lower Slope Right Of Jaccuzzi' Watering is Off
     Or 'Searle Back Yard Right / Main Lawn North' Watering is Off
     Or 'Searle Back Yard Right / Main Lawn North' Watering is On
     Or 'Searle Back Yard Right / Main Lawn South' Watering is On
     Or 'Searle Back Yard Right / Main Lawn South' Watering is Off
     Or 'Searle Back Yard Right / Middle Garden' Watering is Off
     Or 'Searle Back Yard Right / Middle Garden' Watering is On
     Or 'Searle Back Yard Right / Pool Planters' Watering is On
     Or 'Searle Back Yard Right / Pool Planters' Watering is Off
     Or 'Searle Back Yard Right / Rose and Herb Garden' Watering is Off
     Or 'Searle Back Yard Right / Rose and Herb Garden' Watering is On
     Or 'Searle Back Yard Right / Slope Behind Sport Court' Watering is On
     Or 'Searle Back Yard Right / Slope Behind Sport Court' Watering is Off
     Or 'Searle Back Yard Right / Top Garden' Watering is Off
     Or 'Searle Back Yard Right / Top Garden' Watering is On
     Or 'Searle Front Yard / East Lawn' Watering is On
     Or 'Searle Front Yard / East Lawn' Watering is Off
     Or 'Searle Front Yard / East Slope' Watering is Off
     Or 'Searle Front Yard / East Slope' Watering is On
     Or 'Searle Front Yard / East side yard' Watering is On
     Or 'Searle Front Yard / East side yard' Watering is Off
     Or 'Searle Front Yard / Front Drips' Running is Off
     Or 'Searle Front Yard / Front Drips' Running is On
     Or 'Searle Front Yard / Front Lawn' Running is On
     Or 'Searle Front Yard / Front Lawn' Running is Off
     Or 'Searle Front Yard / Lower Planters' Watering is Off
     Or 'Searle Front Yard / Lower Planters' Watering is On
     Or 'Searle Front Yard / Planters House and steps' Watering is On
     Or 'Searle Front Yard / Planters House and steps' Watering is Off
     Or 'Searle Front Yard / Top Lawn' Watering is Off
     Or 'Searle Front Yard / Top Lawn' Watering is On
     Or 'Searle Front Yard / Tree And Lower planter' Watering is On
     Or 'Searle Front Yard / Tree And Lower planter' Watering is Off
     Or 'Searle Front Yard / West Lawn' Watering is Off
     Or 'Searle Front Yard / West Lawn' Watering is On
     Or 'Searle Front Yard / West Slope and planter' Watering is On
     Or 'Searle Front Yard / West Slope and planter' Watering is Off
 
Then
        Set 'Notification Controller / UD Mobile' Send Message To JimsPhone Content 19 Notification ID (ID=19)
 
Else
   - No Actions - (To add one, press 'Action')
 

Which sends this notification

image.thumb.png.bc81b861e8bc7a237dfc60ac027df186.png

Edited by Jimbo.Automates
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...