Presets
Stop typing the same parameters every time. A preset is a named snapshot of one modeโs settings: frequency, audio file, RDS text, FT8 message and so on.
Using presets in the web UI
- Configure the transmission settings for a mode.
- Click ๐ New and give the preset a name.
- Select the preset in the dropdown. That enables ๐พ Save, ๐ Reload and โ๏ธ Edit.
- Change settings and click ๐พ Save to update the preset.
- Click ๐ Reload to throw away unsaved changes and go back to the presetโs values.
- Click โ๏ธ Edit to rename or delete the preset.
Each mode has its own presets, and the UI remembers the last preset you selected across page reloads.
Where presets live
Presets are JSON files under files/presets/<module>/<name>.json in the PIrateRF files directory (PIRATERF_FILESDIR, see Configuration). <module> is the gorpitx module name from the Transmission modes table, for example pifmrds for the FM station. You can copy these files off the Pi to back them up or share them, and drop them back in to restore them.
The browser reads the preset list from the JSON directory index at /files/presets/<module>/. Loading, saving, renaming and deleting go over the WebSocket as the preset.* events in the API.