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. Define Mysensor (rgbw) Things in openhab2

Define Mysensor (rgbw) Things in openhab2

Scheduled Pinned Locked Moved OpenHAB
2 Posts 1 Posters 1.9k Views 1 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.
  • L Offline
    L Offline
    LastSamurai
    Hardware Contributor
    wrote on last edited by
    #1

    I am currently trying to get my domoticz based network ported to openhab 2. I have installed the binding (2.2) and got openhab to connect to the serial gateway. I am struggling though to get it to use my existing nodes.

    I mainly have several RGBW nodes I want to use. I am trying to configure this via the config files, not the paper ui.

    Here is my .things file:

    Bridge mysensors:bridge-ser:gateway [ serialPort="/dev/ttyUSB0", sendDelay=200 ] {
        /** define things connected to that bridge here */
      	rgbwLight LichtFenster [nodeID=5, childId=1]
      	rgbwLight LichtSchrank [nodeID=6, childId=1]
      	rgbwLight LichtWand [nodeID=7, childId=1]
      }
    

    The ids are correct but they are shown as uninitialzed in the paper ui. Why is that?
    When restarting one node it showed up in the paperui but as

    mysensors:rgbwLight:gateway:rgbwlight_5_1
    

    Also is this the right way to controll the lights:
    .items:

    Color LichtSchrank "Licht Schrank" <slider> ["Lighting"] { channel="mysensors:rgbwLight:gateway:LichtSchrank:rgbw" }
    Color LichtFenster "Licht Fenster" <slider> ["Lighting"] { channel="mysensors:rgbwLight:gateway:rgbwlight_5_1:rgbw" }
    

    .sitemap

    sitemap lights label="Wohnzimmer" {
    
    	Frame label="Licht" {
    		Colorpicker item=LichtSchrank
    		Switch item=LichtSchrank
    	}
    
    	Frame label="Licht" {
    		Colorpicker item=LichtFenster
    		Switch item=LichtFenster
    	}
    }
    

    I can change the color (for the second one) but not switch them on/off. I also can't control the one only defined in the things file at all.
    Thanks for any help, I am still trying to learn this stuff ;)

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LastSamurai
      Hardware Contributor
      wrote on last edited by
      #2

      Ok I'll answer my question here as I found the error with some help:
      it has to be

      nodeId
      // not nodeID
      
      1 Reply Last reply
      1
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      15

      Online

      11.7k

      Users

      11.2k

      Topics

      113.0k

      Posts


      Copyright 2019 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