FarmBot / FarmBot/Farmbot-Web-App

Implement Boot Sequence on Device Table

Open
#1,447 0 comments 0 reactions 0 assignees View on GitHub
API change FBOS change Settings
Dominant language
TypeScript
Stars
973
Forks
356
Avg merge
1h 6m
Merged PRs (30d)
3

Description

Sometimes, you need a sequence to execute every time the device boots. By adding a `turnkey_sequence_id` column to the `device` record, FBOS will have the information it needs to run such a sequence.

# TODO

- [x] Add `turnkey_sequence_id` to FbosConfig table
- [x] Remove `turnkey_sequence_id` to Device interface
- [x] Add `last_ota` to Device interface (unrelated)
- [x] Add `last_ota_check` to Device interface (unrelated)
- [x] Update FBJS `Device` interface
- [x] Add ability to change said column via API
- [x] Prevent deletion of turnkey sequences (will need special message).
- [x] Add dropdown panel to device page (below the Firmware dropdown)
- [ ] Deploy along with a migration boot sequence for users with find home on boot enabled, and then remove the find home on boot options

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.