Shelly Scripting - Misc
Shelly Scripting - Misc
This post captures a bunch of “miscellaneous” observations on the Shelly home automation devices.
Device Info
Rhe synchronous Shelly.getDeviceInfo()
method is documented as returning a DeviceInfo
object. The doc’s DeviceInfo
examples omit name
, but as of 1.4.4, it’s there:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
% curl "http://${SHELLY}/rpc/Shelly.GetDeviceInfo" | jq .
{
"name": "Main Switch",
"id": "shellypro4pm-08f908f908f9",
"mac": "08F908F908F9",
"slot": 1,
"model": "SPSW-104PE16EU",
"gen": 2,
"fw_id": "20241011-114451/1.4.4-g6d2a586",
"ver": "1.4.4",
"app": "Pro4PM",
"auth_en": false,
"auth_domain": null
}
This post is licensed under CC BY 4.0 by the author.