<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[SoliForum - 3D Printing Community — Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
	<link rel="self" href="https://www.soliforum.com/feed/atom/topic/16702/" />
	<updated>2019-11-19T01:57:20Z</updated>
	<generator>PunBB</generator>
	<id>https://www.soliforum.com/topic/16702/web-ui-and-relay-for-davinci-printers-using-a-raspberry-pi-or-windows/</id>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/151880/#p151880" />
			<content type="html"><![CDATA[<p>can anyone help me with this when i go to change the usb settings&nbsp; and i write it with ctrl O it says permission denied<br />could it be because its running in the background???</p>]]></content>
			<author>
				<name><![CDATA[zackvoge]]></name>
				<uri>https://www.soliforum.com/user/22992/</uri>
			</author>
			<updated>2019-11-19T01:57:20Z</updated>
			<id>https://www.soliforum.com/post/151880/#p151880</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/151626/#p151626" />
			<content type="html"><![CDATA[<p>OK, I&#039;ve managed to get this sorted.<br />I had a few things I had to do to get this to work.<br />First off, pycryptodome does not work as a replacement for pycrypto.<br />Therefore, this needs to be built and installed. Into <a href="https://www.dlitz.net/software/pycrypto/">https://www.dlitz.net/software/pycrypto/</a><br />2.6.1 of pycrypto does not work, so use 2.7a1 instead. This fixes an issue with using the IV flag.<br />I then had issues with getting the connection to work with the 1.2.0 release of goprintrelay.<br />Building from source, which is 3 commits ahead, solves this issue.</p><p>Install goprintrelay as per instructions<br />Install golang from here <a href="https://golang.org/doc/install">https://golang.org/doc/install</a><br />Build a newer version of goprintrelay </p><div class="codebox"><pre><code>go build github.com/rhysbryant/goprinterrelay</code></pre></div><p>Stop the print service<br />Copy the built file and overwrite the file in /opt/goprint<br />Start the service again and you should be up and running.</p>]]></content>
			<author>
				<name><![CDATA[jay_s_uk]]></name>
				<uri>https://www.soliforum.com/user/1337/</uri>
			</author>
			<updated>2019-10-10T10:32:56Z</updated>
			<id>https://www.soliforum.com/post/151626/#p151626</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/151601/#p151601" />
			<content type="html"><![CDATA[<p>I get this error when I try and use threedub.<br /></p><div class="quotebox"><blockquote><p>Traceback (most recent call last):<br />&nbsp; File &quot;/usr/local/bin/threedub&quot;, line 11, in <br />&nbsp; &nbsp; load_entry_point(&#039;threedub==0.1&#039;, &#039;console_scripts&#039;, &#039;threedub&#039;)()<br />&nbsp; File &quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&quot;, line 489, in load_entry_point<br />&nbsp; &nbsp; return get_distribution(dist).load_entry_point(group, name)<br />&nbsp; File &quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&quot;, line 2852, in load_entry_point<br />&nbsp; &nbsp; return ep.load()<br />&nbsp; File &quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&quot;, line 2443, in load<br />&nbsp; &nbsp; return self.resolve()<br />&nbsp; File &quot;/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py&quot;, line 2449, in resolve<br />&nbsp; &nbsp; module = __import__(self.module_name, fromlist=[&#039;__name__&#039;], level=0)<br />&nbsp; File &quot;build/bdist.linux-armv6l/egg/threedub/main.py&quot;, line 8, in <br />&nbsp; File &quot;build/bdist.linux-armv6l/egg/threedub/davinci.py&quot;, line 8, in <br />ImportError: cannot import name AESCipher<br />error exit status 1</p></blockquote></div><p>Anyone got any ideas?</p>]]></content>
			<author>
				<name><![CDATA[jay_s_uk]]></name>
				<uri>https://www.soliforum.com/user/1337/</uri>
			</author>
			<updated>2019-10-07T20:27:07Z</updated>
			<id>https://www.soliforum.com/post/151601/#p151601</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/151595/#p151595" />
			<content type="html"><![CDATA[<p>Which software is shown in the first post of this thread?</p><p>I have the gprintrelay installed, and webserver is pretty neat -- but I cannot figure out how to print remotely.<br />XYZPrint (1.4.0) does not auto-detect it, and I cannot figure out where to enter IP address<br />and threedub does not seem to have remote connection mode either</p>]]></content>
			<author>
				<name><![CDATA[theamk]]></name>
				<uri>https://www.soliforum.com/user/22724/</uri>
			</author>
			<updated>2019-10-05T06:20:38Z</updated>
			<id>https://www.soliforum.com/post/151595/#p151595</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/149937/#p149937" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>sk800s wrote:</cite><blockquote><p>Yes of course. The connection is etablished. I see als that the printer was recognized because i see the temperature and the lenght from the fillament.</p></blockquote></div><p>what printer model do you have?<br />can you run the goPrint program in the foreground on the pi and grab the stdio log output. from an attempt to print and send that to me?</p>]]></content>
			<author>
				<name><![CDATA[rhys]]></name>
				<uri>https://www.soliforum.com/user/17290/</uri>
			</author>
			<updated>2019-03-29T13:06:48Z</updated>
			<id>https://www.soliforum.com/post/149937/#p149937</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/149936/#p149936" />
			<content type="html"><![CDATA[<p>Yes of course. The connection is etablished. I see als that the printer was recognized because i see the temperature and the lenght from the fillament.</p>]]></content>
			<author>
				<name><![CDATA[sk800s]]></name>
				<uri>https://www.soliforum.com/user/21495/</uri>
			</author>
			<updated>2019-03-29T12:54:53Z</updated>
			<id>https://www.soliforum.com/post/149936/#p149936</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/149935/#p149935" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>sk800s wrote:</cite><blockquote><p>Hello<br />Thanks for this. I&#039;ve installed this on a Banana pi. All seems to work. The xyz-software (Windows) recognized the printer. Temperatur and length was reported. But if i try to print the software says - &quot;Printerfailure&quot;. xyz-software is version 2.1.32.3.<br />Have you an idea?</p></blockquote></div><p>just checking did you add the IP address of the pi into the xyz software as a wifi printer?</p>]]></content>
			<author>
				<name><![CDATA[rhys]]></name>
				<uri>https://www.soliforum.com/user/17290/</uri>
			</author>
			<updated>2019-03-29T12:29:32Z</updated>
			<id>https://www.soliforum.com/post/149935/#p149935</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/149934/#p149934" />
			<content type="html"><![CDATA[<p>Hello<br />Thanks for this. I&#039;ve installed this on a Banana pi. All seems to work. The xyz-software (Windows) recognized the printer. Temperatur and length was reported. But if i try to print the software says - &quot;Printerfailure&quot;. xyz-software is version 2.1.32.3.<br />Have you an idea?</p>]]></content>
			<author>
				<name><![CDATA[sk800s]]></name>
				<uri>https://www.soliforum.com/user/21495/</uri>
			</author>
			<updated>2019-03-29T11:20:47Z</updated>
			<id>https://www.soliforum.com/post/149934/#p149934</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/147654/#p147654" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Darkfyre wrote:</cite><blockquote><p>Is it possible to run a Stop command in case of spaghettification?<br />And for even more fun the ability to turn on/off 3dprinter inside lights.<br />So that if using remote viewing can turn lights on when needed, and if issues stop the printer.</p></blockquote></div><p>There not a stop command supported by the USB/serial interface that I know of on the model I have at lest if this is supported on other models I can look at adding it.</p><p>Control of the light is not supported by USB/serial interface but for some time I&#039;ve been wanting to devise a simple hardware mod for this for a long time (likely just connecting the LED control line to one of raspberry pi&#039;s gpio pins)&nbsp; just never got round to trying it I&#039;ll look into it soon. the idea was to try and source a wire with the correct connectors so I did not have to cut any wires voiding my warranty</p>]]></content>
			<author>
				<name><![CDATA[rhys]]></name>
				<uri>https://www.soliforum.com/user/17290/</uri>
			</author>
			<updated>2018-11-27T13:23:11Z</updated>
			<id>https://www.soliforum.com/post/147654/#p147654</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/147601/#p147601" />
			<content type="html"><![CDATA[<p>Is it possible to run a Stop command in case of spaghettification?<br />And for even more fun the ability to turn on/off 3dprinter inside lights.<br />So that if using remote viewing can turn lights on when needed, and if issues stop the printer.</p>]]></content>
			<author>
				<name><![CDATA[Darkfyre]]></name>
				<uri>https://www.soliforum.com/user/15799/</uri>
			</author>
			<updated>2018-11-24T16:39:25Z</updated>
			<id>https://www.soliforum.com/post/147601/#p147601</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/141652/#p141652" />
			<content type="html"><![CDATA[<p>I&#039;ve added build in daemon support included in the latest release.<br /><a href="https://github.com/rhysbryant/goprinterrelay/releases">https://github.com/rhysbryant/goprinterrelay/releases</a></p><p>this allows easily running it in the background/on system startup<br />see project readme for instructions</p>]]></content>
			<author>
				<name><![CDATA[rhys]]></name>
				<uri>https://www.soliforum.com/user/17290/</uri>
			</author>
			<updated>2018-01-15T06:59:52Z</updated>
			<id>https://www.soliforum.com/post/141652/#p141652</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/141293/#p141293" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>seth.coussens wrote:</cite><blockquote><p>This works amazingly with the pi zero w as well. I can&#039;t seem to get the ffmpeg stuff working but with that disabled it works awesome. Great work!</p></blockquote></div><p>good to hear It&#039;s working for you, Thanks for the feedback.<br />I use it with a pi zero w and and a webcam.</p><p>I wounder why you where unable to get ffmpeg working. where you getting a specific error? I assume you have ffmpeg installed.<br />is your camera visible if you run sudo ls /dev/video*</p><p>I assume &quot;imageSourceCmd&quot; is set to &quot;ffmpeg -f video4linux2 -i /dev/video0 -vf fps=24/60 -f mjpeg -&quot; in config.json ?</p>]]></content>
			<author>
				<name><![CDATA[rhys]]></name>
				<uri>https://www.soliforum.com/user/17290/</uri>
			</author>
			<updated>2018-01-03T12:09:37Z</updated>
			<id>https://www.soliforum.com/post/141293/#p141293</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/141286/#p141286" />
			<content type="html"><![CDATA[<p>This works amazingly with the pi zero w as well. I can&#039;t seem to get the ffmpeg stuff working but with that disabled it works awesome. Great work!</p>]]></content>
			<author>
				<name><![CDATA[seth.coussens]]></name>
				<uri>https://www.soliforum.com/user/18109/</uri>
			</author>
			<updated>2018-01-03T04:37:16Z</updated>
			<id>https://www.soliforum.com/post/141286/#p141286</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/140281/#p140281" />
			<content type="html"><![CDATA[<p>I&#039;ve released a new version.<br />this fixes a bug with status updates halting and never recovered if the printer was disconnected then reconnected</p><p>Also the previous release that I did not notify of here improves the status refresh rate in the UI from ~30 seconds to about 10 seconds.</p><p><a href="https://github.com/rhysbryant/goprinterrelay/releases">https://github.com/rhysbryant/goprinterrelay/releases</a></p>]]></content>
			<author>
				<name><![CDATA[rhys]]></name>
				<uri>https://www.soliforum.com/user/17290/</uri>
			</author>
			<updated>2017-11-30T12:23:18Z</updated>
			<id>https://www.soliforum.com/post/140281/#p140281</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Web UI and relay for Davinci printers using a Raspberry pi or windows]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/138551/#p138551" />
			<content type="html"><![CDATA[<p>ssh into your RPi</p><p>wget <a href="https://gitlab.com/anthem/py-threedub/tree/master">https://gitlab.com/anthem/py-threedub/tree/master</a> <br />sudo apt-get install python<br />sudo pip install --upgrade pip<br />sudo pip install pycrypto<br />sudo pip install pyserial<br />sudo python setup.py install (from downloaded threedub directory)</p>]]></content>
			<author>
				<name><![CDATA[mjf55]]></name>
				<uri>https://www.soliforum.com/user/16979/</uri>
			</author>
			<updated>2017-09-28T23:36:57Z</updated>
			<id>https://www.soliforum.com/post/138551/#p138551</id>
		</entry>
</feed>
