Presence Publisher

Regularly publish to an MQTT topic

This app regularly publishes to a configurable MQTT topic whenever connected to a given WiFi network. It can be used to integrate the presence of your phone in home automation.

The app uses the built-in Android alarm manager, so notifications are sent even if the phone is in stand-by. In addition to regularly scheduled checks, the app also reacts to changes in the network connection.

Permissions

  • ACCESS_COARSE_LOCATION: on Android 9+, necessary to retrieve SSID of connected WiFi (you do not need to grant the permission in Android 6.0 - 8.1 for the app to work)
  • ACCESS_NETWORK_STATE: necessary to register network change listener
  • ACCESS_WIFI_STATE: necessary to retrieve SSID of connected WiFi
  • FOREGROUND_SERVICE: on Android 9+, necessary to send notifications
  • INTERNET: only necessary if your MQTT server is not running locally
  • RECEIVE_BOOT_COMPLETED: necessary to start service on start-up
  • WRITE_EXTERNAL_STORAGE: only necessary if you want to export log files in Android 4.0 - 4.3

Packages

Although APK downloads are available below to give you the choice, you should be aware that by installing that way you will not receive update notifications and it's a less secure way to download. We recommend that you install the F-Droid client and use that.

Download F-Droid
  • Version 1.5.3 (12) - Added on 2019-08-13

    This version requires Android 4.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • view Wi-Fi connections
      Allows the app to view information about Wi-Fi networking, such as whether Wi-Fi is enabled and name of connected Wi-Fi devices.
    • run foreground service
      Allows the app to make use of foreground services.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • run at startup
      Allows the app to have itself started as soon as the system has finished booting. This can make it take longer to start the phone and allow the app to slow down the overall phone by always running.
    • modify or delete the contents of your SD card
      Allows the app to write to the SD card.
      (4.3)
    • read the contents of your SD card
      Allows the app to read the contents of your SD card.
      (4.3)

    Download APK 1.3 MiB PGP Signature

  • Version 1.5.2 (11) - Added on 2019-07-04

    This version requires Android 4.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • view Wi-Fi connections
      Allows the app to view information about Wi-Fi networking, such as whether Wi-Fi is enabled and name of connected Wi-Fi devices.
    • run foreground service
      Allows the app to make use of foreground services.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • run at startup
      Allows the app to have itself started as soon as the system has finished booting. This can make it take longer to start the phone and allow the app to slow down the overall phone by always running.
    • modify or delete the contents of your SD card
      Allows the app to write to the SD card.
      (4.3)
    • read the contents of your SD card
      Allows the app to read the contents of your SD card.
      (4.3)

    Download APK 1.3 MiB PGP Signature

  • Version 1.5.1 (10) - Added on 2019-06-03

    This version requires Android 4.0 or newer.

    It is built and signed by F-Droid, and guaranteed to correspond to this source tarball.

    Permissions
    • view network connections
      Allows the app to view information about network connections such as which networks exist and are connected.
    • view Wi-Fi connections
      Allows the app to view information about Wi-Fi networking, such as whether Wi-Fi is enabled and name of connected Wi-Fi devices.
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • run foreground service
      Allows the app to make use of foreground services.
    • run at startup
      Allows the app to have itself started as soon as the system has finished booting. This can make it take longer to start the phone and allow the app to slow down the overall phone by always running.

    Download APK 1.2 MiB PGP Signature