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. Power / pulse meter

Power / pulse meter

Scheduled Pinned Locked Moved NodeManager
3 Posts 3 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.
  • simboS Offline
    simboS Offline
    simbo
    wrote on last edited by
    #1

    Howdy,

    I'm loving the NodeManager for my temperature, humidity and repeater nodes. I've just built a battery power meter node and noticed some weird behavior. I'm using the latest version 1.7.

    The pulse sensor can interrupt < 1 second. That is to say, the pulse frequency can be less than 1 second at certain periods of the day. I find that I can't get the sensor to report because the node interrupts and then sleeps and then interrupts again before the sleep expires and wakes to send the report. So in the debug, all you see is the interrupt processing and never a send.

    Just for debug, I've set both the sleep and report interval to 1 second and I've seen this behavior. What I would like to do is to set the sleep and report interval to 5 minutes, but I don't think that it would ever report.

    Any thoughts?

    U 1 Reply Last reply
    0
    • simboS simbo

      Howdy,

      I'm loving the NodeManager for my temperature, humidity and repeater nodes. I've just built a battery power meter node and noticed some weird behavior. I'm using the latest version 1.7.

      The pulse sensor can interrupt < 1 second. That is to say, the pulse frequency can be less than 1 second at certain periods of the day. I find that I can't get the sensor to report because the node interrupts and then sleeps and then interrupts again before the sleep expires and wakes to send the report. So in the debug, all you see is the interrupt processing and never a send.

      Just for debug, I've set both the sleep and report interval to 1 second and I've seen this behavior. What I would like to do is to set the sleep and report interval to 5 minutes, but I don't think that it would ever report.

      Any thoughts?

      U Offline
      U Offline
      user2684
      Contest Winner
      wrote on last edited by
      #2

      @simbo is this by chance happening because while the node is going to sleep or resume from it the interrupt is lost or because when the value of the interrupt is checked (HIGH or LOW) it is already back to the original value and so the change is not detected? Just trying to understand better, for sure I've never run a test with interrupts in less than one second so this is potentially a bug. Also, any code you can share would help in debugging the issue. Thanks!

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Peter Leschev
        wrote on last edited by Peter Leschev
        #3

        Does your power meter node have a temperature sensor as well? If so, it smells like a similar problem i've reported here

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


        21

        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