al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.49k stars 632 forks source link

Smartmi fan 3 is missing a lot of functionality #1062

Open henkiejan1 opened 1 year ago

henkiejan1 commented 1 year ago

Device model / 设备型号

zhimi.fan.za5

Component version / 插件版本

0.7.7

HA core version / HA版本

2023.3.5

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

The integration of the Smartmi Mifan 3 is missing a lot of functionality in the integration. Some functionality what is missing:

Entity attributes / 实体属性

preset_modes: Natural Wind, Straight Wind
direction: null
oscillating: false
percentage: 33
percentage_step: 1
preset_mode: Natural Wind
model: zhimi.fan.za5
lan_ip: 192.168.2.137
mac_address: 58:B6:23:30:CA:D1
entity_class: MiotFanEntity
home_room: Huis Woonkamer
miot_type: urn:miot-spec-v2:device:fan:0000A005:zhimi-za5:4
fan.on: true
fan.fan_level: 2
fan.horizontal_swing: false
fan.horizontal_angle: 40
fan.mode: 0
fan.off_delay: 0
fan.anion: true
custom_service.button_press: 0
custom_service.battery_state: true
custom_service.speed_now: 379
custom_service.ac_state: false
custom_service.speed_level: 33
custom_service.country_code: EU
custom_service.temp_sens.error: -4005 Property value error
environment.relative_humidity: 52
environment.temperature: 20.6
alarm: false
indicator_light.brightness: 52
physical_controls_locked: false
state_updater: lan
sub_entities: environment-7.relative_humidity-1, environment-7.temperature-7, physical_controls_locked-3.physical_controls_locked-1, indicator_light-4
friendly_name: Smartmi Standing Fan 3 Fan
supported_features: 15

Home Assistant Logs / 系统日志

-

henkiejan1 commented 1 year ago

Is there any progress? :)

al-one commented 1 year ago

Try master branch.

henkiejan1 commented 1 year ago

I have tested it yet. Thank you very much. But there are some problems: when you switch the light complete off the whole fan switched off. The angle functions works but is it also possible like the app to turn the fan to left or right manually. In the app is it possible without turn the the swing on. So you can turn the fan a little to the left or right.

Thank you for your time and work!