Shelly Pro RGB and MQTT

Hi guys,
I was able to readout a Shelly Pro RGB (not the Shelly RGBW2) via MQTT to Node Red, but I´m not able to control it.
color picker outputs a string or an object, but I´d need an array. I´m also not sure if it would be enough to send RGB(W) data, or if I need to send brightness as well.

Here´s what I have so far:
flows.json (15.6 KB)

Anyone knows how to handle that?
Regards and many thanks in advance

Isn't the pro controlled the same way as the standard RGB device?

If so, I send the following MQTT message to shellies/shelly_rgbw2_01/color/0/set with the content set to:

{
    "red": payload.r, 
    "green": payload.g, 
    "blue": payload.b
}

That happens to be JSONata in a change node and the payloads come from a web input.

Hi,
the plus needs different communication, like the gen3 units. They provide much more data, like internal temp, voltage and so on.
Regards

You should be able to enable mqtt control in the devices http/lan interface, which allows the legacy control over mqtt. you should find it in the mqtt settings page. Then @TotallyInformation suggestion should work.

1 Like