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. My Project
  3. [contest] My 12 input high precision pulse counter (kWh/ W)

[contest] My 12 input high precision pulse counter (kWh/ W)

Scheduled Pinned Locked Moved My Project
[contest]
43 Posts 9 Posters 54.0k Views 10 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 NickBuilder

    Hi @AWI!

    The GIT link is broken. Can I find your sketch for this counter elsewhere?

    I would like to implement this counter as a "local sensor" on an ethernet gateway without radio. I guess this would require some tweaking but right now I'm confident. x)

    Thanks!

    A Offline
    A Offline
    AWI
    Hero Member
    wrote on last edited by AWI
    #41

    @NickBuilder soory but the transition to 2.0 gave me a little GIT headache and I broke some links.. I restored the pulse counter sketches. Be carefull with combining the sketch with ethernet functionality... Both eat a lot of RAM/ROM and are time critical.
    The sketch also stores a large amount of data in EEPROM. Be aware that the space there is more limited than the 256 bytes mentioned with saveState().
    Please share your progress

    J 1 Reply Last reply
    0
    • A AWI

      @NickBuilder soory but the transition to 2.0 gave me a little GIT headache and I broke some links.. I restored the pulse counter sketches. Be carefull with combining the sketch with ethernet functionality... Both eat a lot of RAM/ROM and are time critical.
      The sketch also stores a large amount of data in EEPROM. Be aware that the space there is more limited than the 256 bytes mentioned with saveState().
      Please share your progress

      J Offline
      J Offline
      jeti
      wrote on last edited by
      #42

      @AWI as did got get my modifcations 100% running I was pumped to see your latest update, but for reasons i do not understand i get an error while compiling:

      error: 'hour' was not declared in this scope
      

      same is the case for setTime, minute etc...

      i already tried some stuff with the time.h but it seems nothing has an impact, not even deleting the whole library (which should end in a "libraby not found" error, but only shows the errors described above)
      any idea what to look for?

      thanks

      J 1 Reply Last reply
      0
      • J jeti

        @AWI as did got get my modifcations 100% running I was pumped to see your latest update, but for reasons i do not understand i get an error while compiling:

        error: 'hour' was not declared in this scope
        

        same is the case for setTime, minute etc...

        i already tried some stuff with the time.h but it seems nothing has an impact, not even deleting the whole library (which should end in a "libraby not found" error, but only shows the errors described above)
        any idea what to look for?

        thanks

        J Offline
        J Offline
        jeti
        wrote on last edited by
        #43

        ok found the answer :stuck_out_tongue:
        the latest Time.h is only pointing to TimeLib.h so if I am calling TimeLib.h (instead of Time.h) directly it compiles

        1 Reply Last reply
        1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        15

        Online

        12.1k

        Users

        11.2k

        Topics

        113.4k

        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