nt0xa / homebridge-mi-humidifier

A Xiaomi Mi humidifier plugin for Homebridge
MIT License
64 stars 24 forks source link

When importing to Home Assistant Integration, there is an error. #65

Closed Hyoengju-Johannes-Lee closed 3 years ago

Hyoengju-Johannes-Lee commented 3 years ago

I have two humidifiers, which is both configured with this plugin.!

스크린샷 2021-01-26 23 05 57

There is no problem in configuration, I just set using the "settings" in the plugin menu.

"platforms": [
    {
        "devices": [
            {
                "name": "Bedroom Humidifier",
                "address": "192.168.1.129",
                 ...
                }, ...
            },
            {
                "name": "Living Room Humidifier",
                "address": "192.168.1.128",
                  ...
            }
        ],
        "platform": "MiHumidifier"
    },
    {
        "name": "Config",
        "port": 8581,
        "platform": "config"
    }
]

From the screenshot below, I guess that is because of the Name "Humidifier" or "Serial Number" which is in both of the humidifiers. The screenshot is from one of the humidifiers in "Accessories" menu.

스크린샷 2021-01-26 23 21 00

I am always grateful for your contributions.!

nt0xa commented 3 years ago

Hey @Hyoengju-Johannes-Lee

Which version of the plugin do you use? The problem with duplicate serial numbers (#58) should be fixed since version 2.1.0

Hyoengju-Johannes-Lee commented 3 years ago

Ah, sorry for my carelessness.! I checked titles of other issues before writing, but since I was not sure it was because of serial numbers, I didn't know that there was a same issue.! Thanks.! Let me just update to a new version.!