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.

Camect NS: Triggering using STATUS or CONTROL

Featured Replies

Posted

Hi @Jimbo.Automates,  In your instructions for this NS you show an example of triggering on a skunk, see attached.  I cannot duplicate your program for some reason. 

If I use STATUS I get this:

Squirrel Detect - [ID 0154][Parent 0001]

If
        'Camect / Feeder Camera / Feeder Camera animal' Squirrel is True
 
Then
        Resource 'Squirrel Blaster(14)'
        Set 'Notifications / Notification Controller / UD Mobile' Send Message Content 10 Notification ID (ID=10)

 If I use CONTROL the closest I can get is this:

Squirrel Detect - [ID 0154][Parent 0001]

If
        'Camect / Feeder Camera / Feeder Camera animal' is switched Squirrel
 
Then
        Resource 'Squirrel Blaster(14)'
        Set 'Notifications / Notification Controller / UD Mobile' Send Message Content 10 Notification ID (ID=10)
 
This program triggers twice, False>True and True>False

How did you program that?

I believe the alerts are received immediately, what does the short/long polls control?

 

 

Thank you

 

Screenshot 2024-06-26 154412.png

Screenshot 2024-06-26 155005.png

On 6/26/2024 at 1:14 PM, tmorse305 said:

This program triggers twice, False>True and True>False

How did you program that?

I will have to review my program when I get home.  But there is a Bug for control that it triggers for both true & false.  I reported it to @Chris Jahn a long time ago and he said it was on the list.  I've tried to find the correspondence but it must have been in old PM's that I cleared out.

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.