Commit graph

46 commits

Author SHA1 Message Date
KemoNine be99f9ae41 Fix GUI build 2020-09-06 04:14:44 -04:00
KemoNine 97a3474bd2 Implement hdmi on/off command for boot 2020-09-06 04:11:19 -04:00
KemoNine 13d019cf62 Add config watch to all tools so they are restarted if the config changes 2020-09-06 03:36:35 -04:00
KemoNine 20fab2ade0 Update readme eample to NOT have broken value 2020-09-05 21:28:01 -04:00
KemoNine 1ccbf4ee03 Update / adjust config handling code so its more reliable and less prone to crashes ; tweak default values + help text to ensure folks know its only seconds/minutes/hours ; add fim restart handling 2020-09-05 21:27:33 -04:00
KemoNine 98d5fdce2f Add support for restart interval to main slideshow 2020-09-05 17:49:55 -04:00
KemoNine 588145b163 Update fan daemon to re-evaluate the config values if there aren't valid values for temps (ie all 0's) which causes the program to not function correct, see code comments for further details 2020-09-05 16:51:00 -04:00
KemoNine f8b4031aa3 Update inotify to use config file
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-05 16:04:43 -04:00
KemoNine be7c3e63a2 Fixup map access in fan util
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-05 15:57:08 -04:00
KemoNine 3ca4b66304 Tie fan into config (both ui and fan daemon) 2020-09-05 15:49:49 -04:00
KemoNine 7afb3f17ee Enable saving album selections 2020-09-05 01:01:48 -04:00
KemoNine 15dfaa31f9 Wire up more of the config ; apply hdmi on/off schedules on save 2020-09-04 23:28:01 -04:00
KemoNine 769029b9c2 Fill out GUI some more, enable saving of config file on exit 2020-09-04 20:28:32 -04:00
KemoNine bfbb296784 Remove logging, finalize fan default settings 2020-09-04 18:31:39 -04:00
KemoNine 80828aa021 Tweaks for fan service to keep it offline more frequently and scale up faster ; wil adjust polling interval after further testing and verification 2020-09-04 15:20:15 -04:00
KemoNine 6c6bbe02fe Adjust looping on fan ; add debug output for fine tuning purposes 2020-09-04 15:04:44 -04:00
KemoNine 638bd93675 Add fan control service 2020-09-04 14:57:12 -04:00
KemoNine fffd67f8c0 Further implementation of config management 2020-09-03 21:01:13 -04:00
KemoNine 1b5d77e07a Tweak string format, exit if config changes -- let monit and / or systemd restart if the config changes on disk out from under the running app ; will add save/exit button later to ensure that making changes via the config ui doesn't cause the app to restart after every change 2020-09-03 01:25:42 -04:00
KemoNine 8b3827220e Add watching of config file to re-load if changed on disk while running 2020-09-03 00:48:08 -04:00
KemoNine ce9f53cb45 Add command line flag to allow only running the config ui 2020-09-03 00:24:26 -04:00
KemoNine 712f7c7a45 Add CLI flag to only show config UI and skip the slideshow display (so you can config & auto-reload the main piframe ui over ssh and similar 2020-09-02 23:56:25 -04:00
KemoNine 8737f2fe1a Basic config file load 2020-09-02 23:47:07 -04:00
KemoNine 1841b19211 Split up GUI code some and modularize it 2020-09-02 20:40:28 -04:00
KemoNine a506546f1e Add album listing to config ui so they can be selected / deselected 2020-09-02 02:16:06 -04:00
KemoNine 37bbc4658d Add a TON of error handling that was previously skipped (intentionally but really needs to be there) ; added basic filesystem walk of albums dir to facilitate config of which albums are used for the slideshow 2020-09-02 01:30:27 -04:00
KemoNine e3008a6d43 Add code to apply the wifi config in the main ui 2020-09-01 20:11:27 -04:00
KemoNine 48d757a6b6 Tease apart wifi config into dedicated module and use module in existing wifi config tool 2020-09-01 19:05:09 -04:00
KemoNine 83743a9f90 Tease out fim code, further implementation of config ui (INCOMPLETE) 2020-08-31 22:57:23 -04:00
KemoNine 4a516cbed8 Further implementation of UI 2020-08-30 19:46:17 -04:00
KemoNine d10c9e7a65 Add better keyboard handling to UI for fim controls and getting to the UI 2020-08-29 19:39:24 -04:00
KemoNine 38817ae4d3 Start reworking keyboard input and no longer trap signals for controls 2020-08-29 19:12:28 -04:00
KemoNine 16f7ddcd58 Fixup which service is restarted when pictures change
All checks were successful
continuous-integration/drone/tag Build is passing
2020-08-28 21:21:04 -04:00
KemoNine 5212949fb0 Start building out robust UI code ; this update moves the fim slideshow advancing into the go code and keeps fim OFF stdin/out so keyboard input shouldn't affect it
All checks were successful
continuous-integration/drone/tag Build is passing
2020-08-28 21:18:01 -04:00
KemoNine 255e647c5e Cleanup error handling
Some checks failed
continuous-integration/drone/tag Build is failing
2020-08-28 20:02:38 -04:00
KemoNine 75a26c064d Update slideshow path to match docs
All checks were successful
continuous-integration/drone/tag Build is passing
2020-08-28 18:40:33 -04:00
KemoNine faf8ac0b5e Initial rough cut UI
All checks were successful
continuous-integration/drone/tag Build is passing
2020-08-28 18:33:03 -04:00
KemoNine 1f681060dd Moved LUX sensor code to ticket as it is a secondary feature for the time being 2020-08-28 18:24:08 -04:00
KemoNine 721c5f9728 Move lux sensor logic to own file while main ui is reworked 2020-08-28 17:45:34 -04:00
KemoNine 213d9475ba Update the UI README 2020-08-28 12:51:21 -04:00
KemoNine 88b60f2df0 Added inotify watcher for restarting slideshow when files are changed/deleted/added 2020-08-27 10:02:44 -04:00
KemoNine 3a42389ebd Initial port of wifi config utility from python 3 2020-08-26 01:11:25 -04:00
KemoNine 6f1797b7bd Add README for the ui code 2020-08-25 20:22:50 -04:00
KemoNine 291f88216e Remove built binary from repo 2020-08-25 20:19:23 -04:00
KemoNine 12fc1f059a staticcheck formatting 2020-08-25 20:18:29 -04:00
KemoNine 19c192f0e3 initial bring up of ui lux sensor 2020-08-25 18:55:05 -04:00