Closed mvondemhagen closed 1 week ago
So RGBW.Set only works in colour mode then?
I guess so, I don't have that device in RGB(W) mode, so can't test. Just have been spending a few hours to get white mode running, with a function as above it finally works.
However, it would make sense, since the device simulates four regular lights in that mode. Also, https://shelly-api-docs.shelly.cloud/gen2/Devices/Gen2/ShellyPlusRGBWPM (first paragraph) suggests that.
Just to make sure, this is the mode I'm talking about. Technically, it'd be possible to attach four different white LED strips to the device and control them via RGBW.Set in RGBW-mode, but then they wouldn't be id:{0..3} but the respective RGBW values. Not recommended.
Just in case somebody else tries to control a Shelly Plus RGBW PM via this in white mode:
The payload to control needs to look as follows:
Using the method "RGBW.Set" doesn't work here. id: {0..3} addresses the four channels.