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: Unexpected response

Featured Replies

Posted

Hi @Jimbo.Automates, I had an unexpected response today  using the NS.  I have a program:

Squirrel Detect - [ID 0154][Parent 0001]

If
        'Camect / Deck / Deck animal' Squirrel is True
     Or 'Camect / Deck / Deck human' Person is True
 
Then
        Set 'Squirrel Blast / Virtual Buttons Controller / Virtual Button 01' Push Button
 
Today I enabled "unknown animal" on the Camect app for this camera.  Shortly there after Camect detected an unknown animal and the above program triggered.  The screen shot of the node is attached. 

Here is the log file entry:

2023-05-04 10:05:53,665 Thread-14  udi_interface      DEBUG    Host:callback: {'type': 'alert', 'desc': 'Deck just saw an unknown animal

I'll PM you the log file

Thank you.

Screenshot 2023-05-04 101901.png

Solved by Jimbo.Automates

Go to solution
  • Solution

I see in the log it sets GV9 which is animal -> squirrel to zero:

2023-05-04 10:05:53,667 Thread-14  udi_interface.node DEBUG    node:setDriver: 01_003_animal:Deck animal Reporting set GV9 to 0 to Polyglot
2023-05-04 10:05:53,667 Thread-14  udi_interface.node DEBUG    node:reportDriver: Updating value to 0
2023-05-04 10:05:53,667 Thread-14  udi_interface.interface DEBUG    interface:send: PUBLISHING {'set': [{'address': '01_003_animal', 'driver': 'GV9', 'value': '0', 'uom': 2}]}
2023-05-04 10:05:53,667 Thread-14  udi_interface      DEBUG    BaseNode:set_driver: 01_003_animal:Deck animal set_driver(GV9,0) 

Then sets GV10 which is animal -> unknown animal to one:

2023-05-04 10:05:53,668 Thread-14  udi_interface.node DEBUG    node:setDriver: 01_003_animal:Deck animal Reporting set GV10 to 1 to Polyglot
2023-05-04 10:05:53,668 Thread-14  udi_interface.node DEBUG    node:reportDriver: Updating value to 1
2023-05-04 10:05:53,668 Thread-14  udi_interface.interface DEBUG    interface:send: PUBLISHING {'set': [{'address': '01_003_animal', 'driver': 'GV10', 'value': '1', 'uom': 2}]}
2023-05-04 10:05:53,668 Thread-14  udi_interface      DEBUG    BaseNode:set_driver: 01_003_animal:Deck animal set_driver(GV10,1) 

There is a bug in ISY which I reported a long time ago when using Control and a node sends 0 (False) it still triggers a program that is looking for 1 (True).  @Chris Jahn acknowledged the bug but it hasn't made it to the top of his list yet.

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.