piframe-go/cmd/gui
KemoNine d335e1f85a
continuous-integration/drone/tag Build is failing Details
Fixup groupings in toml parsing ; update example config
2020-09-20 20:33:07 -04:00
..
README.md Fixup groupings in toml parsing ; update example config 2020-09-20 20:33:07 -04:00
gui.go Remove debugging output as it's not part of production releases 2020-09-20 20:20:42 -04:00

README.md

gui

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.

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.


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"