Use Webhooks as action to trigger Hue API

Hi guys,

Alright, this is the situation: I created an automation for automated light adjustment. Based on motion detection trough my sensors, I use the IFTTT integration in order to set a certain light scene. While this in general does the job, the time delay between motion detection and light setting is too great to be useful. Therefore I´d like to create an automation that uses a Webhook to trigger the Philips Hue API directly.

Even if I googled the hell out of by browser, I coulnd´t find any description of how to INITIATE Webhooks from Hassio as actions from within automations :roll_eyes: Anybody has a clue?

Philips hue doesn’t have anything other than web requests today

Not quite sure what exactly do you mean by “web requests” but in fact they offer a RESTful API which can be addressed like a web service (https://developers.meethue.com/develop/hue-api/).

For this I use Webhooks within my first smart home system (Homee) which works pretty well. I just wonder if HASSIO offers a similar functionality.

If you’re talking about ifttt stuff regarding webhooks is not the same as hue supporting webhooks.

Ok, let me rephrase it again to make it more clear (hopefully): How can I address the hue interface directly from Home Assistant WITHOUT making use of the ifttt service (ifttt.trigger)?

Are the motion sensors also from hue?

No, its a Fibaro motion sensor (Z-Wave)

So what you want is an ordinary automaton

Exactly! An automation with an action to call the hue API (using a webhook).

Webhooks aren’t involved. If you have paired hue hub with hass you just configure your zwave trigger and your light you want to configure in an automation. There are examples for that