A very beginner needs help - MySensors and OpenHab !
-
Hey guys, i found the solution here array-relay-button-actuator but now the OH part comes 'couse this is different solution. How can i add CHILD_ ID's in this case to create more buttons in OH? i mean how to make difference between the two relays in OH?
Can somebody please help me? This is what i was looking for.
Thanks :scream:
-
Hello @ewgor, I follow you on another forum about this subject and are interested myself of this system. I found in the code you posted a small error - might this to be the problem.
Please let me your email address - I would like to talk about this topic@ewgor said: Rules:
var HashMap<String, String> sensorToItemsMap = newLinkedHashMap(
"101;1;" -> "lightBar01", // looks good
"lightBar01" -> "101;1;",
"101;2;" -> "lightBar01", // <<<<<--------------------------HERE----------------:)
"lightBar02" -> "101;2;"
)