MSR's "rgb_color.set" isn't correctly sending RGB values to bulb in Home Assistant
-
Hey crew, I'm trying to use MSR to control the RGB values of a Z-Wave bulb in Home Assistant.
Problem I'm running into - I would like to use 'rgb_color.set' to control this, but it doesn't work, instead it always passes the values '255,255,255' to HA no matter what values I enter within MSR.
More notes and examples below - I'm wondering if this is a formatting issue that I'm missing? Thanks for any help!
NOTES FROM TROUBLESHOOTING:
- 'rgb_color.set_rgb' works successfully, which seems strange. You'd think they would both be affected
- I've tried a couple different formats, like adding quotes, adding/removing spaces between the RGB values, nothing has fixed it.
EXAMPLES:
When I use 'rgb_color.set_rgb', the values successfully carry over to Home Assistant:
But when I use 'rgb_color.set', the values DO NOT successfully carry over to Home Assistant:
DETAILS:
- Bulb is LZW42 by Inovelli
- MSR version: stable-23242-5ee8e1d4
HA DETAILS
- Core 2024.2.5
- Supervisor 2024.02.1
- Operating System 12.0
-
Good call
From MSR's reactor.log file:
[stable-23242]2024-03-10T21:17:49.485Z <HassController:INFO> HassController#hass action rgb_color.set([Object]{ "value": "75,0,255" }) on Light#hass>light_garage_light_l succeeded
I need to grab logs from HA as well
Also - I noticed that when I save the rule in MSR, it doesn't save everything. Instead of saving as '75, 0, 255' it just saves as '75'.
-
Good call
From MSR's reactor.log file:
[stable-23242]2024-03-10T21:17:49.485Z <HassController:INFO> HassController#hass action rgb_color.set([Object]{ "value": "75,0,255" }) on Light#hass>light_garage_light_l succeeded
I need to grab logs from HA as well
Also - I noticed that when I save the rule in MSR, it doesn't save everything. Instead of saving as '75, 0, 255' it just saves as '75'.
@apocalypsehobby please read the posting guidelines, a pinned post in this category. There are some specific requests for log files and snippets.
Also
rgbcolor.set
takes a hex color code or decimal equivalent. It's probably not what you want to be using.set_rgb
is more common. -
T toggledbits locked this topic on