-
Notifications
You must be signed in to change notification settings - Fork 15
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
I got the error like this: #226
Comments
Can you please share your version of |
I have the same problem! |
@torifat Thanks for your effort here. 20/11/2021, 19:08:09] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Lock Physical Controls': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'value'). See https://git.io/JtMGR for more info. Version is homebridge-xiaomi-mi-air-purifier v2.0.0 Using Xiaomi Air Purifier 2h and Pro H |
Same here.
xiaomi-mi-air-purifier/src/characteristics/air-purifier/filter-change-indication.ts Line 28 in f6c9fb8
xiaomi-mi-air-purifier/src/characteristics/air-purifier/lock-physical-controls.ts Line 24 in f6c9fb8
So I comment these lines out for now, then return some determined values and these errors are gone. There might be something wrong with getting these properties values. |
@torifat Thanks for your reply. |
@guesq Ah! thank you. My bad! It's |
made a pull request fixing this bug |
Closing this in favour of #229 |
I got the error like this:
How to fix it?
[11/18/2021, 11:12:58 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Active': Unhandled error thrown inside read handler for characteristic: device.power is not a function. See https://git.io/JtMGR for more info.
[Removed rest of the log because they don't provide any additional value. - Rifat]
The text was updated successfully, but these errors were encountered: