Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Pause and store print state on network signal (UPS)

    Duet Hardware and wiring
    4
    10
    787
    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.
    • Nemesis
      Nemesis last edited by Nemesis

      I have a UPS connected to synology NAS and the printer. The NAS monitors the NAS and sends a signal when on battery and 10% left of said battery (this is 10 minutes or so).

      Can I configure the duetwifi to listen to this signal and do a safe shutdown and store current print progress so I can resume printing when power is back up?

      I know the duet has such a system in place if it detects the power going down. However can I also trigger it on a network event?

      1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators last edited by

        Currently you can't trigger it directly on a network event, but you can trigger a pause/save on a change of state of a spare endstop input.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 1
        • Nemesis
          Nemesis last edited by

          Thnx. That might be usable. I have some arduinos and other things lying around!

          If I come up with a solution. I'll post it here so others may reuse it.

          PS would be a nice and fairly easy to implement feature. If I remember correctly duetwifi firmware is open source if I find the time I might do a pull and see if I can add it.

          1 Reply Last reply Reply Quote 0
          • resam
            resam last edited by

            If you have a Wifi/ethernet device (Arduino/ESP8266/ESP32) you can use a Telnet connection to send a gcode to pause the print.
            Maybe you can even run this on your NAS (some of them can run custom scripts or programs).

            1 Reply Last reply Reply Quote 1
            • Nemesis
              Nemesis last edited by Nemesis

              That's a great idea actually! I have a Synology, so creating something to do this wouldn't be a problem.

              Would a Pause command be sufficient to make a resume after power restore possible?

              Phaedrux 1 Reply Last reply Reply Quote 0
              • Phaedrux
                Phaedrux Moderator @Nemesis last edited by

                @nemesis said in Pause and store print state on network signal (UPS):

                Would a Pause command be sufficient to make a resume after power restore possible?

                Yes. A restore point is created any time a pause is triggered.

                Z-Bot CoreXY Build | Thingiverse Profile

                dc42 1 Reply Last reply Reply Quote 0
                • Nemesis
                  Nemesis last edited by

                  Thank you for the confirmation Phaedrux. I'll do some testing this week.

                  1 Reply Last reply Reply Quote 0
                  • dc42
                    dc42 administrators @Phaedrux last edited by

                    @phaedrux said in Pause and store print state on network signal (UPS):

                    @nemesis said in Pause and store print state on network signal (UPS):

                    Would a Pause command be sufficient to make a resume after power restore possible?

                    Yes. A restore point is created any time a pause is triggered.

                    Bear in mind that if you cancel the print while it is paused, the restore point will be deleted. So turn the printer off without cancelling the print.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    Phaedrux 1 Reply Last reply Reply Quote 0
                    • Phaedrux
                      Phaedrux Moderator @dc42 last edited by

                      @dc42 I didn't realize that. Good to know.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • Nemesis
                        Nemesis last edited by

                        @dc42 @Phaedrux as always thnx for the insights 🙂 I'll keep that in mind.

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