Skip to content
This repository was archived by the owner on Nov 24, 2019. It is now read-only.

Webcam dont work #55

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
a0c2710
Add files via upload
noxhirsch Dec 13, 2018
6503b76
Add files via upload
noxhirsch Dec 13, 2018
3f8dae1
Add files via upload
noxhirsch Dec 13, 2018
ab297ee
Update README.md
noxhirsch Dec 15, 2018
6a90aa1
Update README.md
noxhirsch Dec 15, 2018
396d302
Add files via upload
noxhirsch Dec 15, 2018
07e83ad
Update README.md
noxhirsch Dec 15, 2018
4554ade
Update README.md
noxhirsch Dec 15, 2018
a55465f
Fix for newer version
noxhirsch Dec 16, 2018
acacd00
Fix for newer version
noxhirsch Dec 16, 2018
52c9fd6
Update README.md
noxhirsch Dec 16, 2018
ac62144
Update README.md
noxhirsch Dec 16, 2018
d5d9659
Update README.md
noxhirsch Dec 16, 2018
7fc3af8
Update files.go
noxhirsch Dec 16, 2018
0563e7a
Update temperature.go
noxhirsch Dec 16, 2018
ee6acb9
Update temperature.go
noxhirsch Dec 16, 2018
4e44ef4
Update README.md
noxhirsch Dec 16, 2018
96fa708
Update temperature.go
noxhirsch Dec 16, 2018
f430a1e
Update README.md
noxhirsch Dec 16, 2018
2b0e0a5
Update README.md
noxhirsch Dec 16, 2018
8f2cd1d
Update status.go
devsfan1830 Dec 29, 2018
a457f60
Update README.md
devsfan1830 Dec 29, 2018
57f59c3
Merge pull request #1 from devsfan1830/master
noxhirsch Jan 25, 2019
2170b3d
Update README.md
noxhirsch Feb 10, 2019
19e2099
Update README.md
noxhirsch Feb 10, 2019
b4283c0
Update README.md
noxhirsch Feb 10, 2019
a522152
Update status.go
noxhirsch Feb 17, 2019
ca4d011
Update README.md
noxhirsch Feb 17, 2019
6b108a1
Update system.go
noxhirsch Feb 17, 2019
e5132dd
Rename reboot.svg to shutdown.svg
noxhirsch Feb 17, 2019
26a731b
Create reboot.svg
noxhirsch Feb 17, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 47 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# If you can't see you files list, try uploading a new file via OctoPrint - that seems to work!



OctoPrint-TFT [![GitHub release](https://img.shields.io/github/release/mcuadros/OctoPrint-TFT.svg)](https://github.com/mcuadros/OctoPrint-TFT/releases) [![license](https://img.shields.io/github/license/mcuadros/OctoPrint-TFT.svg)]()
=============
### My (@noxhirsch) changes to the original software (I'm also working on some bugs):

- Changed the order of the homescreen elements
- Reworked status screen to have more space for the important stuff and smaller buttons
- Reworked files list:
- Added delete function
- Removed the load button (for small screens). If you want to load a file press print and in the dialog press "no"
- Reload every time when the list is opened
- More narrow list elements for small screens
- Changed temperature pages order. When you press temp, you get the presets first and can press a button to get to the finetune settings
- Improved contrast and color
- Lots of other changes to make it look good even on 320x240 pixel screens (you can run it bigger screens anyway)
- Temperature profiles from OctoPrint are working now (thanks to blondak).

At the moment SD card is removed (because I created this fork for myself in the first place) - I'll add it back soon.

<img src="home.png" /> <img src="status.png" /> <img src="files.png" /> <img src="files_print.png" /> <img src="temp.png" /> <img src="temp2.png" />

### Original description:

_OctoPrint-TFT_, a touch interface for TFT touch modules based on GTK+3.

Expand All @@ -9,8 +32,6 @@ equipped with any [TFT Touch module](https://www.waveshare.com/wiki/3.5inch_RPi_

Allows you to control your 3D Printer, like you can do with any [TFT/LCD panel](http://reprap.org/wiki/RepRapTouch), but using _OctoPrint_ and a Raspberry Pi.

<img width="480" src="https://user-images.githubusercontent.com/1573114/33559609-a73a969e-d90d-11e7-9cf2-cf212412aaa5.png" />

### These are some of the functionalities supported:

- Print jobs monitoring.
Expand Down Expand Up @@ -54,20 +75,6 @@ sudo apt-get install xserver-xorg xinit
```


### Installation on Raspbian/OctoPi (recommended)

The recommended way to install *OctoPrint-TFT* is use the `.deb` packages
from the [Releases](https://github.com/mcuadros/OctoPrint-TFT/releases) page. The packages
are available for Debian based distributions such as Raspbian and OctoPi for
versions `jessie` and `stretch`.

For example for a Raspbian Jessie:
```sh
> wget https://github.com/mcuadros/OctoPrint-TFT/releases/download/v0.1.0/octoprint-tft_0.1.0-1.jessie_armhf.deb
> dpkg -i octoprint-tft_0.1.0-1.jessie_armhf.deb
```


### Install from source

The compilation and packaging tasks are managed by the [`Makefile`](Makefile)
Expand All @@ -84,17 +91,34 @@ sh get-docker.sh

> You can read more about this at [`docker-install`](https://github.com/docker/docker-install)

To compile the project, assuming that you already cloned this repository, just
execute the `build` target, this will generate in `build` folder all the binaries
and debian packages:
Install git and clone this repository:

```sh
sudo apt-get install git -y
git clone https://github.com/noxhirsch/OctoPrint-TFT
```

To compile just execute the `build` target, this will generate in `build` folder all the binaries
and debian packages. This will take a while (10-20mins on a Raspberry Pi 3):

```sh
> make build
> ls -1 build/
sudo make build
ls -1 build/
```

If you are using `Raspbian` you can install any of the `.deb` generated packages.
If not, just use the compiled binary.
If not, just use the compiled binary. Example:

```sh
cd build/jessie
ls
```

Now you can see the filename of the package. Use it to run this command:

```sh
dpkg -i octoprint-tft_0.1.0-1.jessie_armhf.deb
```

Configuration
-------------
Expand All @@ -112,7 +136,7 @@ the `.deb` package you can configure it at `/etc/octoprint-tft-environment`.

- `OCTOPRINT_TFT_STYLE_PATH` - Several themes are supported, and style configurations can be done through CSS. This variable defines the location of the application theme.

- `OCTOPRINT_TFT_RESOLUTION` - Resolution of the application, should be configured to the resolution of your screen, for example `800x480`. By default `480x320`.
- `OCTOPRINT_TFT_RESOLUTION` - Resolution of the application, should be configured to the resolution of your screen, for example `800x480` or `480x320`. By default it is `320x240`.


### Custom controls and commands
Expand Down
Binary file added files.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added files_print.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added status.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion styles/default/images/back.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions styles/default/images/bed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions styles/default/images/calibrate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions styles/default/images/control.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
112 changes: 26 additions & 86 deletions styles/default/images/cool-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion styles/default/images/decrease.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading