Announcement

Collapse
No announcement yet.

Active zone ON, but value = 0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Blade
    replied
    No problem.
    I could see it changing to 0 but I could not find it happening in the plugin.
    Glad you got it sorted out

    Leave a comment:


  • peterpc
    replied
    Hi Bob,

    Did a lot of testing, including making new Active zone devices, to see when things go wrong.
    The new active zone for the bathroom was working ok.
    Until I changed the house/unit code to C66. Then it went wrong again.
    I then remember that I had a script running for the 'old' doomotion zones from HS2. That was triggering the zones with the value = 0 commands!
    So problem is solved.
    I want to thank you for all your help to find my problem.
    But it was my fault, not the BLRadar plugin.

    Leave a comment:


  • Blade
    replied
    OK That is odd then.
    In the debug log I do see 1210 value changing to 0 but I am stumped right now how it is happening. I see a callback from HS3 into BLRadar that the 1210 device changed from 100 to 0 but I am not sure what initiated it.

    Leave a comment:


  • peterpc
    replied
    2419:
    blradar.PluginFunction("ResumeActiveZone", new Object(){"1211"})

    1210:
    blradar.PluginFunction("SuspendActiveZone", new Object(){"1210"})

    Leave a comment:


  • Blade
    replied
    Do you have any scripting code set for 2419 or 1210 in the plugin?

    Leave a comment:


  • peterpc
    replied
    21:29 start log
    21:29:30 went from hobbykamer to corridor to bathroom
    21:30 went to corridor
    21:30:50 status zone bathroom went 0 (made a speak event to notice)
    22:30:45 went to bathroom
    22:31 went back to hobbykamer and stopped logging.
    Few minutes later zone bathroom went off.
    Attached Files

    Leave a comment:


  • Blade
    replied
    This is puzzling
    I added more debug logging
    Can you try 2.0.116 in the updater and capture another log of the same thing
    Specify what you did in the log file

    Leave a comment:


  • peterpc
    replied
    1210 Badkamer bezet Active Zone Badkamer 1/17/2016 20:37:21 C66
    2419 Badkamer Motion Badkamer 1/17/2016 20:34:20 eth484_3_6
    1211 Gang boven bezet Active Zone Gang boven 1/17/2016 20:37:18 Z30
    2393 gang boven Motion Gang boven 1/17/2016 20:36:18 eth484_1_1

    Badkamer = bathroom
    gang boven= corridor

    Leave a comment:


  • Blade
    replied
    Can you list the device refs for the different sensors

    Leave a comment:


  • peterpc
    replied
    installed 115.
    debug on
    Go in bathroom, motion
    go to corridor, motion corridor
    go to bathroom, motion bathroom
    When I am still in the bathroom, status zone bathroom goes to 0, string stays on active zone ON.
    leave the bathroom, few minutes later bathroom active zone goes to off, like it should.
    So I think when I enter the batroom for the second time, SuspendActiveZone suspends the string, but not the status? status is even going to 0 while the bathroom motion sensor is activated multiple times. (my motion sensors detect motion, go on and within 1 second go off again, still motion? go on within 1 second go off again....,that is the way they work. It are not the motion sensors that can stay on for multiple minutes)
    Attached the debug:
    Attached Files

    Leave a comment:


  • Blade
    replied
    OK is the bathroom sensor sending another ON when you go back in?
    Try 2.0.115 in the HS3 updater and see if it helps.

    Leave a comment:


  • peterpc
    replied
    But when I am back in the bathroom, status must not go to 0, while string say active zone ON.

    Leave a comment:


  • Blade
    replied
    When you leave the bathroom the corridor sensor resumes the active zone so that means the plugin will continue to process it.
    When you go back in the bathroom does it suspend the active zone

    Leave a comment:


  • peterpc
    replied
    When I go back to the bathroom, the status for the bathroom zone goes to 0 after a short time and the string stays on active.

    When I am in the bathroom, active zone has to stay on and status has to stay 100, not 0.

    Leave a comment:


  • Blade
    replied
    Originally posted by peterpc View Post
    Installed 114.
    When I enter the bathroom , active zone goes ON and status is 100.
    When I leave the bathroom, the motion sensor in the corridor will trigger and send the "blradar.PluginFunction("ResumeActiveZone", new Object(){"1210"})" command.
    When I go back to the bathroom, the status for the bathroom zone goes to 0 after a short time and the string stays on active.
    When I then leave the bathroom, after the right time the zone goes to OFF.(status was already OFF)
    I have attched the log.
    OK tell me what in the quote is not working correctly so I can nail it down

    Leave a comment:

Working...
X