• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

IFTTT

Scheduled Pinned Locked Moved
General Discussion
4
7
476
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    gbiski
    last edited by 24 Apr 2020, 15:06

    Is anyway Duet to notify IFTTT or sent an email in every change of print status ?

    1 Reply Last reply Reply Quote 0
    • ?
      A Former User
      last edited by 24 Apr 2020, 15:24

      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.

      undefined ? 2 Replies Last reply 26 Apr 2020, 12:25 Reply Quote 0
      • undefined
        Grudairian @A Former User
        last edited by 26 Apr 2020, 12:25

        @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.

        https://youtu.be/fb3hrjEiE3s

        1 Reply Last reply Reply Quote 0
        • undefined
          Danal
          last edited by 26 Apr 2020, 14:21

          https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins

          Delta / Kossel printer fanatic

          undefined 1 Reply Last reply 27 Apr 2020, 06:16 Reply Quote 0
          • undefined
            Grudairian @Danal
            last edited by 27 Apr 2020, 06:16

            @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.

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @A Former User
              last edited by 27 Apr 2020, 06:45

              @bearer said in IFTTT:

              have g-code in start/stop files to create messages (serial or telnet)

              M118 and M586 ref wiki

              1 Reply Last reply Reply Quote 0
              • undefined
                Danal
                last edited by 27 Apr 2020, 13:27

                @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.

                Delta / Kossel printer fanatic

                1 Reply Last reply Reply Quote 0
                6 out of 7
                • First post
                  6/7
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA