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

    ExecOnMcode

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    11
    76
    5.2k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Why not start with a DuetPi image?

      Z-Bot CoreXY Build | Thingiverse Profile

      CrazyCreatorundefined 1 Reply Last reply Reply Quote 1
      • CrazyCreatorundefined
        CrazyCreator @Phaedrux
        last edited by

        @Phaedrux actual duetpi image missing python3.9, but TAMV need this.

        http://www.crazycreatorcube.com

        Phaedruxundefined Falcounetundefined 2 Replies Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator @CrazyCreator
          last edited by

          @CrazyCreator said in ExecOnMcode v0.1:

          missing python3.9

          https://itheo.tech/install-python-39-on-raspberry-pi

          Z-Bot CoreXY Build | Thingiverse Profile

          CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
          • CrazyCreatorundefined
            CrazyCreator @Phaedrux
            last edited by

            @Phaedrux
            Maybe i try this, when @Falcounet & @chrishamm out of ideas 😄

            http://www.crazycreatorcube.com

            chrishammundefined 1 Reply Last reply Reply Quote 0
            • chrishammundefined
              chrishamm administrators @CrazyCreator
              last edited by chrishamm

              @CrazyCreator Did you try the chown command I posted above? If that doesn't resolve it, try to run sudo rm /opt/dsf/**/ExecOnMcode* and then reinstall the plugin. It's odd you're getting that "access denied" error.

              PS: The stock DuetPi image comes with the python 3 package, run sudo apt install python if you're missing it.

              Duet software engineer

              CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
              • Falcounetundefined
                Falcounet @CrazyCreator
                last edited by

                @CrazyCreator Can you give me a link to the system image you installed ?
                I might give it a try on my pi.

                1 Reply Last reply Reply Quote 0
                • Falcounetundefined
                  Falcounet @CrazyCreator
                  last edited by

                  @CrazyCreator TAMV is like 3 years old. I don't think python 3.9 was out at this time.

                  1 Reply Last reply Reply Quote 0
                  • stuartofmtundefined
                    stuartofmt
                    last edited by

                    Jumping in here with a (possibly) relevant comment. If anyone intends to use Pi cameras: Consider using Debian Bullseye as the min base OS. There is a new library (from Pi) in Bullseye - so adopting this release will provide some future-proofing. It does not directly affect USB cameras but likely not a bad idea.

                    1 Reply Last reply Reply Quote 0
                    • CrazyCreatorundefined
                      CrazyCreator @chrishamm
                      last edited by CrazyCreator

                      @chrishamm said in ExecOnMcode v0.1:

                      @CrazyCreator Did you try the chown command I posted above? If that doesn't resolve it, try to run sudo rm /opt/dsf/**/ExecOnMcode* and then reinstall the plugin. It's odd you're getting that "access denied" error.

                      PS: The stock DuetPi image comes with the python 3 package, run sudo apt install python if you're missing it.

                      Yes ... try all your code-snippets ... now delete the directory and install the plugin again. but is the same error.

                      @Falcounet said in ExecOnMcode v0.1:

                      @CrazyCreator Can you give me a link to the system image you installed ?
                      I might give it a try on my pi.

                      is the official image which come with the raspianimagebuilder

                      @stuartofmt said in ExecOnMcode v0.1:

                      Jumping in here with a (possibly) relevant comment. If anyone intends to use Pi cameras: Consider using Debian Bullseye as the min base OS. There is a new library (from Pi) in Bullseye - so adopting this release will provide some future-proofing. It does not directly affect USB cameras but likely not a bad idea.

                      TAMV has a new version

                      Now i test the DuetPi Image with update to bullseye

                      http://www.crazycreatorcube.com

                      Falcounetundefined 1 Reply Last reply Reply Quote 0
                      • Falcounetundefined
                        Falcounet @CrazyCreator
                        last edited by Falcounet

                        @CrazyCreator So, I downloaded the image and following the steps I describe below, I could install the plugin without any issue.

                        1. Configure Wi-Fi and enable SSH in the advanced options of RaspberryPi Imager (Can be done by creating wpa_supplicant.conf and ssh files in boot partition)
                        2. Run sudo raspi-config and go to "Interface options", "SPI" to enable the SPI interface
                        3. Add Duet APT sources + GPG key : sudo wget -q https://pkg.duet3d.com/duet3d.gpg -O /etc/apt/trusted.gpg.d/duet3d.gpg && sudo wget -q https://pkg.duet3d.com/duet3d.list -O /etc/apt/sources.list.d/duet3d.list && sudo apt update
                        4. Install Duet packages + Apparmor: sudo apt install apparmor duetsoftwareframework duetpluginservice duetpimanagementplugin
                        5. Enable services : sudo systemctl enable duetcontrolserver duetwebserver duetpluginservice duetpluginservice-root
                        6. Reboot : sudo reboot
                        7. Install ExecOnMcode from DWC external plugins tab
                        CrazyCreatorundefined 1 Reply Last reply Reply Quote 1
                        • CrazyCreatorundefined
                          CrazyCreator @Falcounet
                          last edited by

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

                          http://www.crazycreatorcube.com

                          Falcounetundefined 1 Reply Last reply Reply Quote 0
                          • Falcounetundefined
                            Falcounet @CrazyCreator
                            last edited by

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

                            CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
                            • CrazyCreatorundefined
                              CrazyCreator @Falcounet
                              last edited by

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

                              http://www.crazycreatorcube.com

                              Falcounetundefined 1 Reply Last reply Reply Quote 0
                              • Falcounetundefined
                                Falcounet @CrazyCreator
                                last edited by

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

                                CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
                                • CrazyCreatorundefined
                                  CrazyCreator @Falcounet
                                  last edited by

                                  @Falcounet
                                  After your step 3 i have to make

                                  sudo apt upgrade?

                                  http://www.crazycreatorcube.com

                                  Falcounetundefined 1 Reply Last reply Reply Quote 0
                                  • Falcounetundefined
                                    Falcounet @CrazyCreator
                                    last edited by

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

                                    CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
                                    • CrazyCreatorundefined
                                      CrazyCreator @Falcounet
                                      last edited by

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

                                      http://www.crazycreatorcube.com

                                      CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
                                      • CrazyCreatorundefined
                                        CrazyCreator @CrazyCreator
                                        last edited by CrazyCreator

                                        @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

                                        CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
                                        • CrazyCreatorundefined
                                          CrazyCreator @CrazyCreator
                                          last edited by

                                          @Falcounet
                                          You have a hint for me?

                                          http://www.crazycreatorcube.com

                                          Falcounetundefined 1 Reply Last reply Reply Quote 0
                                          • Falcounetundefined
                                            Falcounet @CrazyCreator
                                            last edited by

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

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