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

Uploaded Python 3

File details

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

File metadata

  • Download URL: unifi2mqtt-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 dada15149be35edbc1bf12574e8a5523090517cbad30a3e91dd8482ca05f1305
MD5 a90be3c03700457e29ac302ce97e9c13
BLAKE2b-256 8f40c2c62555d8ca5b9b39955ab9b19c37fd8d0b0f5764e0d220bd0321697a41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unifi2mqtt-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7b9d319b77c67f825cc69ead3d53cffb0da7d958418d437f2c6b656f04028732
MD5 9dc37a0fbdc2d2150c63e52f6a200e8c
BLAKE2b-256 aace72acefe035d1fa9099db30a06ece8641b138f5d4d7fd4b2efcf47377264e

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