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. Waterpulse Sensor - ESP8266GW without Radio only as node

Waterpulse Sensor - ESP8266GW without Radio only as node

Scheduled Pinned Locked Moved Troubleshooting
14 Posts 3 Posters 2.7k 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.
  • HarrySteffH HarrySteff

    Mhhh, nobody has an idea?
    It seems that the sensor did not "start" the "void presentation()" section of sketch... :-(

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

    @HarrySteff the code looks good to me. Could you post the full debug output?

    1 Reply Last reply
    0
    • HarrySteffH Offline
      HarrySteffH Offline
      HarrySteff
      wrote on last edited by
      #4

      Okay i will, as soon as I'am back home... maybe monday! Thank you so far

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

        What controller are you using? Because I'd comment out the define my controller address

        1 Reply Last reply
        0
        • HarrySteffH Offline
          HarrySteffH Offline
          HarrySteff
          wrote on last edited by
          #6

          Iam using Pimatic, but only for displaying Sensor values. I set my node ID's manually...

          1 Reply Last reply
          0
          • HarrySteffH Offline
            HarrySteffH Offline
            HarrySteff
            wrote on last edited by HarrySteff
            #7

            @mfalkvidd Here is my Serial Output:

            MCO:BGN:INIT GW,CP=R-NGE---,VER=2.2.0-beta
            scandone
            f 0, scandone
            state: 0 -> 2 (b0)
            state: 2 -> 3 (0)
            state: 3 -> 0 (29)
            ..reconnect
            f -180, scandone
            state: 0 -> 2 (b0)
            state: 2 -> 3 (0)
            state: 3 -> 0 (29)
            ..reconnect
            f r0, scandone
            state: 0 -> 2 (b0)
            state: 2 -> 3 (0)
            state: 3 -> 0 (29)
            ..reconnect
            f 0, .scandone
            state: 0 -> 2 (b0)
            state: 2 -> 3 (0)
            state: 3 -> 0 (29)
            ..reconnect
            f -180, scandone
            state: 0 -> 2 (b0)
            state: 2 -> 3 (0)
            state: 3 -> 0 (29)
            ..reconnect
            f r0, scandone
            state: 0 -> 2 (b0)
            state: 2 -> 3 (0)
            state: 3 -> 5 (10)
            add 0
            aid 3
            cnt 
            
            connected with Fritzbox7390, channel 10
            ip:192.168.0.137,mask:255.255.255.0,gw:192.168.0.1
            .IP: 192.168.0.137
            0;255;3;0;9;6400 MCO:BGN:STP
            0;255;3;0;9;6473 MCO:REG:NOT NEEDED
            0;255;3;0;9;6510 MCO:BGN:INIT OK,TSP=NA
            pm open,type:2 0
            
            

            And nothing more happens...
            I tried to give out some serial prints in "void presentation" section, but they did not appear...

            Strange...

            For what is the MY_CONTROLLER_IP_ADRESS ? The IP i inserted here is the IP from my other/main "Mysensors-Gateway..."

            mfalkviddM 1 Reply Last reply
            0
            • HarrySteffH HarrySteff

              @mfalkvidd Here is my Serial Output:

              MCO:BGN:INIT GW,CP=R-NGE---,VER=2.2.0-beta
              scandone
              f 0, scandone
              state: 0 -> 2 (b0)
              state: 2 -> 3 (0)
              state: 3 -> 0 (29)
              ..reconnect
              f -180, scandone
              state: 0 -> 2 (b0)
              state: 2 -> 3 (0)
              state: 3 -> 0 (29)
              ..reconnect
              f r0, scandone
              state: 0 -> 2 (b0)
              state: 2 -> 3 (0)
              state: 3 -> 0 (29)
              ..reconnect
              f 0, .scandone
              state: 0 -> 2 (b0)
              state: 2 -> 3 (0)
              state: 3 -> 0 (29)
              ..reconnect
              f -180, scandone
              state: 0 -> 2 (b0)
              state: 2 -> 3 (0)
              state: 3 -> 0 (29)
              ..reconnect
              f r0, scandone
              state: 0 -> 2 (b0)
              state: 2 -> 3 (0)
              state: 3 -> 5 (10)
              add 0
              aid 3
              cnt 
              
              connected with Fritzbox7390, channel 10
              ip:192.168.0.137,mask:255.255.255.0,gw:192.168.0.1
              .IP: 192.168.0.137
              0;255;3;0;9;6400 MCO:BGN:STP
              0;255;3;0;9;6473 MCO:REG:NOT NEEDED
              0;255;3;0;9;6510 MCO:BGN:INIT OK,TSP=NA
              pm open,type:2 0
              
              

              And nothing more happens...
              I tried to give out some serial prints in "void presentation" section, but they did not appear...

              Strange...

              For what is the MY_CONTROLLER_IP_ADRESS ? The IP i inserted here is the IP from my other/main "Mysensors-Gateway..."

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

              @HarrySteff a controller and a gateway are different things. See https://www.mysensors.org/about/network#the-controller for information on what a controller is.

              Try removing that define as per gohan's recommendation.

              1 Reply Last reply
              0
              • HarrySteffH Offline
                HarrySteffH Offline
                HarrySteff
                wrote on last edited by
                #9

                Okay i understood this, but how does my ESP8266 node (only wifi) knows where the gateway is`?
                I think i must tell it somwhere?
                I will try to remove defined
                MY_CONTROLLER_IP_ADRESS & MY_USE_UDP

                posting serial output here...

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

                  it doesn't, if you use a esp8266 as a node without nrf24/rmf69 radio it needs to be a gateway on its own

                  1 Reply Last reply
                  1
                  • HarrySteffH Offline
                    HarrySteffH Offline
                    HarrySteff
                    wrote on last edited by HarrySteff
                    #11

                    It is a gateway, here the serial output:
                    (nothing changes)

                    ⸮Hl⸮G⸮C⸮d⸮xpI⸮⸮0;255;3;0;9;338 MCO:BGN:INIT GW,CP=R-NGE---,VER=2.2.0-beta
                    scandone
                    f 0, scandone
                    state: 0 -> 2 (b0)
                    state: 2 -> 3 (0)
                    state: 3 -> 5 (10)
                    add 0
                    aid 1
                    cnt 
                    
                    connected with Fritzbox7390, channel 1
                    ip:192.168.0.137,mask:255.255.255.0,gw:192.168.0.1
                    .IP: 192.168.0.137
                    0;255;3;0;9;899 MCO:BGN:STP
                    0;255;3;0;9;948 MCO:REG:NOT NEEDED
                    0;255;3;0;9;1004 MCO:BGN:INIT OK,TSP=NA
                    pm open,type:2 0
                    

                    No local atached Sensor is presented?!?
                    I use a wemos d1 Mini...
                    Sensor is connected to Port D2
                    What digital-Input-Port Must i use?
                    I found some Pin mappings:
                    There it is Port 4

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

                      On the controller, did you add the 192.168.0.137 as a mysensors gateway?

                      1 Reply Last reply
                      0
                      • HarrySteffH Offline
                        HarrySteffH Offline
                        HarrySteff
                        wrote on last edited by
                        #13

                        No, until now i did not, but do i need a controller at all?
                        (In my opinion it should present values even i do not have a controller)
                        So now i even disabled the define of the controller IP in my sketch...

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

                          The esp8266 is a complete stand alone mysensors network, it can't interact with the other unless you use a controller in between

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


                          26

                          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