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 -