IFTTT
-
Is anyway Duet to notify IFTTT or sent an email in every change of print status ?
-
Not directly no; you'll have to ask the Duet, or have g-code in start/stop files to create messages (serial or telnet) or pin changes that you can react to.
-
@bearer is there any chance you could tell me more about how one might set this up? I have some wifi connected led's that I currently control with my google home assistant (I really enjoy being able to adjust colour and brightness with voice commands). I would really like to set up IFTTT triggers to change their colour based on gcode, so as to have visible status indicators (I also think IFTTT triggers would enable fancier effects, such as pulsing colour that would be challenging to achieve with the pinout system). I am happy to add gcode to my start, and stop or pause commands.
I recently saw a Thomas Sanladerer video where he talks about setting up leds based on pinouts, and my hope is to find a way to achieve a similiar status effect with IFTTT triggered events.
-
-
@Danal Hi Danal, thanks for the pointer to the servo and pin control page, but I am specifically trying to trigger an IFTTT trigger without having anything wired directly to the duet. I glanced through the servo page you linked, but I didn't see anything that seemed directly related to the process of setting up an IFTTT trigger from the duet. I apologize if i missed something.
Just a thought, would it be possible to setup the pinouts to fire on an event(print start, etc) and have something like a raspberry pi listen for a pin event? Then when the raspberry pi receives the pin out signal it could trigger an IFTTT event? I would prefer not to have to use a second board to make this work, but I am open to ideas.
-
@bearer said in IFTTT:
have g-code in start/stop files to create messages (serial or telnet)
M118 and M586 ref wiki
-
@Grudairian said in IFTTT:
Just a thought, would it be possible to setup the pinouts to fire on an event(print start, etc) and have something like a raspberry pi listen for a pin event? Then when the raspberry pi receives the pin out signal it could trigger an IFTTT event? I would prefer not to have to use a second board to make this work, but I am open to ideas.
Yes, that was the idea. RPi or ESP32 if you want cheaper. ESP32s are now about $4 or $5, even when bought through Amazon, purchased in small (four or five) batches. . If you need help scripting the ESP32, I'd be glad to help.