Christian Log

From Open Source Ecology
Jump to: navigation, search


HintLightbulb.png Status - Done: ... Printer Cluster To Do: Post bio on Developers page, Jitsi, Wordpress(?), ISO Blocks: ...

D3D Log. Development Team Log. Marcin Log. OSE Hangout Jitsi Meetup.

Thu Oct 26, 2017

Documented my Setup, uploaded everything and wrote a HowTo for booting up from USB with all eventualities (2h)

Wed Oct 25, 2017

Made the next Iteration for OSELinux, now with working exploded part diagrams, all requested software, working arduino and cura (its now possible to write the code to the arduino/print with cura). Lastly, the Wallpaper seems to work fine now. This version also uses the us version ISO as a basis, for fixing some minor issues in the default settings. As this seems to fix everything requested, I've called this iteration 1.0. I will now pause the project until further features are requested. The new version can be found here: OSE Linux (5h)

Tue Sep 12, 2017

Wrote down how the ISO can be created and customized OSE Linux

Sun Sep 3, 2017

Breakthrough with the ISO creation. The software used fixes the errors encountered with the current version. Furthermore, due to the possibility of better testing I could prove my concept of the jitsi plugin, its functional. Additionally, I could test the /etc/skel directory, and its working, further customized settings can now be integrated. I did nearly everything wished from the list (including the new debsum package, which is a reasonable add), including the vocoscreen settings and the freecad macro, and added all up to a new, tested version of the ISO which will go online tomorrow.

There are however (little) flaws left:

For some reason, arduino wont work properly unless started as root, this may however be system specific and basically fixable by running

   sudo adduser $USER dialout 

maybe I'm able to integrate that in the basic startup process, this may however be complicated. I could also write a little script that starts the program but requires root rights so the user is prompted to provide it.

Additionally there are settings to do regarding cura and blender, however I'm completely unfamiliar with those, this looks like something an expert provides for me (if anyone says he/she knows the perfect setup, contact me!)

Additionally I worked on the OSE server (or, more like it, setup a client on my side). (6h)

Thu Aug 31, 2017

Workstation at home is now functional, found a software perfect for our needs, however it still has some flaws to be corrected, I had to comment out some bad source code, its working, documentation follows. the used software is

https://github.com/kamilion/customizer

And its taking out all hazzle with setting up the ISO, and rounds all up with a neat GUI, however lacks of a simple changer of Desktop Enviroments (however, this is kind of luxury, we can just work with xubuntu, lubuntu etc) (5h)

Sat Aug 26, 2017

Setup a new workstation here, however didnt work, several errors here, may take some time... (2h)

Thu Aug 24, 2017

Unfortunately, I have some hardware problems, but the first version of the ISO is available here.

Due to my problems the features explained yesterday are NOT included, but giving out the ISO to find out what default settings suits us best should help getting out a better version.

Wed Aug 23, 2017

Did some research with very encouraging results, two processes in particular:

The Ubuntu Customization Kit lets you create an ISO with a gui and further very easy options in contrast to the very confusing commands to otherwise setup a chroot.

The customization of the 'default user': from that Page, I also derived information on how to customize the users that get created (on starting the live version for instance). This makes a custom desktop possible as well as custom settings for any program imaginable. (1,5h)

Tue Aug 22, 2017

Finished the update, got many things to work, got to test the result yet with virtualbox, I'll do that tonight. Those things were not (yet) possible:

Setting other defaults for vokoscreen (consists only of one binary, personal settings are created for specific user)

Adding the printer to Cura (Although it is probably possible, it basically has the same problem as the above, I'll document further info)

Adding the Macro to freecad (Is also saved into the users folder per default, as there are no macro examples, I couldnt slip it in somewhere)


This means that I placed those files in the /opt folders for further access. (2,5 h) Download link follows after the testing was done.


Mon Aug 21, 2017

Updated the iso with some new information, optimized a few steps and tested that (1,5h)

Thu Aug 17, 2017

Created a new ISO for OSE Linux, including new software and updating existing. Added new software and some special settings, however not all wishes could be fulfilled, documentation follows (I've shortened the installation process). (4h)

Wed Aug 16, 2017

Piwik seems to be highly insecure, so some research had to be done. Probably we'll be switching to Open Web Analytics.

Setup of wordpress for Jose, unfortunately the URL has to be adjusted yet (3h)

Tue Aug 15, 2017

Unfortunately, there were serveral issues on the way, primarily coming from the security side... Had to research further and talk with michael about further steps

Sat Aug 12, 2017

Got to work on piwik, some problems occured, about half way (hopefully) through. (4h)

Tue Aug 8, 2017

Talked with Marcin and Michael about server security. (2h)

Sat Jul 27, 2017

Researched my docs about the https encryption, looked through the basic system of piwik and the usual safety-measures. Prepared everything on server for setup (root access still required). (4h)

Thu Jul 27, 2017

Took a while to figure out the errors, there were two; rc.local had the wrong permissions, I added the necessary steps to the instructional, and a classic mistake in the Scanner (intendation error...), not quite sure where that came from.

Additionaly I figured out how to make the image for distribution only as small as the files contained, other than the size of my SD card (which would make the use of a 4 GB SD card impossible). All is now uploaded, corrected, tested and well. (5h)

Wed Jul 26, 2017

Started the documentation of the testing and created a main article on the printer cluster, including all the used ressources, install instructions, testing results and all the information I collected while I was setting up and configuring the image. All of this is now collected here: 3d_Printer_Cluster

However, I was confronted with problems on the image I was uploading to my drive, I'll have to redo some things there... (4h)

Tue Jul 25, 2017

Got the testing scenario right, tested on and finished.

Did refurbish the code a bit and uploaded the new version.

The Image is now collected and done, it lays in my drive right here Printer Cluster for installation, just follow these Instructions How_to:Write_Image_to_SD_Card. More detailed Documentation tomorrow. (7h)

Mon Jul 24, 2017

Started testing, couldn't however communicate with the Marlin; possible solutions:

1. Marlin wasn't setup properly: check by sending GCode via USB from a 3d print software.

2. Pins aren't setup properly: May need its power from the USB to UART, not only ground... (till now, I power comes from USB)

3. Contact protocol is wrong: Check the Bitrate (with step 1) and the /dev folder on whats appearing on plugging in

Sat Jul 22, 2017

Took part of the sprint for the CEB Press, I did insert new rods

Also stayed for the filament extruder. As there was nothing to do for me, I setup my freshly arrived Ardurinos . All thats missing now for testing is the USB to UART converter, I can and will pick it up on monday (5h)

Fri Jul 21, 2017

Preparated the software for testing, adding slicing profile to script, configured Marlin, ready for the ardurinos to arrive(3,5h)

Thu Jul 20, 2017

Talked with Michael on how I can help administering the server (1h)

Wed Jul 19, 2017

I was given the task of making the wiki more accessible, so I asked myself

How can we organize the current information on the wiki?

The sites have to be hierarchical, so there are main sites, that redirect to more specific undercategories. Crossreferences are no problem of course, this is only about quickly aquiring information. This means also that those hierarchical links should be displayed prominently. For organising the information in that way, we have to map the wiki first, so we can manually decide how the every site should be reachable from the main page.

The following tools will therefore be of use:

Visualization of the Links

Simpler Variant, maybe interesting if we have to modify the script

This way we not only can see every site, we can also make it easier for google users to spot specific site of the wiki

Additionaly, I ordered the more parts necessary for setting up a printer cluster on my own (at least the software-site). Documentation will follow when I start the setup (2h)

Friday Jul 14, 2017

Setup the Pi with marcin, gave me SSH access cia DynDNS (4,5h)

Wednesday Jul 12, 2017

Learned about AT code, about how to connect with the RC12 module and some other details for setting up the transceiver (2h)

Tuesday Jul 11, 2017

Tried to setup the SD card with Marcin, failed because of different errors (2h)

Sun Jul 9, 2017

Written a definite manual on how to setup software and hardware in its entirety. The instructions are in the google spreadsheet seen below (Jun 27). (0,5h)

Sat Jul 8, 2017

Had some thinking about security, user internal permission restrictions. Would be a pain to explain it all, however, solved it by running scanner on systemstart (there it is always run as root) and trigger the running by a variable settable by the website (clicking on the button).

Additional, reboot works now (and it should now be easy to implement further commands if necessary).

Lastly, some little code optimization (looks far more convenient now), renaming of the host to replab (this is now also what you type into search bar for accessing the website) and I licensed the files under the GPLv3. (6h)

That means the user interface is done and ready for testing. Changes will now only impact the Scanner and Maybe some design wishes (I'm open for requests) for the website.

Fri Jul 7, 2017

Took longer than expected, but the uploader contains now a drag and drop and accepts mutliple uploads at once and mirrors the design of the website. (5h)

Thu Jul 6, 2017

Integrated the script into the Web Interface, the current model allows an upload via the 3dPrinter website. The upload then automatically converts the file into stl. Currently, the upload allows fcstd and stl files. The Upload blocks the website for the uploader until the upload is complete, after that, the file is already accessible in the Octoprint interface.

The upload is should take about a second per 20 kb of fcstd converting. This means, a 60 kb file takes 3 seconds of 'uploading'. (4h)

Drag and drop and a neater upload interface will be the next goal.

Wed Jul 5, 2017

Designed a script to convert fcstd to stl. It's tested and working, however it seems not to work perfectly with all Parts. I think this is not fault of the script but of freecad. It seems to impact only very complex forms, so I hope it won't impact our work. The script will be added to the zip as soon as it is implemented into the website. (3h)

Tue Jul 4, 2017

Wiped the Testpi end redeployed it in the simplest way possible and wrote the instructions down here How_to:_Create_Printer_Cluster_Image (1h)

Mon Jul 3, 2017

Added Lazyload to the iframes for a maximum of performance, added buttons for server management (reboot etc.), merged all data to a zip file with a how to, taking octopi as a basis. Package will be tested by me tomorrow. (3h) File:PrinterClusterData.zip

Sun Jul 2, 2017

Wrote a webtemplate for managing multiple instances of octoprint,

additionaly step by step instructions to make the OSE Printer Cluster image out of the octopi (8 h)

Sat Jul 1, 2017

Worked on Scanscript, ready for testing (6h)

Fri Jun 30, 2017

Got a SD card setup with octopi and written a documentation about how to do it right here

How_to:Write_Image_to_SD_Card

The Image itself btw can be found here

Octopi

The hardware setup is displayed in the presentation already, so there is nothing holding us back from testing the software upon a printer. Additionaly, I've figured out some of the missing pieces and began writing a python script for autorecognition of the 3d printers. (5h)

Thu Jun 29, 2017

Got a step-by step plan about what should be done, learned about the G-Code and found those of interest for me from Marlin. (M115 gives me unique Data about the printer, M20 to M30 are used to read, write to the sd card and start the printing process from there) Found out how to reformat fcstd to stl with command line only (for automatic conversion on upload). (1,5h)

Tue Jun 27, 2017

edit

Researched Methods for cluster management, communication between printer and computer etc. Most Promising: Octoprint

This can be run for several printers

Hardware is defined and set, list and setup in the presentation. Very rough price estimate: 45 $ + 20$/printer(5h)

Sun Jun 25, 2017

Finished FreeCAD test, Video is uploaded to youtube. https://www.youtube.com/watch?v=nkDFKByIPfE (about 7h)