Supereg / homebridge-http-switch

Powerful http switch for Homebridge: https://github.com/homebridge/homebridge
ISC License
218 stars 36 forks source link

Multiple On or Off Urls - define method #83

Closed christianmeier closed 1 year ago

christianmeier commented 3 years ago

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"
        ]
    },
Supereg commented 3 years ago

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