Skip to content

Open source tools to allow working with USB-sticks containing SL chips in the browser

Notifications You must be signed in to change notification settings

NabuCasa/sl-web-tools

Repository files navigation

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