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. OH3 - MySensors Binding

OH3 - MySensors Binding

Scheduled Pinned Locked Moved OpenHAB
135 Posts 34 Posters 32.9k Views 40 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.
  • T TimO

    I've solved the dependency error and the package compiles fine, but I had no time for testing yet.
    If you're willing to test: Download

    RVMRVMR
    RVMRVMR
    RVMRVM
    wrote on last edited by
    #92
    This post is deleted!
    1 Reply Last reply
    0
    • oljoO oljo
      [[topic:post-is-deleted]]
      RVMRVMR
      RVMRVMR
      RVMRVM
      wrote on last edited by
      #93
      This post is deleted!
      1 Reply Last reply
      0
      • P Peter Loeffler

        @oljo I am very sorry to ask, but how does your post connect to the topic of this thread?
        ....you are not using the mysensors-binding....

        oljoO
        oljoO
        oljo
        wrote on last edited by
        #94
        This post is deleted!
        1 Reply Last reply
        0
        • P Peter Loeffler

          @oljo I am very sorry to ask, but how does your post connect to the topic of this thread?
          ....you are not using the mysensors-binding....

          oljoO
          oljoO
          oljo
          wrote on last edited by
          #95
          This post is deleted!
          1 Reply Last reply
          0
          • P Peter Loeffler

            @oljo I am very sorry to ask, but how does your post connect to the topic of this thread?
            ....you are not using the mysensors-binding....

            oljoO
            oljoO
            oljo
            wrote on last edited by
            #96
            This post is deleted!
            1 Reply Last reply
            0
            • P Peter Loeffler

              @oljo I am very sorry to ask, but how does your post connect to the topic of this thread?
              ....you are not using the mysensors-binding....

              oljoO
              oljoO
              oljo
              wrote on last edited by
              #97
              This post is deleted!
              P 1 Reply Last reply
              2
              • oljoO oljo
                [[topic:post-is-deleted]]
                P
                P
                Peter Loeffler
                wrote on last edited by
                #98

                @oljo as I already mentioned: your posts are 100% off topic, because ypu do not use the OH3-binding for mysensors. you did some text-file thing-definitions with the MQTT-binding... apples and not plums

                oljoO 1 Reply Last reply
                0
                • P Peter Loeffler

                  @oljo as I already mentioned: your posts are 100% off topic, because ypu do not use the OH3-binding for mysensors. you did some text-file thing-definitions with the MQTT-binding... apples and not plums

                  oljoO
                  oljoO
                  oljo
                  wrote on last edited by
                  #99
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • syntacrscS
                    syntacrscS
                    syntacrsc
                    wrote on last edited by
                    #100

                    Hi all.

                    Did anyone upgrade to OH 3.1.0 stable and managed to get the MySensors Binding 3.1.0 running yet?
                    Sind I've upgraded to OH 3.1.0 I'm getting the following error messages in the log when starting the openhab service:

                    I'm using a MySensors Ethernet Gateway (no MQTT, although that souldn't really make a difference) and a raspberry pi 4b+ as OH 3 server.

                    2021-07-04 10:37:43.376 [ERROR] [Events.Framework                    ] - FrameworkEvent ERROR
                    org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mysensors [237]
                      Unresolved requirement: Import-Package: org.apache.commons.lang; version="[2.6.0,3.0.0)"
                    	at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
                    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845) ~[org.eclipse.osgi-3.16.200.jar:?]
                    	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136) ~[org.eclipse.osgi-3.16.200.jar:?]
                    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838) ~[org.eclipse.osgi-3.16.200.jar:?]
                    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1781) ~[org.eclipse.osgi-3.16.200.jar:?]
                    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743) ~[org.eclipse.osgi-3.16.200.jar:?]
                    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665) ~[org.eclipse.osgi-3.16.200.jar:?]
                    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) ~[org.eclipse.osgi-3.16.200.jar:?]
                    	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.200.jar:?]
                    	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345) [org.eclipse.osgi-3.16.200.jar:?]
                    

                    and then a little further down the log:

                    2021-07-04 10:38:04.300 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.mysensors-3.1.0.jar
                    org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mysensors [237]
                      Unresolved requirement: Import-Package: org.apache.commons.lang; version="[2.6.0,3.0.0)"
                    	at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
                    	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
                    	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
                    	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
                    	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [bundleFile:3.6.8]
                    	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [bundleFile:3.6.8]
                    	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
                    	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]
                    

                    Any help is highly appreciated!

                    Thanks and kind regards,
                    Ralph...

                    1 Reply Last reply
                    0
                    • syntacrscS
                      syntacrscS
                      syntacrsc
                      wrote on last edited by
                      #101

                      P.S.:
                      Prior to upgrading from OH 3.0.2 to OH 3.1.0 everything worked fine...

                      1 Reply Last reply
                      0
                      • ChachaC
                        ChachaC
                        Chacha
                        wrote on last edited by
                        #102

                        Hi!

                        I've upgraded to OH 3.1.0 from OH 3.0.x

                        Installed openhab-transport-serial and openhab-core-io-transport-mqtt in Karaf console with:

                        feature:install openhab-transport-serial 
                        feature:install openhab-core-io-transport-mqtt
                        

                        Tried to restart mysensors binding:

                        openhab> bundle:restart org.openhab.binding.mysensors
                        Error executing command: Error restarting bundles:
                        	Unable to start bundle 29: Could not resolve module: org.openhab.binding.mysensors [29]
                          Unresolved requirement: Import-Package: org.apache.commons.lang; version="[2.6.0,3.0.0)"
                        

                        Checked that only org.apache.commons.lang3 is installed:

                        openhab> bundle:list org.apache.commons.lang3 
                        START LEVEL 100 , List Threshold: 50
                        ID │ State  │ Lvl │ Version │ Name
                        66 │ Active │  80 │ 3.12.0  │ Apache Commons Lang
                        

                        Thanks

                        P 1 Reply Last reply
                        0
                        • ChachaC Chacha

                          Hi!

                          I've upgraded to OH 3.1.0 from OH 3.0.x

                          Installed openhab-transport-serial and openhab-core-io-transport-mqtt in Karaf console with:

                          feature:install openhab-transport-serial 
                          feature:install openhab-core-io-transport-mqtt
                          

                          Tried to restart mysensors binding:

                          openhab> bundle:restart org.openhab.binding.mysensors
                          Error executing command: Error restarting bundles:
                          	Unable to start bundle 29: Could not resolve module: org.openhab.binding.mysensors [29]
                            Unresolved requirement: Import-Package: org.apache.commons.lang; version="[2.6.0,3.0.0)"
                          

                          Checked that only org.apache.commons.lang3 is installed:

                          openhab> bundle:list org.apache.commons.lang3 
                          START LEVEL 100 , List Threshold: 50
                          ID │ State  │ Lvl │ Version │ Name
                          66 │ Active │  80 │ 3.12.0  │ Apache Commons Lang
                          

                          Thanks

                          P
                          P
                          Peter Loeffler
                          wrote on last edited by
                          #103

                          @Chacha the log says it all: in OH3 the required package org.apache.commons.lang is installed with version 3.12.0

                          the (very depreciated) binding does only support up to version 3.0.0

                          the bug has been known for several months now.

                          there are 2 ways out of that situation:

                          a) if possible recode your sensors without mysensors and use Homie instead

                          b) get rid of the binding and use plain mqtt

                          this also applys to @syntacrsc

                          ChachaC P 2 Replies Last reply
                          1
                          • P Peter Loeffler

                            @Chacha the log says it all: in OH3 the required package org.apache.commons.lang is installed with version 3.12.0

                            the (very depreciated) binding does only support up to version 3.0.0

                            the bug has been known for several months now.

                            there are 2 ways out of that situation:

                            a) if possible recode your sensors without mysensors and use Homie instead

                            b) get rid of the binding and use plain mqtt

                            this also applys to @syntacrsc

                            ChachaC
                            ChachaC
                            Chacha
                            wrote on last edited by
                            #104

                            Thanks @Peter-Loeffler !
                            I think I'll dive into mqtt than!
                            As I can see Homie is only for sensors. I use mySensors to control my rollershutters.

                            syntacrscS 1 Reply Last reply
                            0
                            • ChachaC Chacha

                              Thanks @Peter-Loeffler !
                              I think I'll dive into mqtt than!
                              As I can see Homie is only for sensors. I use mySensors to control my rollershutters.

                              syntacrscS
                              syntacrscS
                              syntacrsc
                              wrote on last edited by syntacrsc
                              #105

                              @Chacha
                              Same here, I use MySensors to control rollershutters, pool pump, HVAC and solar panels.

                              Maybe we should collect some volunteers for a bounty to give to @TimO to enhance his beautiful mySensors binding to work with the recent OH 3.1.0 version??
                              @Peter-Loeffler
                              I used to use plain MQTT before I found the mySensors binding and don't really want go back to it.

                              I'd be willing to throw 100 USD into the bounty pot to enhance MySensors to work with the recent version of OH3...
                              (I'd do it myself if I'd know how to ;-) )

                              P gundark2G 2 Replies Last reply
                              0
                              • P Peter Loeffler

                                @Chacha the log says it all: in OH3 the required package org.apache.commons.lang is installed with version 3.12.0

                                the (very depreciated) binding does only support up to version 3.0.0

                                the bug has been known for several months now.

                                there are 2 ways out of that situation:

                                a) if possible recode your sensors without mysensors and use Homie instead

                                b) get rid of the binding and use plain mqtt

                                this also applys to @syntacrsc

                                P
                                P
                                Peter Loeffler
                                wrote on last edited by
                                #106

                                @Chacha you are wrong: Homie is NOT ONLY for sensors.

                                1 Reply Last reply
                                0
                                • syntacrscS syntacrsc

                                  @Chacha
                                  Same here, I use MySensors to control rollershutters, pool pump, HVAC and solar panels.

                                  Maybe we should collect some volunteers for a bounty to give to @TimO to enhance his beautiful mySensors binding to work with the recent OH 3.1.0 version??
                                  @Peter-Loeffler
                                  I used to use plain MQTT before I found the mySensors binding and don't really want go back to it.

                                  I'd be willing to throw 100 USD into the bounty pot to enhance MySensors to work with the recent version of OH3...
                                  (I'd do it myself if I'd know how to ;-) )

                                  P
                                  P
                                  Peter Loeffler
                                  wrote on last edited by
                                  #107

                                  @syntacrsc well, for me it's no solution to throw Dollars into a pot that a community-based software get's some updates. either the software is state of the art ro it is not. and MySensors turned out to be not :(

                                  1 Reply Last reply
                                  0
                                  • syntacrscS syntacrsc

                                    @Chacha
                                    Same here, I use MySensors to control rollershutters, pool pump, HVAC and solar panels.

                                    Maybe we should collect some volunteers for a bounty to give to @TimO to enhance his beautiful mySensors binding to work with the recent OH 3.1.0 version??
                                    @Peter-Loeffler
                                    I used to use plain MQTT before I found the mySensors binding and don't really want go back to it.

                                    I'd be willing to throw 100 USD into the bounty pot to enhance MySensors to work with the recent version of OH3...
                                    (I'd do it myself if I'd know how to ;-) )

                                    gundark2G
                                    gundark2G
                                    gundark2
                                    wrote on last edited by
                                    #108

                                    @syntacrsc @TimO My system just upgraded and killed all of mySensors, which is probably half of my system... so I would be in for $50 at least

                                    1 Reply Last reply
                                    0
                                    • V
                                      V
                                      vores8
                                      wrote on last edited by
                                      #109

                                      i've managed to build new version from the sources found here https://github.com/nikolac/openhab-addons/tree/mysensors-oh3-migration

                                      So far, so good - working with the latest OH 3.1.0

                                      please download from https://disk.yandex.ru/d/Yq3gn8N7tXSQxA

                                      DbagioniD T ChachaC 3 Replies Last reply
                                      2
                                      • V vores8

                                        i've managed to build new version from the sources found here https://github.com/nikolac/openhab-addons/tree/mysensors-oh3-migration

                                        So far, so good - working with the latest OH 3.1.0

                                        please download from https://disk.yandex.ru/d/Yq3gn8N7tXSQxA

                                        DbagioniD
                                        DbagioniD
                                        Dbagioni
                                        wrote on last edited by
                                        #110

                                        @vores8 just down loaded it and installed. Showing up online with my serial gateway. Gonna let it run but looks like it’s working now. Nice work, and thank you.

                                        1 Reply Last reply
                                        0
                                        • T TimO

                                          I've solved the dependency error and the package compiles fine, but I had no time for testing yet.
                                          If you're willing to test: Download

                                          H
                                          H
                                          haasje30
                                          wrote on last edited by
                                          #111

                                          @TimO After my system upgrade yesterday the mysensor binding stopt working. after I replaced the binding with your new download, it started working again. Thanks, you are a real hero (at least for me).

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          25

                                          Online

                                          12.4k

                                          Users

                                          11.2k

                                          Topics

                                          113.4k

                                          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