Xiaomi MiWiFi component for tracking devices and managing routers

if you are talking about an identifier for automation, then you can see it in the url when you go to the device page in hass.

Telegram

Changes in v2.9.0

NEW DEVICE

  • Add support Xiaomi Home WiFi (RB08)

BREAKING CHANGES

  • Added VPN connection status and uptime

After update Home Assistant to 2023.2.5 i have error:

Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for miwifi using this method at custom_components/miwifi/init.py, line 100: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

Please update integration.
Thanks.

Telegram

Changes in v3.0.0

BREAKING CHANGES

  • :exclamation: The minimum version of HASS has been raised to 2023.3.0 - #115
  • Removed deprecated DEVICE_CLASS_* - #110

BUGFIXES

  • Fixed a bug in the service - #109
  • Fixed tests
  • Fixed pylint

NEW DEVICE

  • Add support Mi Router 4A Gigabit V2 (R4AV2) - #114
  • Add support Xiaomi Router AC1200 (RB02) - #116, #117
  • Add support Xiaomi 5G CPE Pro (CB0401) - #118

Hello!

Could someone help me, because after the last update, I wanted to add the integration, but it does not accept the IP of my device (AX3000).

1 Like

HI,

the devices sensor is all the time Unknown, how i can fix it?

Hey there,
I was wondering if anyone could assist me with converting the unit of the WAN speed from B/s to MB/s. I’m having a hard time trying to figure this one out.

Any help would be appreciated.
Thanks.

type: custom:stack-in-card
cards:
  - type: vertical-stack
    cards:
      - type: horizontal-stack
        cards:
          - type: custom:mushroom-entity-card
            entity: sensor.miwifi_a4_39_b3_69_2c_2c_wan_download_speed
            name: Download
            layout: vertical
            card_mod:
              style: &style |
                ha-card
                  {background: transparent;
                   border-style: none;
                   --primary-text-color: white;
                   --icon-size: 25px;
                   --icon-symbol-size: 1em;
                   --icon-border-radius: 10px;
                   width: 110px;
                  }
                mushroom-card {
                   padding: 5px 1px 5px 1px;
                 } 
                mushroom-shape-icon {
                --shape-color: none !important;
                --shape-color-disabled: none !important;
                }             
          - type: custom:mushroom-entity-card
            entity: sensor.miwifi_a4_39_b3_69_2c_2c_wan_upload_speed
            name: Upload
            primary_info: name
            layout: vertical
            card_mod:
              style: *style  
          - type: custom:mushroom-entity-card
            entity: binary_sensor.miwifi_a4_39_b3_69_2c_2c_wan_state
            layout: vertical
            card_mod:
              style: *style           
          - type: custom:mushroom-entity-card
            entity: binary_sensor.miwifi_a4_39_b3_69_2c_2c_state
            layout: vertical
            card_mod:
              style: *style 
      - type: custom:mushroom-chips-card
        chips:
          - type: entity
            entity: update.miwifi_a4_39_b3_69_2c_2c_firmware_update
          - type: entity
            entity: sensor.miwifi_a4_39_b3_69_2c_2c_devices
          - type: entity
            entity: button.miwifi_a4_39_b3_69_2c_2c_reboot
            content_info: name
        alignment: center
        card_mod:
          style: &style2 |
            ha-card {
              background: #1c1c1c;
              padding-left: 15px;
              padding-right: 25px;
              padding-bottom: 25px;
              }

same problem… did you solve it? How?

Hello, after updating to 2024.1 the following started appearing in my log files:
Logger: homeassistant.components.device_tracker
Source: helpers/deprecation.py:205
Integration: Проследяване на устройства (documentation, issues)
First occurred: 18:16:53 ч. (2 occurrences)
Last logged: 18:16:53 ч.

SOURCE_TYPE_ROUTER was used from miwifi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SourceType.ROUTER instead, please create a bug report at Issues · dmamontov/hass-miwifi · GitHub

Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 18:16:53 ч. (2 occurrences)
Last logged: 18:16:53 ч.

  • DATA_MEGABYTES was used from miwifi, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.MEGABYTES instead, please create a bug report at Issues · dmamontov/hass-miwifi · GitHub
  • TEMP_CELSIUS was used from miwifi, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at Issues · dmamontov/hass-miwifi · GitHub

can you help me to solve the problem.
thanks

Has anyone managed to connect recently?
I have the Xiaomi Router AX3000 (RA80), and like the friend above, it does not accept my IP!

Hello, did someone managed to accept the ax3000 ip?

I have a Xiaomi AX6000 router.
I managed to connect it to HOME ASSISTANT.
I am trying to block a device with the following service:

Or Mozes, [02/07/2024 15:04]
service: miwifi.request
target:
device_id: … # Device ID (It is the router)
data:
uri: xqsystem/set_mac_filter
body:
mac: 00:00:00:00:00:00 # MAC address of the device we are blocking
wan: 0 # 0 - block, 1 - unblock

HI,

i see this working in the log

StrEnum was used from miwifi, this is a deprecated alias which will be removed in HA Core 2025.5. Use enum.StrEnum instead, please report it to the author of the ‘miwifi’ custom integration

  • ServiceCallType was used from miwifi, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.ServiceCall instead, please report it to the author of the ‘miwifi’ custom integration
  • HomeAssistantType was used from webrtc, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the ‘webrtc’ custom integration
  • ServiceCallType was used from webrtc, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.ServiceCall instead, please report it to the author of the ‘webrtc’ custom integration

how I can report it to the maintainer?

kommt ein update damit es auch für denn Xiaomi Router AX3000 NE geht ?

For the ones trying to make it work with AX3000 V2 (RA80V2), I managed to make it work with some workaround.