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. Help! openHAB 2.4 binding MQTT

Help! openHAB 2.4 binding MQTT

Scheduled Pinned Locked Moved OpenHAB
20 Posts 3 Posters 3.0k Views 5 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.
  • W Offline
    W Offline
    waspie
    wrote on last edited by
    #8

    I dont see a broker in your things view. Please re-snip and post

    magpernM 1 Reply Last reply
    0
    • W waspie

      I dont see a broker in your things view. Please re-snip and post

      magpernM Offline
      magpernM Offline
      magpern
      wrote on last edited by
      #9

      @waspie said in Help! openHAB 2.4 binding MQTT:

      I dont see a broker in your things view. Please re-snip and post

      0_1550502701324_ecb17fca-779c-464d-98bb-6b5f232ae0eb-image.png

      1 Reply Last reply
      0
      • W Offline
        W Offline
        waspie
        wrote on last edited by
        #10

        in your mysensors gateway config the name of the broker is fd3193ea

        magpernM 1 Reply Last reply
        0
        • W waspie

          in your mysensors gateway config the name of the broker is fd3193ea

          magpernM Offline
          magpernM Offline
          magpern
          wrote on last edited by
          #11

          @waspie said in Help! openHAB 2.4 binding MQTT:

          fd3193ea

          OK, thanks. I changed the "Broker name" in Mysensors MQTT Gateway in OH to fd3193ea.
          The Mysensors thing is still "Offline" though... I rebooted every thing... but still offline...

          1 Reply Last reply
          0
          • W Offline
            W Offline
            waspie
            wrote on last edited by
            #12

            this is 2.4.0 and not a 2.5.x build, right?

            magpernM 1 Reply Last reply
            0
            • W waspie

              this is 2.4.0 and not a 2.5.x build, right?

              magpernM Offline
              magpernM Offline
              magpern
              wrote on last edited by
              #13

              @waspie said in Help! openHAB 2.4 binding MQTT:

              this is 2.4.0 and not a 2.5.x build, right?

              Yes it is the 2.4 build. Both OH is 2.4 and mysensors is 2.4 (any newer is not available to my knowledge)

              OH is an installation from a docker image (openhab/openhab:2.4.0)

              Trace file does not look very healthy...
              0_1550510334727_7d5615cc-e7e7-4f1f-82f1-3388f2654308-image.png

              1 Reply Last reply
              0
              • W Offline
                W Offline
                waspie
                wrote on last edited by
                #14

                i dont know what folder path your stuff would be in exactly but can you list openhab???/userdata/config/org/openhab/

                ex:

                /volume1/public/openHAB/userdata/config/org/openhab$ ls -la
                total 852
                drwxrwxrwx+ 1 openhab users    504 Feb 13 13:55 .
                drwxrwxrwx+ 1 openhab users     74 Feb 13 12:39 ..
                -rwxrwxrwx+ 1 openhab users    402 Feb 13 13:55 addons.config
                -rwxrwxrwx+ 1 openhab users    118 Feb 13 12:39 basicui.config
                -rwxrwxrwx+ 1 openhab users    120 Feb 13 12:39 dashboard.config
                -rwxrwxrwx+ 1 openhab users 796758 Feb 13 08:28 habpanel.config
                -rwxrwxrwx+ 1 openhab users    230 Feb 13 12:39 http.config
                -rwxrwxrwx+ 1 openhab users    184 Feb 13 12:39 influxdb.config
                -rwxrwxrwx+ 1 openhab users    162 Feb 13 12:39 jdbc.config
                -rwxrwxrwx+ 1 openhab users    131 Feb 13 12:39 logging.config
                -rwxrwxrwx+ 1 openhab users    115 Feb 13 12:39 mail.config
                -rwxrwxrwx+ 1 openhab users    116 Feb 13 12:39 mapdb.config
                -rwxrwxrwx+ 1 openhab users    118 Feb 13 12:39 network.config
                -rwxrwxrwx+ 1 openhab users    114 Feb 13 12:39 nma.config
                -rwxrwxrwx+ 1 openhab users    158 Feb 13 12:39 plex.config
                -rwxrwxrwx+ 1 openhab users    200 Feb 13 12:39 pushover.config
                -rwxrwxrwx+ 1 openhab users    116 Feb 13 12:39 rrd4j.config
                -rwxrwxrwx+ 1 openhab users    118 Feb 13 12:39 runtime.config
                -rwxrwxrwx+ 1 openhab users    119 Feb 13 12:39 services.config
                -rwxrwxrwx+ 1 openhab users    119 Feb 13 12:39 voicerss.config
                -rwxrwxrwx+ 1 openhab users    308 Feb 13 12:39 weather.config
                
                magpernM 1 Reply Last reply
                0
                • W waspie

                  i dont know what folder path your stuff would be in exactly but can you list openhab???/userdata/config/org/openhab/

                  ex:

                  /volume1/public/openHAB/userdata/config/org/openhab$ ls -la
                  total 852
                  drwxrwxrwx+ 1 openhab users    504 Feb 13 13:55 .
                  drwxrwxrwx+ 1 openhab users     74 Feb 13 12:39 ..
                  -rwxrwxrwx+ 1 openhab users    402 Feb 13 13:55 addons.config
                  -rwxrwxrwx+ 1 openhab users    118 Feb 13 12:39 basicui.config
                  -rwxrwxrwx+ 1 openhab users    120 Feb 13 12:39 dashboard.config
                  -rwxrwxrwx+ 1 openhab users 796758 Feb 13 08:28 habpanel.config
                  -rwxrwxrwx+ 1 openhab users    230 Feb 13 12:39 http.config
                  -rwxrwxrwx+ 1 openhab users    184 Feb 13 12:39 influxdb.config
                  -rwxrwxrwx+ 1 openhab users    162 Feb 13 12:39 jdbc.config
                  -rwxrwxrwx+ 1 openhab users    131 Feb 13 12:39 logging.config
                  -rwxrwxrwx+ 1 openhab users    115 Feb 13 12:39 mail.config
                  -rwxrwxrwx+ 1 openhab users    116 Feb 13 12:39 mapdb.config
                  -rwxrwxrwx+ 1 openhab users    118 Feb 13 12:39 network.config
                  -rwxrwxrwx+ 1 openhab users    114 Feb 13 12:39 nma.config
                  -rwxrwxrwx+ 1 openhab users    158 Feb 13 12:39 plex.config
                  -rwxrwxrwx+ 1 openhab users    200 Feb 13 12:39 pushover.config
                  -rwxrwxrwx+ 1 openhab users    116 Feb 13 12:39 rrd4j.config
                  -rwxrwxrwx+ 1 openhab users    118 Feb 13 12:39 runtime.config
                  -rwxrwxrwx+ 1 openhab users    119 Feb 13 12:39 services.config
                  -rwxrwxrwx+ 1 openhab users    119 Feb 13 12:39 voicerss.config
                  -rwxrwxrwx+ 1 openhab users    308 Feb 13 12:39 weather.config
                  
                  magpernM Offline
                  magpernM Offline
                  magpern
                  wrote on last edited by magpern
                  #15

                  @waspie said in Help! openHAB 2.4 binding MQTT:

                  i dont know what folder path your stuff would be in exactly but can you list openhab???/userdata/config/org/openhab/

                  Looks like this:
                  0_1550518144592_5e8c60de-218f-4af3-a1d9-4819e4d8e3eb-image.png

                  I tried some experiments. I made a simple flow in node-red. Listen to "mysensors-out/#" then print it to debug. And yes, it works.
                  0_1550519442233_e92fa4ed-1394-4143-b7af-0584c19e7713-image.png

                  I also tried to add a channel to the "MQTT Broker" thing, also "mysensors-out/#"
                  0_1550519346507_e143655d-6832-4cbe-8880-e9cf960b9048-image.png

                  It showed up without any problems... not very usable, but can see the connection...

                  But the "Mysensors MQTT Gateway"... just dead in the water...

                  1 Reply Last reply
                  0
                  • W Offline
                    W Offline
                    waspie
                    wrote on last edited by
                    #16

                    yeah, mysensors in 2.4+ is very touchy.

                    Have you restarted the openhab service lately?

                    Try deleting your mysensors gateway then restart openhab and re-add the mysensors mqtt gateway. Just for grins...

                    magpernM 1 Reply Last reply
                    0
                    • W waspie

                      yeah, mysensors in 2.4+ is very touchy.

                      Have you restarted the openhab service lately?

                      Try deleting your mysensors gateway then restart openhab and re-add the mysensors mqtt gateway. Just for grins...

                      magpernM Offline
                      magpernM Offline
                      magpern
                      wrote on last edited by magpern
                      #17

                      @waspie said in Help! openHAB 2.4 binding MQTT:

                      yeah, mysensors in 2.4+ is very touchy.

                      Have you restarted the openhab service lately?

                      Try deleting your mysensors gateway then restart openhab and re-add the mysensors mqtt gateway. Just for grins...

                      I did that now... same thing...

                      0_1550521530210_23ea03b3-01ca-43ea-8b7a-c08f3e3a3db2-image.png

                      So, The "Mysensors Binding" creates a Thing, "Mysensors MQTT Gateway".
                      The "Mysensors MQTT Gateway" needs a "MQTT Broker" Thing. This thing is called "mosquitto". The mosquitto thing is configured to connect to 127.0.0.1:1883
                      In "Mysensors MQTT Gateway" I say "Broker Name" is "mosquitto".

                      In log "Mysensors MQTT Gateway" says "No connection to broker: mosquitto"

                      Maybe I should just revert back to Ethernet. I have spent 3 days with this, and somthing that "mysterious" can just not be right.

                      W 1 Reply Last reply
                      0
                      • magpernM magpern

                        @waspie said in Help! openHAB 2.4 binding MQTT:

                        yeah, mysensors in 2.4+ is very touchy.

                        Have you restarted the openhab service lately?

                        Try deleting your mysensors gateway then restart openhab and re-add the mysensors mqtt gateway. Just for grins...

                        I did that now... same thing...

                        0_1550521530210_23ea03b3-01ca-43ea-8b7a-c08f3e3a3db2-image.png

                        So, The "Mysensors Binding" creates a Thing, "Mysensors MQTT Gateway".
                        The "Mysensors MQTT Gateway" needs a "MQTT Broker" Thing. This thing is called "mosquitto". The mosquitto thing is configured to connect to 127.0.0.1:1883
                        In "Mysensors MQTT Gateway" I say "Broker Name" is "mosquitto".

                        In log "Mysensors MQTT Gateway" says "No connection to broker: mosquitto"

                        Maybe I should just revert back to Ethernet. I have spent 3 days with this, and somthing that "mysterious" can just not be right.

                        W Offline
                        W Offline
                        waspie
                        wrote on last edited by
                        #18

                        @magpern
                        sorry, without direct access to tinker with it I can't say where it is stuck. At this moment I've dumped the binding altogether and just do everything via MQTT. I have a good feeling the binding was somehow crashing the mqtt broker which is why I stopped using the binding.

                        1 Reply Last reply
                        0
                        • gahlawathomeG Offline
                          gahlawathomeG Offline
                          gahlawathome
                          wrote on last edited by
                          #19

                          I have exactly same problem. Does it work for anyone not using the system broker?
                          Both binding and openhab are 2.4.

                          magpernM 1 Reply Last reply
                          0
                          • gahlawathomeG gahlawathome

                            I have exactly same problem. Does it work for anyone not using the system broker?
                            Both binding and openhab are 2.4.

                            magpernM Offline
                            magpernM Offline
                            magpern
                            wrote on last edited by
                            #20

                            @gahlawathome said in Help! openHAB 2.4 binding MQTT:

                            I have exactly same problem. Does it work for anyone not using the system broker?
                            Both binding and openhab are 2.4.

                            Googleing this problem at it is quite reoccurring that the questions are about "How to get mysensors mqtt gateway online". Something must be wrong with it, otherwise so many cannot report the same thing.

                            @TimO as the developer, do you have any leads?

                            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