Commit graph

27 commits

Author SHA1 Message Date
Gina Haeussge
49f7568de2 Fixed timeout issues that occurred sometimes when connecting to the printer 2013-01-18 23:44:09 +01:00
Gina Häußge
574961ceac Added option to disable analysis of gcode upon loading a file for print. Disabling this allows for a faster loading time (especially on a Raspberry Pi) but with the disadvantage of losing information regarding estimated filament length and print time. 2013-01-18 23:44:09 +01:00
Gina Häußge
c2858200eb Fixed display of targetBedTemp in UI
Closes #4
2013-01-18 23:44:08 +01:00
Gina Häußge
1d0fccedf7 Reset gcode state when done loading 2013-01-18 23:44:08 +01:00
Gina Häußge
e8a633db8b State is now sent in update bundles to the frontend if updates are available, but not more frequently than every 500ms. 2013-01-18 23:44:08 +01:00
Gina Häußge
4983a00adf Broken commit... redoing the complete messaging to the frontend, part 1 2013-01-18 23:44:07 +01:00
Gina Häußge
e51d7dc7a0 Changed message queue... but still not happy with that... 2013-01-18 23:44:07 +01:00
Gina Häußge
d9f31fccfd Updated autodetection of server-down for socket.io and updated requirements 2013-01-18 23:44:07 +01:00
Gina Häußge
7567734e1c Decoupled communication thread and frontend serving via update queue, extracted history to separate initial event sent upon connecting, making updates of temperatures, logs and messages smaller 2013-01-18 23:44:07 +01:00
Gina Häußge
534a48ffd7 Throttling for progress reports (every 500ms for now) and mini bugfix 2013-01-18 23:44:06 +01:00
Gina Häußge
ddc3ff9563 Refactoring server/client communication to utilize socket.io instead of 500ms-polling for server-side updates 2013-01-18 23:44:06 +01:00
Gina Häußge
df0e3b41cf Removed Cura logo as favicon -- isn't fitting anymore 2013-01-08 21:06:24 +01:00
Thomas Sanladerer
ea6b109dec Update printer_webui/util/comm.py
Enables bed target temperature display.
2013-01-07 18:54:49 +01:00
Gina Häußge
83bf6efb1d Ignore "No Checksum with line number" errors as they trigger a resend just as well as e.g. "No Line Number with checksum" (quick check of the Marlin source seems to confirm this).
Should hopefully help with #5 and #9 -- will not reduce the communication errors (that's most probably not the comm stacks fault but rather a noise issue or something) but will lead to a more error resilient behaviour. Please test (I can't reproduce the issue(s)).
2013-01-05 00:00:38 +01:00
Gina Häußge
7ffb8c3bd7 Only enable timelapse feature when necessary config settings are made. Expanded on documentation. 2013-01-04 18:38:50 +01:00
Gina Häußge
ef0820a067 Added timelapse file management 2013-01-04 13:11:00 +01:00
Gina Häußge
2db1cff224 Bugfixes... 2013-01-04 11:08:19 +01:00
Gina Häußge
d102bdbfca Ooops... forgot something in a variable name 2013-01-03 23:06:27 +01:00
Gina Häußge
b93750619f Added video creation via ffmpeg 2013-01-03 22:58:47 +01:00
Gina Häußge
02f2436cd5 Futher work on timelapse support 2013-01-03 21:38:46 +01:00
Gina Häußge
35e6b19332 Timelapse support. At the moment the feature only creates a series of (grabbed) images in the timelapse folder in the settings dir. Next step will be to create a movie from that. 2013-01-03 15:25:20 +01:00
Gina Häußge
4e4eed84bb Removed python based webcam support (didn't work well with the raspi), switched instead to external stream (mjpg-streamer being the preferred webcam server) 2013-01-03 00:39:17 +01:00
Gina Häußge
8dc5e249d5 Stream image directly from memory instead of buffering to disk 2013-01-02 18:24:56 +01:00
Gina Häußge
f080468a4d Webcam support for Linux 2013-01-02 16:41:04 +00:00
Gina Häußge
e1d541a6e4 First try at webcam support 2013-01-02 16:33:37 +01:00
Gina Häußge
a85ea69fb0 Established settings mechanism
Allows reading and writing default serial port and baudrate (this also is available via the web interface) and setting the host and port on which the server should listen. Might allow persisting more options in the future.

The configuration file is stored in ~/.printerwebui/config.ini under Linux, in %APPDATA%/PrinterWebUI/config.ini under Windows and should be stored in ~/Library/Application Support/config.ini under MacOS X

Closes #1
2013-01-01 21:04:00 +01:00
Gina Häußge
a0cac835b5 Major reorganization to only include the communication stack from Cura. 2012-12-31 13:18:55 +01:00