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

    Setup Help

    Scheduled Pinned Locked Moved
    DueUI
    3
    33
    1.8k
    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.
    • Nathan116undefined
      Nathan116
      last edited by Nathan116

      OK, adding "Sudo" to the beginning fixed it.

      So, I have it downloaded and extracted, but when I go to 192.168.1.37/dueui it just shows the standard DWC webpage, except now it just says "404 Page Not Found"

      Untitled.jpg

      gtj0undefined 1 Reply Last reply Reply Quote 0
      • gtj0undefined
        gtj0
        last edited by

        Oy. I think the duet web server changed something again. Add index.html to the URL...
        http://192.168.1.37/dueui/index.html

        1 Reply Last reply Reply Quote 0
        • gtj0undefined
          gtj0 @Nathan116
          last edited by

          @Nathan116 Also, some feedback on how I can make the installation instructions or process better would be much appreciated!

          Nathan116undefined 1 Reply Last reply Reply Quote 0
          • Nathan116undefined
            Nathan116 @gtj0
            last edited by

            @gtj0 Adding /index.html got it working.

            Give me a few minutes and I'll post a write-up of the step-by-step instructions on how I set it up for you to post on the Github

            Nathan116undefined 1 Reply Last reply Reply Quote 0
            • Nathan116undefined
              Nathan116 @Nathan116
              last edited by

              For the settings page, I selected DSF, put my Pi IP address on the top line, left "reprap" under password as I don't know what else I would put there. What should I put under the "DueUI config file URL"?

              gtj0undefined 1 Reply Last reply Reply Quote 0
              • Nathan116undefined
                Nathan116
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • gtj0undefined
                  gtj0 @Nathan116
                  last edited by

                  @Nathan116 said in Setup Help:

                  For the settings page, I selected DSF, put my Pi IP address on the top line, left "reprap" under password as I don't know what else I would put there. What should I put under the "DueUI config file URL"?

                  http://192.168.1.37/dueui/dueui_config_default_dsf.json is the default config file. You should copy that to your host desktop and modify it. Then place it in /opt/dsf/sd/sys/dueui_config.json.

                  In the URL field you then put http://192.168.1.37/machine/file/sys/dueui_config.json

                  Nathan116undefined 1 Reply Last reply Reply Quote 1
                  • Nathan116undefined
                    Nathan116 @gtj0
                    last edited by

                    @gtj0 Perfect! Got it to work! Now all I have to do is figure out how to modify it for each of my screens. I assuming that, to have a different layout for my laptop compared to my phone, I'd need to create 2 different config files for it and have the one on my phone direct to one and the one on my laptop connect to the other, correct?

                    gtj0undefined 1 Reply Last reply Reply Quote 0
                    • gtj0undefined
                      gtj0 @Nathan116
                      last edited by

                      @Nathan116 Cool! Yeah, that's the way to do it. Separate file for each layout.

                      Nathan116undefined 2 Replies Last reply Reply Quote 1
                      • Nathan116undefined
                        Nathan116 @gtj0
                        last edited by

                        @gtj0 Alright, so here is a quick writeup of the steps I had to take to get things to work. I think it contains everything, but, knowing me, I missed a step somewhere, but it should be better than what you currently have written up.

                        Due UI DSF Instruction Manual.docx

                        Nathan116undefined 1 Reply Last reply Reply Quote 1
                        • Nathan116undefined
                          Nathan116 @Nathan116
                          last edited by

                          I can also add picture/graphics if needed/wanted, that's just going to have to wait a little bit.

                          Also, do you have any good sources for me to look at for customizing the UI? As you can probably tell, I'm not the worlds greatest coder (The only coding I've ever done is a little bit of Arduino and MatLab), so I'm not going to be able to customize the UI on my own 🤣

                          gtj0undefined 1 Reply Last reply Reply Quote 0
                          • Nathan116undefined
                            Nathan116 @gtj0
                            last edited by

                            @gtj0 Ok, so, after a little debugging, it looks like you can only have 1 configuration of DueUI open at a time (I can't have my laptop version and phone version open together as, whichever you try to open second will give you an error). Would I have to install another instance of DueUI to fix this? (so 1 instance for each desired screen)

                            1 Reply Last reply Reply Quote 0
                            • gtj0undefined
                              gtj0 @Nathan116
                              last edited by

                              @Nathan116 said in Setup Help:

                              Also, do you have any good sources for me to look at for customizing the UI? As you can probably tell, I'm not the worlds greatest coder (The only coding I've ever done is a little bit of Arduino and MatLab), so I'm not going to be able to customize the UI on my own 🤣

                              The wiki?

                              @Nathan116 said in Setup Help:

                              @gtj0 Ok, so, after a little debugging, it looks like you can only have 1 configuration of DueUI open at a time (I can't have my laptop version and phone version open together as, whichever you try to open second will give you an error). Would I have to install another instance of DueUI to fix this? (so 1 instance for each desired screen)

                              That should not be the case. I always have 2 instances open, one on the Pi itself on a monitor attached directly to the Pi, and one on my desktop.

                              What's the error you get?

                              Nathan116undefined 1 Reply Last reply Reply Quote 0
                              • Nathan116undefined
                                Nathan116 @gtj0
                                last edited by

                                @gtj0 Are they the same config? I was talking about trying to use 2 different config files at the same time.

                                The error I was getting was that, on the second device, it couldn't find the configuration file, but as soon as I closed the first duiUI window, the second one was able to connect

                                gtj0undefined 1 Reply Last reply Reply Quote 0
                                • gtj0undefined
                                  gtj0 @Nathan116
                                  last edited by

                                  @Nathan116 I've done it with both the same and different configs. This issue isn't something I've seen before. Might need a tweak to the DSF web server. Let me investigate.

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