question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support device model zhimi.fan.sa1

See original GitHub issue

Update for fan.xiaomi_smart_fan fails 下午9:48 custom_components/fan/xiaomi_miio_fan.py (ERROR) unable to parse json ‘{“result”:[null,null,120,468,0,“on”,“on”,null,“on”,100,74,“off”,2get_down],“id”:515}’: Expecting ‘,’ delimiter: line 1 column 66 (char 65) 下午9:48 /srv/homeassistant/lib64/python3.6/site-packages/miio/protocol.py (ERROR)

fan:
  - platform: xiaomi_miio_fan
    name: Xiaomi Smart Fan
    host: xxx.xxx.xxx.xx
    token: xxxxxxxxxxxxxxxxxxxxx
    model: zhimi.fan.v3

if not set model, log is:

Log Details (ERROR)
Sat Jun 23 2018 23:24:26 GMT+0800 (CST)

Unsupported device found! Please create an issue at https://github.com/syssi/xiaomi_fan/issues 
and provide the following data: zhimi.fan.sa1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:58 (28 by maintainers)

github_iconTop GitHub Comments

1reaction
pustefix8965commented, Aug 11, 2018

@syssi Please also update your link for retrieving the access token. The current link is for getting the Xiaomi Gateway key, the correct link should be https://www.home-assistant.io/components/vacuum.xiaomi_miio/#retrieving-the-access-token

1reaction
pustefix8965commented, Aug 11, 2018

My output after the fix: Power: on Battery: None % AC power: True Temperature: None °C Humidity: None % LED: None LED brightness: LedBrightness.Bright Buzzer: True Child lock: False Speed: 759 Natural speed: 0 Direct speed: 74 Oscillate: True Power-off time: 0 Angle: 90

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mi Smart Pedestal Fan - #177 by matteos1 - Configuration
Hi, I have recently purchased one of these Mi Smart Pedestal Fans (see below) and whilst it works great the native ... MODEL:...
Read more >
Device Simulators — python-miio documentation
The simulator currently supports only devices whose properties are queried using get_prop ... models: - model: zhimi.fan.sa1 - model: zhimi.fan.za1 - model: ...
Read more >
homebridge-xiaomi-fan - HOOBS
Known supported fan models. zhimi.fan.sa1 (Mi Standing Fan); zhimi.fan.v2/v3 (Smartmi DC Pedestal Fan) ... Only on supported devices!
Read more >
discovery.py · aroundthecode/python-miio - Gemfury
... Callable, Dict, Optional # noqa: F401 import zeroconf from . import (Device, Vacuum, ... ms model 2 "zhimi-airpurifier-sa1": AirPurifier, # super model...
Read more >
node-red-contrib-miio-localdevices 0.5.12
added support for 9 devices: zhimi.fan.sa1, zhimi.fan.za1, zhimi.fan.za3, zhimi.fan.za4, dmaker.fan.p10, dmaker.fan.p18,dmaker.fan.1c, zhimi.airp.vb4, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found