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

    DueUI 1.1.0 is released!

    Scheduled Pinned Locked Moved
    DueUI
    8
    36
    8.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.
    • gtj0undefined
      gtj0 @wilriker
      last edited by

      @wilriker said in DueUI 1.0.0-alpha is available for testing:

      Besides that I already created the first pull request I found another issue either with the installation or with the documentation. It says

      When DueUI installs, it creates a default configuration file at /sys/dueui_config_default.json [...]

      but actually the default configuration file is created inside /www/ where the other files are also installed but currently neither DWC1 nor DWC2 show you the contents of this directory and therefore it cannot be copied/edited. Or has something went wrong with my installation?

      That's weird. When I upload with DWC (1.22.6) It places the json files in /sys automatically. What version of DWC are you running?

      P.S.: I started with alpha2

      P.P.S.: It's in your ncftp_push.sh where it additionally uploads dueui_config_default.json to /sys/.

      wilrikerundefined 1 Reply Last reply Reply Quote 0
      • wilrikerundefined
        wilriker @gtj0
        last edited by

        @gtj0 said in DueUI 1.0.0-alpha is available for testing:

        That's weird. When I upload with DWC (1.22.6) It places the json files in /sys automatically. What version of DWC are you running?

        I uploaded through DWC2.0.0-RC3. Retried in DWC 1.22.6 and that placed it correctly.

        Manuel
        Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
        with probably always latest firmware/DWC (incl. betas or self-compiled)
        My Tool Collection

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

          @wilriker said in DueUI 1.0.0-alpha is available for testing:

          @gtj0 said in DueUI 1.0.0-alpha is available for testing:

          That's weird. When I upload with DWC (1.22.6) It places the json files in /sys automatically. What version of DWC are you running?

          I uploaded through DWC2.0.0-RC3. Retried in DWC 1.22.6 and that placed it correctly.

          OK, let me test with DWC 2.0.0.

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

            Yeah DWC 2.0.0 places all json files in /www but @chrishamm is going to change it back again.
            https://forum.duet3d.com/topic/9319/duet-web-control-2-0-0-rc4/4

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

              DueUI Release 1.0.0-alpha3 is available

              • Allow labels to have dynamic values

                You can now have "label" widgets track dynamic values.
                The default config file's Fan and LED labels now show the
                numeric fan and led percentages.

              • Add capability for "toggle" type buttons.

              • A new attribute "actions_type" has been added to the widgets.
                When set to "state", the action in the "actions" array
                corresponding to the current state will be run.

              • You can now add the "content" attribute to any widget's "state_style"
                entries which will actually change the content of the widget
                depending on the state.

                A good example of using both capabilities is an ATX Power toggle
                button where clicking it turns the power on or off depnding on
                it's current state. The default config file has a new button for
                just that.

                If you have multiple actions in a widget and want a dialog to pop
                up asking which to run, set "actions_type" to "choose".

                If you have multiple actions and set "actions_type" to "all" or
                don't specify it at all, all actions will run in sequence.

              • The settings toggle buttons have been updated to use the new
                "actions_type" and this changed the values stored in the settings
                cookie. You'll probably be prompted to turn polling on again
                the next time you run DueUI.

              • The browser title is now automatically set to "DueUI" and the
                hostname of your Duet.

              • Don't display GCode replies if blank

              • Add entry for 'O' status to status_map

              Thanks to @wilriker :

              • Fix order of loading config in /DueUI/

                Order of dueui_config.json and dueui_config_default.json in /DueUI/ was switched.

              • Use document.location.host instead ...hostname

                This will also capture a non-standard port if one is used. Hostname does not
                contain the port and makes it necessary to enter the port manually.

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

                DueUI Release 1.0.0-alpha4 is available
                https://github.com/gtjoseph/DueUI/releases/tag/1.0.0-alpha4

                Add ability to trigger multiple actions on a state or choice type

                • You can now specify that multiple actions should occur for
                  action_types "state" and "choose" by creating a sub-array
                  as demonstrated in the default config file's ATX Power
                  button.

                • There's a new action type "log" which can post a log message
                  when triggered. See the ATX Power button example.

                Fix issue with "actions_type" = "choose"

                • When action_type is choose and the actions didn't have labels,
                  the pop-up dialog was trying to calculate the button width
                  based on the non-existent label, and failing.
                1 Reply Last reply Reply Quote 0
                • gtj0undefined
                  gtj0
                  last edited by gtj0

                  DueUI Release 1.0.0-beta1 is now available
                  https://github.com/gtjoseph/DueUI/releases

                  This release contains an Android App that makes the DueUI experience a little cleaner when used on a tablet. If you're using a tablet running Android 5.1 (Lollipop) or better, or an Amazon Fire tablet 7th generation or better, try it out. You'll have to set "Allow Apps from Unknown Sources" in Settings, Security before installing. Then you should just be able to browse to the APK file in Releases and click it.

                  CHANGES:
                  Update README for the DueUI Android App

                  Add Refresh button to settings

                  • Added a "Refresh" button to the Settings page to assist users
                    of the Android app since there's no browser button in that case.

                  Minor default formatting changes

                  • The current temperatures now always display 1 decimal place.

                  • A 5px margin is now applied to the Main axis position buttons.

                  Initial version of Android WebView App

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

                    DueUI Release 1.0.0-beta2 is now available
                    https://github.com/gtjoseph/DueUI/releases

                    Bootstrap

                    • Replaced jQuery-UI backend with Bootstrap.
                    • Now self-hosting all third-party Javascript and CSS.
                      jQuery
                      Bootstrap
                      Bootstrap themes
                      Material Icons
                    • Dropped need for js-cookie.js. Now using standard browser
                      localStorage for saving settings.
                    • Reimplemented the "choose" dialogs with bootstrap popups.
                    • Reimplemented the "state_style" options in the config file.
                      !!! CHANGES ARE REQUIRED TO YOUR DUEUI_CONFIG.JSON FILE !!!
                      !!! See CHANGES.md for more information !!!
                    • Updated dueui_config_default.json.

                    You can test this release before installing it by visiting:
                    http://dueui.org/test/index.html

                    Forgot to mention...
                    If you use the Android app, you need to update it: http://dueui.org/test/DueUI.apk

                    devleonundefined 1 Reply Last reply Reply Quote 2
                    • devleonundefined
                      devleon @gtj0
                      last edited by

                      @gtj0 Awesome! Thanks very much for your hard work, much appreciated. Will give it a try once I'm home.

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

                        Looks like the Print Progress bar is messed up. There'll be a new release shortly to fix that.

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

                          DueUI Release 1.0.0-beta3 is now available
                          https://github.com/gtjoseph/DueUI/releases

                          Polling updates

                          • Refactored polling to be more friendly to the Duet by not sending requests for multiple response levels in quick succession.
                          • Updated the default intervals to 1000ms for level 1, 0 (disabled) for level 2 and 5000ms for level 3.

                          Fix Print Progress bar and paths in ncftp_push.sh

                          • The print progress bar was using the wrong method to set the current percentage.
                          • ncftp_push.sh needed to have the source path updated.

                          Enable localStorage in WebView

                          • The Android app's WebView settings didn't enable localStorage which is now needed to store DueUI settings since we stopped using cookies.

                          You can test this release before installing it by visiting:
                          http://dueui.org/test/index.html

                          NOTE: You do NOT need to reinstall the Android app for new releases unless specifically instructed. The app automatically picks up any changes you make to your DueUI installation.

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

                            DueUI 1.0.0-beta4 is available for testing.
                            https://github.com/gtjoseph/DueUI/releases/tag/1.0.0-beta4
                            http://dueui.org/

                            Added a Heightmap Heatmap display

                            • A new widget "heightmap" has been added that grabs /sys/heightmap.csv
                              from the Duet and creates a simple 2D heat map and statistics.

                            • dueui_config_default.json was updated with a new "HeightMap" page
                              inserted between Movement and Console.

                              I'm somewhat embarassed by the implementation but it does work
                              and it doesn't require any new third-party libraries.

                            Fixed issue where GCode responses weren't being shown

                            • GCode responses for long running commands (like bed levelling)
                              are now being displayed correctly.

                            • The "get_reply" parameter of the "gcode" action is now ignored
                              since all gcode replies are automatically displayed.

                            Here's a sample of the HeightMap:

                            0_1554124207445_heightmap.png

                            Stephen6309undefined 1 Reply Last reply Reply Quote 1
                            • Stephen6309undefined
                              Stephen6309 @gtj0
                              last edited by

                              @gtj0 said in DueUI 1.0.0-beta4 is available for testing:

                              from the Duet and creates a simple 2D heat map and statistics.

                              Nice, but there is a speeling error 🙂

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

                                @stephen6309 said in DueUI 1.0.0-beta4 is available for testing:

                                @gtj0 said in DueUI 1.0.0-beta4 is available for testing:

                                from the Duet and creates a simple 2D heat map and statistics.

                                Nice, but there is a speeling error 🙂

                                It was an April Fool's joke. 🙂

                                1 Reply Last reply Reply Quote 1
                                • BearcatTDundefined
                                  BearcatTD
                                  last edited by

                                  So if we choose the option of having the software on the DueUI website, it will automagically be updated as changes are pushed out?!

                                  Thanks for your work on this, as a chronic early adopter I look forward to taking a run at it!

                                  Pat

                                  Professor of Theatre, Lighting and Scenic Designer, Northwest Missouri State University

                                  Hardware: Ender 3 with a Duet 2 wifi, CR-10 V2 with a Duet3

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

                                    @bearcattd said in DueUI 1.0.0-beta4 is available for testing:

                                    So if we choose the option of having the software on the DueUI website, it will automagically be updated as changes are pushed out?!

                                    Thanks for your work on this, as a chronic early adopter I look forward to taking a run at it!

                                    Pat

                                    Yep. A new version will be up tomorrow in fact.

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

                                      DueUI 1.0.0 is released!

                                      https://github.com/gtjoseph/DueUI/releases/tag/1.0.0
                                      http://dueui.org

                                      Menubar Improvements

                                      • You can now add a "button_defaults" parameter to the "menubar"
                                        widget to set things like common styles.

                                           "menubar": {
                                                   "id": "dueui_menubar",
                                                   "type": "panel",
                                                   "enabled": true,
                                                   "button_defaults": {
                                                           "style": {
                                                                   "margin-right": "5px"
                                                           }
                                           }
                                        
                                      • You can now add a "menubar_button" parameter to "tab_panel"
                                        panels to set custom styles for a menubar button.

                                           "id": "dueui_panel_main",
                                           "type": "tab_panel",
                                           "enabled": true,
                                           "menu_button": {
                                                   "value": "Main",
                                                   "style": {
                                                           "background-color": "yellow"
                                                   }
                                           }
                                        

                                      Fix handling of "macro" action

                                      • The macro action was double-prepending macro names with "/macros"

                                      • Now the "macro" action can take EITHER a "file" or "macro"
                                        parameter. If "file", you must supply the full path to the
                                        macro file such as "/macros/mymacro". If "macro", you must
                                        supply a file name relative to the "/macros" directory such as
                                        "mymacro" which will automatically be converted to "/macros/mymacro".

                                      Added "message" parameter to gcode action

                                      • You can now add a "message" parameter to a gcode action
                                        to display a message in the console window when the action
                                        is executed.

                                      Fix heightmap auto-refresh

                                      • The heightmap widget was listening to the wrong event to
                                        detect when a mesh probe was completed.

                                      Add new "cgi" and "http" actions

                                      • You can now use "cgi" as an action to run one of the built-in
                                        Duet CGI programs like rr_delete, rr_move, etc.

                                      • You can now use "http" as an action to execute any HTTP GET
                                        you like.

                                      Examples:
                                      
                                        "actions": [
                                              {"type": "cgi", "cgi": "rr_delete",
                                                      "params": "name=/sys/heightmap.csv",
                                                      "message": "Heightmap deleted"},
                                              {"type": "http", "uri": "http://any.url.com?someparam=ZZZ"}
                                      ]
                                      

                                      Fix autocomplete results showing all entries

                                      Send M115 after connecting to get firmware info

                                      Correct the description of the 'Simulate GCode' settings button

                                      Fix typo in heightmap legend low character and spacing in stats

                                      1 Reply Last reply Reply Quote 1
                                      • T3P3Tonyundefined
                                        T3P3Tony administrators
                                        last edited by

                                        @gtj0 looking really good in the screen shots. Tried to load it from the http://dueui.org/ but CORB is not allowing connection.

                                        VM21:1 Cross-Origin Read Blocking (CORB) blocked cross-origin response http://192.168.4.20//rr_connect?password=reprap with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
                                        

                                        looks to be a feature of Chromium rather than an issue with DueUI, just wondered if i was missing something obvious?

                                        www.duet3d.com

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

                                          @t3p3tony said in DueUI 1.0.0 is released!:

                                          @gtj0 looking really good in the screen shots. Tried to load it from the http://dueui.org/ but CORB is not allowing connection.

                                          VM21:1 Cross-Origin Read Blocking (CORB) blocked cross-origin response http://192.168.4.20//rr_connect?password=reprap with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
                                          

                                          looks to be a feature of Chromium rather than an issue with DueUI, just wondered if i was missing something obvious?

                                          Hmmm. I tried Chrome, Chromium, Firefox and Vivaldi all without issue. Is it possible that the build of RRF you're running isn't sending the Access-Control-Allow-Origin: * HTTP header?

                                          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                                          • T3P3Tonyundefined
                                            T3P3Tony administrators @gtj0
                                            last edited by

                                            @gtj0 thats indeed very possible! I am DWC 1.22.6 & 2.03beta3 on that particular printer - what are you using?

                                            www.duet3d.com

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