Skip to content

feat(daemon): add autostart app configuration#756

Open
tomascupr wants to merge 2 commits into
pollen-robotics:mainfrom
tomascupr:638-autostart-app-feature
Open

feat(daemon): add autostart app configuration#756
tomascupr wants to merge 2 commits into
pollen-robotics:mainfrom
tomascupr:638-autostart-app-feature

Conversation

@tomascupr
Copy link
Copy Markdown

@tomascupr tomascupr commented Jan 23, 2026

Summary

  • Allow users to configure an app to automatically start when the Reachy Mini daemon boots
  • This enables non-technical users (kids, etc.) to enjoy the robot without accessing the dashboard after power-on

Changes

  • Add daemon config module (~/.reachy_mini/daemon_config.yaml) for persistent settings
  • Add GET/POST /api/apps/autostart API endpoints with app installation validation
  • Add autostart hook in daemon lifespan (after daemon.start() completes)
  • Add dashboard UI with dropdown selector and save button
  • Add unit tests for config load/save with edge cases (missing file, malformed YAML, etc.)

Config Format

autostart:
  enabled: true
  app_name: "conversation-app"

Test Plan

  • Unit tests pass (pytest tests/test_autostart_config.py -vv - 13 tests)
  • Lint passes (ruff check)
  • Manual test: Configure autostart via dashboard, reboot, verify app starts
  • Manual test: Uninstall autostart app, reboot, verify warning logged

Closes #638

Allow users to configure an app to automatically start when the Reachy
Mini daemon boots. This enables non-technical users to enjoy the robot
without needing to access the dashboard after power-on.

- Add daemon config module (~/.reachy_mini/daemon_config.yaml)
- Add GET/POST /api/apps/autostart endpoints with validation
- Add autostart hook in daemon lifespan (after daemon.start())
- Add dashboard UI with dropdown selector and save button
- Add unit tests for config load/save with edge cases
@FabienDanieau FabienDanieau changed the base branch from develop to main March 3, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Start An App On Startup

1 participant