Mi Smart Pedestal Fan

Hi, did you manage to fix this? My fan 1C is visible, but “unavailable”

1 Like

I have been running into a similar issue and so far I have been able to resolve the issue. Posting here so that others might benefit.

Are you using VLANS and subnets in your setup? That could be causing issues. Syssi, the creator of the plugin, pointed me into the right direction: the esp8266 of the fan is the culprit. Here’s more background: Troubleshooting — python-miio documentation

I managed to fix the “unavailable” problem by basically moving the fan into the same VLAN and I posted my steps on GitHub: dmaker.fan.1c issue: fans show-up but unavailable · Issue #135 · syssi/xiaomi_fan · GitHub

The trade-offs obviously are clear: you would move an IoT device onto the main VLAN (if that’s where your server is, too). I don’t particularly like that but I decided to do it anyways and then block internet access for my fans. Not perfect but yet a good balanced workaround. Hope this helps others!

3 Likes

Hi, I buy Smartmi Standing Fan 2S
Xiaomi Home app detect Smartmi dc pedestal fan (zhimi.fan.v3) not zhimi.fan.za4
Region: China mainland
But I can’t add to the Xiaomi home app

although the fan connects to the wifi and gets an ip address

Who faced this, is there a solution to the problem? Thankss

Having the exact same issue with he Mi Smart Standing Fan 2 (not 2S) (dmaker.fan.p18). However, it did connect to the network in my case and I am able to get the token with Xiaomi cloud token extractor afterwards, It shows a local IP and token, but it isn’t visible in MiHome strangly enough.

1 Like

Thanks for the answer !
I still didn’t succeed add to the home app to find out the token .
i returned the fan to the store…
now I can’t figure out which model to take to make it work for sure , models are named differently in different places .
maybe you know if there are models for Europe ?

Thanks

Im using Smart fan 3, it has 4 speeds but when added in HA thru GitHub - syssi/xiaomi_fan: Xiaomi Mi Smart Fan integration for Home Assistant there is only 3. Im a bit unsure on how to use the different ‘services’ provided. Can somone share their config for an example?

Hello @Coldrush

I didn’t trust this “smart” fan from a security point of view, so for the moment I put it in a separate wifi network (my router allow to have a “Guest” wifi network).
My Home Assistant is on my main wifi network, and devices on the main wifi network can access the “Guest” network devices ( but not vice versa).
Do you think this setup would work, or do I have to have both on the same wifi network ?

Thanks !

Models zhimi.fan.za1 , zhimi.fan.za3 , zhimi.fan.za4 , zhimi.fan.sa1 , zhimi.fan.v2 , zhimi.fan.v3 and dmaker.fan.p5 will be supported by the core integrations after 2021.9 release.

2 Likes

Yeah I just can’t add it as it’s apparently not auto-discovered nor can I manually add in the already existing Miio Integration. Am I missing something?

What do you mean you can’t add it? Do you get any error? More details needed.

Nvm it works with just enough restarts, readding and waiting.

My Fan 1C have been working for weeks in my configuration.

Promised upgrade has been done:

I’m struggling to configure this myself. I have the Smartmi Standing Fan 3

  • I’ve installed the custom component using HACS.
  • I’ve added the following to configuration.yaml:
fan:
  - platform: xiaomi_miio_fan
    name: Xiaomi Smart Fan
    host: 
    token:
  • I’ve restarted Home Assistant

But the fan does not appear in the Entities tab.

What should I post here to help you help me, if you have the time.

Thank you in advance :slight_smile:

Hello everbody,

i am also facing a small issue with controlling my Xioami Fans. I can switch the ventilators off and on. But the speed control is not working. I purchased it as the 1C model, however while getting the API tokens, they are named as dmaker.fan.p8
In the Xiaomi integration there is not P8 modell available, so i choose the 1C.
In the Xiamoi app, the speed can be controlled in 3 levels, in homeassistant i have a sliding bar from 0-100% available. But with the sliding bar i cannot control the speed.
Does anybody have an idea, how i could control the speed?
Thanks

I have 1c fan model too,
Got it halfway working using the Xiaomi cloud integration from HA and the guide from here (german):
Xiaomi Mi Smart Fan Ventilator in Home Assistant einbinden | esse est percipi (qxm.de)
But i still have 2 things that are not working.
I cannot set the oscilation, and the stop timer does not work too.
Looking into the fan entity, there is a switch where i can start/stop the oscilation. But i have absolutely no clue how to trigger it.

Can someone provide a proper guide how to get this thing fully working?

I did have it to. but it looks like a bug in the app. because when, I can ping the fan in de network. and when I use the token extractor I do see the token of the fan.

Hi, Did you try " Xiaomi Mi Smart Pedestal Fan Integration" and a “Card” ? For me it’s working with this card config

name: Bedroom-Fan
platform: xiaomi_miio_fan
entity: fan.bedroom_fan
disable_animation: false
force_sleep_mode_support: false
hide_led_button: false
type: custom:fan-xiaomi

The fan is working mostly. There are 2 functions missing i cannot get to work.
The “oscialtion” and setting the automtic off timer.
Actually i use a custom card like this:

type: vertical-stack
title: Lüftbert
cards:
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        entity: fan.ventilator
        styles:
          name:
            - font-size: 13px
        state:
          - value: 'on'
            styles:
              icon:
                - animation:
                    - rotating 1s linear infinite
  - type: entities
    entities:
      - type: custom:slider-entity-row
        entity: input_number.ventilator_level
      - entity: number.luftbert_delay_off_countdown
      - entity: switch.luftbert_led
      - entity: switch.luftbert_child_lock
      - entity: switch.luftbert_buzzer

I can recommend this Website:
https://www.qxm.de/digitalewelt/3155/xiaomi-mi-smart-fan-ventilator-in-home-assistant-einbinden

Michael Preidel did a great job there! But it is in german :wink:

I did some stuff different than him. For example I use just grid instead of the vertical stack. And added the anion, as I have the Smartmi Pedestal Fan 3.

Maybe I can post my code here, when I have done all the stuff. At the moment, I am not happy with everything. :slight_smile:

1 Like

Thanks. German is no problem, because i am from Germany. :wink:
Will give it a try.
Maybe i can fix the 2 problems that still exist.

1 Like