Problems with Sengled RGB control via code (RM/Webcore)

I am having issues controlling Sengled RGBW (Element Color Plus) bulbs via Rule Machine and/or WebCore. I've tried with both the Sengled Driver and the Generic Zigbee RGBW driver. I cannot consistently change the color. They respond manually from a dashboard tile just not programmatically. Anyone have any thoughts on why or what may work? Looking at logs sometimes the command doesn't get sent and sometimes it gets ignored. For exaample if I say set hue 10 I'll see in the log Hue set to 33. Or set color "Red" then log will say "color set to Sodium". Just strange things like that. I've tried via color presets, hue, and hsl.

The dashboard tile uses the same commands that are on the driver detail page.
We probably need a little more info on the command sequences being executed in your rule to help...

Here's a simple piston I just wrote to turn 4 bulbs red. you can see the piston requested the red and 3 out of 4 are red and one is still blue after execution. This is just a small sample of the inconsistencies I am seeing. And once in a while I'll get a bulb that I just cant control even from a dashboard tile. Or I'll set the color with the tile and it will change but then when I exit the tile it reverts to white. This has been really driving me crazy. Even simple things like turn off. I had to write a routine that loops 5 times turning things off to get a consistent "off" on all of them.

stuff

I ran it again after enabling debug logging see below. Still the same result this one bulb won't change. Also setting the level to 50 for some reason.

I am hoping I am just doing something wrong.

Do they work any better if you add them to a group and enable zigbee group messaging?

I find when I try to change the brightness and color of Sengled RGB bulbs, via a Rule, it is wonky. For it to to work correctly, I have to turn the bulb off first.

When a color change and level change is sent to a bulb that is already on, it is as if the commands are not always received correctly. Sometimes the color change works, but not the level. Sometimes the level changes, but not the color.

I have tried enabling, and disabling, color and level prestaging. Iโ€™ve tried every combination possible of prestaging (on and off), but the color and level does not change consistently if the bulb is all already on. If I turn the bulb off first, and then set color and level it usually works.

Iโ€™m sure itโ€™s not strength of my mesh. I suspect the problem is with either the Hubitat driver and/or the Sengled firmware.

I'm not sure. I don't control them as a group, I control them individually. In fact I attempted to setup a group and assign a switch and couldn't that to work either. Is there any merit to just assigning them to a group and turning on zigbee group messaging even if you're not really using the group functionality?

This is pretty much what I am seeing. It's very irritating because what I'm trying to do seems simple. The functionality is even less consistent if you try to send a command to multiple bulbs at once. E.g. "with bulb-1, bulb-2, bulb-3"

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.