When I use Webhooks and “alarm_alert_dismiss” to trigger IFTTT to turn on my Sonos radio when I dismiss an alarm it should turn on the alarm immediately but the Ifttt recipe is not running until hours later. It triggered at 3am this morning while I was sleeping! Are there problems with Webhooks either with Sleep as Android or Webhooks & Ifttt?
Hi, we’ve found the cause of the delays and why we haven’t been able to reproduce it (until now).
This issue occurs if you are using an old IFTTT key. IFTTT website will change your API key whenever you click on the Edit button on this page: https://ifttt.com/maker_webhooks/settings, but it does so pretty quietly so you may not even notice that.
If the key is changed, your old key (which is stored in Sleep as Android) will still work, IFTTT servers will respond to a request using the old key in the same way as with using the current key - but a significant delay will be now introduced between sending the request and performing the action.
So please, if you face this issue:
Go to Sleep as Android > Settings > Services
Toggle IFTTT off and on again (this will take you to the IFTTT settings screen)
a. Either fill in your new key manually, or
b. Login to IFTTT from there and then tap the RETRIEVE button.