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.7.tar.gz (8.0 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.7-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unifi2mqtt-0.1.7.tar.gz
  • Upload date:
  • Size: 8.0 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.7.tar.gz
Algorithm Hash digest
SHA256 216f3b7913f5616037674dd4465c3ae322f6360a7d3f9d8e6af0a71c388fc8ee
MD5 fc1638c6767484dafb16807daf6bb7ca
BLAKE2b-256 526828ce350984e8061e0035ef8b98832a5fa2717cce297c777964e426540272

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unifi2mqtt-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b32c52595b2860480613b0e1980590da3ac3537a7dadad9bbcb57ee8c953263c
MD5 0f4167976699b451c37a6959f5f0f875
BLAKE2b-256 92176077ba688430d1ff3ded21a4cfba3654e7362db7cc071ace1576645efebb

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