homebridge-http-switch
homebridge-http-switch copied to clipboard
Multiple On or Off Urls - define method
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"
]
},
Could you clarify what "does not work"
means. Please share any log output, such that I can investigate the issue better.