03-21-2022 10:13
03-21-2022 10:13
Attempting to set up an IFTTT applet that sends a notification email if I'm asleep longer than 11 hours. The applet keeps firing and failing with the error message "There was a problem with the trigger. "
I've tried deleting the applet, deleting my Fitbit connection in IFTTT, then recreating both. No change. Error keeps persisting.
03-22-2022 07:25
03-22-2022 07:25
Hi @Mellifluous
I'd like to try to reproduce the behavior that you're seeing. Would you please provide me with detailed steps of how you set up the IFTTT routine? Please provide the services and triggers that you selected in the "IF" and "THEN THAT" steps.
Thank you!
Gordon
03-22-2022 07:53
03-22-2022 07:53
Also, I did some testing and was having problems getting my IFTTT widget to work with sleep. After some investigation, it looks like my consent to IFTTT got stale. So, I re-authorized consent and it worked. Please try these steps
Now, recreate the IFTTT trigger and see if it works. If it doesn't, please provide the steps to create your trigger and requested above.
Gordon
03-22-2022 15:00
03-22-2022 15:00
Thanks Gordon, I've reset both connections and will see how it does.
The applet is very simple, the only services are Fitbit and Email. The Fitbit "Sleep duration above" trigger with "11" for the target hours, and the native Email "Send me an email" action with the subject "[Name] has been asleep for more than 11 hours" and the body "[Name] has now been asleep for more than 11 hours. Chances of unavailability for the rest of the day are high."
04-24-2022 17:30
04-24-2022 17:30
Hey @Gordon-C , sorry for coming back to this so late (had to have enough use cases to make sure what was going on). The trigger worked about twice, and then returned to being broken:
It's attempting to run every day, so it seems strange to me that the authentication would grow stale between one day and the next.
04-26-2022 10:11 - edited 04-26-2022 10:17
04-26-2022 10:11 - edited 04-26-2022 10:17
Hi @Mellifluous
That's strange because my connection for activity daily summary has been working since we last chatted. Although, it could be the applet. When the applet fails, are you sleeping more or less than 11 hours? I don't sleep longer than 11 hours so I'll try to reproduce the problem using a sleep duration that represents my sleep pattern.
Gordon
04-28-2022 22:38
04-28-2022 22:38
Hi @Gordon-C
It worked for the first day (when I slept 11+ hours), worked the second day (didn't trigger, but no error) when I slept less than 11 hours, then broke (threw an error) the third day (when I slept less than 11 hours) and remained broken past that point, regardless of whether I hit the threshold or not.
04-30-2022 13:39
04-30-2022 13:39
Hey again @Gordon-C , it just went back to firing again today! I'm going to go back through the other days where I hit the sleep limit and it didn't fire to see if there's a difference between today's record and the other ones. It might be that it isn't triggering if Fitbit thinks I'm awake/too restless during the sleep period?
05-13-2022 16:51
05-13-2022 16:51
@Gordon-CWent back through my sleep logs starting March 21 (when I most recently reconnected the applet) and got the following info on days where I passed the 11 hour limit:
Some of these times were within the same day while others crossed over the midnight mark to the next day. I can't seem to find any patterns in which ones go through vs which ones don't.
I also haven't received any errors or successful triggers since April 30 at this point.