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. Announcements
  3. 💬 Water Meter Pulse Sensor

💬 Water Meter Pulse Sensor

Scheduled Pinned Locked Moved Announcements
109 Posts 37 Posters 30.9k Views 35 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.
  • B Offline
    B Offline
    Bur Han
    wrote on last edited by
    #68

    How can i get the pulses from SonOff.... i cannot find any digital pin 3 in sonoff... im new to this please guide me

    1 Reply Last reply
    0
    • SoloamS Offline
      SoloamS Offline
      Soloam
      Hardware Contributor
      wrote on last edited by
      #69

      Any one used this approach? From the text I see that the node sleeps! How does it measures the consumption if the node is sleeping?

      Thank you

      mfalkviddM 1 Reply Last reply
      0
      • SoloamS Soloam

        Any one used this approach? From the text I see that the node sleeps! How does it measures the consumption if the node is sleeping?

        Thank you

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by mfalkvidd
        #70

        @soloam could you clarify what you refer to when saying "this"? Earlier posts discuss infrared, led, magnetometer and other solutions so it is a bit hard to answer your question.

        1 Reply Last reply
        0
        • SoloamS Offline
          SoloamS Offline
          Soloam
          Hardware Contributor
          wrote on last edited by
          #71

          @mfalkvidd hello!

          I was referring to this statement in the site:

          "Use this mode if you power the sensor with a battery. In this mode the sensor will sleep most of the time and only report the cumulative water volume."

          Thank you

          1 Reply Last reply
          1
          • gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #72

            according to the sensor you use, each pulse should wake the node and add a count, then back to sleep.

            1 Reply Last reply
            1
            • SoloamS Offline
              SoloamS Offline
              Soloam
              Hardware Contributor
              wrote on last edited by
              #73

              That is nice! But I would have to test it out! Probably that would make the node all the time awake during a long bath! Ok, it would not use the radio all the time, but I would like to know who that would affect the battery!

              Thank you all for the feedback

              K 1 Reply Last reply
              0
              • SoloamS Soloam

                That is nice! But I would have to test it out! Probably that would make the node all the time awake during a long bath! Ok, it would not use the radio all the time, but I would like to know who that would affect the battery!

                Thank you all for the feedback

                K Offline
                K Offline
                kimot
                wrote on last edited by kimot
                #74

                @soloam
                We sometimes forgot about other circuit than Arduino.
                Use CMOS counter IC and wake up your Arduino for example every 20 impulse and read counter status.
                If you want Safe battery.

                1 Reply Last reply
                0
                • bjornhallbergB Offline
                  bjornhallbergB Offline
                  bjornhallberg
                  Hero Member
                  wrote on last edited by
                  #75

                  @flopp Did you ever manage to stabilize the readings? Am I understanding you correctly that the readings were fine but the transmission got the reading scrambled?

                  Did you try to find a magnetic field with the meter instead? I have a similar meter and I'm wondering how best to approach the problem. I've seen people hook up Raspberries and cameras to do OCR basically but that seems like way too complex for an easy problem.

                  1 Reply Last reply
                  0
                  • bjacobseB Offline
                    bjacobseB Offline
                    bjacobse
                    wrote on last edited by bjacobse
                    #76

                    @flopp said in 💬 Water Meter Pulse Sensor:

                    TCRT5000 IR senso

                    I have not had good results using TCRT5000 IR sensor, did you?
                    @bjornhallberg well I still think this is the best approach to use RPI + OCR

                    https://forum.mysensors.org/topic/1594/automatic-water-meter-reading-with-a-webcam
                    https://blog.m.nu/vattenmatning-med-raspberry-pi-och-webkamera/

                    F zboblamontZ 2 Replies Last reply
                    0
                    • bjornhallbergB Offline
                      bjornhallbergB Offline
                      bjornhallberg
                      Hero Member
                      wrote on last edited by
                      #77

                      While looking into the water meter I realized that we are getting a "smart" meter replacement soon. I'll see if I can speed up the replacement schedule. Anyhow, the replacement is a Kamstrup Multical 21 (https://www.kamstrup.com/en-en/water-solutions/water-meters/multical-21) which has several options for reading:

                      • Requesting the data via optical interface?
                      • Enabling the pulse function via optical interface, and then reading the IR pulse at 1imp/10lit.
                      • Reading the wireless mbus signal? (e.g. https://github.com/weetmuts/wmbusmeters)
                      zboblamontZ 1 Reply Last reply
                      0
                      • bjornhallbergB bjornhallberg

                        While looking into the water meter I realized that we are getting a "smart" meter replacement soon. I'll see if I can speed up the replacement schedule. Anyhow, the replacement is a Kamstrup Multical 21 (https://www.kamstrup.com/en-en/water-solutions/water-meters/multical-21) which has several options for reading:

                        • Requesting the data via optical interface?
                        • Enabling the pulse function via optical interface, and then reading the IR pulse at 1imp/10lit.
                        • Reading the wireless mbus signal? (e.g. https://github.com/weetmuts/wmbusmeters)
                        zboblamontZ Offline
                        zboblamontZ Offline
                        zboblamont
                        wrote on last edited by
                        #78

                        @bjornhallberg Suggest you discuss with your water supplier, and see what THEY intend to deploy for comms and explain what your own objectives are, that may refine what you are looking at, and they MIGHT actually help rather than be play "stupid" which is unfortunately common nowadays. In all probability they will be looking at wireless m-bus for drive-by readings, this is the predominant method of retrieval.
                        I admit to surprise at them deploying ultrasonics, they are on the expensive end of the market but they are extremely reliable and accurate.

                        1 Reply Last reply
                        0
                        • bjacobseB bjacobse

                          @flopp said in 💬 Water Meter Pulse Sensor:

                          TCRT5000 IR senso

                          I have not had good results using TCRT5000 IR sensor, did you?
                          @bjornhallberg well I still think this is the best approach to use RPI + OCR

                          https://forum.mysensors.org/topic/1594/automatic-water-meter-reading-with-a-webcam
                          https://blog.m.nu/vattenmatning-med-raspberry-pi-och-webkamera/

                          F Offline
                          F Offline
                          flopp
                          wrote on last edited by
                          #79

                          @bjacobse said in 💬 Water Meter Pulse Sensor:

                          @flopp said in 💬 Water Meter Pulse Sensor:

                          TCRT5000 IR senso

                          I have not had good results using TCRT5000 IR sensor, did you?

                          I didn’t get it to work.
                          I was so lucky that my water company change the meter to a meter with wireless m-bus.
                          So I bought a box for this and now I have 100% correct readings.

                          1 Reply Last reply
                          0
                          • bjacobseB bjacobse

                            @flopp said in 💬 Water Meter Pulse Sensor:

                            TCRT5000 IR senso

                            I have not had good results using TCRT5000 IR sensor, did you?
                            @bjornhallberg well I still think this is the best approach to use RPI + OCR

                            https://forum.mysensors.org/topic/1594/automatic-water-meter-reading-with-a-webcam
                            https://blog.m.nu/vattenmatning-med-raspberry-pi-och-webkamera/

                            zboblamontZ Offline
                            zboblamontZ Offline
                            zboblamont
                            wrote on last edited by
                            #80

                            @bjacobse Another option perhaps to consider (if it is physically viable), is to insert a meter and sensor of your choice within your property, they are not expensive nowadays and easy enough to fit ?
                            A simple meter and reed switch such as this link text or similar perhaps.

                            bjacobseB 1 Reply Last reply
                            0
                            • zboblamontZ zboblamont

                              @bjacobse Another option perhaps to consider (if it is physically viable), is to insert a meter and sensor of your choice within your property, they are not expensive nowadays and easy enough to fit ?
                              A simple meter and reed switch such as this link text or similar perhaps.

                              bjacobseB Offline
                              bjacobseB Offline
                              bjacobse
                              wrote on last edited by
                              #81

                              @zboblamont
                              In Sweden you need a certified installer to exchange your pipes, else in case of water damage your insurance won't cover.
                              so cheapest for me is a RPI with camera - but yes I would prefer a "real" measuring from a dedicated sensor

                              zboblamontZ F 2 Replies Last reply
                              0
                              • bjacobseB bjacobse

                                @zboblamont
                                In Sweden you need a certified installer to exchange your pipes, else in case of water damage your insurance won't cover.
                                so cheapest for me is a RPI with camera - but yes I would prefer a "real" measuring from a dedicated sensor

                                zboblamontZ Offline
                                zboblamontZ Offline
                                zboblamont
                                wrote on last edited by zboblamont
                                #82

                                @bjacobse Pardon my laughter, insurers look for any excuse for sure, but I have never heard yet where a water meter or any other competent insertion damaged a building, let alone an insurance company refused to compensate for a building which burned to the ground (99.9%) on the basis the water meter was not a verified install. For sure some loss adjusters will use any excuse, but really?
                                To clarify, in many countries a certified inspector or Engineer must certify that work is carried out within the regulations, it does not state that HE/SHE has carried out the work, only that it has been inspected and verified as compliant. You know any certified local plumbers with 5 minutes to spare, because that is how long it takes me to fit one, and about the time it takes a certified pipe-jockey to verify it's right and sign it off, if it really concerns you ?

                                I have 2 self fitted water meters with sensors, gas meter sensor etc, and a huge amount of DIY stuff any smartass insurer could IMPLY was a contributory factor to the disaster which befell my house, but frankly it wouldn't stand 1 second in Court before being laughed out...
                                Place hasn't burned down yet, fallen over in earthquakes, or been subjected to landslide, but luckily I don't have Swedish Insurers.... ;)
                                PS- I should clarify that the standing regulations are framed to quite rightly protect consumers as well as the service provider against cowboys interfering with apparatus. Changing light switches or sockets falls under the same overall umbrella despite everyone and their mother changing them.

                                1 Reply Last reply
                                0
                                • bjacobseB bjacobse

                                  @zboblamont
                                  In Sweden you need a certified installer to exchange your pipes, else in case of water damage your insurance won't cover.
                                  so cheapest for me is a RPI with camera - but yes I would prefer a "real" measuring from a dedicated sensor

                                  F Offline
                                  F Offline
                                  fredswed
                                  wrote on last edited by
                                  #83

                                  @bjacobse I believe you can replace the meter yourself if you own it yourself and have the necessary skills. I live in such an area and was told I could mount it myself if I was confident enough. But of course, the fault will be yours if your bad job causes damages. In reality it is quite unlikely that you can mount it badly and not notice the problem immediately.

                                  A more critical issue is that water meters are usually owned by the municipality or water company and they are sealed. It is impossible to replace the meter without breaking the seal and when the company notices they won't be happy at all.

                                  zboblamontZ 1 Reply Last reply
                                  1
                                  • F fredswed

                                    @bjacobse I believe you can replace the meter yourself if you own it yourself and have the necessary skills. I live in such an area and was told I could mount it myself if I was confident enough. But of course, the fault will be yours if your bad job causes damages. In reality it is quite unlikely that you can mount it badly and not notice the problem immediately.

                                    A more critical issue is that water meters are usually owned by the municipality or water company and they are sealed. It is impossible to replace the meter without breaking the seal and when the company notices they won't be happy at all.

                                    zboblamontZ Offline
                                    zboblamontZ Offline
                                    zboblamont
                                    wrote on last edited by zboblamont
                                    #84

                                    @fredswed And by extension (Possibly Swedish water suppliers differ from UK or Romanian counterparts?) the data retrieved from their devices is often regarded as their property also, and brick walls begin to appear ino what should be readily shared data. If they will not share, fitting a downstream device within your own control can often be the only solution, don't interfere, augment...

                                    As a perverse example, my own gas and electricity suppliers are the German monolith EON who provide and enable access to their 'graphs' online, updated with 1 or 2 month readings (gas and electricity).
                                    Having checked the base data for their graphs, I realised they were presenting a lovely graph based on complete bunkum, and developed and maintained my own ever since, which IS accurate. I checked recently and their graphs are still pretty but complete rubbish.
                                    Installing a gas meter sensor caused EON palpitations until they realised it was the commercial device for the meter and could not object on technicalities then quietly dropped objections, I don't care how they respond when I fit meters to the Consumer box, it is nowhere near their SMART meter which tells me nothing but tells them much, mainly that I halved their 2 monthly bill ;) .
                                    If the service provider will allow detailed sharing of YOUR data, all good and well as it is mutually beneficial, but if not, easy enough to solve at your own expense.
                                    I fitted two replacement upgraded radiators in the last month, somewhere a Romanian regulation lurks that I should not have done so, but the insurer doesn't give a damn unless it is found to have caused the demise of the insured property.. Is it worth the risk? Hell yes...

                                    1 Reply Last reply
                                    0
                                    • J Offline
                                      J Offline
                                      JohnLi
                                      wrote on last edited by
                                      #85

                                      It looks very interesting. I complied and uploaded successful, but it ran without run the loop function at all. infrared sensor lighted up but no print out attached Serial.print.
                                      Can you give us the url to the library #include <MySensors.h>?. I am using MySensors 2.3.1 loaded from Adruino IDE->Tools->Manage Libary->search My Sensors from https://www.mysensors.org

                                      4:55:53.476 -> 60127 TSM:FAIL:RE-INIT
                                      14:55:53.476 -> 60129 TSM TSM:FAIL:DIS
                                      14:55:53.476 -> 900384 TSF:TDI:TSL
                                      14:55:54.962 ->
                                      14:55:54.962 -> __ __ ____
                                      14:55:54.962 -> | / |_ / | ___ _ __ ___ ___ _ __ ___
                                      14:55:54.962 -> | |/| | | | _
                                      \ / _ \ _ \/ __|/ _ \|
                                      _/ __|
                                      14:55:54.962 -> | | | | |
                                      | || | / | | _ \ _ | | _
                                      14:55:54.962 -> |
                                      | |
                                      |_
                                      , |/ ___|| ||/_/|| |/
                                      14:55:54.962 -> |
                                      __/ 2.3.1
                                      14:55:54.962 ->
                                      14:55:54.962 -> 16 MCO:BGN:INIT NODE,CP=RNNNA---,REL=255,VER=2.3.1
                                      14:55:54.962 -> 26 TSM:INIT
                                      14:55:54.962 -> 27 TSF:WUR:MS=0
                                      14:55:54.997 -> 33 !TSM:INIT:TSP FAIL
                                      14:55:54.997 -> 35 TSM:FAIL:CNT=1
                                      14:55:54.997 -> 37 TSM:FAIL:DIS

                                      1 Reply Last reply
                                      0
                                      • gohanG Offline
                                        gohanG Offline
                                        gohan
                                        Mod
                                        wrote on last edited by
                                        #86

                                        it looks like it is can't find the radio module. Check cables and pins numering

                                        1 Reply Last reply
                                        1
                                        • E Offline
                                          E Offline
                                          executivul
                                          wrote on last edited by
                                          #87

                                          Sorry to hijack the thread a bit,
                                          I'm using a TCRT5000 sensor to read a water meter (Zenner), it works ok until it stops detecting pulses, I have to increase the sensitivity (clockwise turn the trimpot) and it works ok for another few days/weeks, then again it needs an increase in sensitivity, like somehow it's loosing it's sensitivity .
                                          I'm already with my second sensor, the first one got to the end of the trimpot and couldn't adjust anymore.

                                          Has this happened to anyone else? It's powered by 5V, it's the LED losing power or the photosensor losing sensitivity? Any ideas?
                                          Thanks.

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


                                          9

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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