Shelly Plus RGBW PM
Shelly Plus RGBW PM is a device that supports three distinct profiles: light
, rgb
and rgbw
.
In light
profile there are 4 independent outputs which control brightness of attached LED loads. 4 inputs are logically connected to outputs and can turn the output on/off or change its brightness.
In rgb
profile there are 3 outputs which control red, green and blue color of LED load. There is one input which can turn on/off and change brightness of all 3 outputs.
In rgbw
profile there are 4 outputs which control red, green, blue and white of LED load. There is one input which can turn on/off and change brightness of all 4 outputs.
The following components are available in Shelly RGBW PM:
- System
- WiFi
- Bluetooth Low Energy
- Cloud
- MQTT
- Outbound Websocket
- 4 instances of Input (
input:0
,input:1
,input:2
,input:3
) - 4 instances of Light (
light:0
,light:1
,light:2
,light:3
) inlight
profile - RGB (
rgb:0
) inrgb
profile - RGBW (
rgbw:0
) inrgbw
profile - Up to 10 instances of Script
- PlusRGBWPM
PlusRGBWPM
The PlusRGBWPM component handles the settings of a PlusRGBWPM device.
Methods
PlusRGBWPM.SetConfig
Properties:
Property | Type | Description |
---|---|---|
| object | Configuration that the method takes |
Find more about the config properties in config section
PlusRGBWPM.GetConfig
Find the PlusRGBWPM.GetConfig response properties in config section
PlusRGBWPM.GetStatus
Find more about the status response properties in status section
Configuration
The configuration of the PlusRGBWPM component allows you to set high frequency mode of PWM outputs.
Property | Type | Description |
---|---|---|
| boolean | Enable or disable high frequency mode of PWM outputs |
Status
The PlusRGBWPM component does not own any status properties.
Examples
PlusRGBWPM.GetStatus example
- PlusRGBWPM.GetStatus HTTP GET Request
- PlusRGBWPM.GetStatus Curl Request
- PlusRGBWPM.GetStatus Mos Request
http://192.168.33.1/rpc/PlusRGBWPM.GetStatus
curl -X POST -d '{"id":1,"method":"PlusRGBWPM.GetStatus"}' http://${SHELLY}/rpc
mos --port ${PORT} call PlusRGBWPM.GetStatus
Response
- PlusRGBWPM.GetStatus HTTP GET Response
- PlusRGBWPM.GetStatus Curl Response
- PlusRGBWPM.GetStatus Mos Response
{}
{
"id": 1,
"params": {}
}
{}
PlusRGBWPM.GetConfig example
- PlusRGBWPM.GetConfig HTTP GET Request
- PlusRGBWPM.GetConfig Curl Request
- PlusRGBWPM.GetConfig Mos Request
http://192.168.33.1/rpc/PlusRGBWPM.GetConfig
curl -X POST -d '{"id":1,"method":"PlusRGBWPM.GetConfig"}' http://${SHELLY}/rpc
mos --port ${PORT} call PlusRGBWPM.GetConfig
Response
- PlusRGBWPM.GetConfig HTTP GET Response
- PlusRGBWPM.GetConfig Curl Response
- PlusRGBWPM.GetConfig Mos Response
{
"hf_mode": false
}
{
"id": 1,
"params": {
"hf_mode": false
}
}
{
"hf_mode": false
}
PlusRGBWPM.SetConfig example
- PlusRGBWPM.SetConfig HTTP GET Request
- PlusRGBWPM.SetConfig Curl Request
- PlusRGBWPM.SetConfig Mos Request
http://192.168.33.1/rpc/PlusRGBWPM.SetConfig?config={"hf_mode":false}
curl -X POST -d '{"id":1,"method":"PlusRGBWPM.SetConfig","params":{"config":{"hf_mode":false}}}' http://${SHELLY}/rpc
mos --port ${PORT} call PlusRGBWPM.SetConfig '{"config":{"hf_mode":false}}'
Response
- PlusRGBWPM.SetConfig HTTP GET Response
- PlusRGBWPM.SetConfig Curl Response
- PlusRGBWPM.SetConfig Mos Response
{
"restart_required": false
}
{
"id": 1,
"params": {
"restart_required": false
}
}
{
"restart_required": false
}