Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Scottbg1
    • Profile
    • Following 0
    • Followers 0
    • Topics 19
    • Posts 116
    • Best 2
    • Controversial 0
    • Groups 0

    Scottbg1

    @Scottbg1

    2
    Reputation
    6
    Profile views
    116
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Mobile, Alabama USA

    Scottbg1 Unfollow Follow

    Best posts made by Scottbg1

    • DWC on my small Prusa Clone

      My life is now complete. I now have DWC for my Prusa Clone.
      I had been using Octoprint but it was just always clunky to me after using DWC on my larger CoreXY with a Duet Wifi.
      I stumbled upon a firmware called Klipper that allows either Octopi or DWC as a web interface.

      I can't even describe the joy I am feeling right now!

      EDIT: I tried posting a screenshot but it will not load.
      https://www.dropbox.com/s/675dvqdzsbmq2v6/Anet DWC.jpg?dl=0

      posted in Duet Web Control
      Scottbg1undefined
      Scottbg1
    • RE: Raspberry Pi, Arch Linux,and DWC.

      @phaedrux said in Raspberry Pi, Arch Linux,and DWC.:

      You might have better luck in the Klipper github or Klipper reddit.

      As mentioned, I have already tried there and those posts are still open but responses are slow.
      What little help I have received has been to re-read the install instructions, which I have done so much I just about have them memorized.

      @joergs5 said in Raspberry Pi, Arch Linux,and DWC.:

      @scottbg1 I would start analyzing the communication between Klipper and DWC. If you post your error logs (maybe on dropbox), this may give a first hint what could be the reason.

      The communication between Klipper and DWC is the problem, and it all hinges on a .py file that has to be sym-linked from the Klipper service to the DWC installation.
      Here is the only error message I am getting at the moment. It's easy to just post it here rather than linking a drop box file, but I will if you would rather see that instead.

      Section dwc2_web is not a valid config section

      The following is several lines in Klippers configuration file that tells Klipper where to connect to for access to DWC.

      [virtual_sdcard]
      path: /home/scott/sdcard

      [web_dwc2]
      ## optional - defaulting to Klipper
      printer_name: Anet A8
      # optional - defaulting to 0.0.0.0
      listen_adress: 0.0.0.0
      # needed - use above 1024 as nonroot
      listen_port: 4750
      # optional defaulting to dwc2/web. Its a folder relative to your virtual sdcard.
      web_path: dwc2/web

      The section in the configuration [web_dwc2] is what the error message is referring to.

      The directory housing the DWC stuff is located in the user folder and it has a file called web_dwc2.py. That file is to be sym-linked to the same file located in /opt/klipper/klippy/extras.

      So the command to handle that would be:
      ln -s ~/dwc2-for-klipper/web_dwc2.py ~/opt/klipper/klippy/extras/web_dwc2.py

      The /opt directory in Arch Linux is where Klipper is installed, hence directing the sym-link to that location. In Raspbian, Klipper seems to be installed and located in the user directory. So if you follow the install directions to the letter, you are obviously placing things in the wrong spot, as far as Arch is concerned.....I think.

      Ans thats my problem. I have tried to mimic the install instructions and place things where I am pretty sure they should go in Arch, but it isn't working and I get the error mentioned above. It certainly doesn't work if I install it exactly as the directions call for, which has Raspbian in mind.
      I feel in my heart this is just a simple matter of I have the paths set incorrectly.
      I just can't figure out exactly, what it is.

      I posted this here on a whim, since it involves printer firmware and specifically something we use everyday, such as DWC.
      I will try one of the Arch Linux forums next if I haven't gotten this figured out in a couple of days.

      Again, thanks to whatever attention I get for this.

      posted in Duet Web Control
      Scottbg1undefined
      Scottbg1

    Latest posts made by Scottbg1

    • RE: Power Button

      @Phaedrux
      Thank you, sir.
      I glanced over those docs before I asked this question, and I misunderstood it to mean that it was asking for a PIN number.
      I didn't think about 'PSON' being the PIN name.

      All is well now.
      Thank you!

      posted in Duet Web Control
      Scottbg1undefined
      Scottbg1
    • Power Button

      Greetings all.
      I have not been able to print anything for several months and tonight I sat down to fire up my machine and do exactly that.
      But before I did I visited this forum and seen that there had been several firmware updates since I've been away. I read back through the release notes and didn't see anything too specific that might would suggest changing the config files so I went ahead and upgraded.

      I was on v3.3 and just updated to 3.4.4.
      I have the Duet2 Wifi.

      Now the power button for my ATX power supply has disappeared from DWC.
      I read through the wiki and discovered that M80 and M81 now needs parameters set before they will work.
      Specifically a 'C' parameter with a pin name to specify the power port. (if I am reading the wiki correctly)

      With that, can someone point me to some documentation to help me resolve this?
      I have looked through search results for the past 30 minutes and it seems no one else has had this issue, unless I have typed the right terms into the search bar.

      Thanks in advance.

      posted in Duet Web Control
      Scottbg1undefined
      Scottbg1
    • RE: Upgrade Opportunity??

      I actually emailed Filastruder, the store I bought it from here in the US and asked if they recommended someone and they were able to put me in touch with someone who does their warranty work.
      I shipped the board off this morning.

      Thanks for all the responses.

      posted in General Discussion
      Scottbg1undefined
      Scottbg1
    • RE: Upgrade Opportunity??

      I have the v1.02 board that does not have the blade fuses. I wish I had known to look for the version of the board when I bought it.
      I live in the US and I bought from a reseller here.
      I guess this board was sitting on the shelf for awhile. I bought this board the summer of 2018.
      If I read correctly the 1.03 was the latest and greatest by then.

      I will try checking with the distributor I bought it from tomorrow and see if they can do repairs.
      Unless @dc42 or someone chimes in to say it isn't worth it.

      posted in General Discussion
      Scottbg1undefined
      Scottbg1
    • Upgrade Opportunity??

      I am pretty sure I fried the driver for the fans on my Duet2 Wifi tonight.
      Right before starting a print I decided to run through a bed leveling compensation and the hotend fan kept going on and off and I immediately suspected a short.

      Sure enough, I discovered the solder was about to let go at the plug closest to the fan.
      With everything still on and running I wanted to touch the wire to the post on the plug just to double check the fan would come on and when I did I accidentally touched the other post and shorted the wire.
      I have heat shrink on both posts but there was enough showing that a strand of wire touched I guess. It actually startled me.
      It arced a little and I noticed that the cooling fan on the controller board stopped spinning and a second later I smelled that dreadful smell.

      You know.....that smell of burned money?

      I'm not getting power from any of the plugs for the fans on the board now. Toast.
      Everything else works as it should, though.

      So with that, 2 questions:
      Is it worth sending the board in for repair? I have had it 2 years and it has given me flawless service.

      If not, and I am forced to buy another should I upgrade to the new Duet 3 board or shall I stay where I am with the Duet 2?

      I have never used the v2 board to it's fullest potential. I only have 3 steppers. I have a corexy with 2 steppers on x/y and one on Z.
      I only have 3 fans. HE cooling, part cooling, and controller cooling.
      Would the v3 board be overkill?

      And I guess one more question....
      Any suggestions what I can use this old board for? I thought maybe I could use it for a laser cutter or something.

      Thanks in advance.

      posted in General Discussion
      Scottbg1undefined
      Scottbg1
    • RE: Raspberry Pi, Arch Linux,and DWC.

      You sir, are a scholar, a gentleman and a god among men.

      I am at work right now, and I have an RPi with Arch installed on it here in my office and I just installed Klipper and DWC onto it to see if I could get it to work.
      I am no longer receiving the error regarding the config section but because it's not plugged into a printer I am getting loads of other errors, but I expected that.

      The acid test will be when I get home tonight and try this out on the machine connected to the printer.
      Now, for which of your suggestions worked:
      Per your suggestion, I started with #4 and I deleted the linked file and just moved the .py file from the downloaded git folder to the folder in /opt. Bingo!

      I'll report back tonight on how it goes.

      FWIW, I want to give #3 a try later down the road. I think that figuring out how to create my own PKGBUILD would be a great lesson in improving my Arch Linux kung fu.
      Besides I would really like to create install procedures for installing this onto Arch/RPi and post it somewhere, because I can't be the only guy in the world that would want this over a Raspbian install. And maybe I can save somebody a headache.

      A thousand thank yous to you, sir.

      posted in Duet Web Control
      Scottbg1undefined
      Scottbg1
    • RE: Raspberry Pi, Arch Linux,and DWC.

      You've got me thinking about something and the differences in the install process between Raspbian and Arch.
      Raspbian built the install package and installed it via a python script.

      I have never tried to compile a package before just using the makefile in the git file downloaded from github.
      I thought I was lucky when I found klipper on AUR and I built the package from that.
      I read the PKGBUILD and that is what placed Klipper in the /opt folder.
      I wonder if it would be worth changing the package directory in the PKGBUILD back to the user folder instead of the /opt folder?
      This is over my head and I worry that I would need to change more than that than just that one line.
      No where else mentions putting anything in /opt.

      posted in Duet Web Control
      Scottbg1undefined
      Scottbg1
    • RE: Raspberry Pi, Arch Linux,and DWC.

      @wilriker said in Raspberry Pi, Arch Linux,and DWC.:

      @scottbg1 OK, so this might be a stupid question but did you run ln -s with sudo?

      Not a stupid question at all, and the answer is yes and no.

      I did have to use sudo when I first installed and I took that into consideration that it was failing because of a permissions thing.
      I did change ownership of that directory with:
      sudo chown scott /opt/klipper/klippy/extras
      And then I tried ln -s again without root to see if that was the case, but it wasn't and it still failed and the error about the config section continued..
      I know now it was stupid but at the time I was at the mercy of where I found it installed and it seemed like a good idea at the time.

      @wilriker said in Raspberry Pi, Arch Linux,and DWC.:

      Just check that... wait a second...

      ln -s ~/dwc2-for-klipper/web_dwc2.py ~/opt/klipper/klippy/extras/web_dwc2.py

      I hope that's a typo... you prefixed the link name with a ~ creating the symlink inside the current user's home dir. That does not seem to be what you want.

      Ok, here is where I might be screwing up. And now I feel even more stupid for changing that directory ownership.
      I git cloned the klipper tar and the DWC.git into my user directory per the instructions. Its where they ended up on Raspbian so I thought it would work here.
      I built the package for Klipper from my user dir and when it installed all those files ended up in /opt. And when I saw in the log that it pulls the config files for klipper from directories in the /opt folder I just thought thats where they were supposed to be. And in my readings, /opt is usually the place where the bulk of programs are installed to in Arch.
      It confused me because on Raspbian, everything was still running from my user directory, so I just chocked it up as the Arch way. And once I was at a point I would try stupid stuff like changing directory permissions, I even deleted all those Klipper install folders from the user directory and Klipper was still running fine. So that was more proof that the /opt folder was the place to target the sym-link.

      The folder with DWC was unzipped and remains in the user directory and it is just like the DWC folder we would push to the duet wifi. It just holds directories and config files.

      If I did something stupid, I'll own that. But if I were to point the sym-link from the Klipper folders in the user directory to the DWC folders also in the user directory that didn't work either at first. That is why I mentioned the idea to link it to the folders in /opt since the log stated that is where it was reading all the other .py files from.

      What do you recommend and I'll do it!

      Thank you so much for commenting. I appreciate the help immensely!

      posted in Duet Web Control
      Scottbg1undefined
      Scottbg1
    • RE: Raspberry Pi, Arch Linux,and DWC.

      @phaedrux said in Raspberry Pi, Arch Linux,and DWC.:

      You might have better luck in the Klipper github or Klipper reddit.

      As mentioned, I have already tried there and those posts are still open but responses are slow.
      What little help I have received has been to re-read the install instructions, which I have done so much I just about have them memorized.

      @joergs5 said in Raspberry Pi, Arch Linux,and DWC.:

      @scottbg1 I would start analyzing the communication between Klipper and DWC. If you post your error logs (maybe on dropbox), this may give a first hint what could be the reason.

      The communication between Klipper and DWC is the problem, and it all hinges on a .py file that has to be sym-linked from the Klipper service to the DWC installation.
      Here is the only error message I am getting at the moment. It's easy to just post it here rather than linking a drop box file, but I will if you would rather see that instead.

      Section dwc2_web is not a valid config section

      The following is several lines in Klippers configuration file that tells Klipper where to connect to for access to DWC.

      [virtual_sdcard]
      path: /home/scott/sdcard

      [web_dwc2]
      ## optional - defaulting to Klipper
      printer_name: Anet A8
      # optional - defaulting to 0.0.0.0
      listen_adress: 0.0.0.0
      # needed - use above 1024 as nonroot
      listen_port: 4750
      # optional defaulting to dwc2/web. Its a folder relative to your virtual sdcard.
      web_path: dwc2/web

      The section in the configuration [web_dwc2] is what the error message is referring to.

      The directory housing the DWC stuff is located in the user folder and it has a file called web_dwc2.py. That file is to be sym-linked to the same file located in /opt/klipper/klippy/extras.

      So the command to handle that would be:
      ln -s ~/dwc2-for-klipper/web_dwc2.py ~/opt/klipper/klippy/extras/web_dwc2.py

      The /opt directory in Arch Linux is where Klipper is installed, hence directing the sym-link to that location. In Raspbian, Klipper seems to be installed and located in the user directory. So if you follow the install directions to the letter, you are obviously placing things in the wrong spot, as far as Arch is concerned.....I think.

      Ans thats my problem. I have tried to mimic the install instructions and place things where I am pretty sure they should go in Arch, but it isn't working and I get the error mentioned above. It certainly doesn't work if I install it exactly as the directions call for, which has Raspbian in mind.
      I feel in my heart this is just a simple matter of I have the paths set incorrectly.
      I just can't figure out exactly, what it is.

      I posted this here on a whim, since it involves printer firmware and specifically something we use everyday, such as DWC.
      I will try one of the Arch Linux forums next if I haven't gotten this figured out in a couple of days.

      Again, thanks to whatever attention I get for this.

      posted in Duet Web Control
      Scottbg1undefined
      Scottbg1
    • Raspberry Pi, Arch Linux,and DWC.

      Hello all,

      This isn't a Duet controller issue and might not be welcome here, but it is involving Duet Web Control and I hoped it would be ok to post. This entire forum has always been so generous in helping each other out on any problems I have seen folks post. And I am at my wits end and relented to post here as a last effort to fix it.

      I have been tinkering around with a firmware called Klipper on my Prusa clone.
      Klipper is most widely used as an add-on to Octoprint, which would of course employ Octoprint's UI to control and monitor things. This is all ran on a Raspberry Pi, plugged into the printer's controller via USB.

      There is a lesser known option to eliminate Octoprint completely and use our beloved Duet Web Control as a web interface, and it's absolutely fantastic! I have it installed and running great on my RPi running Raspbian OS.
      Here is an earlier discussion I started about it.
      https://forum.duet3d.com/topic/11169/dwc-on-my-small-prusa-clone/6

      I have 2 or 3 Raspberry pi micro-computers around my house that I use as a media center on my TV, a camera pointed at my CoreXY, and one plugged into my CNC router that I use to transfer gcode to it. I love these things.
      And I have them all loaded with Arch Linux rather than Raspbian. IMHO they just run better.
      I am currently trying to get Klipper and DWC running on Arch on my RPi.
      It's not a must as I have it running fine on Raspbian, but I like to tinker with stuff and I would like to see if I can get it going with Arch.

      I have run into a brick wall right at the finish line and I was hoping there were Linux gurus here that were familiar with Arch that might could help me get the rest of the way. A guru I am not. I know just enough to be dangerous, but I feel I know enough as I have gotten this far by myself.
      I have posted my problem on the Klipper and DWC-for-Klipper github sites, but support for both are weak and slow responding. The only responses I have gotten so far from there are suggestions that I re-read the install instructions and make sure I didn't miss a step. The install instructions are catered toward a Raspbian install, complete with a install script that takes most of the work out of it. Making it a complete manual install onto Arch, so reading the install instructions over and over haven't helped much.
      I have the Klipper firmware installed and running properly, and it is communicating with the printer's controller.
      So that isn't a problem anymore. What I am having difficulties with is getting Klipper to connect to Duet Web Control.
      I either don't have a .py file sym-linked to the correct directory or the correct path set for Klipper to interface with DWC. It has to be something simple but I am stumped after scouring the internet and trying different configurations for the last 2 days.

      Is there anyone who would be able to give some suggestions on how to solve it?
      I won't post the errors yet as this post has already become a book to read.
      But if anybody is interested I will post the errors I am getting from the Klipper service log and detail what I have already tried to fix it, if needed.

      Thanks in advance for any attention I get on this.

      posted in Duet Web Control
      Scottbg1undefined
      Scottbg1