Shelly Pro 4 PM
Shelly Pro 4 PM is a four-channel device with a wide range of functionalities. Each channel may be controlled individually and supports the use of automatic timers, webhooks, and schedules. The device has four built-in power meters to instantaneously measure the power and energy consumed by each channel.
The following components are available in Shelly Pro 4 PM:
- System
- WiFi
- Ethernet
- Bluetooth Low Energy
- Cloud
- MQTT
- Outbound Websocket
- 4 instances of Input (
input:0
,input:1
,input:2
,input:3
) - 4 instances of Switch (
switch:0
,switch:1
,switch:2
,switch:3
) - Up to 10 instances of Script
- UI
UI
Since version 0.9.0
The UI component handles the settings of a Pro4PM device's screen.
Status
The UI component does not own any status properties.
Example status object
{}
Configuration
The configuration of the UI component allows you to set the idle screen brightness.
Properties:
idle_brightness
: number, brightness of the screen when idle in percents. Range of values: [0
-100
]
Example configuration object
{
"idle_brightness": 30
}
UI.SetConfig example
- Ui.SetConfig Curl Request
- Ui.SetConfig Mos Request
curl -X POST -d '{"id":1, "method": "Ui.SetConfig", "params": {"config": { "idle_brightness":10}}}}' http://${SHELLY}/rpc
mos --port ${PORT} call Ui.SetConfig '{"config": {"idle_brightness":10}}'