Fixes and additions across all namespaces to accurately reflect firmware v2.1.0: Fixes: - system.get_settings → system.get_config (backward compat alias noted) - network.status returns now includes ssid, mac, hostname - clock.set_alerts: correct alert_type values (OFF|SINGLE|HOURS, not none|hour|quarter) - ota: removed non-existent ota.status and ota.check commands - telemetry.get_loads returns now includes max_loads and guard_enabled Additions: - relay.test_bell and relay.test_batch (F-038) - clock.test_c1 and clock.test_c2 (F-039) - system.get_config, system.get_all, system.get_telemetry (F-035) - telemetry.set_max_loads, telemetry.set_guard_enabled, telemetry.get_metrics, telemetry.reset_metrics (F-030, F-031, F-034) - log.get_config and mqtt.get_config (F-036) - ota.set_channel - bells namespace: bells.enable, bells.disable, bells.get_config (F-029, F-036) - UART whitelist updated for new commands - Legacy map updated: get_full_settings → system.get_config Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.