Ultimaker and the ultimate tutorial for it

From DCEwiki
Revision as of 13:11, 6 February 2017 by Martingurtner (talk | contribs) (Založena nová stránka s textem „== Raspberry Pi == IP: 147.32.86.175<br /> Login credentials: {| class="wikitable" |- ! username | pi |- ! password | mamradtisk |} === Octopti === Here…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Raspberry Pi

IP: 147.32.86.175
Login credentials:

username pi
password mamradtisk


Octopti

Here is the url: http://147.32.86.175 to octopi and here the direct url to a video feed from camera mounted on the ultimaker: http://147.32.86.175/webcam/?action=stream

username ultimakeruser
password mamradtisk

Timalapse (independent of octopi)

To star timelapse, login to raspberry pi as "pi" user via SSH and run the following commands:

> screen
> ~/timelapse_picamera.py


The "screen" command opens a new bash which does not close after you log out of the SSH, in contrast to normal bash. The next command starts the timelapse script which takes a picture every 30 seconds and stores it in directory /home/pi/timelapse. Please note that the picture is captured by the raspberry pi camera module and not by a USB camera connected to the raspbery pi. As the timelapse script is running you can log out of the SSH. Press Ctrl+A followed by pressing D (this logs you out of the screen) and type exit (this logs you out of the SSH).

As the timelapse runs as long as there is space on the raspberry pi, it has to be stopped at some point. To stop it, log to raspberry pi via SSH and connect back to the bash in screen:

> screen -r

Now, just kill the timelapse script by Ctrl+C.

The captured images are easily accesible via SFTP (for instance, use WinSCP).