lukasroegner / homebridge-philips-hue-sync-box

Homebridge plugin for the Philips Hue Sync Box.
MIT License
55 stars 12 forks source link

How to trigger api via homebridge #7

Closed rakoxfr closed 4 years ago

rakoxfr commented 4 years ago

Hi, I can use the api with postman but how can we send post url with json body via homebridge ?

Thanks

lukasroegner commented 4 years ago

Hi @rakoxfr, I've added an API to the plugin to further control the Sync Box via Siri Shortcuts or HomeKit shortcut automations. You can use the "Get contents from URL" or "SSH command" (with cURL or wget) actions in Siri Shortcuts or HomeKit automations with shortcuts to change the state of the Sync Box.