Welcome! Log In Create A New Profile

Advanced

New experimental firmware 0.96k and Duet Web Control 1.01

Posted by chrishamm 
New experimental firmware 0.96k and Duet Web Control 1.01
January 30, 2015 10:47AM
I've just released version 0.96k of my firmware fork on GitHub. The changes in this release include:

Quote

* Introduction of new JSON status responses, see here
* Dropped support for old (rather ancient?) web interface (don't worry, iamburny's web interface is still working if the default "reprap" password is used)
* Implemented (optional) password protection in the HTTP server, meaning each network protocol can now be password-protected in my fork
* Added new functionality to the HTTP server (rr_mkdir, rr_reply and preparations for rr_config)
* Implemented firmware-based print time estimations
* Before a file being printed is closed, DoFilePrint waits for all moves to finish first. This makes it easier for the web interface/PanelDue to determine when a file print has actually ended
* M98 allows absolute paths, so files from directories other than /sys can be run
* Improved debug/diagnostics code (see Platform::ClassReport and M122 in particular) and added new diagnostics test
* Moved LWIP's stats_display call from Platform to Network class
* Merged in all of dc42's changes up to 0.78za and several changes from his following releases (thanks again, dc42!)
* (Hopefully) added full support for dc42's PanelDue controller and changed the default AUX baud rate to 57600 (you may have to upgrade your PanelDue firmware to get it working though)

* Bug fix: rr_fileinfo returned an error when a directory path was passed
* Bug fix: Pause macro isn't executed when M25 is called twice
* Bug fix: Finally fixed occasional "Lost data connection" upload bug in the FTP server
* Bug fix: File list response returned invalid JSON responses for empty directories
* Bug fix: "ok" replies for Telnet clients are followed by CRNL again
* Bug fix: Fixed issue where the FTP server didn't handle AUTH properly and broke support for the latest FileZilla release
* Bug fix: filenameBeingUploaded in the Webserver class was not actually set when an upload was initiated, so failed uploads weren't deleted automatically

Please note I haven't been able to test things in depth, so I've marked this one experimental. I'm about to move, so I don't have much time to look at dc42's other changes at the moment, but I do indend to merge in his Move code when I get time to.

Anyway, one of the main features of this release is the first version of my new web interface, which is licensed under the terms of the GPL v2. At the present time, it provides nearly the same functionality as iamburny's web interface, but I haven't implemented any upload functions yet. So if you decide to try it, you'll have to use FTP for now to transfer files to your Duet. At the moment my new web interface provides the following features:

Quote

* Responsive design for all Bootstrap screen sizes (phone, tablet, desktop)
* Support for dynamic numbers of heads, tools and extruder drives
* Execution of custom macro files from /macros directory (you can upload G-Code files to it via FTP)
* Vastly improved Print Status page; the print time by layer chart is now fully interactive and can be panned or zoomed if there is a reasonable amount of samples
* Improved reconnect behaviour in cases a file is being printed
* G-Code files can be managed in sub-directories of /gcodes
* Beep and Message support (see M300 and M117) for printer setups without PanelDue
* New favicon(s)

You can download it here (click on "Download ZIP"), but don't try to mix it with iamburny's web interface. I suggest you rename your current /www directory to /www_old and create a new /www directory from scratch before you upload the necessary files. You can easily do that in FileZilla though. Well, I hope you like it!

And thanks once more to appjaws for testing my interim builds. Feedback is appreciated!

[edit]Duet Web Control has been updated to version 1.01 to fix some layout issues[/edit]

Edited 3 time(s). Last edit at 01/30/2015 03:29PM by zombiepantslol.
Re: New experimental firmware 0.96k and Duet Web Control 1.01
February 06, 2015 07:11AM
This experimental release is great, I have been running this firmware and operating the new web control for a few weeks now and I am very pleased with it. The firmware is working without problems and the web control is very nice and well laid out and the upcoming enhancements to the web control facilities will bring great benefit, being able to select fields to display on screen and in the introduction and control of macros and filament spool records.
It has been great to operate my ormerod from my phone.

try it, see what you think, zombiepantslol, I'm sure, will be pleased for any suggestions to improve the software.


appjaws - Core XYUV Duet Ethernet Duex5
firmware 3.1.1 Web Interface 3.1.1
Ormerod 1-converted to laser engraver, Duet wifi
OpenSCAD version 2020.07
slic3r-1.3.0, Simplify3D 4.1.2, Cura-4.4.1
Re: New experimental firmware 0.96k and Duet Web Control 1.01
February 08, 2015 07:09AM
Quote
appjaws1
This experimental release is great, I have been running this firmware and operating the new web control for a few weeks now and I am very pleased with it. The firmware is working without problems and the web control is very nice and well laid out and the upcoming enhancements to the web control facilities will bring great benefit, being able to select fields to display on screen and in the introduction and control of macros and filament spool records.
It has been great to operate my ormerod from my phone.

try it, see what you think, zombiepantslol, I'm sure, will be pleased for any suggestions to improve the software.

All true!!!

I'm testing ...but it's really a good experience!

Thanks zombiepantslol
Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: New experimental firmware 0.96k and Duet Web Control 1.01
February 08, 2015 10:10AM
Thanks for your feedback, I'm glad you like it smiling smiley

Two notes:

1) The extrude/retract buttons on the control page currently don't work as they should, in fact they will extrude/retract more filament than selected. You'll have to patch js/interface.js for the moment, but of course I'll fix it on GitHub as soon as I have reliable WiFi again. For the moment, you need to replace lines 1203 and 1208 with this:
var amount = $("#panel_extrude input[name=feed]:checked").val();

2) Nested macros are NOT yet supported. This means if you decide to set up a setbed.g in the /macros directory, you must replace G28 with the content of your /sys/homeall.g file. This behavior will be fixed in my next firmware release.
Re: New experimental firmware 0.96k and Duet Web Control 1.01
February 08, 2015 11:30AM
Are small things to fix...
My upload on the web control is not working... but FTP is faster!
The printer is smooth and quiet... I' m testing on OrmerodBamboo ...next the 2 color probably.
The web control....... more than I expected.thumbs up
A job well done!
Thanks again Christian

Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Sorry, only registered users may post in this forum.

Click here to login