Concepts
Understand how DeviceSDK works
Foundational concepts you'll meet across the CLI, dashboard, and SDK.
Pages in this section
Cron Scheduling
Schedule recurring work in device scripts using cron expressions
Device Entrypoints
Understanding device entrypoint lifecycle and methods
Emit State
Publish structured state values from a device script so the dashboard, Home Assistant, and other watchers see them as entity updates.
Environment Variables
Store secrets and configuration outside your device script source code
Platform Architecture
How the self-hosted DeviceSDK server, your devices, and the dashboard fit together
Project & Device Identifiers
How project slugs and device slugs map to your devicesdk.ts config
Rate Limits
The auth brute-force rate limits on a self-hosted DeviceSDK server
Script Versioning
Understanding deployment versions and rollback
Device API reference
Every method on this.env.DEVICE - GPIO, PWM, I2C, SPI, UART, KV, watchdog