piframe-go/cmd/gui/README.md

39 lines
947 B
Markdown
Raw Normal View History

# gui
2020-08-26 00:22:50 +00:00
2020-08-28 16:51:21 +00:00
This is the main source code for the custom UI used by PiFrame. This is responsible for things like restart, WiFi config, ensuring the slide show is running and more.
2020-09-03 03:47:07 +00:00
## Config
The GUI uses a config similar to the following. To generate a default config, launch the gui and immediatly select the ```Save & Exit``` button. The generated configuration will be at ```/etc/default/pf.toml```.
**Please Note**: The below is a sample and may or may not match the coded defaults. We also do *not* recommend changing values that are not present in the UI unless you are sure of the consequences.
2020-09-03 03:47:07 +00:00
```
config-ui-only = false
[albums]
root = "/tank/pictures"
selected = ["/", "/KemoNine"]
[fan]
minspeed = 10.0
pollinginterval = "30s"
[fan.speeds]
100 = 55.0
25 = 45.0
50 = 50.0
75 = 52.0
[hdmi]
off = "*-*-* 00:00:00"
on = "*-*-* 06:00:00"
[slideshow]
restartinterval = "168h"
slideinterval = "300s"
2020-09-03 03:47:07 +00:00
```