Commit Graph

111 Commits

Author SHA1 Message Date
ChuckBuilds
bf9c27ce3a fix: properly use MatrixChunky6 font for calendar summaries 2025-04-22 19:27:38 -05:00
ChuckBuilds
973af8b88a feat: use MatrixChunky6 font for calendar event summaries 2025-04-22 17:49:47 -05:00
ChuckBuilds
9f07b235ed Refactor calendar manager to work like other display managers 2025-04-21 22:08:00 -05:00
ChuckBuilds
d30ec921ae Add Google Calendar integration with display manager. Includes calendar manager implementation, configuration updates, and registration script. 2025-04-21 09:01:42 -05:00
ChuckBuilds
b221ab8d2a fix: remove duplicate logging configurations to ensure consistent timestamp format 2025-04-19 18:03:06 -05:00
ChuckBuilds
2b0a154348 feat: add detailed timestamps to logging for better startup time tracking 2025-04-19 17:53:40 -05:00
ChuckBuilds
711b36eaa6 Update display_manager.py to use settings from config.json 2025-04-18 19:41:27 -05:00
ChuckBuilds
070cb18c79 adjust matrix config directly in display_manager 2025-04-18 19:30:43 -05:00
ChuckBuilds
22f21093f2 Disable hardware pulsing to allow running without root
Set options.disable_hardware_pulsing = True in display_manager._setup_matrix.

This corresponds to the --led-no-hardware-pulse flag for the rgbmatrix library.

Disabling hardware pulsing removes the need for root privileges, allowing the script to run as the regular user (ledpi).

This aims to resolve the permission issues encountered when trying to write stock logos to assets/stocks while running with sudo (which resulted in UID=1 instead of UID=0).
2025-04-17 09:51:58 -05:00
ChuckBuilds
ecb20003ff implemented 4x6-font.ttf as extra small font 2025-04-15 15:48:29 -05:00
ChuckBuilds
36b1ddc5ff swapped 4x6 for player 3 font for troublebshooting 2025-04-15 15:29:50 -05:00
ChuckBuilds
8f2382e7a8 changed font path for 4x6 2025-04-15 15:27:15 -05:00
ChuckBuilds
7efaa2e3b9 fix(display): Use normalized absolute path for 4x6 font
Calculate path relative to script, then normalize to absolute path before loading.
2025-04-15 15:11:38 -05:00
ChuckBuilds
57e5d801c7 hard code asset location 2025-04-15 15:02:24 -05:00
ChuckBuilds
6a796c3794 feat(weather): Adjust layout and use 4x6 font for details
Removed "time since update" text. Used 4x6.bdf font for pressure, humidity, and wind speed.
2025-04-15 11:31:46 -05:00
ChuckBuilds
97b0b79901 Revert "feat(weather): Adjust layout and reduce font size"
This reverts commit 6d31a0953e.
2025-04-15 11:27:23 -05:00
ChuckBuilds
aaedb468a3 Revert "fix(display): Use absolute path for 4x6 font"
This reverts commit a3b8902dcb.
2025-04-15 11:20:00 -05:00
ChuckBuilds
a3b8902dcb fix(display): Use absolute path for 4x6 font
Corrected the path for loading 4x6.bdf font to resolve "cannot find glyph data file" error.
2025-04-15 11:11:52 -05:00
ChuckBuilds
4683a175c5 change font on bottom half weather display 2025-04-15 11:02:36 -05:00
ChuckBuilds
6d31a0953e feat(weather): Adjust layout and reduce font size
Remove update time text and use smaller font for pressure/humidity/wind details.
2025-04-15 10:55:00 -05:00
ChuckBuilds
01ad080094 Switch back to Press Start 2P font - Update font paths in display manager - Use PressStart2P-Regular.ttf for both regular and small text - Maintain consistent font sizes (10 for regular, 8 for small) 2025-04-12 20:16:15 -05:00
ChuckBuilds
d7c04497d4 Switch to 7x13.bdf font for improved readability - Update font paths in display manager - Use 7x13.bdf for both regular and small text - Maintain consistent font sizes (10 for regular, 8 for small) 2025-04-12 20:10:40 -05:00
ChuckBuilds
f42140baca Update font paths to use correct rpi-rgb-led-matrix-master folder 2025-04-12 20:08:48 -05:00
ChuckBuilds
7470ea7a43 Merge Stocks branch: Add stock display improvements and configuration updates 2025-04-11 13:41:11 -05:00
ChuckBuilds
29f45ec3f6 Improve display: Update test pattern to 'Initializing' with smaller font and faster animation. Also improve stock chart with 50% wider display and better spacing between elements. 2025-04-11 13:33:12 -05:00
ChuckBuilds
0422da66c6 Fix font initialization: Add regular_font to DisplayManager 2025-04-11 11:46:53 -05:00
Chuck
3d662baf54 Stocks (#2)
* Opening Bell

Introducing the Stock Ticker Feature

* Update stock_manager.py

Assume folder exists

* Update stock_manager.py

removing logos to focus on function for now

* Update stock_manager.py

parse yahoo scripts

* Update stock_manager.py

stock query update

* Update stock_manager.py

slow down stock display

* Update display_controller.py

adjust screen flow

* Update stock_manager.py

shipping features

* Update stock_manager.py

stock refresh in the background

* Customize Display timings

customize display timings

* Update stock_manager.py

stock font size change

* Sizing and Spacing

CHanged font sizing on chart and clock spacing

* Update clock.py

Date format changes

* Update stock_manager.py

actually read stocks from config file

* Update stock_manager.py

add config manager

* readme update

readme update and formatting for better flow

* Update .gitignore

rename reference folder

* Update config.json

changed default stocks to test update implementation

* Stock News

Stock news Ticker

* Update config.json

increase scroll speed

* Scroll Performance

Tuning news scrolling performance

* updating scroll direction

orienting scroll direction

* News tuning

removed test files and increased scroll speed

* Create test_news_manager.py

need a test script to call upon

* Update test_news_manager.py

test script tuning

* troubleshooting test script

* Update test_news_manager.py

* Update config.json

scroll speed increases

* Update config.json

scroll tuning

* Update config.json

speeding up

* Update config.json

still making text faster

* Update config.json

Trying to tune scrolling

* Update config.json

testing crazy parameters

* Update test_news_manager.py

remove sleep delay

* scroll tuning

scroll tuning

* scroll logging and debugging

FPS counter and debug messages

* Update config.json

matrix speed tuning

* Update news_manager.py

News separator

* Update news_manager.py

separator character change

* Stock News manager Rename

rename stock news ticker to enable other news in the future

* Update display_controller.py

load config update

* Update stock_manager.py

remove redundant import

* Stock news settings

Stock news has more granular control

* Stock news joins the lineup

Stock News added to the display controller and drawing display instead of image

* Optimize scrolling text performance for news ticker

* Adjust matrix settings to reduce artifacting while maintaining performance

* changed float to integer

* Fix news ticker performance with simplified scrolling mechanism

* Fix stock news scrolling in test environment: - Optimize display manager settings for smooth scrolling - Add proper display initialization and cleanup in test script - Implement timing control to prevent display buffer overflow - Ensure consistent 1ms delay between updates for smooth scrolling

* Optimize stock news scrolling for better performance: - Use pre-rendered text image for efficient scrolling - Implement cropping and pasting for smoother animation - Remove unnecessary display operations and delays

* Optimize stock news display performance: - Cache text image to reduce rendering overhead - Improve frame creation and update logic - Optimize text wrapping for smoother scrolling - Remove unnecessary display clears

* Optimize stock news display in controller: - Remove global sleep delay - Allow news display to run at full speed - Keep slower update rates for other displays

---------

Signed-off-by: Chuck <33324927+ChuckBuilds@users.noreply.github.com>
2025-04-11 11:10:50 -05:00
ChuckBuilds
45d9f1eb63 Fix news ticker performance with simplified scrolling mechanism 2025-04-11 10:08:19 -05:00
ChuckBuilds
7461a3e46e Adjust matrix settings to reduce artifacting while maintaining performance 2025-04-11 09:49:09 -05:00
ChuckBuilds
e8aa05a0b4 Optimize scrolling text performance for news ticker 2025-04-11 09:47:13 -05:00
Chuck
459e3f937d Update display_manager.py
adjust font size
2025-04-08 20:53:26 -05:00
Chuck
219ac37b54 Update display_manager.py
font resize
2025-04-08 20:52:04 -05:00
Chuck
27da4a573b font change
font changed to Press Start 2P
2025-04-08 19:10:57 -05:00
Chuck
d9a9ca3e17 Update display_manager.py
font changes to dejavu thinnest
2025-04-08 18:59:15 -05:00
Chuck
1678c6fdba Update display_manager.py
remove bitmap and go back to a font. Bitmap was too bold
2025-04-08 18:56:44 -05:00
Chuck
bdb923ef88 Update display_manager.py
using bitmap display instead of fonts
2025-04-08 18:55:00 -05:00
Chuck
08bd347cc4 Update display_manager.py
font changes
2025-04-08 18:51:14 -05:00
Chuck
43d2c422ca Update display_manager.py
timing adjustments to fight artifacts
2025-04-08 18:43:49 -05:00
Chuck
ed35da47c2 Attacking Artifacts
display changes and buffer changes to fight the artifacting
2025-04-08 18:41:08 -05:00
Chuck
6d81241fd9 Luminance fix
luminance fix error
2025-04-08 18:34:58 -05:00
Chuck
96e81af0bf error resolution
fixing luminance error
2025-04-08 18:32:54 -05:00
Chuck
902b53ec86 display draw settings
fighting flicker
2025-04-08 18:30:08 -05:00
Chuck
c9aef7e408 Update display_manager.py
redraw weather icons
2025-04-08 18:05:59 -05:00
Chuck
df94535316 troubleshooting weather forecast
weather forecast error resolution
2025-04-08 18:00:24 -05:00
Chuck
953616a143 Weather forecast icon enhancements
using google icon set for weather
2025-04-07 21:44:38 -05:00
Chuck
32d685efe0 Weather Forecast Visual improvements 2025-04-07 21:40:15 -05:00
Chuck
d49f901ffc Double buffering and Force Clear
Attempting to clean up flicker - otherwise working
2025-04-07 21:31:26 -05:00
Chuck
bae3475efe Update display_manager.py
stop drawing text and start drawing images
2025-04-07 21:23:10 -05:00
Chuck
27347b13d0 Update display_manager.py
font call order issues
2025-04-07 21:16:49 -05:00
Chuck
2cab82b59a rabbithole continues
Might not have been worth executing from root folder....
2025-04-07 21:15:32 -05:00