As I have already spent a lot of time working on the Shelly RPC via Zigbee implementation, and as it is partially working (despite of the HE decoding bug), I have published the new version on GitHub - same repository as in the first post :
- version 1.2.0 2025-08-21 kkossev - Shelly RPC cluster tests (Hubitat platform have a bug preventing the RPC cluster from working correctly)
- version 1.2.1 2025-08-22 kkossev - added wifiInfo; added runRpcStateMachine()
The interesting new experimental command is "Run Rpc State Machine" :
It expects a valid JSON object, containing a valid Shelly RPC command.
Some sample commands that you can experiment with :
Device Information
- Device Info
{"id":1,"method":"Shelly.GetDeviceInfo"}
- Device Status
{"id":2,"method":"Shelly.GetStatus"}
- Firmware Info
{"id":3,"method":"Shelly.GetDeviceFW"}
Energy & Power Monitoring
- Energy Meter Status
{"id":4,"method":"EM.GetStatus","params":{"id":0}}
(Voltage, current, active power, frequency, total energy)
- Reset Energy Counters
{"id":5,"method":"EM.ResetCounters","params":{"id":0}}
Switch Control
- Turn Relay ON
{"id":6,"method":"Switch.Set","params":{"id":0,"on":true}}
- Turn Relay OFF
{"id":7,"method":"Switch.Set","params":{"id":0,"on":false}}
- Toggle Relay
{"id":8,"method":"Switch.Toggle","params":{"id":0}}
Automation Features
- Set Auto-Off Timer (5 sec)
{"id":9,"method":"Switch.SetConfig","params":{"id":0,"auto_off":true,"auto_off_delay":5}}
- Clear Auto-Off
{"id":10,"method":"Switch.SetConfig","params":{"id":0,"auto_off":false}}
- Set Auto-On Timer (10 sec after OFF)
{"id":11,"method":"Switch.SetConfig","params":{"id":0,"auto_on":true,"auto_on_delay":10}}
Advanced / Debug
- Reboot the device
{"id":12,"method":"Shelly.Reboot"}
- Get current timezone & time
{"id":13,"method":"Sys.GetTime"}
- Ping (health-check)
{"id":14,"method":"Shelly.Ping"}
The bad news are that the most wanted functionality - detached relay mode is not working for now.
