← Back to SUMI

Plugin Bridge

Build plugins with any AI. Run them live. The device is the hardware, your browser is the companion.

NOT CONNECTED
1. Describe what you want
Plain English. Mention how buttons should work and what the screen should show. The AI fills in the rest.
2. Pick the shape
Check this if the plugin should show something in this browser tab — receive events, display a log, play sounds, show notifications. Leave unchecked for device-only plugins.
3. Generate the AI prompt
Copy this prompt, paste into your AI of choice, get back the files, drop them in.
4. Install
  1. AI gives you a .lua file. Open File Transfer, drop it into the custom folder.
  2. On your device: Home → Apps → your plugin.
  3. If the AI also produced an HTML fragment, switch to the Run tab, paste it into Custom Handler, save.

Console raw JSON in + out

Everything the device sends you and everything you send the device, as-is. Useful for debugging.

waiting for messages…

Send JSON publish raw

Fire any topic + payload at the device. Useful for testing your own plugin's handlers.

Text Importer built-in

Type or paste text, hit send, the device writes it to /custom/text_importer_data/<name>.txt. Pair with the matching Lua plugin (ask the Build tab for it).

Doorbell built-in

Listens for doorbell/ring from the device. Chimes + shows a desktop notification on each ring.

Not paired.

    Custom Handler paste your own HTML

    The AI you used in the Build tab probably gave you an HTML fragment too. Paste it here. It runs in a sandboxed iframe with bridge.publish / bridge.on / bridge.connected available as globals. Persists to this browser's local storage.