merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
395 stars 63 forks source link

Log filtering #172

Closed MariusAnje closed 2 years ago

MariusAnje commented 2 years ago

Device frequently outputting warning logs.

Device: zhimi.humidifier.cb1 Log: [$time$] [miot] [Smartmi Evaporative Humidifier] The property target_humidity was not found on this deivce!

This is a valid log because this humidifier has no target_humidity function. However, this warning appears at every polling period.

Is it possible that this log be filtered/removed?

merdok commented 2 years ago

Yeah, humidifier devices without target_humidity should actually only show an on/off switch. I will try to adjust that in the next update. The logs, especially warning logs, are there for a reason so it is not possible to remove them. Warning logs indicate an issue which needs to be adjusted.

MariusAnje commented 2 years ago

Thanks a lot for your quick response & effort

merdok commented 2 years ago

Should now be fixed in 1.0.0