Ubiquiti mFi mPort

There is currently support for the following device types within Home Assistant:

Sensor

The mfi sensor integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] to allow you to monitor mFi mPort interface and sensors.

To add this integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] to your installation, add the following to your configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file. After changing the configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, restart Home Assistant to apply the changes. The integration is now shown on the integrations page under Settings > Devices & services. Its entities are listed on the integration card itself and on the Entities tab.

# Example configuration.yaml entry
sensor:
  - platform: mfi
    host: IP_ADDRESS_OF_CONTROLLER
    username: YOUR_USERNAME
    password: YOUR_PASSWORD

Configuration Variables

host string Required

The IP address or hostname of your mFi controller.

port integer (Optional, default: 6080 (6443 for TLS))

The port of your mFi controller.

username string Required

The mFi admin username.

password string Required

The mFi admin user’s password.

ssl boolean (Optional, default: true)

If true, use SSL/TLS to contact the mFi controller.

verify_ssl boolean (Optional, default: true)

Set this to false if your mFi controller has a self-signed certificate.

Switch

The mfi switch platform to allow you to control mFi Controllable Power Outlets.

To add this platform to your installation, add the following to your configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file:

# Example configuration.yaml entry
switch:
  - platform: mfi
    host: IP_ADDRESS_OF_CONTROLLER
    username: YOUR_USERNAME
    password: YOUR_PASSWORD

Configuration Variables

host string Required

The IP address or hostname of your mFi controller.

port integer (Optional, default: 6443)

The port of your mFi controller.

username string Required

The mFi admin username.

password string Required

The mFi admin password.

ssl boolean (Optional, default: true)

If true, use SSL/TLS to contact the mFi controller.

verify_ssl boolean (Optional, default: true)

Set this to false if your mFi controller has a self-signed certificate.