Share your DueUI configuration!



  • If you have a DueUI configuration that you'd like to share, this is the place! Add a reply with a screenshot or two and attach your config file.

    Let's keep this topic to config announcements and updates only. If you need help with a config that was shared here, please create a new topic and mention the creator.



  • I have an Ender 5 with Duet2 Wifi. I have a Raspberry Pi with 7" TFT mounted on the Printer.
    I used it to serve up a camera and provide some local control with DWS in the browser on the Pi.
    This was a fairly clumsy approach because of the small screen and the lack of touch precision. So I decided to give Dueui a go.

    I was after a minimal set of control for the occasions when I was standing, mesmerized, in front of the printer.
    DWS on my laptop is, of course, used for more complete control.
    Other considerations included:
    The Screen I am using is only 800 x 600 pixels.
    I did not want to have to scroll up/down or left/right.
    The browser (chromium) is used in full screen mode.

    Attached is the first version of my configuration.json together with some macro's that I use.
    *EDIT - A better version is posted as V3. I have removed the prior versions. *
    To get everything working - I had to modify two of the javascript files supplied by @gtj0 who will update those files in due course - I am including the modified dueui.js and dueui_widget.js files as well
    I am very happy with the results so far and look forward to improving as I go.
    I will explain a little about each of the panes below.

    General
    The theme I chose is "Darkly" - other themes may affect the layout.
    I trimmed the menu bar at the top to make it fit better.
    I placed the log / status just above the menu tabs.
    Most everything else fits in between.
    In V3 - I added output for M117 Messages (not shown in the screen shots) because I liberally sprinkle messages in my macros and gcode.

    Printer
    This is a really just intended for basic monitoring, stop / start etc.
    Because I like to see Nozzle and Bed Temperature that is included.
    Babysteps are small i.e. assumed the printer is more-or-less calibrated.

    print.PNG

    Calibration
    The intent here is to provide simple calibration control and monitoring.
    I use a Z-Probe (BLTouch) so bed calibration is automagic. The "Calibrate" button calls a macro () that does all the work.
    Since I often change hotends - the Z axis offset can change so I have included a capability to measure the offset.
    The "Z Adjust Start" button calls a macro () to setup for adjustment using one of the standard techniques.
    It first homes all - so after that has happened you can go ahead and adjust the nozzle to the bed to "paper thickness".
    When done - pressing the "Done" button performs a single probe (and another home all just because).
    The Z offset is reported in the log / status bar and can then be used to adjust your G31 settings.

    Calibration.PNG

    Heightmap
    No changes here - just copied from the sample config file.

    heightmap.PNG

    Control
    Edit - Made some changes so as not to need keyboard and posted as V2. Removed the need for a keyboard
    I mainly use this for filament changes and such. Heat up the nozzle etc.
    I personally do not use standby and such. In any case, wanted to "unclutter' the UI for this screen.
    The config file comments out a second row of nozzle temps and Fan 0 these can be added back in easily if you want.
    There is also a control to reposition the bed (Z axis) to specific positions (useful for getting access to the bed).

    control.PNG

    Console
    More or less the same as the sample config file.

    console.PNG

    NOTE THE FILENAMES GET CHANGED DURING DOWNLOAD SO YOU WILL NEED TO RENAME THEM BACK TO THE ORIGINAL

    Config File

    config_pi_panel_sofmt_V3.json

    Remove the .txt from these two files before using

    dueui.js.txt

    dueui_widget.js.txt

    Macros

    AutoProbeCalibration.g

    Z-AdjustStart.g

    Z-AdjustStop.g


Log in to reply