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 MQTT first launch

Gateway MQTT first launch

Scheduled Pinned Locked Moved General Discussion
gateway mqtt
3 Posts 2 Posters 630 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.
  • M Offline
    M Offline
    miclane
    wrote on last edited by
    #1

    Hello,
    I developed a library that allows you to modify and store the parameters of the #define sketches in eeprom when launching a module. Thus no need for IDE, compilation and upload.
    It works well with all nodes but with an MQTT gateway it is waiting to find the MQTT broker to start the program.
    But the first time, the parameters are, of course, not entered.
    An idea to work around this problem?
    Thank you.

    mfalkviddM 1 Reply Last reply
    0
    • M miclane

      Hello,
      I developed a library that allows you to modify and store the parameters of the #define sketches in eeprom when launching a module. Thus no need for IDE, compilation and upload.
      It works well with all nodes but with an MQTT gateway it is waiting to find the MQTT broker to start the program.
      But the first time, the parameters are, of course, not entered.
      An idea to work around this problem?
      Thank you.

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

      @miclane use dns and a convention for naming the broker like mysensors-mqtt.local?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        miclane
        wrote on last edited by
        #3

        Thank you for the idea.
        I try and I will do a report.

        But is there a way to start the sketch after a delay even if the gateway does not find the broker.
        I understand that this is not very interesting .... except for my library.
        With a node, it is possible to start the sketch after a delay with the parameter MY_TRANSPORT_WAIT_READY_MS.

        Thank you.

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


        23

        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