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