All Projects → mannkind → unifi2mqtt

mannkind / unifi2mqtt

Licence: MIT license
A unifi controller device status to mqtt bridge process

Programming Languages

C#
18002 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to unifi2mqtt

Ebusd
daemon for communication with eBUS heating systems
Stars: ✭ 237 (+1592.86%)
Mutual labels:  home-automation
homebridge-unifi-occupancy-sensor
An occupancy sensor for Homebridge and UniFi
Stars: ✭ 71 (+407.14%)
Mutual labels:  unifi
tion python
Python module for Tion
Stars: ✭ 51 (+264.29%)
Mutual labels:  home-automation
Sucks
Simple command-line script for the Ecovacs series of robot vacuums
Stars: ✭ 237 (+1592.86%)
Mutual labels:  home-automation
Iobroker.javascript
Script engine for JavaScript and Blockly
Stars: ✭ 244 (+1642.86%)
Mutual labels:  home-automation
ansible-roles
Here are some Ansible roles I have built for my own use.
Stars: ✭ 48 (+242.86%)
Mutual labels:  unifi
Smart Home
⭐ (Almost) everything needed to run my smart home with Home Assistant and more!
Stars: ✭ 221 (+1478.57%)
Mutual labels:  home-automation
hfeasy
HFeasy - firmware for HF-LPx100/LPx30 based devices
Stars: ✭ 35 (+150%)
Mutual labels:  home-automation
Hue Dashboard
A web interface for monitoring and controlling Philips Hue lights
Stars: ✭ 251 (+1692.86%)
Mutual labels:  home-automation
google home timers card
Card for Home Assistant Google Home integration.
Stars: ✭ 29 (+107.14%)
Mutual labels:  home-automation
Smart Mirror
The fairest of them all. A DIY voice controlled smart mirror with IoT integration.
Stars: ✭ 2,668 (+18957.14%)
Mutual labels:  home-automation
Home Assistant Cli
💻 Command-line tool for Home Assistant
Stars: ✭ 243 (+1635.71%)
Mutual labels:  home-automation
unpoller
Application: Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus
Stars: ✭ 1,613 (+11421.43%)
Mutual labels:  unifi
Iobroker.js Controller
ioBroker controller
Stars: ✭ 238 (+1600%)
Mutual labels:  home-automation
addon-unifi
UniFi Network Application - Home Assistant Community Add-ons
Stars: ✭ 190 (+1257.14%)
Mutual labels:  unifi
Node Red Contrib Home Assistant Websocket
Node-RED integration with Home Assistant Core
Stars: ✭ 222 (+1485.71%)
Mutual labels:  home-automation
infrastructure
Flux based GitOps repository for my home lab infrastructure.
Stars: ✭ 14 (+0%)
Mutual labels:  unifi
home assistant-ble
Companion application for home-assistant, sending bluetooth low energy detection
Stars: ✭ 21 (+50%)
Mutual labels:  home-automation
deskmatik
Open source smart desk controller https://deskmatik.com
Stars: ✭ 24 (+71.43%)
Mutual labels:  home-automation
unifi-pi-hole
A Pi-hole equivalent for the Unifi Security Gateway
Stars: ✭ 30 (+114.29%)
Mutual labels:  unifi

unifi2mqtt

Software License Build Status Coverage Status

An experiment to publish device statuses from the Unifi Controller to MQTT.

Use

The application can be locally built using dotnet build or you can utilize the multi-architecture Docker image(s).

Example

docker run \
-e UNIFI__HOST="https://unifi-controller.dns.name:8443" \
-e UNIFI__USERNAME="unifiUsername" \
-e UNIFI__PASSWORD="unifiPassword" \
-e UNIFI__AWAYTIMEOUT="0.00:05:01" \
-e UNIFI__RESOURCES__0__MACAddress="11:22:33:44:55:66" \
-e UNIFI__RESOURCES__0__Slug="identifierSlug" \
mannkind/unifi2mqtt:latest

OR

UNIFI__HOST="https://unifi-controller.dns.name:8443" \
UNIFI__USERNAME="unifiUsername" \
UNIFI__PASSWORD="unifiPassword" \
UNIFI__AWAYTIMEOUT="0.00:05:01" \
UNIFI__RESOURCES__0__MACAddress="11:22:33:44:55:66" \
UNIFI__RESOURCES__0__Slug="identifierSlug" \
./unifi2mqtt 

Configuration

Configuration happens via environmental variables

UNIFI__HOST                               - The Unifi Controller Host URL
UNIFI__USERNAME                           - The Unifi Controller Username
UNIFI__PASSWORD                           - The Unifi Controller Password
UNIFI__AWAYTIMEOUT                        - [OPTIONAL] The delay between last seeing a device and marking it as away, defaults to "0.00:05:01"
UNIFI__POLLINGINTERVAL                    - [OPTIONAL] The delay between device lookups, defaults to "0.00:00:11"
UNIFI__DISABLESSLVALIDATION               - [OPTIONAL] The flag that disables SSL validation, defaults to true
UNIFI__ASDEVICETRACKER                    - [OPTIONAL] The flag that switches to device_tracker
UNIFI__RESOURCES__#__MACAddress           - The n-th iteration of a mac address for a specific device
UNIFI__RESOURCES__#__Slug                 - The n-th iteration of a slug to identify the specific mac address
UNIFI__MQTT__TOPICPREFIX                  - [OPTIONAL] The MQTT topic on which to publish the collection lookup results, defaults to "home/unifi"
UNIFI__MQTT__DISCOVERYENABLED             - [OPTIONAL] The MQTT discovery flag for Home Assistant, defaults to false
UNIFI__MQTT__DISCOVERYPREFIX              - [OPTIONAL] The MQTT discovery prefix for Home Assistant, defaults to "homeassistant"
UNIFI__MQTT__DISCOVERYNAME                - [OPTIONAL] The MQTT discovery name for Home Assistant, defaults to "unifi"
UNIFI__MQTT__BROKER                       - [OPTIONAL] The MQTT broker, defaults to "test.mosquitto.org"
UNIFI__MQTT__USERNAME                     - [OPTIONAL] The MQTT username, default to ""
UNIFI__MQTT__PASSWORD                     - [OPTIONAL] The MQTT password, default to ""

Prior Implementations

Golang

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].