ESPHome package for the Apollo MTR-1: tracks people on the stairs with the LD2450 radar and streams a lit window to a WLED controller over DDP. The sensor serves a setup wizard that measures the stairs with one walk and stores the setup on the device. installer/ holds the browser installer, published to GitHub Pages on every version tag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
97 lines
2.3 KiB
JSON
97 lines
2.3 KiB
JSON
[
|
|
{
|
|
"eval": "localStorage.clear(); location.reload(); 1",
|
|
"wait": 2500
|
|
},
|
|
{
|
|
"eval": "document.querySelector('[data-shape=\"U\"]').click(); 1",
|
|
"wait": 500
|
|
},
|
|
{
|
|
"eval": "document.getElementById('next').click(); 1",
|
|
"wait": 400
|
|
},
|
|
{
|
|
"eval": "document.querySelector('[data-inc=\"s0\"]').click(); document.querySelector('[data-inc=\"s1\"]').click(); document.querySelector('[data-inc=\"w\"]').click(); 1",
|
|
"wait": 400
|
|
},
|
|
{
|
|
"eval": "document.getElementById('next').click(); 1",
|
|
"wait": 400
|
|
},
|
|
{
|
|
"eval": "document.querySelector('[data-side]').click(); document.querySelector('[data-start=\"bottom\"]').click(); 1",
|
|
"wait": 400
|
|
},
|
|
{
|
|
"eval": "document.getElementById('next').click(); 1",
|
|
"wait": 400
|
|
},
|
|
{
|
|
"eval": "document.getElementById('walkTap').click(); 1",
|
|
"wait": 3000
|
|
},
|
|
{
|
|
"eval": "document.getElementById('walkTap').click(); 1",
|
|
"wait": 9000
|
|
},
|
|
{
|
|
"eval": "document.getElementById('walkTap').click(); 1",
|
|
"wait": 9000
|
|
},
|
|
{
|
|
"eval": "document.getElementById('walkTap').click(); 1",
|
|
"wait": 9000
|
|
},
|
|
{
|
|
"eval": "document.getElementById('walkTap').click(); 1",
|
|
"wait": 9000
|
|
},
|
|
{
|
|
"eval": "document.getElementById('walkTap').click(); 1",
|
|
"wait": 1500,
|
|
"shot": "u-walk.png"
|
|
},
|
|
{
|
|
"eval": "document.getElementById('next').click(); 1",
|
|
"wait": 600
|
|
},
|
|
{
|
|
"eval": "const h = document.getElementById('wledHost'); h.value = 'wled-stairs.local'; h.dispatchEvent(new Event('change')); 1",
|
|
"wait": 5000
|
|
},
|
|
{
|
|
"eval": "const e = document.getElementById('ledCount'); e.value = 150; e.dispatchEvent(new Event('change')); 1",
|
|
"wait": 600
|
|
},
|
|
{
|
|
"eval": "document.getElementById('pin').click(); 1",
|
|
"wait": 300
|
|
},
|
|
{
|
|
"eval": "document.getElementById('pin').click(); 1",
|
|
"wait": 300
|
|
},
|
|
{
|
|
"eval": "document.getElementById('pin').click(); 1",
|
|
"wait": 300
|
|
},
|
|
{
|
|
"eval": "document.getElementById('pin').click(); 1",
|
|
"wait": 300
|
|
},
|
|
{
|
|
"eval": "document.getElementById('next').textContent + ' | disabled=' + document.getElementById('next').disabled",
|
|
"wait": 200,
|
|
"shot": "u-match.png"
|
|
},
|
|
{
|
|
"eval": "document.getElementById('next').click(); 1",
|
|
"wait": 1500
|
|
},
|
|
{
|
|
"eval": "document.getElementById('toast').textContent + ' | screen=' + document.getElementById('title').textContent",
|
|
"wait": 3000,
|
|
"shot": "u-test.png"
|
|
}
|
|
] |