Skip to main content

Overview

FMD allows you to control your device by sending "commands" to it. For example, fmd locate gps.

The basic syntax is fmd <pin> <command> <options>. <pin> is optional, it is only needed when using PIN-based access.

For most commands, you need to grant the FMD app certain permissions in order for the command to work. These are also shown in the app. For security reasons, only grant the FMD app the permissions for those commands that you plan to use.

Available commands

The available commands are listed and explained in the app. To avoid information getting out-of-sync, we do not repeat these details here -- see the app. Here is a short overview:

  • bluetooth [on|off]
  • camera [front|back]
  • delete <deletepin> [dryrun]
  • gps [on|off]
  • locate [last|all|cell|gps]
  • lock [msg]
  • nodisturb [on|off]
  • ring [long|<durationsec>]
  • stats
  • help

Changing the command keyword

You can change the command keyword. For example, if you change the keyword to dostuff, you would send commands such as dostuff locate gps.

The following keywords are used by default for the different build flavours of FMD Android:

AppCommand keyword
FMDfmd
FMD Devfmdev

This allows you to have multiple flavours of the app installed in parallel, and easily target commands at a specific flavour.

Transport Channels

You send commands to FMD over "transport channels". The available commands are listed and explained in the app. Here is an overview:

  • SMS

  • Notification reply: uses the Direct Reply feature of Android notifications to receive messages and reply to them.

    This allows you to send commands to the FMD app via any other application, as long as this application posts a notification to the system notification tray and the notification can be replied to. Examples of this are Signal and WhatsApp, and most other messenger apps. Access control is done via the PIN, which must be set in the FMD app.

  • FMD Server: a custom web server and web interface.

  • In-app: send commands from within FMD Android to itself. Useful for troubleshooting.

Note: RCS messages are currently not supported. Please follow this issue.