Closed xBilyz3 closed 1 year ago
Try this: curl -s -X PUT ‘{“wallSwitch: true“}’ http://127.0.0.1:46237/gateways/00212EFFFF06A0F1/accessories/7CB03EAA00AF52C0/settings
also does not work :(
curl -s -X PUT ‘{“wallSwitch“: true}’ http://127.0.0.1:46237/gateways/00212EFFFF06A0F1/accessories/7CB03EAA00AF52C0/settings
See the WIki
See the WIki
the description in the wiki leads to the error: curl: option --json: is unknown
RTFM https://github.com/ebaauw/homebridge-deconz/wiki/Dynamic-Configuration#example-3
thank you have read over it. works now
curl -s -X PUT --json ‘{“wallSwitch: true“}’ http://127.0.0.1:46237/gateways/00212EFFFF06A0F1/accessories/7CB03EAA00AF52C0/settings curl: option --json: is unknown curl: try 'curl --help' or 'curl --manual' for more information
Originally posted by @xBilyz3 in https://github.com/ebaauw/homebridge-deconz/issues/91#issuecomment-1493274540