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. Development
  3. MQTT gateway on Raspi

MQTT gateway on Raspi

Scheduled Pinned Locked Moved Development
2 Posts 1 Posters 660 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.
  • eporocrailE Offline
    eporocrailE Offline
    eporocrail
    wrote on last edited by
    #1

    I would like to test the interaction between the gateway on a Raspi and mosquito on a separate Raspi.
    Where resides the "gateway log" of the gateway on the Raspi?

    1 Reply Last reply
    0
    • eporocrailE Offline
      eporocrailE Offline
      eporocrail
      wrote on last edited by
      #2

      I installed the MySensors gateway on Rasp3. I attached two clients, one on Nano and one on Mega.
      Both clients are incorporated into the radio network correctly. I have a simple "door" sketch on the clients. By closing a contact a simple message is transmitted. Using the gateway in debug mode before install shows that these messages arrive at the gateway correctly.

      After install I do not know how to see if messages are still arriving at the gateway.
      I assume this will be OK.
      Configuring MQTT gateway with IP-Address 172,0,0,1 and debug.
      Testing with two separate terminal sessions shows that mosquito is working OK. In Terminal window 1 type:
      mosquitto_sub -t -v rocnet/rs.

      In Terminal window 2 type:
      mosquitto_pub -d -t rocnet/rs -m "Hello from Terminal window 2!"

      The message pops up in the first terminal.

      Now closing the contact on a client should provoke the gateway to publish a message in topic rocnet/rs.
      No message pops up on the subscription terminal.

      I do not see where the Logfile of the gateway resides. So I am stuck debugging. Some body any idea how to proceed?

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


      5

      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