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

Added zhimi.airpurifier.ma2 as Mi Air Purifier 2S #55

Merged
merged 2 commits into from
Jan 9, 2022

Conversation

9Mad-Max5
Copy link
Contributor

Hi,

I included as I understood only in China available Mi Air Purifier 2S.
Used for this, the data structure from zhimi.airpurifier.mc1.
https://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:air-purifier:0000A007:zhimi-ma2:1

The only noticeable difference had been the setting:
7
iid : 8
type : "urn:miot-spec-v2:service:air-purifier-favorite:000078B2:zhimi-ma2:1"
description : "Air Purifier Favorite"
properties
0

As I didn't find this setting in any other purifier, I just left it out, because all other settings worked really well.

@Pittini Pittini merged commit a7f0ed4 into Pittini:main Jan 9, 2022
@9Mad-Max5
Copy link
Contributor Author

For some reason the .ma2 is not supported any more.
I only get the following message in the js adapter:

13:17:06.541 error javascript.0 (28953) script.js.common.AllMyMi: Error: Model zhimi.airpurifier.ma2 is not supported
13:17:06.542 error javascript.0 (28953) at CreateDevices (script.js.common.AllMyMi:910:36)
13:17:06.542 error javascript.0 (28953) at main (script.js.common.AllMyMi:842:11)

@Pittini
Copy link
Owner

Pittini commented Mar 29, 2022

For some reason the .ma2 is not supported any more. I only get the following message in the js adapter:
Have you updated JS Controller or such? Try to copy the Def File again in the node.mihome devices folder as described in readme.

@9Mad-Max5
Copy link
Contributor Author

For some reason the .ma2 is not supported any more. I only get the following message in the js adapter:
Have you updated JS Controller or such? Try to copy the Def File again in the node.mihome devices folder as described in readme.

Jop that's it didn't read the part of the readme

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

Successfully merging this pull request may close these issues.

None yet

2 participants