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. Troubleshooting
  3. Pulse Water Meter, cant see anything

Pulse Water Meter, cant see anything

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 33 Views 2 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.
  • Thib.T Offline
    Thib.T Offline
    Thib.
    wrote on last edited by
    #1

    Hello,
    i am working on an adruino-Pro 5V mini with jeedom.
    My water meter already have a pulse output, its a simple NO/NC contact, directly wired to pin 3 and GND
    I tried and succeed to read this output with this simple sketch :
    https://github.com/mysensors/MySensorsArduinoExamples/blob/master/examples/BinarySwitchSensor/BinarySwitchSensor.ino

    But with the same hardware, when i tried this sketch
    https://github.com/mysensors/MySensors/blob/master/examples/WaterMeterPulseSensor/WaterMeterPulseSensor.ino
    i have no signal on jeedom.
    Do you know what is happening ?
    thanks

    here is my serial monitor

    16 MCO:BGN:INIT NODE,CP=RNNNA---,FQ=16,REL=255,VER=2.3.2
    26 TSM:INIT
    28 TSF:WUR:MS=0
    34 TSM:INIT:TSP OK
    36 TSF:SID:OK,ID=9
    37 TSM:FPAR
    41 ?TSF:MSG:SEND,9-9-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    540 TSF:MSG:READ,0-0-9,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    545 TSF:MSG:FPAR OK,ID=0,D=1
    2050 TSM:FPAR:OK
    2051 TSM:ID
    2052 TSM:ID:OK
    2054 TSM:UPL
    2057 TSF:MSG:SEND,9-9-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    2068 TSF:MSG:READ,0-0-9,s=255,c=3,t=25,pt=1,l=1,sg=0:1
    2073 TSF:MSG:PONG RECV,HP=1
    2075 TSM:UPL:OK
    2077 TSM:READY:ID=9,PAR=0,DIS=1
    2081 TSF:MSG:SEND,9-9-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    2089 TSF:MSG:READ,0-0-9,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    2097 TSF:MSG:SEND,9-9-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.3.2
    2105 TSF:MSG:SEND,9-9-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
    4113 TSF:MSG:SEND,9-9-0-0,s=255,c=3,t=11,pt=0,l=11,sg=0,ft=0,st=OK:Water Meter
    4122 TSF:MSG:SEND,9-9-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1
    4130 TSF:MSG:SEND,9-9-0-0,s=1,c=0,t=21,pt=0,l=0,sg=0,ft=0,st=OK:
    4135 MCO:REG:REQ
    4140 TSF:MSG:SEND,9-9-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
    4147 TSF:MSG:READ,0-0-9,s=255,c=3,t=27,pt=1,l=1,sg=0:1
    4152 MCO:PIM:NODE REG=1
    4154 MCO:BGN:STP
    4157 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    4163 MCO:BGN:INIT OK,TSP=1
    34165 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    64168 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    94167 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    124168 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    154169 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    184170 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    214171 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    244172 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    248990 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
    248995 TSF:MSG:BC
    249164 TSF:MSG:SEND,9-9-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=0,st=OK:0
    274173 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    304174 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    334175 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    364176 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    394177 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    424178 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    454179 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    484180 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    514181 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    544182 TSF:MSG:SEND,9-9-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
    
    1 Reply Last reply
    0
    • E Offline
      E Offline
      ejlane
      wrote on last edited by
      #2

      If you look at those two sketches, in the setup() function, they both claim to set it up to use the internal pullup on pin 3. However, they do it differently. That's the first place I would look. Try replacing the non-working one with the same code from the working one.

      1 Reply Last reply
      0
      • Thib.T Offline
        Thib.T Offline
        Thib.
        wrote on last edited by
        #3

        Thanks, i tried but it has no effect

        1 Reply Last reply
        0
        • Thib.T Offline
          Thib.T Offline
          Thib.
          wrote on last edited by
          #4

          Its seems to be working with this last sketch
          https://github.com/paolo-rendano/MySensors/blob/c01e14d0942de68126d67325a0687b1a6ce4fa16/examples/WaterMeterPulseSensor/WaterMeterPulseSensor.ino
          need some time to test it

          thanks

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


          13

          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