New OSRAM light support
Closed this issue · 2 comments
Xavier-M commented
Hi,
I don't want to hijack the issue #63, but I have something similar. I have several Osram GU 10 working fine and I just bought a few more but it seems it's a new generation or something is different: in HA I only have sensors but no light. The service zigate.action_onoff works.
The zigate.json part for one light:
{
"addr": "fb35",
"discovery": "auto-discovered",
"endpoints": [
{
"clusters": [
{
"attributes": [
{
"attribute": 4,
"data": "LEDVANCE",
"name": "manufacturer",
"value": "LEDVANCE"
},
{
"attribute": 5,
"data": "PAR16 RGBW Z3",
"name": "type",
"type": "str",
"value": "PAR16 RGBW Z3"
},
{
"attribute": 0,
"name": "zcl_version",
"value": null
},
{
"attribute": 1,
"name": "application_version",
"value": null
},
{
"attribute": 2,
"name": "stack_version",
"value": null
},
{
"attribute": 3,
"name": "hardware_version",
"value": null
},
{
"attribute": 6,
"name": "datecode",
"value": null
},
{
"attribute": 7,
"name": "power_source",
"value": null
},
{
"attribute": 16384
},
{
"attribute": 65533
}
],
"cluster": 0
},
{
"attributes": [
{
"attribute": 0
},
{
"attribute": 65533
}
],
"cluster": 3
},
{
"attributes": [
{
"attribute": 0
},
{
"attribute": 65533
}
],
"cluster": 4
},
{
"attributes": [
{
"attribute": 0
},
{
"attribute": 1
},
{
"attribute": 2
},
{
"attribute": 3
},
{
"attribute": 4
},
{
"attribute": 5
},
{
"attribute": 65533
}
],
"cluster": 5
},
{
"attributes": [
{
"attribute": 0,
"data": false,
"name": "onoff",
"type": "bool",
"value": false
},
{
"attribute": 16384
},
{
"attribute": 16385
},
{
"attribute": 16386
},
{
"attribute": 65533
}
],
"cluster": 6
},
{
"attributes": [
{
"attribute": 0,
"data": 254,
"name": "current_level",
"type": "int",
"value": 100
},
{
"attribute": 1
},
{
"attribute": 15
},
{
"attribute": 16
},
{
"attribute": 17
},
{
"attribute": 18
},
{
"attribute": 19
},
{
"attribute": 20
},
{
"attribute": 65533
}
],
"cluster": 8
},
{
"attributes": [
{
"attribute": 0,
"data": 0,
"name": "current_hue",
"type": "int",
"value": 0
},
{
"attribute": 1,
"data": 254,
"name": "current_saturation",
"type": "int",
"value": 100
},
{
"attribute": 2,
"name": "remaining_time",
"value": null
},
{
"attribute": 3,
"data": 24939,
"name": "current_x",
"type": "int",
"value": 0.3805389404296875
},
{
"attribute": 4,
"data": 24701,
"name": "current_y",
"type": "int",
"value": 0.3769073486328125
},
{
"attribute": 7,
"data": 370,
"name": "colour_temperature",
"type": "int",
"value": 370
},
{
"attribute": 8,
"name": "colour_mode",
"value": null
},
{
"attribute": 15
},
{
"attribute": 16,
"name": "nb_primaries",
"value": null
},
{
"attribute": 17,
"name": "primary_1_x",
"value": null
},
{
"attribute": 18,
"name": "primary_1_y",
"value": null
},
{
"attribute": 19,
"name": "primary_1_intensity",
"value": null
},
{
"attribute": 21,
"name": "primary_2_x",
"value": null
},
{
"attribute": 22,
"name": "primary_2_y",
"value": null
},
{
"attribute": 23,
"name": "primary_2_intensity",
"value": null
},
{
"attribute": 25,
"name": "primary_3_x",
"value": null
},
{
"attribute": 26
},
{
"attribute": 27
},
{
"attribute": 16384
},
{
"attribute": 16385
},
{
"attribute": 16386
},
{
"attribute": 16387
},
{
"attribute": 16388
},
{
"attribute": 16389
},
{
"attribute": 16390
},
{
"attribute": 16394,
"name": "capabilities",
"value": null
}
],
"cluster": 768
},
{
"attributes": [
{
"attribute": 283
},
{
"attribute": 284
},
{
"attribute": 285
},
{
"attribute": 65533
}
],
"cluster": 2821
}
],
"device": 269,
"endpoint": 1,
"in_clusters": [
0,
3,
4,
5,
6,
8,
768,
2821,
4096,
64527
],
"out_clusters": [
25
],
"profile": 260
},
{
"clusters": [],
"device": 97,
"endpoint": 242,
"in_clusters": [],
"out_clusters": [
33
],
"profile": 41440
}
],
"generictype": "",
"info": {
"addr": "fb35",
"id": 56,
"ieee": "f0d1b80000128b64",
"last_seen": "2019-07-29 21:58:44",
"lqi": 69,
"mac_capability": "10001110",
"power_type": 1
}
},
What has to be done for HA to recognize it is a light?
Thanks a lot :)
doudz commented
Support has been added !
Thanks for feedbak
Xavier-M commented
Thanks, works perfectly.