Guides
Step-by-step guides for common DeviceSDK tasks and integrations
Guides walk through specific tasks, integrations, and protocols. Each guide is self-contained and assumes you have already completed the Quickstart and Your First Device.
Pages in this section
Addressable LEDs
Drive WS2812 and NeoPixel LED strips from your Pico device
Home Assistant Integration
Expose DeviceSDK devices as native entities in Home Assistant - sensors, switches, and lights that work with automations, dashboards, and voice assistants.
Inter-Device Communication
Call methods between devices with type-safe RPC
Real-Time Watch WebSocket
Subscribe to a device's status, logs, and structured state events over a single long-lived WebSocket - the same primitive the dashboard and Home Assistant integration use.
Using SPI
Communicate with SPI peripherals like displays, SD cards, and sensors
Using UART
Serial communication with GPS modules, Bluetooth adapters, and other peripherals
Self-hosting guide
Deploy DeviceSDK on your own server with Docker, configure a reverse proxy, TLS, backups, and multi-server LAN setups
Security guide
Account model, first-user bootstrap, API token scoping, in-process script trust model, and ALLOW_REGISTRATION
Using I2C
Connect I2C sensors and displays - buses, addresses, byte format, batch writes