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.

Email sends when I execute Then but not when program triggers

Featured Replies

Posted

 

I have a program:

IF MOTION_DETECTED THEN

  Notification

  Repeat 3 times

      Light fast on

      Wait 2 seconds

      Light fast off

ELSE

END

 

Notification is sent and the light blinks when I run the THEN

But when I actually trigger the MOTION the light blinks as expected but the notification is not sent!

Any ideas?

TIA

We need to see the exact syntax for the program. There are various methods of detecting events.

Right click on the program title in the program tree and select copy to clipboard. Then past it here.

What MS device are you using?

Edited by larryllix

  • Author

<?xml version="1.0" ?><triggers><d2d><trigger><id>13</id><name>Motion Org</name><parent>1</parent><if><and /><status id ="ST" node="36 93 30 1" op="IS"><val uom="51" prec="0">100</val></status></if><then><notify content="1">2</notify><repeat><for><times>3</times></for></repeat><cmd id="DFON" node="26 D7 2E 1"></cmd><wait><seconds>2</seconds></wait><cmd id="DFOF" node="26 D7 2E 1"></cmd></then><else></else><comment></comment></trigger></d2d></triggers>

 

2842-222. 4814 Rev 2.6

Thank You

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.