Jump to content

Status in Program


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

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...