2024-11-27 18:57:16 +01:00

2.7 KiB

title description ha_category ha_iot_class ha_release ha_domain ha_platforms ha_integration_type related ha_quality_scale
Ubiquiti mFi mPort Instructions on how to integrate mFi within Home Assistant.
Network
Sensor
Switch
Local Polling 0.13 mfi
sensor
switch
integration
docs title
/docs/configuration/ Configuration file
legacy

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

Sensor

The mfi sensor {% term integration %} to allow you to monitor mFi mPort interface and sensors.

To add this {% term integration %} to your installation, add the following to your {% term "configuration.yaml" %} file. {% include integrations/restart_ha_after_config_inclusion.md %}

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

{% configuration %} host: description: The IP address or hostname of your mFi controller. required: true type: string port: description: The port of your mFi controller. required: false default: 6080 (6443 for TLS) type: integer username: description: The mFi admin username. required: true type: string password: description: The mFi admin user's password. required: true type: string ssl: description: If true, use SSL/TLS to contact the mFi controller. required: false default: true type: boolean verify_ssl: description: Set this to false if your mFi controller has a self-signed certificate. required: false default: true type: boolean {% endconfiguration %}

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 {% term "configuration.yaml" %} file:

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

{% configuration %} host: description: The IP address or hostname of your mFi controller. required: true type: string port: description: The port of your mFi controller. required: false default: 6443 type: integer username: description: The mFi admin username. required: true type: string password: description: The mFi admin password. required: true type: string ssl: description: If true, use SSL/TLS to contact the mFi controller. required: false default: true type: boolean verify_ssl: description: Set this to false if your mFi controller has a self-signed certificate. required: false default: true type: boolean {% endconfiguration %}