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 49.1k 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.
  • M MarkV

    Thanks for the commet and i defently need some help.
    Sorry i didn't see your "new" post about the pulse counter.

    I'm uploading the sketches now.
    I only got one question, what should i uncomment in the sketches when i'm not using the display and counter?

    And when i got this working, is it possible to add to other sensors, a CNY70 (reflector sensor) to readout a water and gas meter? (but this is the next step ;-) )

    I also installed the beta version from domoticz.

    AWIA Offline
    AWIA Offline
    AWI
    Hero Member
    wrote on last edited by
    #33

    @MarkV Next to my reaction in the other post. I cannot be hard to add more (different) sensors to the sketch. As long as you do not attach LCD / rotary, you will only miss the information and interaction.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      poldim
      wrote on last edited by
      #34

      Merlin Gerin, Eaton, and Beger...quite the mix.

      I like the domoticz display....whats your overall opinion on it?

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jeti
        wrote on last edited by jeti
        #35

        did anybody already upgraded the 12 Input pulse counter to 2.0? just asking :bowtie:

        AWIA 1 Reply Last reply
        0
        • J jeti

          did anybody already upgraded the 12 Input pulse counter to 2.0? just asking :bowtie:

          AWIA Offline
          AWIA Offline
          AWI
          Hero Member
          wrote on last edited by
          #36

          @jeti If you are just asking. :smirk: I have updated it to 2.0 beta

          J 1 Reply Last reply
          0
          • AWIA AWI

            @jeti If you are just asking. :smirk: I have updated it to 2.0 beta

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

            @AWI: :+1:

            would you mind sharing the sketches? :innocent:

            AWIA 1 Reply Last reply
            0
            • J jeti

              @AWI: :+1:

              would you mind sharing the sketches? :innocent:

              AWIA Offline
              AWIA Offline
              AWI
              Hero Member
              wrote on last edited by
              #38

              @jeti Take a loot at git. The master sketch needs a little change (mysensors.h i.s.o. mysensor.h) The slave is not changed. I am a lttle disabled at the moment, so can't help you any furthe right now.

              J NickBuilderN 2 Replies Last reply
              0
              • AWIA AWI

                @jeti Take a loot at git. The master sketch needs a little change (mysensors.h i.s.o. mysensor.h) The slave is not changed. I am a lttle disabled at the moment, so can't help you any furthe right now.

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

                @AWI thanks alot, i will have a look :+1:

                hopefully nothing serios... either way all the best :thumbsup:

                1 Reply Last reply
                0
                • AWIA AWI

                  @jeti Take a loot at git. The master sketch needs a little change (mysensors.h i.s.o. mysensor.h) The slave is not changed. I am a lttle disabled at the moment, so can't help you any furthe right now.

                  NickBuilderN Offline
                  NickBuilderN Offline
                  NickBuilder
                  wrote on last edited by NickBuilder
                  #40

                  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!

                  AWIA 1 Reply Last reply
                  0
                  • NickBuilderN 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!

                    AWIA Offline
                    AWIA 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
                    • AWIA 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
                        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