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

Uploaded Python 3

File details

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

File metadata

  • Download URL: unifi2mqtt-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 bab0e02b485921ba505b2fe402df87e47b4d011ca05fed7af976c4064d966a12
MD5 3ad36c8a203fa15e9575678d1ce77970
BLAKE2b-256 384768fd03933f6e06101c03d6c79bc3225ebb6e384a3837f846e35e5f4991b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unifi2mqtt-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b1826e9c1f34d8378686edbe6da727e45fd2ec167389c905390f7c9fe77ca130
MD5 e83315e5381110cdbf9cbc4f83e00148
BLAKE2b-256 eb02937c9f74a12ce7bea31175c1df917e8eaf8ce1d63377b71fbdf55b487da4

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