Add manual firmware check trigger instructions to README

This commit is contained in:
Graham McIntire 2026-02-01 10:50:21 -06:00
parent fcf3ce154f
commit ee5852ecc0
No known key found for this signature in database

View file

@ -72,6 +72,29 @@ mix format # Format code with Styler
mix compile --warnings-as-errors
```
### Firmware Version Tracking
The system automatically checks for latest firmware versions daily (2 AM dev, 4 AM prod). To manually trigger a firmware check:
```bash
# Start IEx console
iex -S mix phx.server
# Manually trigger firmware version fetch
Oban.insert(Towerops.Workers.FirmwareVersionFetcherWorker.new(%{}))
```
The worker will:
1. Fetch the latest MikroTik RouterOS version from RSS feed
2. Store version information in the database
3. Enable firmware update indicators on device detail pages
Check the logs for fetch results:
```elixir
# View recent Oban jobs
Towerops.Repo.all(Oban.Job) |> Enum.take(5)
```
## Learn more
* Official website: https://www.phoenixframework.org/