Hi there,
I successfully added my IKEA TRADFRI remote control as a sensor to my Phoscon app and thanks to the deconz-Binding also to OpenHab2.5. It works perfectly.
Now I added a IKEA TRADFRI Driver 10W wo my Phoscon app, but this I now not discovered from the OpenHab Thing discovery. Something is wrong.
It is shown correctly in the REST output:
http://192.168.0.2:8080/api/apikey/lights
{
"1":{
"etag":"1be33fbb2d1b027fe7c7959c28e16942",
"hascolor":false,
"manufacturername":"dresden elektronik",
"modelid":"ConBee II",
"name":"Configuration tool 1",
"state":{
"reachable":true
},
"swversion":"0x264a0700",
"type":"Configuration tool",
"uniqueid":"xx:not:shown:here:xx"
},
"2":{
"etag":"ca9559348e529908ed648afc9c8c70f8",
"hascolor":false,
"manufacturername":"IKEA of Sweden",
"modelid":"TRADFRI Driver 10W",
"name":"Schlafzimmer Licht Schrank",
"powerup":7,
"state":{
"alert":"none",
"bri":25,
"on":true,
"reachable":true
},
"swversion":"1.2.245",
"type":"Dimmable light",
"uniqueid":"xx:not:shown:here:xx"
}
}
So why I find the remote control, but nor the dimmable light? Anyone an idea?
OpenHab2 is running on a Synology DS 716+. Phoscon in a Docker installation on the same host.
My Sensors look like this:
http://192.168.0.2:8080/api/apikey/sensors
{
"1":{
"config":{
"configured":true,
"on":true,
"sunriseoffset":30,
"sunsetoffset":-30
},
"etag":"4b5ee7fd08b00584cfd0e752e33fea28",
"manufacturername":"Philips",
"modelid":"PHDL00",
"name":"Daylight",
"state":{
"dark":false,
"daylight":true,
"lastupdated":"2020-04-19T05:04:43",
"status":160,
"sunrise":"2020-04-19T04:17:20",
"sunset":"2020-04-19T18:32:33"
},
"swversion":"1.0",
"type":"Daylight",
"uniqueid":"xx:not:shown:here:xx"
},
"2":{
"config":{
"alert":"none",
"battery":74,
"group":"2",
"on":true,
"reachable":true
},
"ep":1,
"etag":"1c776fad6d0ac181373fd5f6776718df",
"manufacturername":"IKEA of Sweden",
"mode":3,
"modelid":"TRADFRI remote control",
"name":"TRÅDFRI Fernbedienung",
"state":{
"buttonevent":1002,
"lastupdated":"2020-04-17T23:10:05"
},
"swversion":"2.3.014",
"type":"ZHASwitch",
"uniqueid":"xx:not:shown:here:xx"
}
}
Maybe the problem is that the remote control and the dimmable light have the same id=2?