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
Release history Release notifications | RSS feed
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.8.tar.gz
(8.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unifi2mqtt-0.1.8.tar.gz.
File metadata
- Download URL: unifi2mqtt-0.1.8.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54bd326f3426bc04e2f70fd92ee64d2d5c5fc5b421c95f0cdb31fc115e0a3bf4
|
|
| MD5 |
41dd6da65d72bdfab916d1931d4ed6f9
|
|
| BLAKE2b-256 |
9e8356b3a40ef3be49c8589ece6700afe14805b14d523faa9ccb7ea545777bd8
|
File details
Details for the file unifi2mqtt-0.1.8-py3-none-any.whl.
File metadata
- Download URL: unifi2mqtt-0.1.8-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73c811c85f0487ee9db5ed230f12931732612cac2151c06f4b6380b8d26003ae
|
|
| MD5 |
d79f7f52b5e2596bb440679caf58f461
|
|
| BLAKE2b-256 |
80c336e09512806dffa146ae65dc495c81a61e570137692851a22bc346e722d7
|