GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - smlight-tech/slzb-os-apps: The repository contains SLZB-OS apps, information about the apps system, and apps list

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
apps
apps
 
 
dist
dist
 
 
scripts
scripts
 
 
README.md
README.md
 
 
apps.json
apps.json
 
 

Repository files navigation

SLZB-OS Apps

App repository for SMLIGHT SLZB-OS Zigbee/Thread coordinators. The APPS repository button in the coordinator web UI reads the catalog (apps.json) from this repository and installs apps straight onto the device.

Apps run on ESP32-S3 based coordinators (U series, MRU, Ultima): a Berry backend script on the device plus an optional web page served into the coordinator UI (sandboxed iframe, BeApp SDK).

Repository layout

apps/
  <folder>/            one app; the directory name must equal "folder" in meta.json
    meta.json          manifest: name, folder, ver, desc, img, permissions, minFw, models
    app.be             Berry backend (optional for UI-only apps), installed as /beapps/<folder>/app.be
    ui.html            the app page (optional for background-only apps)
    icon.png           card icon
    README.md          app description, readable in the coordinator UI (README button on the catalog card)
dist/
  <folder>.zip         GENERATED — ready-to-install archives, do not edit
apps.json              GENERATED — the catalog the coordinator UI fetches, do not edit
scripts/build.py       validation + zip packing + catalog generation

dist/ and apps.json are rebuilt by CI on every push to apps/ — never edit them by hand. To build locally: python scripts/build.py.

meta.json

{
    "name": "TCP Tools",
    "folder": "tcp_tools",
    "ver": "1.0.0",
    "desc": "One-line description shown on the app card",
    "img": "icon.png",
    "permissions": [],
    "minFw": "v3.3.8.dev8",
    "models": ["SLZB-Ultima3", "SLZB-Ultima4"]
}
Field Required Meaning
name yes Display name
folder yes Install target: /beapps/<folder>/; must equal the directory name
ver yes App version, used for the "update available" check
desc yes Short description for the card
img no Icon file inside the app folder
permissions no "events" (coordinator SSE events), "api" (raw /api2 access — trusted apps only), "fs.system" (the app backend may access the whole file system — trusted apps only; without it app.be can only access its own folder, meta.json read-only), "bytecode" (the backend may load precompiled Berry .bec files, import takes <name>.bec first — bytecode is not validated, trusted apps only), "thread.cli" (the backend may run OpenThread CLI commands with the OT_CLI module — full control of the Thread network, including its network key; trusted apps only). Shown to the user before install
minFw no Minimal SLZB-OS version the app needs (v3.4.2, v3.4.2.dev1; a dev build is older than the release of the same number). The UI does not install the app on an older OS
models no Compatible coordinator models, as the device reports them (/ha_info model: SLZB-06U, SLZB-MR1U, SLZB-Ultima3, ...). Case-insensitive, * matches any text (SLZB-Ultima*). Missing or [] = every model. The UI does not install the app on other models
dev no true = developer mode on the device: a file manager for the app folder on the app card, .be files open in the script editor. For local development only

Model names for models (apps run on ESP32-S3 based coordinators only): SLZB-06U, SLZB-06MU, SLZB-06Mg24U, SLZB-06Mg26U, SLZB-06p7U, SLZB-06p10U, SLZB-MR1U, SLZB-MR2U, SLZB-MR3U, SLZB-MR4U, SLZB-MR5U, SLZB-MRW10U, SLZB-Ultima3, SLZB-Ultima4, SLZB-U2L-Bridge, SLZB-OBD2MQTT.

Device constraints (checked by CI)

  • zip entries are stored, not compressed — the on-device installer does not inflate;
  • all files at the archive root (no wrapping folder), meta.json first;
  • archive ≤ 500 KB, file names ≤ 32 characters.

Adding an app

  1. Create apps/<folder>/ with meta.json, your files and an icon.
  2. Run python scripts/build.py — it validates everything and rebuilds the catalog.
  3. Open a pull request touching only apps/<folder>/ — CI builds dist/ and apps.json after merge.

How installation works

The coordinator web UI fetches apps.json, renders the catalog with icons and descriptions, and on Install downloads dist/<folder>.zip in the browser and uploads it to the device (/fileUpload → app installer). The device never talks to GitHub itself, so installs work from any network the browser can reach GitHub from.

About

The repository contains SLZB-OS apps, information about the apps system, and apps list

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.