Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support zhimi.airfresh.va2 ? #489

Closed
bimodinochka opened this issue Mar 27, 2022 · 11 comments · Fixed by #635
Closed

Support zhimi.airfresh.va2 ? #489

bimodinochka opened this issue Mar 27, 2022 · 11 comments · Fixed by #635

Comments

@bimodinochka
Copy link

bimodinochka commented Mar 27, 2022

Will there be support (zhimi.airfresh.va2) ?
The device is being added now, but it is not available for use.

@al-one
Copy link
Owner

al-one commented Mar 27, 2022

Any error/warning logs ?

@bimodinochka
Copy link
Author

Here's what I see in the server log:

Logger: custom_components.xiaomi_miot.fan
Source: custom_components/xiaomi_miot/init.py:1225
Integration: Xiaomi Miot Auto (documentation, issues)
First occurred: 05:11:09 (38 occurrences)
Last logged: 05:29:39

Air Fresh(zhimi.airfresh.va2): Got MiioException while fetching the state: {'code': -32601, 'message': 'Method not found.'}, mapping: {'air_fresh.on': {'siid': 2, 'piid': 1}, 'air_fresh.fan_level': {'siid': 2, 'piid': 2}, 'indicator_light.brightness': {'siid': 7, 'piid': 1}, 'alarm': {'siid': 6, 'piid': 1}, 'physical_controls_locked': {'siid': 5, 'piid': 1}, 'filter.filter_used_time': {'siid': 4, 'piid': 1}, 'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 2}, 'environment.temperature': {'siid': 3, 'piid': 3}, 'environment.co2_density': {'siid': 3, 'piid': 4}}, max_properties: 10/10

@al-one
Copy link
Owner

al-one commented Mar 27, 2022

The device currently does not support local mode, please integrate it through automatic mode (account).

@bimodinochka
Copy link
Author

Oh, will it be possible to add it locally?
Other integrations support local management.

@al-one
Copy link
Owner

al-one commented Mar 28, 2022

Maybe soon ...

@bimodinochka
Copy link
Author

Thank you, I will look forward to it

@al-one
Copy link
Owner

al-one commented Mar 29, 2022

Upgrade to master branch and try.

@al-one
Copy link
Owner

al-one commented Mar 31, 2022

Does it work ?

@altapo
Copy link
Contributor

altapo commented Apr 1, 2022

After update can't change fan mode in HA GUI (can set only Interval and Sleep mode)
I think problem with variable type

Снимок экрана 2022-04-01 в 09 12 16

@al-one
Copy link
Owner

al-one commented Apr 1, 2022

@altapo Fixed in 22076b9 for zhimi.airfresh.va4, upgrade to master branch.

@altapo
Copy link
Contributor

altapo commented Apr 1, 2022

After last fixes can't change fan mode to "Medium" (all other mode switch success)

try

service: xiaomi_miot.set_miot_property
data:
  entity_id: fan.zhimi_va4_b22f_air_fresh
  siid: 2
  piid: 3
  value: 3

log

WARNING (SyncWorker_0) [custom_components.xiaomi_miot.fan] Приточный воздухоочиститель(zhimi.airfresh.va4): Set miot property {'did': '314765748', 'siid': 2, 'piid': 3, 'value': 3} failed: {'code': -5001, 'message': 'invaild_arg'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants