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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d2833d1 · Jan 11, 2025

History

14 Commits
Feb 8, 2023
Jan 11, 2025
Dec 14, 2023
Jan 11, 2025
Feb 8, 2023
Feb 8, 2023
Dec 14, 2023
Apr 3, 2023
Dec 14, 2023
Dec 14, 2023
Jan 11, 2025
Dec 14, 2023
Feb 8, 2023
Feb 8, 2023

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