MQTT Gateway



  • 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?



  • 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?


Log in to reply
 

Suggested Topics

  • 22
  • 5
  • 2
  • 135
  • 10
  • 19

15
Online

11.4k
Users

11.1k
Topics

112.7k
Posts