Beiträge von Soundstorm

    It's a simple 1 plus.

    The light I'm using has a control board. You normally don't interact with it, but I managed to expose some pins and added some optocouplers. I can now control the brightness of the light with 2 outputs of a microcontroller.

    The Shelly can be connected to mains, has a switch input, a relay for the light itself and has io 0 and 19 available on the outside. So hardware seems perfect for this application.

    I was planning to write my own software. But if I can do it out of the box + script, it will make my life much easier. I would only need an mqtt topic connected to each io pin.

    Hi all

    I just got my Shelly Plus 1. Upgraded to FW 0.9.0.

    Now I'm trying to detach the switch input from the relay switch, but can't find how to do it.

    There are no options for setting this up in the web UI.

    If I try using RPC with:

    Code
    {
      "jsonrpc": "2.0",
      "id": 1,
      "src": "user_1",
      "method": "Switch.SetConfig",
      "params": {
        "id": 0,
        "in_mode": "detached",
      }
    }

    I get the following reply:

    Code
    {
      "id": 1,
      "src": "shellyplus1",
      "dst": "user_1",
      "error": {
        "code": -103,
        "message": "Missing or bad argument 'config'!"
      }
    }

    What am I doing wrong?