Hi, first time poster here
I’m having an issue with thing definitions in the Tradfri binding.I’m trying to use the Binding with a gateway and two flat 60x60 cm² LED panels.
- TLDR: I get a warning, see log at the very bottom of this post.
Here’s my .things file: (The IDs are copied from PaperUI Inbox.)
Thing tradfri:gateway:gwb072b... "TradfriGateway" @ "Sodazimmer" [ host="192.168.2.124", code="..." ] {
0220: panelWoZi [ id=65537 ]
0220: panelBuero [ id=65539 ]
}
First odd thing here, I had to add colons after “0220”. Without the colons the log would show
2017-07-02 02:13:46.000 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘tradfri.things’ has errors, therefore ignoring it: [3,7]: missing ‘:’ at ‘panelBuero’
So after fixing (?) that it seems that the binding can find the gateway:
2017-07-02 02:22:45.426 [ThingUpdatedEvent ] - Thing ‘tradfri:gateway:gwb072b…’ has been updated.
2017-07-02 02:22:45.433 [hingStatusInfoChangedEvent] - ‘tradfri:gateway:gwb072b…’ changed from ONLINE to UNKNOWN
2017-07-02 02:22:45.505 [hingStatusInfoChangedEvent] - ‘tradfri:gateway:gwb072b…’ changed from UNKNOWN to ONLINE
I then created this .items file:
// IKEA Tradfri flache LED-Panel
Dimmer panelBuero "Bürolicht" { channel="tradfri:0220:gwb072b...:panelBuero:brightness" }
Dimmer panelWoZi "WoZiLicht" { channel="tradfri:0220:gwb072b..:panelWoZi:brightness" }
and a .sitemap:
sitemap tradfri label="Tradfri Test"
{
Frame label="Testframe" {
Slider item=panelBuero label="Bürolicht [%.1f %%]"
Slider item=panelWoZi label="WoZilicht [%.1f %%]"
}
}
Using the slider results in no response from the panel and this log output:
2017-07-02 02:24:47.888 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command '24' for item 'panelBuero' to handler for channel 'tradfri:0220:gwb072b...:panelBuero:brightness', because no thing with the UID 'tradfri:0220:gwb072b...:panelBuero' could be found.
2017-07-02 02:24:47.891 [ItemCommandEvent ] - Item 'panelBuero' received command 24
What am I doing wrong?
Cheers
Ben