Pittini / iobroker-nodemihome

Steuerung von bisher nicht unterstützten Xiaomi Geräten in Iobroker via node-mihome
MIT License
27 stars 15 forks source link

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

Closed 9Mad-Max5 closed 2 years ago

9Mad-Max5 commented 2 years ago

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.

9Mad-Max5 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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