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

Warning from characteristic "active" #99

Open
HackyPaddy opened this issue May 2, 2024 · 11 comments
Open

Warning from characteristic "active" #99

HackyPaddy opened this issue May 2, 2024 · 11 comments
Assignees
Labels
Bug Something isn't working

Comments

@HackyPaddy
Copy link

HackyPaddy commented May 2, 2024

Describe The Bug

The plugin works, but the log is flooded with the following error:

[2.5.2024, 07:34:28] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[2.5.2024, 07:48:57] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[2.5.2024, 07:52:22] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[2.5.2024, 08:51:56] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[2.5.2024, 09:01:32] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[2.5.2024, 09:14:41] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.

Expected behavior

A log without errors :)

Logs

[2.5.2024, 07:34:28] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[2.5.2024, 07:48:57] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[2.5.2024, 07:52:22] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[2.5.2024, 08:51:56] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[2.5.2024, 09:01:32] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[2.5.2024, 09:14:41] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.

Plugin Config

{
"name": "Levoit Air Luftreiniger",
"email": "xxx",
"password": "xxx",
"platform": "LevoitAirPurifiers"
}

Plugin Version

v3.0.1

Homebridge Version

v1.8.1

Node.js Version

v18.19.0

NPM Version

n/a

Operating System

Raspberry

@HackyPaddy HackyPaddy added the Bug Something isn't working label May 2, 2024
@BastianZim
Copy link

BastianZim commented May 5, 2024

Getting the same error with a Core200S

[05/05/2024, 12:14:23] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[05/05/2024, 12:14:36] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[05/05/2024, 12:16:40] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[05/05/2024, 12:16:49] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.

@ItsHaysus
Copy link

Same issue with 200S

@dadsalleb
Copy link

same here. Even though I'm using this plugin as a child bridge, the same error shows up.

@jgreenb2
Copy link

Ditto on my core600s running as a child bridge. There are quite a few of these messages polluting the logs which makes debugging other issues a bit harder. Doesn't seem to affect functionality though.

@mokolabs
Copy link

I'm also seeing this on the core600s.

@mcclia40
Copy link

Same for me, child bridge and all.

@HackyPaddy
Copy link
Author

When will the error be fixed?

@bchertel
Copy link

core 300s is producing the same log messages

@Niclassslua
Copy link

Same! Core 200s is also producing this log message:

[10/24/2024, 6:56:04 PM] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.
[10/24/2024, 6:56:04 PM] [homebridge-levoit-air-purifier] Error:
at On.Characteristic.characteristicWarning (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:3016:105)
at On.Characteristic.validateUserInput (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2892:12)
at On. (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2410:24)
at step (/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
at Object.next (/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
at fulfilled (/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:166:62)

@HackyPaddy
Copy link
Author

HackyPaddy commented Nov 5, 2024

Reminder: When will the error be fixed?

@brsexton
Copy link

I am getting these errors every few minutes as well. Do you happen to have any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests