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. Controllers
  3. OpenHAB
  4. MQTT Gateway

MQTT Gateway

Scheduled Pinned Locked Moved OpenHAB
2 Posts 1 Posters 1.8k 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.
  • tianaT Offline
    tianaT Offline
    tiana
    wrote on last edited by tiana
    #1

    I try to make raspberry pi 3 to work like a mqtt gateway according to this tutorial, but something is wrong.
    https://www.mysensors.org/build/raspberry

    1.How to check condition on the gateway working,not working, what sending, what receiving?

    2.how to st my openhab to work with this gateway, i type this before "sudo make install"

    ./configure --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1
    

    and what port should set on my opehnab config?

    1 Reply Last reply
    0
    • tianaT Offline
      tianaT Offline
      tiana
      wrote on last edited by
      #2

      I successful tested my gateway, the gateway receives commands from nodes, but something missing the OpenHAB not receive commands from the gateway i install mosquitto but missing a lot of information:
      How to configure openhab to connect to the mosquitto ?

      in openhab.cfg i put this

      mqtt:mysensor.url=tcp://localhost:1883
      mqtt:mysensor.clientId=MyMQTT
      and other option is commented
      

      my binding is

      {mqtt="<[mysensor:MyMQTT/21/1/V_TEMP:state:default]"}
      

      What this "MyMQTT means is this related to some setting in mosquitto?

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


      19

      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