-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: support power-on defaults for OSRAM lights #102
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please keep this on the list. It will be very relevant this fall, with the expected new firmware for the Hue bulbs finally allowing a power-on setting. |
I think Ikea also might support this |
Source? |
Level control cluster attributes suggest that when I recall correctly, but I haven't tested if it works. |
There's two different issues (I had them confused as well):
|
Thanks for clarification indeed I thought the first was directly related to the second. I'm not 100% sure but I think for the power-on behavior the ZCL Ballast Control cluster provides some useful attributes but it isn't used by OSRAM, hopefully Philips will go the standard route here. |
I'm confident they will, the issue is more: which standard? ;-) |
Side note: the new hue developer docs describe the https://developers.meethue.com/develop/hue-api/supported-devices/ |
Interesting. They don't mention it on the Lights API page. It is mentioned in the changelog. Last weekend, I updated my Hue bridge to the latest firmware (API version 1.28.0), and paired a Hue LCT003 extended color spot (to see if the firmware for the light would already be available - not). It didn't show a config.startup (my sorting): {
"capabilities": {
"certified": true,
"control": {
"colorgamut": [
[
0.675,
0.322
],
[
0.409,
0.518
],
[
0.167,
0.04
]
],
"colorgamuttype": "B",
"ct": {
"max": 500,
"min": 153
},
"maxlumen": 250,
"mindimlevel": 5000
},
"streaming": {
"proxy": true,
"renderer": true
}
},
"config": {
"archetype": "spotbulb",
"direction": "downwards",
"function": "mixed"
},
"manufacturername": "Philips",
"modelid": "LCT003",
"name": "Hue color spot 1",
"productname": "Hue color spot",
"state": {
"alert": "none",
"bri": 254,
"colormode": "ct",
"ct": 366,
"effect": "none",
"hue": 14988,
"mode": "homeautomation",
"on": true,
"reachable": true,
"sat": 141,
"xy": [
0.4575,
0.4101
]
},
"swupdate": {
"lastinstall": null,
"state": "noupdates"
},
"swversion": "5.105.0.21536",
"type": "Extended color light",
"uniqueid": "00:17:88:01:10:3c:9d:0a-0b"
} |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
i would like reopen this request because power-on defaults for osram lights actually already not implemented |
The Luckily, the bulb seems happy with a standard (non-manufacturer-specific) 0x01 command to the manufacturer-specific 0xfc0f cluster. Note the mismatch between the manufacturer code in the node descriptor (0xbbaa) vs that in the sniffed command (0x110c). |
@ebaauw PS: I came here after your kind hint over at discord:
|
In deconz, I see for one of my "OSRAM Extended color lights" in the "Node Info" tab a section "Power Descriptor": I can overwrite e.g. the 100% with 90% but the value gets reverted to 100% shortly after, so this did not work. And how about the light temperature? I do not see anything there (despite the light is a "tunable white" bulb). And I have not understood what is meant by "proprietary command on the 0xFC0F cluster to store the current state as power-on state". Once more, thanks for your help! :) |
Set the current state however you want: in Phoscons, in deCONZ, through your favourite API client. Then in the GUI open the Cluster Info panel and select the FC0F cluster on the OSRAM bulb, and press the button to execute the Store Power-On Defaults command. Wait a minute or so before testing it; it takes the light some time to write the non-volatile memory. |
@ebaauw |
Because it isn't exposed by the REST API. Neither is the (more or less?) standard setting. Typically you do these settings only once, after pairing the light, so very low priority for API support. I have no compassion for the |
Thanks for the explanation. I use deconz with its GUI, and I agree with you that these settings are rather not done multiple times. |
Sorry, I wasn’t referring to you, as, obviously, you are indeed running the GUI. It’s intended as a pre-emptive strike at the next request to enable this through the API and/or Phoscon, because they don’t run the GUI. |
@ebaauw Hi Erik, I hope my message finds you well! About 2 years later, I have a problem with one of my Osram lights not correctly turning on after power-off. So I went back here to remind myself about the necessary steps to check/change via deconz. However, due to some updates in the meantime (I guess), the settings seems to be different/in another place. Can you please confirm that now I find them (still) on the "Cluster Info" but under the term "On with recall global scene"? Or where should I execute the command so that the light comes on 100% after power-off/on? Thanks for kindly reminding me, and my sincere gratitude to you and your developer colleagues! ❤️ PS/EDIT: Ah, it seems that it's still under "Osram specific", i.e. I just have to click the "exec" button. :) |
That could only happen is OSRAM changed that in the light firmware, which seems highly unlikely, as they exited this business. OSRAM doesn't support any attributes for setting the power-on state. You need to set the desired state on the light, and then issue the Store Power-On Defaults command on the 0xFC0F cluster. |
Is it still under "OSRAM specific", i.e. do I simply have to click the "exec" button? Like shown there: #2725 (comment) |
Could we support setting the power-on defaults of an OSRAM light from the deCONZ REST API? I'd imagine a syntax like PUT /lights/xx/config/poweron with a body of
{"bri":xxx, "ct":xxx}
.Sniffing around the OSRAM gateway, it looks like it issues a 0x01 command to the 0xFC0F cluster to store the power-on defaults (packet 691). Before that, it issues an On command to the 0x0006 cluster (packet 683), and a 0x0A command to 0x0300, with the current colour temperature as data (packet 687). The same sequence in 311, 315, 317.
Attached the BitCatcher log file:
osram.dcf.gz
You probably need the network key as well: CB:2D:00:A0:72:EA:FF:63:03:5E:D5:95:41:36:83:24.
Note that BitCatcher starts counting packets at 0, but WireShark at 1, so add 1 when viewing with WireShark.
The text was updated successfully, but these errors were encountered: