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. Domoticz
  4. MQTT from RasPi MySensors GW to remote Domoticz

MQTT from RasPi MySensors GW to remote Domoticz

Scheduled Pinned Locked Moved Domoticz
5 Posts 4 Posters 2.7k Views 4 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.
  • ikkeTI Offline
    ikkeTI Offline
    ikkeT
    wrote on last edited by
    #1

    Hi,

    please share your experience of setting MQTT to work with Domoticz and MS GW. Should the traffic be changed to json format or what's the deal?

    I got the MySensors Raspi GW work ok, sending stuff to remote MQTT mosquitto server. The config is this:

    ./configure --my-gateway=mqtt --my-controller-ip-address=192,168,1,32 --my-port=1883 --my-mqtt-client-id=22 --my-mqtt-publish-topic-prefix=domoticz/in --my-mqtt-subscribe-topic-prefix=domoticz/out --my-rf24-pa-level=RF24_PA_LOW 
    

    Unfortunately it won't show anything in Domoticz. I googled a bit and someone wrote Domoticz reads data in json format? Is that true? Sounds a bit weird in case of MQTT.

    I'm rather close now getting things to work, please any tips welcome, too tired to google more tonight...

    MQTT part is fine:

    $ mosquitto_sub -t domoticz/in/# 
    23.0
    40
    
    M 1 Reply Last reply
    0
    • ikkeTI ikkeT

      Hi,

      please share your experience of setting MQTT to work with Domoticz and MS GW. Should the traffic be changed to json format or what's the deal?

      I got the MySensors Raspi GW work ok, sending stuff to remote MQTT mosquitto server. The config is this:

      ./configure --my-gateway=mqtt --my-controller-ip-address=192,168,1,32 --my-port=1883 --my-mqtt-client-id=22 --my-mqtt-publish-topic-prefix=domoticz/in --my-mqtt-subscribe-topic-prefix=domoticz/out --my-rf24-pa-level=RF24_PA_LOW 
      

      Unfortunately it won't show anything in Domoticz. I googled a bit and someone wrote Domoticz reads data in json format? Is that true? Sounds a bit weird in case of MQTT.

      I'm rather close now getting things to work, please any tips welcome, too tired to google more tonight...

      MQTT part is fine:

      $ mosquitto_sub -t domoticz/in/# 
      23.0
      40
      
      M Offline
      M Offline
      MLs
      wrote on last edited by
      #2

      @ikkeT Hey, you got it to working?
      Have also tried for a while now but no visible in Domoticz.

      //Mattias

      1 Reply Last reply
      0
      • A Offline
        A Offline
        artipi
        wrote on last edited by
        #3

        Hi,

        same issue. Any solutions???

        1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          I got it working, but you need beta version of domoticz which has the mqtt mysensors gateway in the hw list, while the stable version only has the normal mqtt that requires json format. As side note, if mqtt is not really necessary, you'd better use the ethernet gateway as it's easier to debug and manage

          1 Reply Last reply
          0
          • A Offline
            A Offline
            artipi
            wrote on last edited by
            #5

            Thank you. With beta everything is now working fine!:)

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


            18

            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