Duet muti printer server anyone?
-
One little bug: under Chrome the printer names are displayed, but under Firefox it continues to show "TBD at first status update".
Interesting. Some subtle Javascript difference, no doubt.
Thanks, I will check it out on FF.
-
One little bug: under Chrome the printer names are displayed, but under Firefox it continues to show "TBD at first status update".
In the spirit of transparency: I'd broken this updating of the name from the board in all browsers.
V1.03 now available.
Release Notes, 1.03:
Fixed a bug that sometimes prevented newly added printers from obtaining and displaying the board name (i.e. the name stayed "TBD" forever). -
Hey, it looks great! Im having an issue connecting, I added the IP for one and waited but it fails. I dont have a password on this board so I left the password blank. Could that be the issue? I have Deleted and retried a few times just to be sure. Thanks for the help.
Try 1.03 and let me know. If it still fails to connect, please do this:
- Press F12. This opens a split screen. Click on the "console" tab in the split.
- Reload the page. Ctrl-Shift-R, just to be sure.
- Wait approximately three minutes. Several messages will appear in the console. Please copy/paste and email these messages to me. Don't wait too long!
I am "danal (dot) estes (at) gmail (dot) com".
Thanks!
-
I'll try right when I get home, it will be 3 hours. I tried late last night with 1.02 to no avail.
-
Nice server. Currently I am using a split screen with two tabs. I will try this in my 7" screen with raspberry pi 3.
-
Nice work. This could be pretty handy.
Interesting to see that DWC includes a Access-Control-Allow-Origin header that allows stuff like this. Doesn't feel great that any website could pull data from my Duet if it wanted to. Or for that matter, execute arbitrary G-code, which would work even without CORS.
-
Interesting to see that DWC includes a Access-Control-Allow-Origin header that allows stuff like this. Doesn't feel great that any website could pull data from my Duet if it wanted to. Or for that matter, execute arbitrary G-code, which would work even without CORS.
Just my opinion:
The Duet server should be treated as insecure, with or without any given header, etc. For one thing, it doesn't do HTTPS, and so the password should be considered open to discovery by anyone on the same network. Traffic to and from a Duet should never be exposed outside the network segment it is on… NEVER to the public internet. It should ALWAYS be proxied with external authentication and external facing HTTPS provided by that proxy.
With regard to "Any Arbitrary Website", the code loaded from a malicious website into a browser that was already connected to a Duet (via DWC or MultiDWMC) would have to find the Duet's address. There is no (known) way to discover a Duet. (Otherwise, I'd be using it...).
Given that a Duet can't be treated as secure, then configuring toward maximum utility on the local network segment makes sense.
Again, just my opinion.
-
@Austin55:
I am much more interested to know more about duet printer server. I will wait for next updates.
About
-
A Duet Board/Firmware?
-
"Duet Web Control" that comes with the board firmware?
-
"Multi Duet Web Monitoring and Control" which is being discussed in this thread?
-
-
There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).
Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.
-
There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).
Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.
Ah, interesting… is the underlying technique usable from a browser/javascript?
And/or is the "Find my Duet" source available?
-
-
The Duet server should be treated as insecure, with or without any given header, etc. For one thing, it doesn't do HTTPS, and so the password should be considered open to discovery by anyone on the same network. Traffic to and from a Duet should never be exposed outside the network segment it is on… NEVER to the public internet. It should ALWAYS be proxied with external authentication and external facing HTTPS provided by that proxy.
I agree. I just think it's a shame that this is the case. TLS might be a bit too much to ask, I guess, but some rudimentary cookie-based authentication sounds reasonable to me. Attackers could still sniff the traffic and find the password when the user authenticates, but it's much better than nothing.
With regard to "Any Arbitrary Website", the code loaded from a malicious website into a browser that was already connected to a Duet (via DWC or MultiDWMC) would have to find the Duet's address. There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).
Yep, apart from using a zeroconf address (that you would still have to guess). However, a web page could iterate through common local IP numbers (say 192.168.0.*) and the chance of finding it would be relatively significant. I don't like the idea of security through obscurity.
-
Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.
So mDNS / Bonjour is supported by Duet firmware. Unfortunately, there is no way (I can find) to browse for a mDNS / Bonjour directly from Browser based Javascript.
This does (somewhat) address the security concern.
-
By the way, I'm taking a short pause to re-package "Multi" for github, and create build scripts that produce a .zip package suitable for "serving from Duet" and a package suitable for "Serving from anywhere".
More soon… meanwhile, keep the feedback and design ideas coming...
http://danalspub.com/MultiDWMC
for now, if you want to take a look.
-
I really like (and want!) this. We are building a farm of at least 10 large scale custom printers (build volume 1000x1000x1200mm at least).
This would be a great addition to keep everything in check.My wishlist now would be:
- Make printers manually sortable to organize them in a particular order.
- Show name of the current print.
- Make the action buttons customizable. I do not want a calibration button but for instance would like to have a babystep button or something else. Making it possible to select the buttons I want would be awesome.
- Make the theme match the Dark theme. Luxury wishlist naturally.
I can help with the Dutch translation if you want. Native Dutch speaker here…
Keep up the great work!
-
Sorting: On the way.
Name of current print: On the way.
Action buttons custom: Probably not. Lot of work, and the real answer is just to click in the name/ip box for that printer and open full DWC in another tab.
Theme: Maybe. Probably, but no absolute commitment. Under the covers, this uses the same CSS as DWC, so this should be relatively easy.
Dutch translation: Under the covers it uses the same language files and translation scheme as DWC, at this moment, the language is greyed out, but I do plan to turn it on. When it becomes active, there will need to be a few more entries in each language…. for you to do the Dutch ones should be erg makkelijk.
-
R2.00 posted to http://danalspub.com/MultiDWMC/
Changes in this release:
Repackaged to make building for Duet vs. "any server" easier.
Added sorting of rows. Not entirely happy with how it works internally, may change it.
Added file name and size when printing.Should be fairly usable at this point. The package builders for "Server from Duet" and "Serve from anywhere" are working and lightly tested. I will put this on github in the next few days.
-
R2.01 now available.
Including "Serve from Duet". See: https://github.com/DanalEstes/MultiDuetWebMonitor
Or:
-
Download the github file (via the download button, NOT via "right click")
https://github.com/DanalEstes/MultiDuetWebMonitor/blob/master/MultiDuetWebControl-Duet-2.01.zip -
Upload to Duet via the normal upload process. Do not unzip.
-
Invoke via HTTP://your-duet-ip-or-name/multi.htm
Feedback welcome.
-
-
There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).
Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.
Jeeebus H Mary and Josef !!!! Where has this been all my Duet life ? Thanks for this - finding where this machine is on my net has been doing my dome in for weeks …
P.S. - very cool project / server app buddy KUDOS.
-
There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).
Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.
Jeeebus H Mary and Josef !!!! Where has this been all my Duet life ? Thanks for this - finding where this machine is on my net has been doing my dome in for weeks …
P.S. - very cool project / server app buddy KUDOS.
Thanks are due to chrishamm for writing it, not to me.