@nabucasa/sl-web-tools
v0.10.1
Published
WebSerial firmware flasher for Silicon Labs Zigbee radios
Downloads
1,730
Readme
sl-web-tools
Open source tools to allow working with USB sticks containing SL chips in the browser. Powered by NabuCasa/universal-silabs-flasher and Pyodide.
Setup
npm install @nabucasa/sl-web-tools
Integration
Create a manifest to customize the flasher for your device and include the web component:
<nabucasa-zigbee-flasher manifest="./assets/manifests/skyconnect.json">
<span slot="button">Connect</span>
</nabucasa-zigbee-flasher>
Building
To recreate src/requirements.txt
, recompute dependencies with pip:
python -m venv venv
venv/bin/pip install -r requirements.txt
venv/bin/pip freeze > src/requirements.txt
Finally, build with npm
:
npm run build