Move the web assets and templates under v2/web, drop the old src/, lib/ and scripts, and update firmware, tools, docs and db files. Add the audio page, LED test scripts and VPN autoconnect script. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
7 lines
418 B
Python
7 lines
418 B
Python
from binary_envelope import pack_binary_envelope_v2
|
|
p = {"p":"chase","c":["#ff0000","#0f8"],"d":120,"b":200,"a":False,"n1":5,"n2":-3,"n3":0,"n4":7,"n5":0,"n6":300}
|
|
p2 = {"pattern":"on","colors":["#102030"],"delay":0,"brightness":0,"auto":True}
|
|
a = pack_binary_envelope_v2(presets={"7":p,"8":p2}, brightness_0_255=128).hex()
|
|
b = pack_binary_envelope_v2(select={"mirror":["7"],"roof":["8",12]}).hex()
|
|
print(a); print(b)
|