Duet WiFi Beginner



  • I am new to the duet wifi. I installed the duet wifi on a Creality CR-10 s5, and am now trying to soak it all in.
    Using the Setup page is a breeze. I save my changes to the config.json file then upload the zip file to printer. Then when I use the config setup page again, I just open the config.json file. That way I don't lose my changes. I love it!
    My question is – I have advanced far enough that I am making changes to the g code files themselfs, is there any way to save the files and changes to a config.json file and send them back to the computer, so I don't lose the changes if I run the setup again?



  • You can click the checkboxes next to config files (or all of them) then right click and download them all as a zip archive.



  • Ok, that worked.
    Thank you.
    But it only partly answered my question. Probably;y because I did not ask it right.
    And I don't know how to explain what I am trying to do.
    If I make a change to the config.g file like this
    " ;this is just a test comment to see if it gets overwritten when I load a new config.zip file"
    When I rerun the setup web page using the previous config.json I saved on my PC and then make the zip file and let my printer load it from the pc it overwrites the comment. Is there anyway to save my printer system files to a config.json file then move it to my PC (just like you showed me with the zip file). That way I can load it on the printer setup page and the changes I made to the old config.g files won't be lost.



  • @rderkis:

    …Is there anyway to save my printer system files to a config.json file ...

    Not that I know of (but I'm almost as much a Duet Newbie as you are. :))



  • I guess I can understand why you might want to overwrite some or even most of the changes. But still I wish there was a way not to overwrite some of them.



  • @rderkis:

    I guess I can understand why you might want to overwrite some or even most of the changes. But still I wish there was a way not to overwrite some of them.

    I'm not exactly sure what you trying to do here but you don't need to mess around with the config.json and zip files once you've done the initial configuration. You can edit config.g (or any other .g file) and the changes will be saved until you overwrite them. Every time the Duet boots, it will load the config.g that is on the sd card. So you can make changes locally or you can make changes to config.g on your PC and upload that to the duet. If you just want to try something out, change it locally. Then if you want to go back, you can always load the untouched config.g from your PC. Or you can rename config.g on your PC to something like config.old to keep a backup of your original.



  • Like I said I am a beginner. Even with the setup page there is a lot to learn. I am 71 so I focus on one thing at a time. Right now I am trying to understand end stops and the Z probe. A lot of other things a addressed in the setup page. For example I want to home z/probe in the middle of the table so I move x and y both to 250 in the config.g file.
    Now I am trying to learn about the thermisters. If I use the setup page to adjust the thermisters or anything else it overwrites the changes I made to the config.g file. I guess I wish the setup page was like visual studio and a lot of other IDEs where only the areas I changed in the setup files were changed in the system files.



  • @rderkis:

    Like I said I am a beginner. Even with the setup page there is a lot to learn. I am 71 so I focus on one thing at a time. Right now I am trying to understand end stops and the Z probe. A lot of other things a addressed in the setup page. For example I want to home z/probe in the middle of the table so I move x and y both to 250 in the config.g file.
    Now I am trying to learn about the thermisters. If I use the setup page to adjust the thermisters or anything else it overwrites the changes I made to the config.g file. I guess I wish the setup page was like visual studio and a lot of other IDEs where only the areas I changed in the setup files were changed in the system files.

    OK. I fully understand. We were all beginners once. I'm only 64 so still a youngster πŸ™‚

    I guess by the setup page, you mean the configuration tool yes? This is designed to help you get a basic configuration to get you started. So use that once only to give the best starting point, then don't use it again. Make all other refinements to the config.g file but don't run the configuration tool again.



  • I'm with rderkis ;o)

    Simply for completeness, plus the ability to recreate all the .g files from the json file I'd like to be able to recreate or update the json file based on the contents of the .g files. I've modified several of the .g files and would not be able to use https://configurator.reprapfirmware.org/ without losing any changes i have made. The web based config tool is better for visualizing what settings you have


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.