Commit Graph

  • 48909001e8 Add API key validation and improve error handling in weather manager. ChuckBuilds 2025-04-19 17:27:50 -05:00
  • 508d01323a Reduce weather manager log spam. Change frequent logs to DEBUG level. ChuckBuilds 2025-04-19 17:25:22 -05:00
  • ebda8e04a0 Improve weather location handling. Use full location string with city, state, and country for better API results. ChuckBuilds 2025-04-19 17:17:44 -05:00
  • d700316f75 Improve weather cache validation and reduce log spam. Add thorough data validation and better error handling. ChuckBuilds 2025-04-19 17:13:59 -05:00
  • 9a0e87115d Improve weather network error handling. Add retry logic with backoff and better caching fallback. ChuckBuilds 2025-04-19 17:10:40 -05:00
  • bf7eeecbe0 Fix weather location configuration. Update WeatherManager to use correct location from config and add validation. ChuckBuilds 2025-04-19 17:09:05 -05:00
  • 4c5f1e73c5 Improve cache functionality. Add max_age parameter to CacheManager, fix WeatherManager API calls, and enhance error handling. ChuckBuilds 2025-04-19 17:08:02 -05:00
  • 24d7fd96ec Fix CacheManager usage in NBA managers. Update to use instance methods instead of class methods for proper caching functionality. ChuckBuilds 2025-04-19 17:07:04 -05:00
  • b77105eca5 Fix CacheManager import in NBA managers. Add missing import statement to resolve NameError. ChuckBuilds 2025-04-19 17:01:49 -05:00
  • b3f824061f Improve cache manager robustness. Fix permission issues with cache directory, add better JSON error handling, and implement atomic file operations. ChuckBuilds 2025-04-19 17:00:51 -05:00
  • e4f78b7808 Improve SSL handling in stock managers. Add retry logic with exponential backoff, proper SSL verification, and better error handling for both StockManager and StockNewsManager classes. ChuckBuilds 2025-04-19 16:59:53 -05:00
  • 2391fdaee0 Fix datetime serialization in cache manager. Add custom JSON encoder to handle datetime objects. ChuckBuilds 2025-04-19 16:58:45 -05:00
  • 8ee3b1001a Fix cache directory permission issues. Add fallback options for different user contexts and proper permission handling. ChuckBuilds 2025-04-19 16:57:31 -05:00
  • a5186d656e Optimize cache and weather managers for better performance. Add thread-safe caching, reduce processing overhead, and improve error handling. ChuckBuilds 2025-04-19 16:56:09 -05:00
  • 6c7fd0ddb2 turned off nba test mode ChuckBuilds 2025-04-19 16:52:54 -05:00
  • 99ecbbed8e add NFL Team Logos Chuck 2025-04-19 16:50:21 -05:00
  • 4d6839db56 reduce score size by 2 px NBA ChuckBuilds 2025-04-19 16:43:48 -05:00
  • 03d679948b arranging score higher for NBA ChuckBuilds 2025-04-19 14:59:55 -05:00
  • b5859ff8ef arranging score lower for NBA ChuckBuilds 2025-04-19 14:58:52 -05:00
  • c52c3be889 arranging period, time, and score for NBA ChuckBuilds 2025-04-19 14:54:02 -05:00
  • 727415fd17 Improve error handling in NBA managers with consistent empty state handling and update intervals ChuckBuilds 2025-04-19 14:50:03 -05:00
  • 42444a1873 Fix index out of range errors in NBA managers by properly handling empty game lists ChuckBuilds 2025-04-19 14:48:20 -05:00
  • 7a71260cab Reduce NBA manager logging frequency with 5-minute cooldown for status messages ChuckBuilds 2025-04-19 14:47:18 -05:00
  • b45a99d3b1 Update NBA scorebug layout to stack period and game clock vertically for better readability ChuckBuilds 2025-04-19 14:45:15 -05:00
  • a44fa29e73 changed favorite teams in NBA scoreboard and enabled test mode ChuckBuilds 2025-04-19 14:38:45 -05:00
  • 241498c92d Update display controller run() method to improve team tracking. Add priority for live games with favorite teams, better team rotation integration, and separate state tracking for NHL and NBA games. ChuckBuilds 2025-04-19 14:37:41 -05:00
  • 39ba8b5adb Add NBA game tracking support alongside NHL games. Implement NBA managers and update display controller to handle both sports simultaneously. Add team rotation for NBA games with recent/upcoming game support. ChuckBuilds 2025-04-19 14:36:21 -05:00
  • 2ee235587b changed default test teams for nba manager ChuckBuilds 2025-04-19 14:34:27 -05:00
  • 1ea585aaac Add NBA scoreboard manager with live, recent, and upcoming game display functionality ChuckBuilds 2025-04-19 14:28:29 -05:00
  • 47789afca5 add NBA and MLB Logos Chuck 2025-04-19 14:23:40 -05:00
  • daf88b6f5d adjusted nhl upcoming date and time spacing slightly further ChuckBuilds 2025-04-19 13:49:24 -05:00
  • fdc01c6167 adjusted nhl upcoming date and time spacing slightly closer ChuckBuilds 2025-04-19 13:46:14 -05:00
  • 6a0ee401c4 adjusted nhl upcoming date and time spacing ChuckBuilds 2025-04-19 13:42:54 -05:00
  • ed46f24047 removed extra spacing between scores NHL ChuckBuilds 2025-04-19 13:29:37 -05:00
  • 8320e16d03 Move date below 'Next Game' for upcoming NHL games ChuckBuilds 2025-04-19 13:27:58 -05:00
  • 7953ae5d09 slight readme changes ChuckBuilds 2025-04-19 12:57:45 -05:00
  • 0d399bfb6e Add systemd service documentation to README and update install script for dynamic user detection ChuckBuilds 2025-04-19 12:55:05 -05:00
  • 686a76b2e7 Update service to run as root for hardware timing access ChuckBuilds 2025-04-19 12:42:30 -05:00
  • a7b99c5c53 Add systemd service and control scripts for LED Matrix Display ChuckBuilds 2025-04-19 12:40:21 -05:00
  • 4efa51e54c Stack date and time in center for NHL upcoming games ChuckBuilds 2025-04-19 12:37:14 -05:00
  • 143b981203 Change font test to use 4x6 font instead of PressStart2P-Regular ChuckBuilds 2025-04-19 12:18:39 -05:00
  • 064f805d98 Update font test to display all sizes at once as a static image ChuckBuilds 2025-04-19 12:14:46 -05:00
  • ea03de8af7 Add font test display for testing PressStart2P-Regular font sizes from 4 to 18 ChuckBuilds 2025-04-19 12:00:34 -05:00
  • e7c0d1ab28 changed upcoming game status font ChuckBuilds 2025-04-19 11:14:08 -05:00
  • 305b5c1c97 Changed NHL score display to use Press Start 2P font as primary font ChuckBuilds 2025-04-19 09:07:49 -05:00
  • e9b5b65e59 added timestamps to logging ChuckBuilds 2025-04-19 09:06:26 -05:00
  • 037fd9d31b enabled nhl display to test caching ChuckBuilds 2025-04-19 08:42:14 -05:00
  • 084f4f086a restore stock chart to 2.5 ChuckBuilds 2025-04-18 21:11:38 -05:00
  • 39bc9787f8 shift symbol and price slightly closer to chart ChuckBuilds 2025-04-18 21:09:01 -05:00
  • 6d1b49cdcf feat: Center stock text between logo and chart ChuckBuilds 2025-04-18 21:00:50 -05:00
  • 9546f1caa9 feat: Move stock symbol closer to logo by adjusting text position ChuckBuilds 2025-04-18 20:54:43 -05:00
  • 62e99be45b fix: Update _has_news_changed to properly handle list format news data ChuckBuilds 2025-04-18 20:33:51 -05:00
  • 21b6a15445 fix: Update _has_news_changed to handle both list and dictionary news data formats ChuckBuilds 2025-04-18 20:33:13 -05:00
  • 9cd5009327 changed text brightness in weather daily and weather hourly ChuckBuilds 2025-04-18 20:25:18 -05:00
  • d7a6d45e06 Add initial gap to stock display for better scrolling visibility ChuckBuilds 2025-04-18 20:19:12 -05:00
  • 10297af740 Add NHL scoreboard documentation to README ChuckBuilds 2025-04-18 20:14:54 -05:00
  • fe77b64080 Remove unused nhl_scoreboard.py (functionality moved to nhl_managers.py) ChuckBuilds 2025-04-18 20:13:35 -05:00
  • fca022decd Add caching system documentation to README ChuckBuilds 2025-04-18 20:11:17 -05:00
  • edfacd6ca6 Fix datetime serialization and improve root user cache handling ChuckBuilds 2025-04-18 19:59:38 -05:00
  • d84a3e4635 Fix cache directory permissions and logger initialization ChuckBuilds 2025-04-18 19:58:25 -05:00
  • 090f89b781 Implement caching system for API data with proper permission handling and atomic operations ChuckBuilds 2025-04-18 19:56:43 -05:00
  • 170db5809a increase brightness ChuckBuilds 2025-04-18 19:47:31 -05:00
  • 46e1328cd0 adjusted config now that it actually influences display ChuckBuilds 2025-04-18 19:44:49 -05:00
  • 711b36eaa6 Update display_manager.py to use settings from config.json ChuckBuilds 2025-04-18 19:41:27 -05:00
  • 070cb18c79 adjust matrix config directly in display_manager ChuckBuilds 2025-04-18 19:30:43 -05:00
  • 97ad700b09 bits 9 pwm lsb nano 200 dither 0 pulsing false refresh rate false ChuckBuilds 2025-04-18 19:28:28 -05:00
  • c3fe3c2dcf bits 8 pwm lsb nano 130 dither 0 pulsing false ChuckBuilds 2025-04-18 19:21:12 -05:00
  • 5e5416f3f5 adjusting LED panel settings to reduce flicker ChuckBuilds 2025-04-18 19:16:04 -05:00
  • cdcbea5d1d adjusting LED panel settings to reduce flicker ChuckBuilds 2025-04-18 19:13:00 -05:00
  • ed23f8e3a5 adjusting LED panel settings to reduce flicker ChuckBuilds 2025-04-18 19:05:23 -05:00
  • 4f8e782683 adjusting LED panel settings to reduce flicker ChuckBuilds 2025-04-18 19:04:06 -05:00
  • b95ecc3175 adjusting LED panel settings to reduce flicker ChuckBuilds 2025-04-18 19:02:37 -05:00
  • 81099455a5 add schd logo ChuckBuilds 2025-04-18 18:56:16 -05:00
  • 73cf19f941 Fix weather icon vertical positioning: - Center icon in top 2/3 of display - Improve layout balance between icon and metrics - Maintain bottom space for additional weather data ChuckBuilds 2025-04-18 18:55:48 -05:00
  • e09ddda62b turned off nhl_scoreboard to work on other features since api calls are exhausted ChuckBuilds 2025-04-18 18:30:15 -05:00
  • 6c60ac46f2 Implement caching system for NHL managers to reduce API calls: - Add CacheManager class with singleton pattern - Update _fetch_data to use caching - Optimize update intervals in config.json - Reduce API calls by ~48% ChuckBuilds 2025-04-18 18:29:34 -05:00
  • 4815f9f143 Remove temporary stock icon folder and download missing icons functionality ChuckBuilds 2025-04-18 18:11:10 -05:00
  • 096d8ae6d7 Remove NHL timing control from DisplayController to let NHL managers handle their own timing ChuckBuilds 2025-04-18 15:49:59 -05:00
  • cae217c228 Fix NHL recent display to properly rotate games with timing ChuckBuilds 2025-04-18 15:44:35 -05:00
  • e34ac6a38b Fix mode switching to ensure proper display clearing between modes ChuckBuilds 2025-04-18 15:43:12 -05:00
  • 37929ba6e8 Remove nhl_live from regular rotation and simplify live game handling ChuckBuilds 2025-04-18 15:40:55 -05:00
  • 1f76c12b11 Fix display update method name in NHL managers ChuckBuilds 2025-04-18 15:39:25 -05:00
  • 82b8e358fe Remove sleep delays to improve display frame rate ChuckBuilds 2025-04-18 15:35:06 -05:00
  • c4e30f0dc9 Update NHL managers with clearer logging messages and consistent display handling ChuckBuilds 2025-04-18 15:33:27 -05:00
  • d686cda6c7 Simplify display rotation to follow specified order: clock -> weather -> stocks -> NHL modes ChuckBuilds 2025-04-18 15:31:19 -05:00
  • 94279b97e3 Remove internal rotation logic from NHL managers to let display controller handle it ChuckBuilds 2025-04-18 15:29:19 -05:00
  • 5529b52ad1 Fix NHL rotation to respect mode order and prevent premature NHL mode switching ChuckBuilds 2025-04-18 15:26:50 -05:00
  • c3959cde04 Fix display rotation to start with clock and follow correct mode order ChuckBuilds 2025-04-18 15:24:46 -05:00
  • a91a02dcf1 re-enabled other display screens to ensure they play nice with new display controller ChuckBuilds 2025-04-18 15:21:58 -05:00
  • a41331f6b0 Update display rotation to respect mode order instead of always returning to clock ChuckBuilds 2025-04-18 15:20:57 -05:00
  • a88e0d471f Replace display controller with fixed version ChuckBuilds 2025-04-18 15:11:27 -05:00
  • c57baaa57f Add fixed display controller with improved team rotation ChuckBuilds 2025-04-18 15:11:13 -05:00
  • 6583082f46 Add team rotation limit to prevent getting stuck in NHL modes ChuckBuilds 2025-04-18 15:06:06 -05:00
  • e9920b5929 Fix display rotation to properly handle NHL recent and upcoming games ChuckBuilds 2025-04-18 15:02:36 -05:00
  • f5a460c348 Implement team-based rotation for NHL recent and upcoming games ChuckBuilds 2025-04-18 15:00:12 -05:00
  • c845c9fe55 Add detailed logging for recent games filtering in NHLRecentManager ChuckBuilds 2025-04-18 14:58:13 -05:00
  • 5bb2c6bc2a Fix display mode initialization to use correct config paths for enabled flags ChuckBuilds 2025-04-18 14:55:43 -05:00
  • cb82c5d0c3 Fix Clock initialization in DisplayController to match Clock class signature ChuckBuilds 2025-04-18 14:54:30 -05:00
  • dec76bac3d Fix ConfigManager method call in DisplayController ChuckBuilds 2025-04-18 14:53:54 -05:00
  • c0dc9fc1ef Increase nhl_recent display duration to 60 seconds to allow proper game cycling ChuckBuilds 2025-04-18 14:53:00 -05:00