I have 2 printers with Duet Wifi's and I tend to leave the tabs open in the background when printing and I'm doing other work on the computer. Instead of having to always go to the tabs to see what % the print is at I think it would be awesome to see it right in the tab next to whatever you named your printer.
Not sure if this would be a firmware request, or a web interface addon, but I just thought I'd ask here.
I suspect it's not possible, because AFAIK the browser only requests the favicon.ico file when it connects initially. But someone else may know a workaround.
Duet WiFi hardware designer and firmware engineerhttp://www.escher3d.comhttps://miscsolutions.wordpress.com
It would be something to add to the DWC web interface I will let @chrishamm know about this request.
Duet Wifi Hardware Designerwww.duet3d.comwww.think3dprint3d.com
Speaking of the faveicon, how does one change that? I'd like to have them to be different colors instead of both blue =)
Last edited by sLpFhaWK (13 November 2016 21:34)
document.title = "My fab printer: 75%";
For chrome and Firefox you can change it dynamically with an Ajax request but I don't think you can in IE or Safari.
Here's a demo page showing how you can dynamically change the favicon:https://mathiasbynens.be/demo/dynamic-faviconshttp://stackoverflow.com/a/2995536/4107016
This one seems interesting as wellhttps://github.com/lipka/piecon
That one is very pleasing, I especially like how it generates the images on the fly so you don't have to serve them all.
Looking through the web UI code, it looks like there's already a nice setProgress function which could be used to update this:https://github.com/dc42/DuetWebControl/ … l.js#L2402
Last edited by yngndrw (16 February 2017 13:27)
Something like this?
I like it! How hard is it to implement?
Last edited by Demthios (17 March 2017 14:07)
I've put a pull request in with chris: https://github.com/chrishamm/DuetWebCon … 53d217a782