homebridge-http-switch icon indicating copy to clipboard operation
homebridge-http-switch copied to clipboard

Multiple On or Off Urls - define method

Open christianmeier opened this issue 3 years ago • 1 comments

define method inside a Multiswitch does not work - may I do it wrong. If not it would be useful.

  {
        "accessory": "HTTP-SWITCH",
        "name": "ZAP-REBOOT",
        "switchType": "stateless",
        "method": "POST",
        "onUrl": [
            "http://zapp-17170017.fred/zrap/sys/?cmd=reboot",
            "http://zapp-17170009.fred/zrap/sys/?cmd=reboot"
        ]
    },

christianmeier avatar Jan 20 '21 17:01 christianmeier

Could you clarify what "does not work" means. Please share any log output, such that I can investigate the issue better.

Supereg avatar Mar 27 '21 19:03 Supereg