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 MQTTClient and Mosquitto debug

Gateway MQTTClient and Mosquitto debug

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.4k 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.
  • AndrewZA Offline
    AndrewZA Offline
    AndrewZ
    wrote on last edited by
    #1

    Hello everyone!

    Just installed Mosquitto on RPi and I've adapted GatewayW5100MQTTClient example to use the ENC28J60 module I have. Should it work, BTW?

    Mosquitto seems to be working, but I cannot get any debug from it... So I'm curious how can I check that my Gateway is talking with Mosquitto?

    Thank you!

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hek
      Admin
      wrote on last edited by
      #2

      We're using the pubsubclient library which doesn't support the ENC28J60 module according to the documentation
      https://github.com/knolleary/pubsubclient

      They instead they suggest using NanodeMQTT for the ENC-module
      https://github.com/njh/NanodeMQTT

      But I haven't tried it or adopted MySensors for using that library. Guess it would require some tweaking to get it in.

      AndrewZA 1 Reply Last reply
      0
      • H hek

        We're using the pubsubclient library which doesn't support the ENC28J60 module according to the documentation
        https://github.com/knolleary/pubsubclient

        They instead they suggest using NanodeMQTT for the ENC-module
        https://github.com/njh/NanodeMQTT

        But I haven't tried it or adopted MySensors for using that library. Guess it would require some tweaking to get it in.

        AndrewZA Offline
        AndrewZA Offline
        AndrewZ
        wrote on last edited by
        #3

        @hek , thanks for that. I'll try again once I get another module.

        Andrew

        1 Reply Last reply
        0
        • AndrewZA Offline
          AndrewZA Offline
          AndrewZ
          wrote on last edited by AndrewZ
          #4

          I'm now using W5100 Ethernet, this is what I have on startup:

          0;255;3;0;9;Starting gateway (R-NGA-, 2.0.0-beta)
          0;255;3;0;9;Init complete, id=0, parent=0, distance=0
          0;255;3;0;9;Attempting MQTT connection...
          0;255;3;0;9;MQTT connected
          

          With the following request I was able control my 1st relay:
          mygateway1-in/0/1/1/0/2 , value is either 0 or 1

          Seems to be working!

          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