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

Ability to power off the printer via a Tplink smart plug

Scheduled Pinned Locked Moved
Duet Web Control wishlist
3
3
440
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
    E1ixir
    last edited by E1ixir 6 May 2019, 21:44 5 Jun 2019, 21:38

    Would it be possible to implement the possibility for DWC to send M80/M81 commands to a TP-LINK SMART PLUG, powering the printer on or off?
    Octoprint has a plugin to do that, and it is really very useful! (I.E we can use a simple M81 command to power the printer off automatically at the end of the print, with no need of an ATX PSU!) I spoke to DC42 about this, and he says he thinks it would be possible, but it would require some code to be added to DWC to control the Smart Switch. He found some Python code at https://github.com/softScheck/tplink-smartplug that could be translated into Javascript for use in DWC.

    Thank you very much for your attention.

    1 Reply Last reply Reply Quote 0
    • undefined
      Veti
      last edited by 6 Jun 2019, 05:20

      please dont open multible threads about the same topic.
      https://forum.duet3d.com/topic/10758/powering-on-using-tp-link-smart-plug

      undefined 1 Reply Last reply 6 Jun 2019, 05:47 Reply Quote 0
      • undefined
        deckingman @Veti
        last edited by 6 Jun 2019, 05:47

        @veti In fairness to the OP, he asked his original question in a different section of these forums and was told that this is more a DWC thing. So he's started another thread in the DWC wish list section. I think that's a reasonable thing to do in this instance.

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

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