package icon

Presence Publisher

Regularly publish to an MQTT topic
New in version 2.0.0
v2.0.0
• Added initial support for Bluetooth beacons.
• Fixed that battery messages where being sent via mobile regardless of settings.
This free open-source app regularly publishes to a configurable MQTT topic whenever
connected to a given WiFi network or in proximity to a Bluetooth beacon.
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.

The MQTT client supports anonymous and username / password authentication
as well ass client certificate authentication. For more details on how to
configure certificate-based authentication, please have a look at
https://github.com/ostrya/PresencePublisher/blob/master/README.md .

Permissions

• ACCESS_BACKGROUND_LOCATION: on Android 10+, necessary to retrieve SSID of connected WiFi while running in background
• ACCESS_FINE_LOCATION: necessary to discover beacons; on Android 9+, necessary to retrieve SSID of connected WiFi
• ACCESS_NETWORK_STATE: necessary to register network change listener
• ACCESS_WIFI_STATE: necessary to retrieve SSID of connected WiFi
• BLUETOOTH: necessary to communicate with beacons
• BLUETOOTH_ADMIN: necessary to discover beacons
• INTERNET: only necessary if your MQTT server is not running locally
• RECEIVE_BOOT_COMPLETED: necessary to start service on start-up
• REQUEST_IGNORE_BATTERY_OPTIMIZATIONS: on Android 6+, necessary to request disabling battery optimization
• 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 2.0.0 (26) suggested Added on 2020-01-07

    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
    • android.permission.ACCESS_BACKGROUND_LOCATION
    • access precise location only in the foreground
      This app can get your exact location only when it is in the foreground. These location services must be turned on and available on your phone for the app to be able to use them. This may increase battery consumption.
    • 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.
    • pair with Bluetooth devices
      Allows the app to view the configuration of the Bluetooth on the phone, and to make and accept connections with paired devices.
    • access Bluetooth settings
      Allows the app to configure the local Bluetooth phone, and to discover and pair with remote 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 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 shared storage
      Allows the app to write the contents of your shared storage.
      (4.3)
    • access approximate location (network-based) only in the foreground
      This app can get your location based on network sources such as cell towers and Wi-Fi networks, but only when the app is in the foreground. These location services must be turned on and available on your phone for the app to be able to use them.
    • read the contents of your shared storage
      Allows the app to read the contents of your shared storage.
      (4.3)

    Download APK 1.5 MiB PGP Signature | Build Log

  • Version 1.6.6 (22) - Added on 2019-11-25

    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 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 shared storage
      Allows the app to write the contents of your shared storage.
      (4.3)
    • prevent phone from sleeping
      Allows the app to prevent the phone from going to sleep.
    • read the contents of your shared storage
      Allows the app to read the contents of your shared storage.
      (4.3)

    Download APK 1.5 MiB PGP Signature | Build Log

  • Version 1.6.5 (21) - Added on 2019-11-20

    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 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 shared storage
      Allows the app to write the contents of your shared storage.
      (4.3)
    • prevent phone from sleeping
      Allows the app to prevent the phone from going to sleep.
    • read the contents of your shared storage
      Allows the app to read the contents of your shared storage.
      (4.3)

    Download APK 1.5 MiB PGP Signature | Build Log