Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. mosquitto
    Log in to post

    • pinkkoff

      [Solved] MQTT gateway problem
      Troubleshooting • mqtt ethernet mosquitto mysensors 2.0.0 • • pinkkoff  

      13
      0
      Votes
      13
      Posts
      5620
      Views

      ikkeT

      nevermind. now after all upgrades AND BATTERY CHANGE to sensebender it's all fine
    • micah

      Can't get OpenHAB2 to see my MQTT messages
      OpenHAB • mqtt openhab openhab2 mosquitto • • micah  

      5
      0
      Votes
      5
      Posts
      13516
      Views

      dakipro

      @micah said in Can't get OpenHAB2 to see my MQTT messages: I'm still not sure if the second and third line in the mqtt-eventbus.cfg is correct. I don't have MyMQTT anywhere else, so I think I may try different combinations to see what works. MyMQTT should be replaced with brokername (mysensors in this example). openhab will then publish the event to the mqtt broker on its topics (useful if you use f.eks. node-red for openhab rules)
    • drock1985

      Need some minor help with MQTT strings
      Troubleshooting • mqtt relay home-assistant mosquitto binary • • drock1985  

      6
      0
      Votes
      6
      Posts
      3547
      Views

      jkandasa

      @drock1985 I guess your switch string should be as follows, #Switches (Lights) switch 1: platform: mqtt state_topic: "mygateway1-out/2/1/1/0/2" command_topic: "mygateway1-in/2/1/1/0/2" name: "test1" payload_on: "1" payload_off: "0"
    • alexeinz

      MQTT gateway - Openhab & Mosquitto
      OpenHAB • mqtt openhab mosquitto broker • • alexeinz  

      4
      0
      Votes
      4
      Posts
      5225
      Views

      alexeinz

      @alexeinz figured it out, apparently had to add experimental and get latest mosquitto for the conf file to work correctly , now the bridge is working perfectly --- broker.conf file in /etc/mosquitto/conf.d the topics coming from gw will appear under sensor/# on mosquitto connection MMQTTtoSensor address 192.168.1.234 <-gw ip clientid MyMQTT cleansession true notifications true topic # in 2 sensor/ MyMQTT/