Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. [Solved] Slow response, binary senor and Vera

[Solved] Slow response, binary senor and Vera

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 3.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mht
    wrote on last edited by mht
    #1

    I have wired my AC doorbell through a optocoupler connected to a sensor built on Arduino Pro Mini. I have built the sensor as shown in the BinarySwitchSensor example. My setup is Vera UI7 with a serial gateway.

    The senors shows up on Vera UI. But the status change on the sensor is shown with a delay of several seconds. Any idea whats causing the delay? I dont have this delays on my Z-wave devices.

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      Must be Vera. The gateway doesn't have the capacity to buffer/delay anything.

      1 Reply Last reply
      0
      • sowardS Offline
        sowardS Offline
        soward
        wrote on last edited by
        #3

        Probably the Vera, could try power cycling it to see if it speeds things up a bit?

        Could also ssh in to your vera and run:

        tail -f /var/log/cmh/LuaUPnP.log |grep Arduino
        

        Then push the bell and see how long it takes for it to show up in the log. If it show up there quickly, but you don't see the change on the web or other i/f the slowdown is either the vera itself or the system/device doing the display.

        I have a doorbell sensor and a trigger which sends a growl notification using the push plugin. The sensor also flashes a bright LED directly.

        I just tried 5 doorbell pushes while holding the laptop and phone. One took 4 seconds to hit the log and another couple to hit the phone. All the rest took only around 1 second to hit the log and another 1-2 for the growl notification to hit the phone.

        I am using the ESP8266 gateway, and was using an ethernet gateway before that. I originally used the serial gateway, but that was before I had the doorbell sensor.

        Dunno if any of that helps though.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mht
          wrote on last edited by
          #4

          Thanks for your help.

          The slow response is due to Vera and PLEG not the sensor.

          The log indicated almost an immidiate response. The UI changed about 1 second later. I have defined some lights to turn on by using PLEG and it take about 10 seconds for PLEG to send the z-wave commands. May have to go for the Vera Scenes instead of PLEG to hopefully speed things up.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mht
            wrote on last edited by
            #5

            It had nothing to do with PLEG.

            Changing the device variable IgnoreTripTime from 10 to 1 seems to have solved my problem :)

            As far as I can tell this may have to do with some bouncing problem with my sensor design...

            1 Reply Last reply
            1
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            18

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular