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. Mysensor Serial with OpenHab2 how to please....

Mysensor Serial with OpenHab2 how to please....

Scheduled Pinned Locked Moved OpenHAB
6 Posts 3 Posters 3.2k Views 3 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.
  • CoffeesnobC Offline
    CoffeesnobC Offline
    Coffeesnob
    wrote on last edited by
    #1

    Re: openHAB 2.0 binding

    Greetings, I am very new to openHAB. I think I might like it but I am struggling a lot with the gaps in documentation. which is why I'm posting here.
    my setup is openHABian running on a Raspberry Pi v 1b, openHab is running perfectly and i can control network devices such as Wemo switches, I have Mysensor v2 running on a Nano with 5 nodes, these are all working perfectly with my very old and slow Vera 2.
    I am using a serial gateway because this suites my setup better than Ethernet. I figure I have Raspberry Pi that has power and Ethernet, my not use it to power the Arduino as well. Besides that, I have not been able to successfully get the Ethernet gateway on Mysensor to work. But that’s another battel for another day.
    So here is my question. How do I configure OpenHab v2 to use the USB port to talk to Mysensor? There is no description on how to configure Mysensor to work serially with Openhab 2. there is a basic description on how to do it for v1.x but this is not at all helpful because OpenHab 2 doesn't use openhab.cfg

    The screenshot below shows the Mysensor Serial configuration page, but I don’t know what to put here.

    ![alt text](0_1492564538490_upload-4aec4721-a0d7-4a0e-9333-e131d00e824a image url)

    In case its not obvious. I’m not a Linux guy, so what may be obvious to anybody who is a Linux guy is not remotely obvious to us windows dudes.
    Thanks in advance for your help.

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

      Just a question : why don't you compile the gateway directly on the rpi? I did it together with the nrf24 connected on the rpi and it's running fine with just less cables around; I did choose mqtt but ethernet is pretty much the same and it allows to see debug messages using myscontroller without the need to open terminal on rpi

      1 Reply Last reply
      0
      • CoffeesnobC Offline
        CoffeesnobC Offline
        Coffeesnob
        wrote on last edited by
        #3

        @gohan that's a great suggestion. The short answer is because I have no idea how to do that. As I said in my last post I'm not a Linux guy and while I like to think I'm pretty intelligent, with your suggestion I would not know where to begin. Having said that it is a great idea, less parts= less things that can go wrong.

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

          just follow the guide. I am not much of a Linux guy too, but it is quite simple.

          https://www.mysensors.org/build/raspberry

          Also there is this guide if you want to take a look, but it starts using mqtt and it adds a little more complexity

          http://www.makeuseof.com/tag/diy-smart-home-sensors-arduino-mysensors-openhab/

          If you still new to home automation, maybe you could consider start using a more simple controller like Domoticz and later on move to OpenHab

          1 Reply Last reply
          0
          • T Offline
            T Offline
            TimO
            Hero Member
            wrote on last edited by
            #5

            @Coffeesnob

            Well, you're nearly finished and just need to fill in the serial port to the MySensors gateway. If you're running a nano it probably is "/dev/ttyUSB0". To be sure: just open a console on the RPi, plug out and in the serial gateway and enter the command demsg. The last lines should give you more information.

            Additionally: Have you seen the explanations here?

            https://github.com/tobof/openhab2-addons/wiki

            CoffeesnobC 1 Reply Last reply
            0
            • T TimO

              @Coffeesnob

              Well, you're nearly finished and just need to fill in the serial port to the MySensors gateway. If you're running a nano it probably is "/dev/ttyUSB0". To be sure: just open a console on the RPi, plug out and in the serial gateway and enter the command demsg. The last lines should give you more information.

              Additionally: Have you seen the explanations here?

              https://github.com/tobof/openhab2-addons/wiki

              CoffeesnobC Offline
              CoffeesnobC Offline
              Coffeesnob
              wrote on last edited by
              #6

              @TimO .. perfect thanks very much. this is the missing part.

              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


              15

              Online

              12.0k

              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