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. Door sensor reed switch delay

Door sensor reed switch delay

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 1.6k Views 3 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.
  • rickybeeR Offline
    rickybeeR Offline
    rickybee
    wrote on last edited by
    #1

    This is my first attempt at a home automation system. I have a working serial gateway plugged into a Raspi B+ running Domoticz. I have made a couple of door sensors and experimented with a relay. Pretty good so far but there's a significant delay, about 5 seconds on the reed sensor node, between changing state and domoticz registering.

    For example, I open the sensor, 5 seconds later domoticz says it is open. This wouldn't be so bad but it isn't just a delay. If I open the sensor for, say, 3 seconds and close it. Domoticz doesn't show open 5 seconds later, then closed 3 seconds after that. It simply doesn't register at all.

    I don't know about you, but I'm sure that especially on a cold day, I can open the door, enter, and close it within 5 seconds. In which case it would never register.

    Is there any way I could reduce this delay?

    TheoLT 1 Reply Last reply
    0
    • rickybeeR rickybee

      This is my first attempt at a home automation system. I have a working serial gateway plugged into a Raspi B+ running Domoticz. I have made a couple of door sensors and experimented with a relay. Pretty good so far but there's a significant delay, about 5 seconds on the reed sensor node, between changing state and domoticz registering.

      For example, I open the sensor, 5 seconds later domoticz says it is open. This wouldn't be so bad but it isn't just a delay. If I open the sensor for, say, 3 seconds and close it. Domoticz doesn't show open 5 seconds later, then closed 3 seconds after that. It simply doesn't register at all.

      I don't know about you, but I'm sure that especially on a cold day, I can open the door, enter, and close it within 5 seconds. In which case it would never register.

      Is there any way I could reduce this delay?

      TheoLT Offline
      TheoLT Offline
      TheoL
      Contest Winner
      wrote on last edited by
      #2

      @rickybee It depends what you're definition is of the delay. If you're meaning that the web page responds 5 seconds after the door opens or closed. Than you shouldn't worry. The domotica web interface is designed to give visual notification with a delay. This was done to ensure backend performance.

      But if you define rules. e.g. turn a lamp on when a door opens, that should respond almost immediately. Hope this helps.

      1 Reply Last reply
      1
      • rickybeeR Offline
        rickybeeR Offline
        rickybee
        wrote on last edited by
        #3

        Thanks Theol, following your comment I went back and did some more tests. Opening the sensor for a couple of seconds and closing it again the web interface showed no change. However, when I checked the log it does show the 2 second event.
        So, when you check the log while on vacation it is going to show all the events no matter how quickly someone rushed in the door and closed it.

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


        10

        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