67c4a1a6f6
Update LED bar to handle message type field
...
- Process 't' field to distinguish between beat ('b') and update ('u') messages
- Beat messages: execute pattern immediately using current parameters
- Update messages: only update parameters, don't execute pattern
- Maintains backward compatibility with default to beat if 't' not specified
- Enables proper synchronization between controller and bars
2025-09-18 22:10:23 +12:00
748ad4b507
Add n3 step rate functionality to patterns
2025-09-18 20:35:21 +12:00
1275d60aaa
Make alternating pattern timing independent of n1
...
- Changed alternating pattern to return delay/2 instead of delay
- Each phase now lasts delay/2, making full cycle equal to delay
- n1 now only controls ON/OFF segment width, not timing
2025-09-18 19:11:35 +12:00
d8e853183b
main: enforce event-driven behavior; run selected pattern once per message; clarify comments; fix pattern lookup
2025-09-17 20:20:41 +12:00
8cfb3e156b
patterns: add rainbow, specto, and radiate (out then dark-out)
...
radiate: origins every n1, step by delay, stop when full, dark wave outward, ensure strip off at end, run once
alternating: use n1 as ON width and n2 as OFF width; phase via self.step
pulse: attack (n1), hold (delay), decay (n2); stop at end
tests: add specto sweep (n1_sequence) and radiate demo; include n index per message; use nested {name:{...}} schema; support iterations/repeat-delay
2025-09-16 22:28:51 +12:00
d599af271b
patterns: alternating uses n1 (on) and n2 (off); ensure visible ON color; return delay; phase via self.step
...
test: WS client sends nested {name:{...}}; add iterations and repeat-delay; include n per message; use n1/n2 for alternating
2025-09-16 21:22:47 +12:00
93560a253e
patterns: fix blink timing; slow alternating; unify self-test with absolute tick scheduling
2025-09-15 14:12:43 +12:00
d68817ea18
Pipfile.lock: update lockfile
2025-09-15 12:58:51 +12:00
a7a2274a59
Pipfile: sync dependencies
2025-09-15 12:58:45 +12:00
df838dc4d6
settings: adjust defaults and color order handling
2025-09-15 12:58:39 +12:00
4ec48b9f8f
main: update loop/test harness configuration
2025-09-15 12:58:30 +12:00
1456ed8a6e
boot: minor adjustments
2025-09-15 12:58:20 +12:00
80d5a66fab
patterns: centralize timing in tick(); remove selected-delay coupling; update self-test to use per-config durations
2025-09-15 12:56:57 +12:00
44cb35d1aa
Split into pattern and low level methods
2025-09-05 23:29:18 +12:00
fc080f7796
Add watchfiles
2025-08-26 22:53:48 +12:00
70fe5a0cdc
Add watchfiles
2025-08-11 22:15:21 +12:00
2a7b5527a5
Move gc and wdt to function
2025-08-03 19:39:25 +12:00
50545e3170
Remove random patterns
2025-08-03 19:29:10 +12:00
d2826a0f63
Swtich to names isntead of ids
2025-07-12 10:22:17 +12:00
87fc74bb51
Add flicker pattern
2025-07-12 10:21:43 +12:00
03f3f02da8
Remove wifi client
2025-06-19 19:13:13 +12:00
524db5e979
Move espnow to seperate file
2025-06-19 19:05:08 +12:00
279416cded
Add set_pattern_step
2025-06-19 19:03:22 +12:00
fbd14f2e16
If no ids run set_settings
2025-06-12 21:32:24 +12:00
1989f6f5c9
Switch to list for colors
2025-06-12 21:29:31 +12:00
a19b1e86f2
Have to save when using espnow
2025-06-08 13:18:28 +12:00
c63e907204
espnow if id is 0 call set_settings
2025-06-04 21:07:15 +12:00
b7920e224f
Add color order
2025-06-04 21:02:55 +12:00
42e92dafc8
Add led pin setting
2025-06-04 20:03:51 +12:00
0b6eb9724f
Add device ID
2025-06-04 19:54:06 +12:00
55ef5c1580
Move json load out of set_settings
2025-06-04 19:22:09 +12:00
c15f9787a7
Sync after going through all the keys
2025-06-02 00:32:43 +12:00
3d0078f118
Update leds straight away after a sync
2025-06-02 00:18:25 +12:00
9e72dba035
Check all keys before returning
2025-06-02 00:16:58 +12:00
3d7dd754eb
Wifi and ESPNOW don't work at the same time
2025-06-02 00:15:31 +12:00
2dd20fa51b
Enable garabage collection
2025-05-28 21:19:56 +12:00
d33bd6b0e4
Enable watchdog timer
2025-05-28 21:17:23 +12:00
8902adf18c
Fix color transition
2025-05-24 13:09:28 +12:00
9abd425f46
Add wifi
2025-05-22 22:02:49 +12:00
ee28b5805d
Change title and h1 to "name"
2025-05-22 22:02:29 +12:00
ec29dbdd01
Add color order
2025-05-19 22:00:35 +12:00
3fa9377438
Add set_settings to Settings class
2025-05-19 21:59:43 +12:00
ec049b52c0
Only check wifi settings if not connected
2025-05-19 19:35:29 +12:00
a009ea85bc
Add wifi settings
2025-05-19 19:32:53 +12:00
bd2e6e56cf
Check if ssid, password, ip and gateway are ""
2025-05-19 19:31:30 +12:00
37c7280a15
Get ap password from settings
2025-05-19 19:28:11 +12:00
2f10d4cabd
Fix rgb order
2025-05-19 19:24:17 +12:00
385dcffe68
Add led pin in settings
2025-05-19 19:22:38 +12:00
fa0578349b
Delete index_html.py
2025-05-18 21:28:44 +12:00
4a36ff0da0
Update main.py
2025-05-18 21:28:41 +12:00