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. Development
  3. NodeManager
  4. Motion sensor node to always report not tripped state to reset controller value

Motion sensor node to always report not tripped state to reset controller value

Scheduled Pinned Locked Moved NodeManager
1 Posts 1 Posters 23 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.
  • N Offline
    N Offline
    nero01
    wrote on last edited by
    #1

    Hi,
    i am running a pro mini 3.3v at 1mhz with panasonic motion sensor and rfm69 radio. I would really like to use the nodemanager but the following case is not working.

    I have set the mode to CHANGE to make sure that the controller is reset when the LOW interrupt is called. This is also working fine, but means that the sensor is spamming the gateway because it wakes up every time.
    motion.setInterruptMode(CHANGE);

    Then i tried to use the wait after interrupt, which works, the sensor does not wake up the next 30 seconds. The issue is that the LOW state is never triggered, due to the wait statement.

    motion.setWaitAfterInterrupt(30000);

    My requirement is that the sensor should always send a motion (0) event after a motion (1) event, to make sure that the home assistant sensor is also reset to no motion.

    How could i accomplish that or should i instead forget about nodemanager?

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


    24

    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