Automated power socket

  • Hello,

    I would like to create an automated power switch which can be controlled via an HTTP interface from a linux shell. From the documentation I believe I might be able to use the following curl command to turn the switch on (and similar for off)

    curl -X POST -d '{"id":1,"method":"Switch.Set","params":{"id":0,"on":true}}' http://%24%7bshelly%7d/rpc

    Would a Shelly 1 Mini Gen3 be suitable for this project?

    The wiring diagrams seem skewed towards automating lighting loads but how would this apply to a pass through type scenario where essentially I would be enabling/disabling power to a socket? To put it another way can I configure the Shelly to just switch the live?

    pasted-from-clipboard.png