The body of a Shelly Gen3 Switch.Set call as JSON-RPC text, ready to be signed and posted to /rpc:
{"id":1,"src":"station","method":"Switch.Set","params":{"id":0,"on":true,"toggle_after":3}}. toggleAfter is the
flip-back timer in seconds: a relay switched on with it falls back to off by itself.
The body of a Shelly Gen3
Switch.Setcall as JSON-RPC text, ready to be signed and posted to/rpc:{"id":1,"src":"station","method":"Switch.Set","params":{"id":0,"on":true,"toggle_after":3}}.toggleAfteris the flip-back timer in seconds: a relay switched on with it falls back to off by itself.