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.

Problem with Programs

Featured Replies

Posted

I have a program that is currently giving me problems. The Security Program is designed to enable a second program that sends notifications with door openings. My problem is that the Security program is not enabling the Chesapeake Door Open program when either of the KPL buttons are pressed. I obviously am doing something stupid because this conceptual approach has worked flawlessly in the past. The second program works fine when manually enabled so the problem is with the first program. Any help will be appreciated.

 

Security - [iD 0011][Parent 001C]

 

If

        Control 'KPLs / Kitchen KPL / Kitchen KPL D (Door Sensors)' is switched On

     Or Control 'KPLs / Deck KPL / Deck KPL D (Door Sensors)' is switched On

 

Then

        Enable Program 'Chesapeake Door Open (Disabled)'

 

Else

        Disable Program 'Chesapeake Door Open (Disabled)'

 

 

Chesapeake Door Open (Disabled) - [iD 0012][Parent 001C][Not Enabled]

 

If

        Control 'Sensors (Door) / Front Door Sensor-Opened' is switched On

     Or Control 'Sensors (Door) / Deck Door Sensor' is switched On

     Or Control 'Sensors (Door) / Garage Side Door Sensor' is switched On

     Or Control 'Sensors (Door) / Kitchen Door Sensor' is switched On

     Or Control 'Sensors (Door) / Man Cave Door Sensor' is switched On

 

Then

        Send Notification to 'Donnie Wheeler'

 

Else

   - No Actions - (To add one, press 'Action')

 

The status is disabled until either the Deck or Kitchen KPL D is On.

 

I have a program that is currently giving me problems. The Security Program is designed to enable a second program that sends notifications with door openings. My problem is that the Security program is not enabling the Chesapeake Door Open program when either of the KPL buttons are pressed. I obviously am doing something stupid because this conceptual approach has worked flawlessly in the past. The second program works fine when manually enabled so the problem is with the first program. Any help will be appreciated.

 

Security - [iD 0011][Parent 001C]

 

If

        Control 'KPLs / Kitchen KPL / Kitchen KPL D (Door Sensors)' is switched On

     Or Control 'KPLs / Deck KPL / Deck KPL D (Door Sensors)' is switched On

 

Then

        Enable Program 'Chesapeake Door Open (Disabled)'

 

Else

        Disable Program 'Chesapeake Door Open (Disabled)'

 

 

Chesapeake Door Open (Disabled) - [iD 0012][Parent 001C][Not Enabled]

 

If

        Control 'Sensors (Door) / Front Door Sensor-Opened' is switched On

     Or Control 'Sensors (Door) / Deck Door Sensor' is switched On

     Or Control 'Sensors (Door) / Garage Side Door Sensor' is switched On

     Or Control 'Sensors (Door) / Kitchen Door Sensor' is switched On

     Or Control 'Sensors (Door) / Man Cave Door Sensor' is switched On

 

Then

        Send Notification to 'Donnie Wheeler'

 

Else

   - No Actions - (To add one, press 'Action')

 

The status is disabled until either the Deck or Kitchen KPL D is On.

Can your KPLs produce anything except 'On'?

If not, what would run Else to disable your Chesapeake program?

  • Author

The problem is not the disablement step, the program never enables. If something apparent doesn't get revealed here at the forum, I am going to erase both programs and rewrite them from scratch.

The problem is not the disablement step, the program never enables. If something apparent doesn't get revealed here at the forum, I am going to erase both programs and rewrite them from scratch.

What are your trigger KPLs set up as?

 

Programs look OK, but if the KPLs can't produce and 'On' then this would make sense.

 

Have a look at the options for the KPLs and there should be no 'Off' setting enabled.

Edited by larryllix

  • Author

Sorry, but I don't understand "What are your trigger KPLs set up as?".

  • Author

Both buttons are in Toggle Mode.

OK.

 

When either of your KPL buttons produce an On your program should trigger Then.

 

When your KPLs produce an Off signal there is no program to trigger that detects the 'Off' signal.

 

IIRC there is no status for KPLs?

 

Try this to capture  Off signals and run Else.

 

If   

     (

          Control 'KPLs / Kitchen KPL / Kitchen KPL D (Door Sensors)' is switched On

     Or Control 'KPLs / Deck KPL / Deck KPL D (Door Sensors)' is switched On

      )

   AND Control 'KPLs / Kitchen KPL / Kitchen KPL D (Door Sensors)' is NOT switched Off

   AND Control 'KPLs / Deck KPL / Deck KPL D (Door Sensors)' is NOT switched Off

 

I am not sure where the parenthesis formatting falls but  the AND has a higher precedence so the OR lines have to be grouped.

Edited by larryllix

  • Author

I switched both buttons to non-toggle off and the second program is still disabled.

I switched both buttons to non-toggle off and the second program is still disabled.

Then it would seem your signals are not getting into ISY.

 

Check your links from each device and do an ISY link compare (button on report box)

 

If different do a restore

Edited by larryllix

  • Author

I tried the program above with buttons set to non-toggle off and all toggle. Neither enabled the program. I am going to erase both programs and rewrite them. Will report back later.

I tried the program above with buttons set to non-toggle off and all toggle. Neither enabled the program. I am going to erase both programs and rewrite them. Will report back later.

See my previous post. Check your links. Then you will know what may have  happened.

  • Author

I changed the program to trigger if the KPL button (Toggle On/Off) was 100% and it runs perfectly. Don't know why and don't particularly care, it works. From my perspective though this is weird behavior.

Then you must have changed your lines to status, no?

 

Switched has no false. It is a trigger and is happenning or not happenning.

 

Status has two logical states..true and false.

  • Author

Then you must have changed your lines to status, no? Yes

 

Switched has no false. It is a trigger and is happenning or not happenning.

 

Status has two logical states..true and false.

  • Author

Larry: Thanks for your help.

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.