Skip to main content

Monitor Unifi clients and publish status to MQTT

Project description

unifi2mqtt

Monitor Unifi clients and publish their connection status to an MQTT broker.

Installation

pip install unifi2mqtt

Usage

unifi2mqtt --interval 1 \
    --unifi-url "https://192.168.1.1" \
    --unifi-user "localUser" \
    --unifi-pass "localUserPass" \
    --mqtt-host "mqtt.local" \
    --mqtt-topic unifi2mqtt \
    --unifi-ignore-ssl \
    --filter-macs aa:bb:cc:dd:ee:ff,11:22:33:44:55:66
docker run --d --restart=unless-stopped --name unifi2mqtt \
    -e UNIFI_URL=https://192.168.1.1 \
    -e UNIFI_USERNAME=localUser \
    -e UNIFI_PASSWORD=localUserPass \
    -e MQTT_HOST=mqtt.local \
    -e UNIFI_IGNORE_SSL=true \
    -e MQTT_TOPIC=unifi2mqtt \
    -e FILTER_MACS=aa:bb:cc:dd:ee:ff,11:22:33:44:55:66

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unifi2mqtt-0.1.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unifi2mqtt-0.1.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file unifi2mqtt-0.1.3.tar.gz.

File metadata

  • Download URL: unifi2mqtt-0.1.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for unifi2mqtt-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3fbb64fd4a02bf80cc0dfd0994cf20935f1d899e2c528c2ce4e03a57b36b9524
MD5 9873476d4e97a2930f2a9903c0e91ff0
BLAKE2b-256 17567c574fdddbe72ebe9e48a3108fd8edffb6b0c307eae567a5a0b95ba8126e

See more details on using hashes here.

File details

Details for the file unifi2mqtt-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: unifi2mqtt-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for unifi2mqtt-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a5701add3a85cfc114ac9bfa7f47621efac89f3eaeca5276e320396a6a3a4944
MD5 68d7c14d943d73eee1e37a24291be81b
BLAKE2b-256 1f28fb5d279f827870d88327aa74a50d18160edf5410a017ccbc083d156544bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page