IFTTT integration - ilcato/homebridge-Fibaro-HC2 GitHub Wiki
The plugin is now able to speak with the IFTTT Maker Channel aka Webhooks.
In order to allow it:
- specify your IFTTT makerkey in the "IFTTTmakerkey" config.json parameter.
- enable the notification of the different events by setting the "enableIFTTTnotification" parameter: "all" for all kind of events, "hc" for change events coming from Home Center, "hk" for change events coming from HomeKit, "none" for disabling notification; default is "none".
- configure the WebHook event in IFTTT. The Event name in the hook will be:
- hb_fhc2_lock_error: for signalling a failure in setting a target lock state
- hb_fhc2_value_get: for signalling a change in a characteristic value coming from Home Center
- hb_fhc2_value_set: for signalling a change in a characteristic value coming from HomeKit
- use the WebHook values in IFTTT. The values are:
- value1: the Home Center device ID. Always present.
- value2: for hb_fhc2_value_get the Characteristic Display Name with spaces replaced by "_" (e.g.: "Motion Detected" -> "Motion _Detected"). For hb_fhc2_value_set the action name (e.g.: "TurnOn").
- value3: the value of the Characteristic or the Action. Present for hb_fhc2_value_get and hb_fhc2_value_set.