Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Basic program condition question

Featured Replies

Posted

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

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

 

@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?  :)

Edited by larryllix

  • Author

Exactly what I thought, thanks @larryllix and @paulbates

The "plain English" here is "if  neighborhood changes and becomes true" then....

What are you using for presence sensing?

Thanks!

Ben

Edited by beninsteon

Ben

I use the ios Locative app,  configured with the link provided in the portal

Paul

I do not detect anything outside. I use 11 Insteon MSes inside.

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.