Define Mysensor (rgbw) Things in openhab2
-
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 asmysensors:rgbwLight:gateway:rgbwlight_5_1Also 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 ;) -
Ok I'll answer my question here as I found the error with some help:
it has to benodeId // not nodeID
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