Jump to content

Basic program condition question


beninsteon

Recommended Posts

Hi,

I'm using the UDI occupancy v2 nodeserver and would like to know how the following is evaluated:

EnterNeighbourhood - [ID 0078][Parent 0001]

If
        'Neighbourhood' Occupied is True
    And From    Sunset 
        To      Sunrise (next day)
 
Then
        Set 'Outside / Scenes / Outside Lights' On
 
Else
   - No Actions - (To add one, press 'Action')

Does 'neighbourbood' have to change from False to True for this to be triggered? Or is the 'neighbourhood' occupied boolean polled every once in a while? I only want this to trigger if I enter my local neighbourhood when it's dark outside - don't want to turn the outside lights on in the middle of the night while I'm sleeping in bed because the ISY notices I'm in the neighbourhood.

(I think In order to prevent this from triggering because I'm at home at sunset, I'll move the schedule conditions into a folder condition.)

Thanks,

Ben

Link to comment

Yes, I have something very similar

DrivingInGolfview - [ID 0041][Parent 0040]

If
        From    Sunset  - 15 minutes
        To      Sunrise + 15 minutes (next day)
    And 'Paul's iPhone / Paul's iPhone Home' Occupied is True
 
Then
        Set 'Yard / Premise Lights / Floodlights On' On
        $Occupied  = 1
        $Occupied Init To 1
        Set 'HVAC / Family Room' Home / Away Home
 
Else
   - No Actions - (To add one, press 'Action')
 
Iphone location from locative to turn on floodlights and kitchen table light when pulling 
in the neighborhood via ISY portal

 

Link to comment

@beninsteon

If
    'Neighbourhood' Occupied is True
  And
     From    Sunset
     To      Sunrise (next day)

 

ISY doesn't poll Insteon devices. They report in when their status changes.

These conditions will auto-trigger if the program and folder is enabled.

Then will run at sunset and if
Neighbourhood Occupied is True.
Then will run if Neighbourhood Occupied just became true and from sunset to sunrise

Else will run if Neighbourhood Occupied just became true during the day time.
Else will run at sunset if Neighbourhood Occupied is False
Else will run at sunrise, no matter what Neighbourhood Occupied is doing
Else will run if Neighbourhood Occupied just became false no matter what time it is.

 

Clear as mud?  :)

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...