Skip to content

A simple scheduler for sending individual SUB files or playlists at a preset interval.

License

Notifications You must be signed in to change notification settings

shalebridge/flipper-subghz-scheduler

Repository files navigation

SubGHz Scheduler

A Flipper Zero app to send SubGHz signals at a given interval. Individual *.sub or playlist *.txt files can be used.

Schedule intervals selectable:
  • Seconds: 10 & 30
  • Minutes: 1, 2, 5, 10, 20, 30, 45
  • Hours: 1, 2, 4, 8, 12, 24
Interval timing modes:
  • Relative: Interval is length of time from `END` of one transmission to `START` of next.
  • Precise: Interval is length of time from `START` of one transmission to `START` of next.
Data Tx Repeats:
  • x2, x3, x4, x5, x6
Transmission Modes:
  • Normal: Transmit after intervals.
  • Immediate: Counts start as interval.
  • One-Shot: Wait interval and transmits once.
Inter-transmission delay:
  • 100ms, 250ms, 500ms, 1 sec
Run view displays:
  • TX mode
  • TX interval
  • TX Repeats
  • Selected file
  • TX interval countdown

Requirements

This app is tested against the current dev and release branches of the OFW:

  • Current OFW Version: 1.2.0
    Compatibility status:

It has also been tested against Momentum 009.

Build

These apps are built using ufbt - a subset of the flipper build tool (fbt) targeted at building apps. Install it with:

pip install ufbt

For build only, run ufbt from the terminal in the project directory. To upload, make sure Flipper is connected to your computer and run ufbt launch.

The directory contains the following batch script(s) to simplify the upload process:

  • win_launch.bat - Windows only. Invokes ufbt to deploy and launch the app on a flipper over USB, and resets terminal colors in case of error.

Build outputs are found in the dist directory for each application.

To-Do

  • Add 'alarm' mode, to set specific time for transmission.
  • Enable interval delays for playlists. For example, turning on a light (playlist index 1), then 4 hours later turning it off (playlist index 2), and run that at another arbitrary interval. This can include custom playlist keys or custom app files.
  • More visual feedback of current transmission (like SubGHz Playlist).
  • Add option to select relative or precise intervals. Intervals are currently relative (from initial start, if the interval is 10 seconds, and the transmission takes 2 seconds, next TX will be 22 seconds later).
  • Enable quitting from transmission. Currently, if back is pressed during playlist transmission, transmission will complete before exiting to main menu.
  • Update UI from widgets to canvas.
  • Fix long filename overlap.
  • Options to select notifications on transmit (vibro, backlight, etc).