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.4.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.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unifi2mqtt-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 5e18186ddee9e96118b9dd1c8ac4011090ba1ca7d1916f40647e300afec5a5a3
MD5 5323dc1a8ba45a8c714b3930d95dd89b
BLAKE2b-256 5342be7489ad8d767d74057bf5b19df67896efde89b3e24a6ac15b4dc9b26835

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unifi2mqtt-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 942ecc71f21bf6fd925cbc5a7659fc567b7b0a75935187484ade2d34874666a4
MD5 be6b85975840ebe7f001212b584a53ee
BLAKE2b-256 4fdee2e4433cbe173ad3a0110b1a3879d0f414f6ebb5005583f58c3b48fdeff7

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