Mi Smart Pedestal Fan

Did you find out?

I use Xiaomi Smartmi Fan Card from HACS now https://github.com/ikaruswill/lovelace-fan-xiaomi. it does the job

I have also Problems with 1C… i add the device to the app and i can control the fan

To receive the token:

install the custom Integration and set the config;

fan:
  - platform: xiaomi_miio_fan
    name: SmartFan
    host: 10.10.120.39
    token: 60xxxxxxxxxxxxxxxxxxxxxxxxxx39f6

the log say:
image

where is my fault?

Hi, it seems new Home Assistant version of the month has broken the custom component because they made breaking changes on Xiaomi Miio integration by migrating it to th UI. My fans 1C worked before and right after the update they works no more.

2 Likes

Hi, the same for me. Until few days ago everything works fine but now, if I try to use the xiaomi_miio_fan platform my 1C is unavailable for Home Assistant. To make it work again(more or less) I use the Xiaomi Mi Air Purifier & Xiaomi Mi Air Humidifier component with model: dmaker.fan.p9 (the other models doesn’t work). Anyway, by doing this I can only start and stop the fan but at least I can control it from HA.
I hope this workaround could be useful.

platform: xiaomi_miio_airpurifier
name: Smart Fan 1C
host: 192.168.X.XX
token: 27xxxxxxxxxxxxxxxxxxxxxxxxxbe3c0
model: dmaker.fan.p9
1 Like

Meanwhile there is hope : the developer of the custom component has made today a pull request to the upstream program and answered to me that as soon as he gets this he will add 1C support to its custom component program.

Add basic dmaker.fan.1c support by syssi · Pull Request #1012 · rytilahti/python-miio (github.com)

Integration seems to be broken after update to Home Assistant 2021.4.1 · Issue #105 · syssi/xiaomi_fan (github.com)

1 Like

Great! Good news :grinning:
Thx! :smiley:

I have Xiaomi Smartmi Fan 2 and this config works great for me (2021.4.3):

fan:     
  - platform: xiaomi_miio_airpurifier
    name: Smart Fan

Xiaomi Mi Air Purifier & Xiaomi Mi Air Humidifier integration is required.

some news regarding 1c?

@syssi some information to ingrate c1 model?? please

My Fan 1C is also not working anymore with Home Assistant. Any solution?

1 Like

I’m sorry for noob question as i read all the replies but still couldn’t figure out how get my fans to lovelace and working.

I install hacs. I integrate the components. I extract the tokens. I modify the configuration.yaml file. I can see the fan in the entity area of hass but don’t know to use (or don’t understand) those “platform services” “trigger”…to get control my fans.

Please help steps by steps. Thanks so much for your time.

My fans are:

NAME: Living Fan
IP: 192.168.31.239
TOKEN: 4dd41349c818c977e881cb450824a1a6
MODEL: zhimi.fan.v3

NAME: Fan
IP: 192.168.31.206
TOKEN: 5da31afe5dba5b9a3cdb6fd86439ae4f
MODEL: zhimi.fan.sa1

If you have the fans configured and can see them as an entity then the hard part is over. For controlling them you can use a card from HACS. GitHub - ikaruswill/lovelace-fan-xiaomi: Xiaomi Smartmi Fan Lovelace card with CSS fan animation

1 Like

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?