MQTT Presence

MQTT Presence is a lightweight Python presence indicator that publishes a device's online status over Message Queuing Telemetry Transport (MQTT) and accepts…

  • Home Automation
  • Infrastructure
  • Tools & Utilities
MQTT Presence is a lightweight Python presence indicator that publishes a device's online status over Message Queuing Telemetry Transport (MQTT) and accepts shutdown or restart commands, useful for smart home setups on Raspberry Pi, Windows, or Linux.

Platform availability

Available on 2 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox
  • Helm (not listed)
  • Mac (not listed)
  • Windows
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

38/100 Low

Maintained
57last commit 183 days ago
Popular
176 GitHub stars
Easy to install
251 install platform, install notes
Light to run
No data

Based on 3 of 4 factors.

GitHub stars
6
Open issues
0
Last commit
2026-05-22
Latest release
v0.2.9
License
Apache-2.0
Activity
stale

Checked 15 days ago - source: GitHub (bjoernboeckle/mqtt-presence)

Resources & Compatibility

Requirements not published yet.

First-install notes

  • Point it at a running MQTT broker Set the broker host/IP and port, and give the app a client ID (the name the broker uses to identify it). If these aren't filled in, the app may start but stay offline because it has no server to talk to. source
  • Use port 1883 unless your broker says otherwise Allow the app to reach the broker on port 1883, the default doorbell for plain MQTT, or use the custom port your broker advertises. If that port is blocked, the connection will fail or keep retrying and no messages will arrive. source
  • Check where pending messages are stored The examples use in-memory persistence, which is wiped when the app stops. If you need QoS 1 or 2 messages (guaranteed delivery levels) to survive a restart, make sure storage is not set to in-memory, or pending messages can be lost. source

Fetched 41 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

What protocol does mqtt-presence use for presence detection?

It uses MQTT, as it is described as a lightweight MQTT-based presence indicator.

Can mqtt-presence listen for shutdown or restart commands?

Yes, it listens for shutdown or restart commands in addition to reporting the online status of a device.

Is mqtt-presence a lightweight Python-based service?

Yes, it is described as a lightweight Python-based presence indicator for MQTT systems.

Can mqtt-presence be used in smart-home setups?

It reports the online status of a device, such as a PC, and the source associates it with smart-home use.

Answers sourced from github.com

Community

Collected 48 days ago - public community threads