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
JPLJ

JPL

@JPL
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Beginner totally lost during installation of serial gateway
    JPLJ JPL

    Follow this one and aks questions back: https://forum.mysensors.org/topic/6694/openhab-2-2-mysensors-serial-gateway-how-to-install.

    This is the one I have used and more or less it works. I have intermitent disconnections, but I am not fully sure if it is due to a bad radio link...

    After following the full tutorial of the link above, I noticed I was not being able to connect. I would suggest you skip the part about downloading MySensors.git. This will install an alternative driver that I found not needed.

    It is important to give OpenHab access permissions to the binding:

    cd /usr/share/openhab2/addons/
    sudo wget http://www.oberfoell.com/openhab2/org.openhab.binding.mysensors-2.2.0-SNAPSHOT.jar
    sudo chown openhab:openhab org.openhab.binding.mysensors-2.2.0-SNAPSHOT.jar
    

    And to the USB connection:

    sudo usermod -a -G dialout openhab
    sudo usermod -a -G tty openhab
    

    In my configuration, I have a thing named "gw1" (this name you can change to whatever you like) defined for the gateway:

    Bridge mysensors:bridge-ser:gw1 [ serialPort="/dev/ttyUSB0", sendDelay=200, startupCheckEnabled=false, networkSanCheckEnabled=false ] {
      // define things connected to that bridge here
     
    }
    

    As you can see, I am using directly ttyUSB0 to communicate to the serial gateway. You can check the right port by using the Arduino IDE in the Raspberry Pi and the serial monitor.

    OpenHAB
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular