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. [Solved] MQTT ESP8266 Gateway 1.6

[Solved] MQTT ESP8266 Gateway 1.6

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

    Re: MQTT Broker support in MySensors 1.6

    I running ver 1.6 from 19 Jan 2016 version with a RFM69 radio, all work well for a few hours, then it appears that the gateway stops communication with the broker, looks like the MQTT task and the WiFi task are no longer communication.

    I can still PING the gateway, so the WiFi stack is running......

    From debug port...

    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;read: 1-1-0 s=1,c=2,t=24,pt=0,l=0,sg=0:
    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;read: 1-1-0 s=1,c=2,t=24,pt=0,l=0,sg=0:
    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;Attempting MQTT connection...

    Also, I noted that the WiFi stack is still acting as an access point. Is there a way to turn off just the access point??

    Thanks
    0;255;3;0;9;read: 1-1-0 s=1,c=2,t=24,pt=0,l=0,sg=0:

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lafleur
      wrote on last edited by
      #2

      I've done some more testing, It stop working in 3 to 4 hours, very consistent over the last 24 hrs. I have changes ESP8266, same issue, ESP code is ver 2.0..

      It also appears that the code may not be trying to close, open the WiFi connection when there is a network error...

      Anyone have any ideas??

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lafleur
        wrote on last edited by
        #3

        This has been fixed.... It was an error on my part, I had a unlisted device with the same IP address as the GW... it was a pain to find this as GW would work for 3 to 4 hours.

        I have tested removing access point and GW re covers
        I remove MWTT broker and GW recovers

        1 Reply Last reply
        2
        • mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          Great that you found a solution, thanks for reporting back!

          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


          13

          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