Multiple duetwifi's in one page
-
Hi,
I was wondering If I can do something like this on a web page with multiple duetwifi's.
https://ibb.co/jd2UtkIf yes, how can I do it?
If no, what do I need to buy/create/make to have something like this? It would be nice for a farm to have something like this. And when you click let s say on printer 4, I want to view it in expandable mode like you see it now on your web interface.Thanks!
-
Open 4 instances, one for each printer and re-size the windows to evenly fill your monitor screen. Then maximize which ever one you want look at? Not really what you are looking for I guess.
-
Well, Octoprint exposes an entire HTTP request API.
E3D Josh wrote a utility to manage each instance for controlling their print farm in a more efficient manner.
https://github.com/joshuarowley42/PoseidonI haven't yet looked into seeing how the Duet Web Interface talks to the Web Server to see if this might be possible to replicate, or how much dev work would be required to write this functionality.
Then it's just a matter of making a UI to your liking, or modifying/ skinning what Josh wrote as a base.
-
@timcurtis67 yeahhh not really what I'm looking for But thanks alot for the answer.
@ raykholo thanks for the advice. I'll take a look. -
If anyone is considering making something like this, I'd love one that supports a minimum of ten printers!
-
I am considering this as I am making a farm…
-
Awesome. I'm happy to see people interested in this. Well, whosrdaddy if you have any news and you can post them here we are ready to hear you.
But in the minimize mode, what will be the most importand datas you want to see? Temps, speeds, printing time till ends?
-
I cannot pull up the page with your sample (gets an HTTP 502 error). But assuming you want a single web page that shows 4 different DWCs….
You can make a basic HTML page on your PC. In it have 4 iFrames. Each iFrame has the URL of one of 4 DWCs.
Below is the MOST BASIC html file to get you started. Save this to a file (ending with .html) to your PC. Then open it in your browser. If all works for you, update the URLs as needed.
<iframe src="https://www.duet3d.com/DuetWebControlSim/" width="45%" height="45%"><br /> alternative content for browsers which do not support iframe.<br /></iframe>
<iframe src="https://www.duet3d.com/DuetWebControlSim/" width="45%" height="45%"><br /> alternative content for browsers which do not support iframe.<br /></iframe>
<iframe src="https://www.duet3d.com/DuetWebControlSim/" width="45%" height="45%"><br /> alternative content for browsers which do not support iframe.<br /></iframe>
<iframe src="https://www.duet3d.com/DuetWebControlSim/" width="45%" height="45%"><br /> alternative content for browsers which do not support iframe.<br /></iframe> -
Also, if this does what you want, I suspect that with 1.19 you can put the file in the www directory on the SD card of one (or all) the machines. Then you can refer your browser to that file. That way, all PCs have access to the same page.
-
@ Frank833
oh yeah, this works great. I'll try with multiple printers in the near feature and trying to copy the file to SD card and see what's happening. Thanks!