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

homebridge日志报错number 160 exceeded maximum of 100 #300

Open
superszy opened this issue Mar 1, 2021 · 0 comments
Open

homebridge日志报错number 160 exceeded maximum of 100 #300

superszy opened this issue Mar 1, 2021 · 0 comments

Comments

@superszy
Copy link

superszy commented Mar 1, 2021

homebridge版本1.3.1
homebridge-mi-aqara版本0.8.1

在更新到homebridge最近的版本后,每隔几分钟,日志中就会出现一条报错信息:

[3/1/2021, 3:42:25 PM] [MiAqaraPlatform] [DEBUG][Revc]{"cmd":"report","model":"natgas","sid":"158d00011581b0","short_id":54789,"data":"{"density":"14"}"},
[3/1/2021, 3:42:25 PM] [homebridge-mi-aqara] This plugin generated a warning from the characteristic 'Battery Level': characteristic was supplied illegal value: number 160 exceeded maximum of 100. See https://git.io/JtMGR for more info.,
[3/1/2021, 3:42:25 PM] [homebridge-mi-aqara] Error: ,
at Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2164:105),
at Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2118:14),
at Characteristic.updateValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1365:20),
at NatgasDetectorSmokeSensorParser.parserBatteryService (/homebridge/node_modules/homebridge-mi-aqara/parser/AccessoryParser.js:162:40),
at NatgasDetectorSmokeSensorParser.parserAccessories (/homebridge/node_modules/homebridge-mi-aqara/parser/NatgasDetectorParser.js:84:18),
at NatgasDetectorParser.parserAccessories (/homebridge/node_modules/homebridge-mi-aqara/parser/DeviceParser.js:49:27),
at ParseUtil.parserAccessories (/homebridge/node_modules/homebridge-mi-aqara/lib/ParseUtil.js:112:29),
at MiAqaraPlatform.parseMessage (/homebridge/node_modules/homebridge-mi-aqara/index.js:585:32),
at Socket.emit (events.js:315:20),
at UDP.onMessage (dgram.js:919:8),

报错信息总是跟随着一条这样的日志出现的
[3/1/2021, 3:42:25 PM] [MiAqaraPlatform] [DEBUG][Revc]{"cmd":"report","model":"natgas","sid":"158d00011581b0","short_id":54789,"data":"{"density":"14"}"},

这个错误在homebridge-mi-aqara v0.8.0也有,升级到0.8.1后没有改变。

请问这是什么问题?谢谢

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

1 participant