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

ExecOnMcode

Scheduled Pinned Locked Moved
Plugins for DWC and DSF
11
76
5.0k
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
    CrazyCreator @Falcounet
    last edited by 2 Dec 2022, 21:53

    @Falcounet
    Which version did you load, 32bit or 64bit?

    http://www.crazycreatorcube.com

    undefined 1 Reply Last reply 2 Dec 2022, 21:54 Reply Quote 0
    • undefined
      Falcounet @CrazyCreator
      last edited by 2 Dec 2022, 21:54

      @CrazyCreator 32bits comes to default so I took that one

      undefined 1 Reply Last reply 2 Dec 2022, 21:55 Reply Quote 0
      • undefined
        CrazyCreator @Falcounet
        last edited by 2 Dec 2022, 21:55

        @Falcounet
        what you think, should i try 64bit? make it a difference for the plugin? i think not?

        http://www.crazycreatorcube.com

        undefined 1 Reply Last reply 2 Dec 2022, 22:00 Reply Quote 0
        • undefined
          Falcounet @CrazyCreator
          last edited by 2 Dec 2022, 22:00

          @CrazyCreator I believe it will work the same but it is up to you. For the plugin itself, it won't make a difference.

          undefined 1 Reply Last reply 2 Dec 2022, 22:31 Reply Quote 0
          • undefined
            CrazyCreator @Falcounet
            last edited by 2 Dec 2022, 22:31

            @Falcounet
            After your step 3 i have to make

            sudo apt upgrade?

            http://www.crazycreatorcube.com

            undefined 1 Reply Last reply 2 Dec 2022, 22:33 Reply Quote 0
            • undefined
              Falcounet @CrazyCreator
              last edited by 2 Dec 2022, 22:33

              @CrazyCreator Actually I didn't added that but yes, upgrading system packages would be a good thing

              undefined 1 Reply Last reply 2 Dec 2022, 22:33 Reply Quote 0
              • undefined
                CrazyCreator @Falcounet
                last edited by 2 Dec 2022, 22:33

                @Falcounet
                install is running now ... i have to wait

                http://www.crazycreatorcube.com

                undefined 1 Reply Last reply 2 Dec 2022, 22:57 Reply Quote 0
                • undefined
                  CrazyCreator @CrazyCreator
                  last edited by CrazyCreator 12 Feb 2022, 23:12 2 Dec 2022, 22:57

                  @Falcounet
                  Yeahhhh ... First Step is complete

                  Bildschirm­foto 2022-12-02 um 23.55.13.png

                  Second Step 🙂

                  Now i need the synthax for sending this:

                  http://192.168.1.45/relay/0?turn=off and/or http://192.168.1.45/relay/0?turn=on

                  http://www.crazycreatorcube.com

                  undefined 1 Reply Last reply 4 Dec 2022, 00:27 Reply Quote 0
                  • undefined
                    CrazyCreator @CrazyCreator
                    last edited by 4 Dec 2022, 00:27

                    @Falcounet
                    You have a hint for me?

                    http://www.crazycreatorcube.com

                    undefined 1 Reply Last reply 4 Dec 2022, 00:28 Reply Quote 0
                    • undefined
                      Falcounet @CrazyCreator
                      last edited by 4 Dec 2022, 00:28

                      @CrazyCreator I think what you need is BtnCmd plugin but i'm not sure what you need exactly

                      undefined 1 Reply Last reply 4 Dec 2022, 00:31 Reply Quote 0
                      • undefined
                        CrazyCreator @Falcounet
                        last edited by CrazyCreator 12 Apr 2022, 00:32 4 Dec 2022, 00:31

                        @Falcounet
                        I would like to send an http command to my network when the printer has finished printing.
                        The command I wrote here turns off the smart socket and thus the printer.

                        I think is anything with curl or so ...

                        @BtnCmd: What is this and what can is do for me?

                        http://www.crazycreatorcube.com

                        undefined 1 Reply Last reply 5 Dec 2022, 10:11 Reply Quote 0
                        • undefined
                          Falcounet @CrazyCreator
                          last edited by 5 Dec 2022, 10:11

                          @CrazyCreator You can try adding a M1203 command doing curl http://192.168.1.45/relay/0?turn=off and then adding M1203 to your end-gcode.

                          undefined 1 Reply Last reply 5 Dec 2022, 21:51 Reply Quote 0
                          • undefined
                            CrazyCreator @Falcounet
                            last edited by 5 Dec 2022, 21:51

                            @Falcounet said in ExecOnMcode v0.1:

                            curl http://192.168.1.45/relay/0?turn=off

                            Bildschirm­foto 2022-12-05 um 22.51.18.png

                            http://www.crazycreatorcube.com

                            undefined 1 Reply Last reply 5 Dec 2022, 21:53 Reply Quote 0
                            • undefined
                              Falcounet @CrazyCreator
                              last edited by Falcounet 12 May 2022, 21:55 5 Dec 2022, 21:53

                              @CrazyCreator The error comes from the relay you are trying to drive. I would suggest you to open a thread for your issue as it is not directly related to this plugin. Thanks
                              To add a bit more details, I think you have either to be identified or to allow an IP address from your network to send this command.

                              undefined 1 Reply Last reply 5 Dec 2022, 21:56 Reply Quote 0
                              • undefined
                                CrazyCreator @Falcounet
                                last edited by 5 Dec 2022, 21:56

                                @Falcounet
                                maybe the switch need a password or so ... but in the old execonmcode script the same switch worked, without errors. i will see, maybe everyone have a idea what i can try.

                                thanks

                                http://www.crazycreatorcube.com

                                undefined 1 Reply Last reply 5 Dec 2022, 22:05 Reply Quote 0
                                • undefined
                                  Falcounet @CrazyCreator
                                  last edited by 5 Dec 2022, 22:05

                                  @CrazyCreator As said, open a thread and give a bit more informations about your setup (what kind of relay, etc ...)
                                  The 401 HTTP Error comes from this device so if it was working with the old execonmcode, I believe it is either because the config has changed, you were using another url or so.

                                  undefined 2 Replies Last reply 5 Dec 2022, 22:19 Reply Quote 0
                                  • undefined
                                    CrazyCreator @Falcounet
                                    last edited by CrazyCreator 12 May 2022, 22:19 5 Dec 2022, 22:19

                                    @Falcounet
                                    thanks for the hints ... i try tomorrow any thinks and then make a new thread.
                                    Or maybe BtnCmd can help me

                                    http://www.crazycreatorcube.com

                                    1 Reply Last reply Reply Quote 0
                                    • undefined stuartofmt referenced this topic 11 Dec 2022, 16:55
                                    • undefined
                                      CrazyCreator @Falcounet
                                      last edited by 12 Dec 2022, 19:31

                                      @Falcounet
                                      It works now 🙂

                                      Solution for others reading here:
                                      The shelly 1 switch had a password-protected web interface. So it didn't work.
                                      Without a password I now get a warning in ioBroker, but it works for now 😉

                                      http://www.crazycreatorcube.com

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        Falcounet
                                        last edited by 16 Dec 2022, 17:05

                                        ExecOnMcode V0.2 is released.
                                        No plugin improvements has been added on that version.
                                        Only change is the module imports to use dsf-python v3.4.5
                                        See https://forum.duet3d.com/topic/30761/dsf-python-3-4-5-released for more details

                                        undefined undefined 2 Replies Last reply 16 Dec 2022, 20:30 Reply Quote 1
                                        • undefined
                                          CrazyCreator @Falcounet
                                          last edited by CrazyCreator 16 Dec 2022, 20:30

                                          @Falcounet
                                          Just installed the v0.2 over the v0.1 ... worked without any problems.
                                          Which is impractical, my created commands are gone now 😉

                                          http://www.crazycreatorcube.com

                                          undefined 1 Reply Last reply 16 Dec 2022, 21:09 Reply Quote 0
                                          43 out of 76
                                          • First post
                                            43/76
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA