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

This plugin generated a warning #84

Open
Dane03 opened this issue Mar 10, 2021 · 13 comments
Open

This plugin generated a warning #84

Dane03 opened this issue Mar 10, 2021 · 13 comments

Comments

@Dane03
Copy link

Dane03 commented Mar 10, 2021

@russtone unfortunately, new warnings incoming:

[10/03/2021, 14:20:59] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[10/03/2021, 14:20:59] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Relative Humidity Humidifier Threshold': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[10/03/2021, 14:20:59] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.

Node.js Version | v14.16.0
Npm Version v7.6.2
Homebridge v1.3.3
homebridge-mi-humidifier v2.3.1

@Dane03
Copy link
Author

Dane03 commented Mar 11, 2021

Back with too high water levels...

#80 (comment)

[11/03/2021, 08:35:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic was supplied illegal value: number 104.16666666666667 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/03/2021, 08:36:28] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic was supplied illegal value: number 104.16666666666667 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/03/2021, 08:36:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic was supplied illegal value: number 104.16666666666667 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/03/2021, 08:37:28] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic was supplied illegal value: number 104.16666666666667 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/03/2021, 08:37:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic was supplied illegal value: number 104.16666666666667 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/03/2021, 08:38:28] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic was supplied illegal value: number 104.16666666666667 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/03/2021, 08:38:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic was supplied illegal value: number 104.16666666666667 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/03/2021, 08:39:28] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic was supplied illegal value: number 104.16666666666667 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/03/2021, 08:39:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic was supplied illegal value: number 104.16666666666667 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/03/2021, 08:40:28] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic was supplied illegal value: number 104.16666666666667 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[11/03/2021, 08:40:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic was supplied illegal value: number 104.16666666666667 exceeded maximum of 100. See https://git.io/JtMGR for more info.

@Dane03
Copy link
Author

Dane03 commented Mar 11, 2021

Sorry to bother you @russtone but the messages are taking over ;)

@Ugmaxie
Copy link

Ugmaxie commented Mar 17, 2021

@russtone I have almost the same errors too:

[3/17/2021, 7:12:52 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[3/17/2021, 7:12:52 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.
[3/17/2021, 7:12:52 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Relative Humidity Humidifier Threshold': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.

[3/17/2021, 7:12:54 AM] [MiHumidifier] [10.0.1.84] Fail to get device properties. SocketError: Timeout
[3/17/2021, 7:13:24 AM] [MiHumidifier] [10.0.1.84] Fail to get device properties. SocketError: Timeout
[3/17/2021, 7:13:54 AM] [MiHumidifier] [10.0.1.84] Fail to get device properties. SocketError: Timeout
[3/17/2021, 7:14:24 AM] [MiHumidifier] [10.0.1.84] Fail to get device properties. SocketError: Timeout
[3/17/2021, 7:14:54 AM] [MiHumidifier] [10.0.1.84] Fail to get device properties. SocketError: Timeout

Homebridge : v1.3.4
Node.js : v14.15.0
NPM : v6.14.8
homebridge-mi-humidifier : v2.3.1

UPDATE: Mine is fixed
I was obtaining an incorrect token by miio, so after getting token via iOS backup and decoding it - all started to work!

@Dane03
Copy link
Author

Dane03 commented Mar 17, 2021

@Ugmaxie Better check the warnings again after filling the humidifier to Max.

The second block of messages refer to such an issue, but I doubt these would be related to the warnings...

@Hambbuk
Copy link

Hambbuk commented Mar 18, 2021

I have the same errors.

Starting to advertise 'Homebridge CAD8' using bonjour-hap backend!
[18/03/2021, 17:56:57] Homebridge v1.3.4 (Homebridge) is running on port 51826.
[18/03/2021, 17:56:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[18/03/2021, 17:56:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Relative Humidity Humidifier Threshold': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[18/03/2021, 17:56:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.
[18/03/2021, 17:56:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[18/03/2021, 17:56:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Relative Humidity Humidifier Threshold': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[18/03/2021, 17:56:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[18/03/2021, 17:56:58] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.

@Hambbuk
Copy link

Hambbuk commented Mar 18, 2021

@Dane03

I just solved it.

I was putting in the wrong model name. lol

In my case,
"model": "zhimi.humidifier.v1", ->"model": "deerma.humidifier.mjjsq",

Check the model name !

@Dane03
Copy link
Author

Dane03 commented Mar 18, 2021

Thx, I have 2 Ca1 and 4 Ca4 - just checked... all fine

@nt0xa
Copy link
Owner

nt0xa commented Apr 10, 2021

Hey @Dane03,
I've just published a new release, which I hope should fix this warnigns

@DJay-X
Copy link

DJay-X commented Apr 10, 2021

Hey there..
With update to v2.4.0 I have the warning in the log again.

[11.4.2021, 00:03:15] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Active': characteristic was supplied illegal value: number 2 exceeded maximum of 1. See https://git.io/JtMGR for more info.
[11.4.2021, 00:03:45] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Active': characteristic was supplied illegal value: number 2 exceeded maximum of 1. See https://git.io/JtMGR for more info.
{
            "devices": [
                {
                    "disabled": false,
                    "name": "Luftbefeuchter",
                    "address": "xxx.xxx.xxx.xx",
                    "token": "xxxxx",
                    "model": "zhimi.humidifier.ca4",
                    "updateInterval": 30,
                    "autoSwitchToHumidityMode": true,
                    "disableTargetHumidity": false,
                    "temperatureSensor": {
                        "enabled": true,
                        "name": "Luftbefeuchter Temperatur"
                    },
                    "humiditySensor": {
                        "enabled": true,
                        "name": "Luftbefeuchter Luftfeuchtigkeit"
                    },
                    "ledBulb": {
                        "enabled": true,
                        "name": "Luftbefeuchter LED"
                    },
                    "buzzerSwitch": {
                        "enabled": true,
                        "name": "Luftbefeuchter Buzzer"
                    },
                    "cleanModeSwitch": {
                        "enabled": false,
                        "name": "Luftbefeuter reinigen"
                    }
                }
            ],
            "platform": "MiHumidifier"
        },

@Dane03
Copy link
Author

Dane03 commented Apr 11, 2021

The Good News @russtone ,
Water level disappeared, but now I get the same warning like @DJay-X

@nt0xa
Copy link
Owner

nt0xa commented Apr 11, 2021

Should be fixed in 2.4.1

@Dane03
Copy link
Author

Dane03 commented Apr 11, 2021

Looks good thx @russtone

@vdebrist
Copy link

Hi @russtone .
Warning messages again. "model": "deerma.humidifier.mjjsq" . But all works perfectly.

Node.js Version | v14.16.1
Npm Version v7.11.1
Homebridge v1.3.4
homebridge-mi-humidifier v2.4.2

[21/05/2021, 22:43:47] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[21/05/2021, 22:43:47] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.
[21/05/2021, 22:43:47] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Relative Humidity Humidifier Threshold': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[21/05/2021, 22:43:47] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.

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

No branches or pull requests

6 participants