I am having trouble getting my dual white downlights to turn on with full brightness.
RGBW lights work without any issues.
From the debug log when the “ON” command is issued it sends a ‘38:00:55’ (Zone 1 On) which is correct, however the lights are very dim (about 30% brightness).
I can use the dimmer function to manually increase the brightness, however how do you send a “B8 00 55” (Zone 1 Full) after the light is turned on ?
There are two ways to do so:
Create a virtual Switch Item for On/Off as a trigger in a rule. In your rule use the ON trigger to send 100 (dimming percentage) to your bulb.
Other way would be to create a switch with mappings (ON=100 / OFF=0)
I’ve tried to implement this as well, but I’m getting an error -
Cannot determine item type of ‘officeVirtualLightON’ org.openhab.core.items.ItemNotFoundException: Item ‘officeVirtualLightON’ could not be found in the item registry7
Items (I’m not sure what is the function of the first labels in the definitions “Brightness” etc, I have tried with and without these) -
I have tried with and without the binding for the virtual switch, it didnt make sense to have it, but the previous poster said that was part of his solution so I tried it.
reading the post again, you don’t need any virtual item.
you can simply reuse the rule posted earlier and just uses your item names.
This would captuere any ON commands to a bulb, switches it on and send a 100% to the dimmer item.
Also, I’m not really clear on what the brightness command does for white bulbs. The wiki says “it controls the brightness” but doesn’t say how. Would you mind explaining further please?
Very simple, it is the brightness channel of the bulbs.
If this channel receives an ON command, it sends on ton the bulb. According to the API, this will set the bulb to its last brightness. An OFF command swiches off.
Sennding a percent value through a dimmer item or a rule to the brightness channel will dim the bulb to this value.
Your sitemap posted in your second last post is missing your dimmer item, therefore you have no brightness controll.
To have a simple swith setting the bulb to 100 percent, you could try a switch with mappings. Examples on how to achieve this can be found in the wiki.
I’ve tried the mappings as well, but to no avail, just a simple on/off mapping
Ok, so to set the brightness level the only way is to use sendCommand in a rule, is that right?
I’m clearly going around in circles here…Would you mind posting the most simple sitemap, item, rule (if required) to set the brightness? I can start with that and see if it works
No change with the update, however I dont think my rule is being executed. I put an info log in the rule and I don’t see it in the log output
rule -
rule "Office Light On"
when
item officeMilight received command ON
then
sendCommand(officeMilightBright,100)
logInfo(“Lights”,“Executed ON with brightness”)
end
I also tried adding the mappings back to sitemap with no change -