syssi / xiaomi_airpurifier

Xiaomi Mi Air Purifier and Xiaomi Mi Air Humidifier integration for Home Assistant
Apache License 2.0
452 stars 111 forks source link

Add support for deerma.humidifier.jsq2w #381

Open mrbaloghakos opened 4 weeks ago

mrbaloghakos commented 4 weeks ago

Xiaomi Smart Humidifier 2 https://www.mi.com/global/product/xiaomi-smart-humidifier-2/specs

mrbaloghakos commented 4 weeks ago

Logger: homeassistant.components.xiaomi_miio Source: components/xiaomi_miio/init.py:162 integration: Xiaomi Miio (documentation, issues) First occurred: 10:06:55 PM (1 occurrences) Last logged: 10:06:55 PM

Unsupported device found! Please create an issue at https://github.com/syssi/xiaomi_airpurifier/issues and provide the following data: deerma.humidifier.jsq2w

michael-hermsen commented 4 weeks ago

For me the same

Logger: homeassistant.components.xiaomi_miio Bron: components/xiaomi_miio/init.py:162 integratie: Xiaomi Miio (documentatie, problemen) Eerst voorgekomen: 08:34:47 (1 gebeurtenissen) Laatst gelogd: 08:34:47

Unsupported device found! Please create an issue at https://github.com/syssi/xiaomi_airpurifier/issues and provide the following data: deerma.humidifier.jsq2w

fbarriga commented 3 weeks ago

Same here

msmitka commented 3 weeks ago

Same

ostgardh commented 3 weeks ago

same

barnabas-kovacs commented 2 weeks ago

Same here. Many Thanks!

saschachina commented 2 weeks ago

I don't think anyone will do anything here, they always refer to the custom component (https://github.com/syssi/xiaomi_airpurifier), see also #361

syssi commented 2 weeks ago

The device is supported here. What do you miss?

saschachina commented 2 weeks ago

The device is supported here. What do you miss?

The .jsqs is supported not the .jsq2w

Logger: miio.miot_device
Quelle: /usr/local/lib/python3.12/site-packages/miio/miot_device.py:172
Erstmals aufgetreten: 16:54:59 (2 Vorkommnisse)
Zuletzt protokolliert: 16:55:29

Unable to find mapping for deerma.humidifier.jsq2w, falling back to deerma.humidifier.jsqs
syssi commented 2 weeks ago

If you use this custom component instead of the official one the device is supported.

saschachina commented 2 weeks ago

If you use this custom component instead of the official one the device is supported.

Just so I understand, you say .jsq2w is supported by the custom component, then why do I get a warning in the logs like I showed before? I know that the device is not supported in the official integration so I am forced to use the custom component.

Another question, why is it not possible to integrate the device in the official integration?

syssi commented 2 weeks ago

Just so I understand, you say .jsq2w is supported by the custom component, then why do I get a warning in the logs like I showed before? I know that the device is not supported in the official integration so I am forced to use the custom component.

The users above are using the offical component:

Source: components/xiaomi_miio/init.py:162

Another question, why is it not possible to integrate the device in the official integration?

It is possible but it takes a lot of time per model and there are so many different models available. Furthermore it requires a lot of testing (using the real hardware in best case). In best case a owner of the device should take over and do the job.

saschachina commented 2 weeks ago

Just so I understand, you say .jsq2w is supported by the custom component, then why do I get a warning in the logs like I showed before? I know that the device is not supported in the official integration so I am forced to use the custom component.

The users above are using the offical component:

Source: components/xiaomi_miio/init.py:162

Another question, why is it not possible to integrate the device in the official integration?

It is possible but it takes a lot of time per model and there are so many different models available. Furthermore it requires a lot of testing (using the real hardware in best case). In best case a owner of the device should take over and do the job.

First of all, i would like to thank you and everyone who invests time and effort in our smart home, i really appreciate it and am very grateful.

I also understand that a new device can't be integrated straight away because it requires a lot of work and someone has to have the device on site.

The .jsqs already works, I don't know much about it but I think only minor adjustments are necessary for the .jsq2w.

Unfortunately I don't have the skills to read out anything, I can only support with testing.