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. General Discussion
  3. Gateway questions....

Gateway questions....

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 1.1k 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.
  • C Offline
    C Offline
    chaeron
    wrote on last edited by
    #1

    I have a few questions about gateways that I haven't managed to find answers to.

    1. What is "inclusion mode"?

    2. I'm running an MQTT Gateway on an ESP8266. It seems to be running fine and communicating with my Humidity sensor. However, I had to hardcode the MY_NODE_ID on the sensor. Does the MQTT ESP8266 gateway sketch not support automatic allocation of node ids?

    Thanks all!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      chaeron
      wrote on last edited by
      #2

      Clarification: I'm using the MQTT ESP8266 Client gateway sketch with an external MQTT broker running on a Pi.

      Not sure why it doesn't support allocation of node ids....

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #3

        "Inclusion mode" is a feature for allowing the gateway to have a physical button controlling weather new devices should be allowed to be added or not.

        But it's really the controller that decides what to to when new nodes present themselves. It can respect inclusion mode status or just ignore it (always adding new nodes). Presentation messages is always passed along to the controller even when inclusion mode is disabled.

        Regarding id... It's always the controller that hands out ids. In the case of MQTT I guess you have to setup a rule answering those requests yourself if your controller doesn't support it..

        1 Reply Last reply
        0
        • C Offline
          C Offline
          chaeron
          wrote on last edited by
          #4

          Thanks for the explanation of inclusion mode. Much appreciated.

          I thought some of the gateway sketches did allocate node id's....but that for some reason the MQTT Client gateway didn't.

          No big deal....I don't want to use a 3rd party controller, so will just hard code the id's for now.

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


          10

          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