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. Bug Reports
  3. [Solved] Internal message I_DISCOVER_RESPONSE is handed over to the controller

[Solved] Internal message I_DISCOVER_RESPONSE is handed over to the controller

Scheduled Pinned Locked Moved Bug Reports
3 Posts 2 Posters 2.5k Views 1 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.
  • J Offline
    J Offline
    jpaulin
    wrote on last edited by jpaulin
    #1

    When the internal message I_DISCOVER_RESPONSE is received in the gw it's sent to the controller. I'm using an Ethernet MQTT client GW with Mosquitto. Is this message used by some controller? Or should it be kept internally? In my case it messes up with my controller functions.

    Debug messages captured in the gw:

    0;255;3;0;9;TSM:READY:NWD REQ
    0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    0;255;3;0;9;TSF:MSG:READ,26-26-0,s=255,c=3,t=21,pt=1,l=1,sg=0:0
    0;255;3;0;9;Sending message on topic: mygateway1-out/26/255/3/0/21
    

    I added the following lines to MyTransport.cpp after:
    https://github.com/mysensors/MySensors/blob/development/core/MyTransport.cpp#L705

    			if (type == I_DISCOVER_RESPONSE) {   // don't send to controller
    				return;
    			}
    

    With the patch added it looks like this:

    0;255;3;0;9;TSM:READY:NWD REQ
    0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    0;255;3;0;9;TSF:MSG:READ,26-26-0,s=255,c=3,t=21,pt=1,l=1,sg=0:0
    

    Pls. confirm if this is correct.

    T 1 Reply Last reply
    0
    • J jpaulin

      When the internal message I_DISCOVER_RESPONSE is received in the gw it's sent to the controller. I'm using an Ethernet MQTT client GW with Mosquitto. Is this message used by some controller? Or should it be kept internally? In my case it messes up with my controller functions.

      Debug messages captured in the gw:

      0;255;3;0;9;TSM:READY:NWD REQ
      0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      0;255;3;0;9;TSF:MSG:READ,26-26-0,s=255,c=3,t=21,pt=1,l=1,sg=0:0
      0;255;3;0;9;Sending message on topic: mygateway1-out/26/255/3/0/21
      

      I added the following lines to MyTransport.cpp after:
      https://github.com/mysensors/MySensors/blob/development/core/MyTransport.cpp#L705

      			if (type == I_DISCOVER_RESPONSE) {   // don't send to controller
      				return;
      			}
      

      With the patch added it looks like this:

      0;255;3;0;9;TSM:READY:NWD REQ
      0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      0;255;3;0;9;TSF:MSG:READ,26-26-0,s=255,c=3,t=21,pt=1,l=1,sg=0:0
      

      Pls. confirm if this is correct.

      T Offline
      T Offline
      tekka
      Admin
      wrote on last edited by tekka
      #2

      @jpaulin No, this is correct - the I_DISCOVER_RESPONSE messages can be used by the controller to reveal the network topology.

      J 1 Reply Last reply
      1
      • T tekka

        @jpaulin No, this is correct - the I_DISCOVER_RESPONSE messages can be used by the controller to reveal the network topology.

        J Offline
        J Offline
        jpaulin
        wrote on last edited by
        #3

        @tekka ok, I'll fix it on the controller side, thanks!

        1 Reply Last reply
        1

        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


        13

        Online

        12.1k

        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