Jump to content

Camect NS: Unexpected response


Go to solution Solved by Jimbo.Automates,

Recommended Posts

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

Link to comment
  • 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.

  • Like 1
Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...