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. Gateway stopped "seeing" the sensors

Gateway stopped "seeing" the sensors

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 3 Posters 461 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.
  • S Offline
    S Offline
    skom
    wrote on last edited by
    #1

    I use MySensors: Gateway ESP8266 WiFi (power supply), Sensory: Pulse Water Meter (power supply), Pulse Gas Meter (battery powered) and check PostBox (battery powered). Everything worked fine for over a year. However, a month ago, the gateway stopped receiving information from sensors (all sensors were no longer visible within an hour - battery sensors sent the battery status every hour). After disconnecting the power supply from Gateway and sensors, it started working again (but only for a dozen or so days). after this time, disconnecting the power supply (several times already) restored the power of this system - unfortunately for a few days. After this time, disconnecting the power supply and restarting the Gateway and sensors did not help. And since then I have failed to "get" the system to work.

    GatewayESP8266.ino:

    #define MY_DEBUG
    #define MY_BAUD_RATE 9600
    #define MY_RADIO_RF24
    #define MY_GATEWAY_ESP8266
    #define MY_WIFI_SSID "P*a"
    #define MY_WIFI_PASSWORD "***"
    #define MY_HOSTNAME "ESP8266_GW"
    #define MY_PORT 5003
    #define MY_GATEWAY_MAX_CLIENTS 2
    #define MY_INCLUSION_MODE_BUTTON_PIN 5 //D1
    #define MY_DEFAULT_ERR_LED_PIN 0 //D3  // Error led pin
    #define MY_DEFAULT_RX_LED_PIN 2  //D4  // RX led pin
    #define MY_DEFAULT_TX_LED_PIN 16 //D0  // TX led pin
    #include <MySensors.h>
    void setup()
    {
    	// Setup locally attached sensors
    }
    void presentation()
    {
    	// Present locally attached sensors here
    }
    void loop()
    {
    	// Send locally attached sensors data here
    }
    

    Console debug from Gateway:

    61 MCO:BGN:INIT GW,CP=RNNGE---,FQ=80,REL=255,VER=2.3.2
    119 TSF:LRT:OK
    134 TSM:INIT
    148 TSF:WUR:MS=0
    171 !TSM:INIT:TSP FAIL
    195 TSM:FAIL:CNT=1
    215 TSM:FAIL:DIS
    232 TSF:TDI:TSL
    scandone
    no P*a found, reconnect after 1s
    reconnect
    scandone
    state: 0 -> 2 (b0)
    state: 2 -> 3 (0)
    state: 3 -> 5 (10)
    add 0
    aid 2
    cnt 
    
    connected with P*a, channel 12
    dhcp client start...
    ip:10.1.1.70,mask:255.255.255.0,gw:10.1.1.1
    10250 TSM:FAIL:RE-INIT
    10274 TSM:INIT
    10295 !TSM:INIT:TSP FAIL
    10321 TSM:FAIL:CNT=2
    10343 TSM:FAIL:DIS
    10362 TSF:TDI:TSL
    pm open,type:2 0
    bcn_timout,ap_probe_send_start
    20382 TSM:FAIL:RE-INIT
    20406 TSM:INIT
    20426 !TSM:INIT:TSP FAIL
    20453 TSM:FAIL:CNT=3
    20474 TSM:FAIL:DIS
    20494 TSF:TDI:TSL
    30514 TSM:FAIL:RE-INIT
    30538 TSM:INIT
    30559 !TSM:INIT:TSP FAIL
    30585 TSM:FAIL:CNT=4
    30607 TSM:FAIL:DIS
    30626 TSF:TDI:TSL
    bcn_timout,ap_probe_send_start
    40646 TSM:FAIL:RE-INIT
    40670 TSM:INIT
    40690 !TSM:INIT:TSP FAIL
    40717 TSM:FAIL:CNT=5
    40738 TSM:FAIL:DIS
    40758 TSF:TDI:TSL
    50778 TSM:FAIL:RE-INIT
    50802 TSM:INIT
    50822 !TSM:INIT:TSP FAIL
    50849 TSM:FAIL:CNT=6
    50870 TSM:FAIL:DIS
    50890 TSF:TDI:TSL
    60910 TSM:FAIL:RE-INIT
    60934 TSM:INIT
    60955 !TSM:INIT:TSP FAIL
    60981 TSM:FAIL:CNT=7
    61003 TSM:FAIL:DIS
    61022 TSF:TDI:TSL
    

    Console debug from node:

    __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.2
    
    209 MCO:BGN:INIT NODE,CP=RNNNA---,FQ=16,REL=255,VER=2.3.2
    337 TSM:INIT
    351 TSF:WUR:MS=0
    373 TSM:INIT:TSP OK
    395 TSF:SID:OK,ID=1
    415 TSM:FPAR
    433 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2506 !TSM:FPAR:NO REPLY
    2531 TSM:FPAR
    2548 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4624 !TSM:FPAR:NO REPLY
    4648 TSM:FPAR
    4666 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6742 !TSM:FPAR:NO REPLY
    6766 TSM:FPAR
    6784 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8859 !TSM:FPAR:FAIL
    8880 TSM:FAIL:CNT=1
    8900 TSM:FAIL:DIS
    8920 TSF:TDI:TSL
    18938 TSM:FAIL:RE-INIT
    18962 TSM:INIT
    18983 TSM:INIT:TSP OK
    19006 TSF:SID:OK,ID=1
    19030 TSM:FPAR
    19048 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    21124 !TSM:FPAR:NO REPLY
    21149 TSM:FPAR
    21168 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    23244 !TSM:FPAR:NO REPLY
    23270 TSM:FPAR
    23288 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    25365 !TSM:FPAR:NO REPLY
    25391 TSM:FPAR
    25409 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    27486 !TSM:FPAR:FAIL
    27507 TSM:FAIL:CNT=2
    27530 TSM:FAIL:DIS
    27549 TSF:TDI:TSL
    37570 TSM:FAIL:RE-INIT
    37594 TSM:INIT
    37615 TSM:INIT:TSP OK
    37638 TSF:SID:OK,ID=1
    37661 TSM:FPAR
    37680 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    39755 !TSM:FPAR:NO REPLY
    39781 TSM:FPAR
    39799 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    41876 !TSM:FPAR:NO REPLY
    41902 TSM:FPAR
    41920 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    43997 !TSM:FPAR:NO REPLY
    44022 TSM:FPAR
    44041 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    46117 !TSM:FPAR:FAIL
    46139 TSM:FAIL:CNT=3
    46161 TSM:FAIL:DIS
    46181 TSF:TDI:TSL
    56201 TSM:FAIL:RE-INIT
    56224 TSM:INIT
    56246 TSM:INIT:TSP OK
    56268 TSF:SID:OK,ID=1
    56292 TSM:FPAR
    56310 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    58386 !TSM:FPAR:NO REPLY
    58412 TSM:FPAR
    58430 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    

    Where could be the reason it stopped working?

    1 Reply Last reply
    0
    • electrikE Offline
      electrikE Offline
      electrik
      wrote on last edited by mfalkvidd
      #2
      60955 !TSM:INIT:TSP FAIL
      

      This line days the transport couldn't be initialised by the gateway. Check your wiring and/or the module.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        chrishiscox
        wrote on last edited by
        #3

        I have an almost identical issue with me ESP MQTT gateway no longer connecting to nodes. Similar issues to start with in that it was good for a number of months then would stop, restart ok, then multiple restarts to begin working. I have now resorted to changing out the 24RF01 module and the ESP to try and locate the issue. Will let you know how I get on.

        1 Reply Last reply
        0

        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


        20

        Online

        12.0k

        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