46 Commits

Author SHA1 Message Date
740106a98d Add sample env.py and update README 2025-04-19 12:43:23 +01:00
c657df8090 Button reliability and web request timeouts 2024-05-21 21:15:55 +01:00
f5c6e9e0aa Show media album and TV show details on media screens 2024-05-21 21:15:22 +01:00
78515e6693 [DOCS] Add demo images 2024-05-19 11:07:48 +01:00
5a2c6fcb86 Add usage documentation 2024-05-17 20:50:30 +01:00
74bcebb31f Remove unused function 2024-05-17 20:49:32 +01:00
0b1717f63c Add installation and usage instructions 2024-05-17 11:53:54 +01:00
ea07932714 [FIX] Song changes should be recognised when scrolling text is enabled
Data was not being pulled from HA when re-drawing the whole screen for scrolling text
2024-05-17 01:17:56 +01:00
97d18a67c8 [FIX] Enable text scrolling if required when song changes 2024-05-17 01:12:50 +01:00
7d27767915 Enable scrolling text for media artist 2024-05-17 01:04:24 +01:00
a0e524a8b1 Enable text scrolling (banner-style) on media title 2024-05-17 00:48:41 +01:00
1a96ed6ed5 Add function to convert font size to char width 2024-05-17 00:48:13 +01:00
ffe842b69f Sleep after 15s or when ctrl button pressed 2024-05-17 00:25:20 +01:00
ee869e5842 More efficient function usage 2024-05-17 00:24:49 +01:00
f0546a1634 Display play/pause icon on media screens 2024-05-16 23:53:21 +01:00
5976fdb1e8 Improve spacing on lights screens
Give additional space for header at top - shrink grid vertically
2024-05-16 23:53:06 +01:00
2d3e8d9224 [FIX] Brightness adjustment
Ensure current brightness value is used in calculations, not the previous one
Ensure holding volume buttons continues to change volume, even if data hasn't been refreshed from remove
2024-05-16 23:52:37 +01:00
7547f612f5 Tidy up logging 2024-05-16 23:51:01 +01:00
d8e6d5a3fd Merge pull request #1 from mgrove36/modular-screens
Modularise screens and improve button actions
2024-05-16 22:57:22 +01:00
ae8e42d68f Save RAM and improve volume changes
Save RAM by optimising imports and reducing class usage
Change volume by 8% each time, using saved volume value and only one query. Minimum volume is 1% and max is 100%. Queries are not run if decreasing volume from 1% or increasing from 100%
2024-05-16 22:55:51 +01:00
0c4cbfcbb1 Refactor screens into new classes and allow changing light brightness 2024-05-16 21:04:54 +01:00
d98ec27a1b Rename LCD lib 2024-05-16 21:04:06 +01:00
014a9174df Modularise screens 2024-05-16 21:03:50 +01:00
822e58a5c3 [FIX] Add delay to buttons to they aren't accidentally triggered twice 2024-05-16 16:48:58 +01:00
3b2e3a830f Run on boot 2024-05-16 16:21:50 +01:00
792a84782d Schedule NTP sync for midnight and update comment 2024-05-16 16:16:53 +01:00
2dedcb2b86 Increase progress bar height on media screens 2024-05-16 16:16:34 +01:00
d148cc0b02 Control play/pause and next/prev track with buttons on media screens 2024-05-16 16:16:22 +01:00
c7b0b99a25 [FIX] Centre of light icons not being erased when turned off 2024-05-16 16:00:14 +01:00
621a1d23d6 Toggle lights with right-hand buttons 2024-05-16 15:59:48 +01:00
8b9e232af9 Bug fixes and control volume from media screens 2024-05-16 15:42:45 +01:00
8550273a23 Syntax, sync time with NTP server, and positioning of elements on UI 2024-05-16 14:41:36 +01:00
58ef3c9707 [FIX] Media player media position retrieval from API 2024-05-16 14:41:04 +01:00
19e21b3506 Add function to display right-aligned text 2024-05-16 14:40:28 +01:00
33089e92e0 Fix icon bitmap backgrounds 2024-05-16 14:40:12 +01:00
a0f0e15fc5 Base app for displaying and managing different screens 2024-05-15 21:51:44 +01:00
ad5c9930d7 Light icon bitmaps 2024-05-15 21:51:13 +01:00
a06fc80aa7 Screen driver from manufacturer 2024-05-15 21:50:59 +01:00
d1df47e195 Util fn to convert colours 2024-05-15 21:50:16 +01:00
eba4797306 Lib for displaying text 2024-05-15 21:50:03 +01:00
093feac2b3 Lib for reading bitmaps 2024-05-15 21:49:50 +01:00
94a1ef580f Lib for MicroPython on the Pico 2024-05-15 21:49:41 +01:00
86bdbb18fd Base API for accessing HA 2024-05-15 21:49:12 +01:00
4cefedad16 Enable MicroPico VSC extension 2024-05-15 21:48:58 +01:00
b822b813f8 Ignore env file 2024-05-15 21:48:43 +01:00
8cc9a51f6c Initial commit 2024-05-13 15:58:17 +01:00