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. MySensors binding - confusion with things configuration

MySensors binding - confusion with things configuration

Scheduled Pinned Locked Moved OpenHAB
2 Posts 2 Posters 1.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.
  • I Offline
    I Offline
    Ilikepeanuts
    wrote on last edited by
    #1

    I'm using mysensors hardware for quite a while now. I've got a mysensors serial gateway connected to the GPIO port (serial pins) of my raspberry pie and some nrf24 nodes distributed in my appartment. The nodes are mainly sending temperature, humidity, battery voltage and a message counter to the gateway which passes on these values to OPENHAB (+mysensors binding) running on my raspi. At the current stage everything is working fine, but each time I like to expand my network with an additional node I'm running into major problems.
    I'm trying to configure my openhab only by .things,.items and .sitemap files however sometimes I have a short look to the devices which were found automatically by the paper UI (in order to get the channel string). And that's where the confusion begins.
    Automatically some things of my nodes are simply named "Temperature Sensor" or "Humidity Sensor" others are named for example "MySensors Device (11;0)". Apart from the different naming format some things are listed twice. Take a look at the screenshot: Mysensors Device (21;1) is the same as the last temperature sensor.
    0_1536406062431_1.png

    Of course I noticed the different channel strings in the example above. It looks like the Paper UI got the device "Mysensors Device (21;1)" from the presentation message of node 21 and "Temperature Sensor" is automatically derived from my code in the .things file. Here it is:
    0_1536406117529_2.PNG

    and that's what it looks like in Visual Studio Code (where things are listed like in paper UI and not like configured in the code window next to the shown list):
    0_1536406183326_3.PNG

    When removing one of the duplicate devices in the paper UI the other one isn't working on as well. When removing my code in the .things file some of the sensors won't be detected at all.

    Anyone facing the same problems?
    Maybe someone has found a better way in dealing with automatic/manual configuration of mysensors things in OPENHAB?

    Thanks in advance
    Eric

    1 Reply Last reply
    0
    • I Offline
      I Offline
      itbeyond
      wrote on last edited by
      #2

      I also use the lookup in PaperUI to be sure but it looks like you have added the thing in PaperUI from the inbox. What I would do is delete from PaperUI both nodes. If it is as you say setup in the .things files correctly you will not be able to delete it from PaperUI it will report a problem with any things that are setup in the manual things files.

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


      20

      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