Duet2 + Raspberry Pi + DueUI



  • Hello,

    i have build an Hypercube Evolution based on a Duet2 mainboard. Everything works nearly perfect. Now i want to use a Raspberry Pi 4 + 7 inch touch display to control the printer. My first idea was simply to display the DWC on the display, but then i heard of the lightweight userinterface of the DueUI.

    I am not a big expert in web development, so my knowledge in JS and html is very limited...

    Can i use the Raspberry Pi with a webserver (nginx or apache) to serve DueUI? As far as i understand DSF is only supported on a Duet3 board. If this is possible i need to edit the configuration of my Duet2 board?

    Or should i use my Duet2 board in standalone mode? It is possible to serve DueUI and DWC at the same time in this case?

    Here is my setup:

    • Duet2 Wifi (converted to Ethernet) (Firmware: 2.03)
    • Rasperry Pi 4

    Thanks for your help!

    Best regards
    TopperHarley



  • @TopperHarley said in Duet2 + Raspberry Pi + DueUI:

    Or should i use my Duet2 board in standalone mode?

    currently that is the only option as Duet + Pi and DSF is only for the Duet 3.

    @TopperHarley said in Duet2 + Raspberry Pi + DueUI:

    It is possible to serve DueUI and DWC at the same time in this case?

    Can i use the Raspberry Pi with a webserver (nginx or apache) to serve DueUI?

    check out the wiki for that, installation section seems to suggest so.

    https://github.com/gtjoseph/DueUI/wiki



  • @TopperHarley said in Duet2 + Raspberry Pi + DueUI:

    Hello,

    i have build an Hypercube Evolution based on a Duet2 mainboard. Everything works nearly perfect. Now i want to use a Raspberry Pi 4 + 7 inch touch display to control the printer. My first idea was simply to display the DWC on the display, but then i heard of the lightweight userinterface of the DueUI.

    I am not a big expert in web development, so my knowledge in JS and html is very limited...

    Can i use the Raspberry Pi with a webserver (nginx or apache) to serve DueUI?

    Absolutely. Anything that can serve files via http can be used to host DueUI including the Duet2 itself. When you connect to DueUI the first time, you'll get a setup screen that'll ask you for the IP address or hostname of the Duet2, and the location of your config file which can be on the Duet2 or the Pi.

    As far as i understand DSF is only supported on a Duet3 board.

    At the current time, that's correct.

    If this is possible i need to edit the configuration of my Duet2 board?

    To run DueUI from a Pi or other webserver? No. The Duet2 doesn't know about or care about how it's controlled.

    Or should i use my Duet2 board in standalone mode? It is possible to serve DueUI and DWC at the same time in this case?

    It's totally up to you but yes, you can have both at the same time....
    http://<your_duet2> would take you to the standard DWC.
    http://<your_duet2>/dueui.html would take you to the DueUI.

    Just yell if you need help!


Log in to reply