Skip to main content
Version: 1.0

Shelly Pro RS485 Addon

The RS485 Addon attaches to compatible Shelly Pro devices, adding an RS485 bus connection.

When rs485 is set as device.addon_type in the System configuration, a Serial component instance becomes available for configuring the framing parameters and function of the serial link.

See the Serial component documentation for the full list of methods, configuration properties, and supported modes.

Examples

Serial.GetConfig

http://192.168.33.1/rpc/Serial.GetConfig?id=100

Response

{
"mode": "disabled",
"serial": {
"baud": 115200,
"format": "8N1"
},
"mb_server": {
"addr": 42
}
}

Serial.SetConfig

http://192.168.33.1/rpc/Serial.SetConfig?id=100&config={"serial":{"baud":9600,"format":"8E1"}}

Response

{
"restart_required": false
}