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
[km200] Fix support for older MB-LAN (=KM200, version 1.0) by avoiding query of an unsupported attribute. #15070
Conversation
- Fixed support for MB-LAN (=KM200, version 1.0) by avoiding query of an unsupported attribute. - BEFORE this fix: The MBLAN does not support the /gateway/registrations attribute and returns an invalid answer: * [b.binding.km200.internal.KM200Device] - /gateway/registrations: trying to query information. * [b.binding.km200.internal.KM200Device] - /gateway/registrations: trying to decode: [B@4de25f6. * [binding.km200.internal.KM200Cryption] - Length of message is 11. * [binding.km200.internal.KM200Cryption] - Did NOT decrypt message * [binding.km200.internal.KM200Cryption] - Exception on encoding Signed-off-by: guenther.schreiner@smile.de Logging of detailed error message.
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/buderus-km200-binding-firmware-04-08-02-initializing-error/136637/15 |
This pull request has been mentioned on openHAB Community. There might be relevant details there: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…15070) - Fixed support for MB-LAN (=KM200, version 1.0) by avoiding query of an unsupported attribute. - BEFORE this fix: The MBLAN does not support the /gateway/registrations attribute and returns an invalid answer: * [b.binding.km200.internal.KM200Device] - /gateway/registrations: trying to query information. * [b.binding.km200.internal.KM200Device] - /gateway/registrations: trying to decode: [B@4de25f6. * [binding.km200.internal.KM200Cryption] - Length of message is 11. * [binding.km200.internal.KM200Cryption] - Did NOT decrypt message * [binding.km200.internal.KM200Cryption] - Exception on encoding Logging of detailed error message. Signed-off-by: guenther.schreiner@smile.de Signed-off-by: Thomas Burri <thomas.burri@alstomgroup.com>
…15070) - Fixed support for MB-LAN (=KM200, version 1.0) by avoiding query of an unsupported attribute. - BEFORE this fix: The MBLAN does not support the /gateway/registrations attribute and returns an invalid answer: * [b.binding.km200.internal.KM200Device] - /gateway/registrations: trying to query information. * [b.binding.km200.internal.KM200Device] - /gateway/registrations: trying to decode: [B@4de25f6. * [binding.km200.internal.KM200Cryption] - Length of message is 11. * [binding.km200.internal.KM200Cryption] - Did NOT decrypt message * [binding.km200.internal.KM200Cryption] - Exception on encoding Logging of detailed error message. Signed-off-by: guenther.schreiner@smile.de Signed-off-by: Matt Myers <mmyers75@icloud.com>
…15070) - Fixed support for MB-LAN (=KM200, version 1.0) by avoiding query of an unsupported attribute. - BEFORE this fix: The MBLAN does not support the /gateway/registrations attribute and returns an invalid answer: * [b.binding.km200.internal.KM200Device] - /gateway/registrations: trying to query information. * [b.binding.km200.internal.KM200Device] - /gateway/registrations: trying to decode: [B@4de25f6. * [binding.km200.internal.KM200Cryption] - Length of message is 11. * [binding.km200.internal.KM200Cryption] - Did NOT decrypt message * [binding.km200.internal.KM200Cryption] - Exception on encoding Logging of detailed error message. Signed-off-by: guenther.schreiner@smile.de Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Fixed support for MB-LAN (=KM200, version 1.0) by avoiding query of an unsupported attribute.
The oldest device seems to cause some trouble for this binding as it queries the attribute /gateway/registrations, which leads to an inconsistency in the gateway answers. This prevents the binding to move forward into the initialized mode.
Solving the old bug report.