lsafelix75
(Felix Lo)
1
Hi,
Can someone point out to me how to refer to “myswitch1” on item file for the following Thing configuration?
I tried these and all failed:
1.test:switch:mygateway1:mydevice1:myswitch1
2. test:switch:device:gateway:myswitch1
Bridge test:gateway:mygateway1 [broker=“local”] {
Bridge device mydevice1 [deviceId=“1”] {
Thing switch myswitch1 [switchId=“1”]
Thing switch myswitch2 [swirchId="2]
}
}
lsafelix75
(Felix Lo)
2
Answering my own question again:
the UID is test:switch:mygateway1:mydevice1:myswitch1
Note: For those reading http://www.eclipse.org/smarthome/documentation/features/dsl.html#defining-bridges, you could be confused with the given ‘hue’ example, it reads “hue:LCT001:bridge:bulb1” which i think it should be “hue:LCT001:mybridge:bulb1”
Kai
(Kai Kreuzer)
3
Thanks for noticing! I fixed this with fixed example thing uid by kaikreuzer · Pull Request #471 · eclipse-archived/smarthome · GitHub