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.za4

See original GitHub issue

Hi, today I received my “Smartmi Standing Fan 2S” (Model: ZLBPLDS03ZM Battery: 2800mAh) (https://www.gearbest.com/air-cooler-fan/pp_009305221654.html) Sadly it is not yet recognised by your component. Could you please integrate it?

I try to give the same information which you required in similar requests, let me know if you need more information: Mi Home App doesn’t seem to display battery stats


mirobo --ip IP --token TOKEN info
zhimi.fan.za4 v2.0.2 (40:31:3C:xx:yy:74) @ IP - token: TOKEN

mirobo --ip IP --token TOKEN raw-command get_prop "['led', 'bat_state', 'temp_dec', 'humidity', 'angle', 'speed', 'poweroff_time', 'power', 'ac_power', 'battery', 'angle_enable', 'speed_level', 'natural_level', 'child_lock', 'buzzer', 'led_b', 'use_time', 'bat_charge', 'button_pressed']"
Sending cmd get_prop with params ['led', 'bat_state', 'temp_dec', 'humidity', 'angle', 'speed', 'poweroff_time', 'power', 'ac_power', 'battery', 'angle_enable', 'speed_level', 'natural_level', 'child_lock', 'buzzer', 'led_b', 'use_time', 'bat_charge', 'button_pressed']
['null']

mirobo --ip IP --token TOKEN raw-command get_prop "['temp_dec', 'humidity', 'angle', 'speed', 'poweroff_time', 'power', 'ac_power', 'battery', 'angle_enable', 'speed_level', 'natural_level', 'child_lock', 'buzzer', 'led_b', 'use_time', 'bat_charge', 'button_pressed']"
Sending cmd get_prop with params ['temp_dec', 'humidity', 'angle', 'speed', 'poweroff_time', 'power', 'ac_power', 'battery', 'angle_enable', 'speed_level', 'natural_level', 'child_lock', 'buzzer', 'led_b', 'use_time', 'bat_charge', 'button_pressed']
['null']

mirobo --ip IP --token TOKEN raw-command get_prop "['angle', 'speed', 'poweroff_time', 'power', 'ac_power', 'angle_enable', 'speed_level', 'natural_level', 'child_lock', 'buzzer', 'led_b', 'use_time']"
Sending cmd get_prop with params ['angle', 'speed', 'poweroff_time', 'power', 'ac_power', 'angle_enable', 'speed_level', 'natural_level', 'child_lock', 'buzzer', 'led_b', 'use_time']
[120]

for PROP in ac_power angle angle_enable bat_charge bat_state battery button_pressed buzzer child_lock humidity led led_b natural_level power poweroff_time speed speed_level temp_dec use_time
do
  mirobo --ip IP --token TOKEN raw-command get_prop "['$PROP']"
done
Sending cmd get_prop with params ['ac_power']
['on']
Sending cmd get_prop with params ['angle']
[120]
Sending cmd get_prop with params ['angle_enable']
['off']
Sending cmd get_prop with params ['bat_charge']
['null']
Sending cmd get_prop with params ['bat_state']
['null']
Sending cmd get_prop with params ['battery']
['null']
Sending cmd get_prop with params ['button_pressed']
['null']
Sending cmd get_prop with params ['buzzer']
[2]
Sending cmd get_prop with params ['child_lock']
['off']
Sending cmd get_prop with params ['humidity']
['null']
Sending cmd get_prop with params ['led']
['null']
Sending cmd get_prop with params ['led_b']
[0]
Sending cmd get_prop with params ['natural_level']
[0]
Sending cmd get_prop with params ['power']
['on']
Sending cmd get_prop with params ['poweroff_time']
[0]
Sending cmd get_prop with params ['speed']
[327]
Sending cmd get_prop with params ['speed_level']
[1]
Sending cmd get_prop with params ['temp_dec']
['null']
Sending cmd get_prop with params ['use_time']
[85]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ankitmehtamecommented, Jun 2, 2019

Thanks. I see the model is auto-detected now. By the way the DNS name is zhimi-fan-za4_mibtXXXX

1reaction
syssicommented, Jun 2, 2019

I will add this device soon!

Read more comments on GitHub >

github_iconTop Results From Across the Web

homebridge-xiaomi-fan - HOOBS
Integrates into homekit as a fan device; Control power, speed, ... zhimi.fan.za4 (Smartmi Standing Fan 2S); zhimi.fan.za5 (Smartmi Standing ...
Read more >
Mi Smart Pedestal Fan - Home Assistant Community
Hi, I have recently purchased one of these Mi Smart Pedestal Fans (see ... Yes the S2 works for me: (see zhimi.fan.za4 model...
Read more >
Device Simulators — python-miio documentation
The simulator currently supports only devices whose properties are queried ... model: zhimi.fan.za4 - model: zhimi.fan.v3 - model: zhimi.fan.v2 type: fan ...
Read more >
Xiaomi electric fan - Bindings - openHAB Community
I think this is supported by the Xiaomi miio binding. Version 3 off the fan ... I have just bought a Xiaomi fan,...
Read more >
Mi Connector (Xiaomi and Yeelight) - SmartThings Community
Simplify setup process for xiaomi devices to SmartThings. ... zhimi.fan.sa1, zhimi.fan.za1, zhimi.fan.za3, zhimi.fan.za4, dmaker.fan.p5, ...
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