-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[miele] Improve performance and reliability #11422
Labels
enhancement
An enhancement or new feature for an existing add-on
Comments
jlaur
added a commit
to jlaur/openhab-addons
that referenced
this issue
Oct 23, 2021
… of relying on property. Fixes openhab#11422 Signed-off-by: Jacob Laursen <[email protected]>
kaikreuzer
pushed a commit
that referenced
this issue
Nov 1, 2021
…11423) * Use appliance cache for getting full UID with protocol prefix instead of relying on property. * Set bare protocol name as property. * Fix potential null pointer access warnings. * Remove unused import. * Renamed property protocol to protocolAdapter for correctness. * Add connectionType property. * Add appliance model property. * Remove useless properties brandId and companyId always having value MI. * Rename property dc to deviceClass and set it consistently (not only from auto-discovered things). * Added constants for remaining handlers with hardcoded device classes. * Fix SCA: AuthorContributionDescriptionCheck * Fix SCA: ModifierOrderCheck * Rename ExtendedDeviceStateUtil to be a bit more generic. * Extract device class string parsing to utility method. * Fix SCA: ForbiddenPackageUsageCheck * Fix redundant null check. * Fix potential null pointer access warnings. * Fix unsafe null type conversion (type annotations) * Share same configuration (UID) for all appliance types. * Refer to gateway instead of ZigBee network in configuration. * Remove dependency to seriaNumber property for multicast channel updates. * Simplified filtering of irrelevant device class. * Remove devices from remoteUid cache also when disappearing from gateway, although this is a quite rare scenario. * Add default i18n properties file. * Add partial Danish translation. Fixes #11422 Signed-off-by: Jacob Laursen <[email protected]>
dschoepel
pushed a commit
to dschoepel/openhab-addons
that referenced
this issue
Nov 9, 2021
…penhab#11423) * Use appliance cache for getting full UID with protocol prefix instead of relying on property. * Set bare protocol name as property. * Fix potential null pointer access warnings. * Remove unused import. * Renamed property protocol to protocolAdapter for correctness. * Add connectionType property. * Add appliance model property. * Remove useless properties brandId and companyId always having value MI. * Rename property dc to deviceClass and set it consistently (not only from auto-discovered things). * Added constants for remaining handlers with hardcoded device classes. * Fix SCA: AuthorContributionDescriptionCheck * Fix SCA: ModifierOrderCheck * Rename ExtendedDeviceStateUtil to be a bit more generic. * Extract device class string parsing to utility method. * Fix SCA: ForbiddenPackageUsageCheck * Fix redundant null check. * Fix potential null pointer access warnings. * Fix unsafe null type conversion (type annotations) * Share same configuration (UID) for all appliance types. * Refer to gateway instead of ZigBee network in configuration. * Remove dependency to seriaNumber property for multicast channel updates. * Simplified filtering of irrelevant device class. * Remove devices from remoteUid cache also when disappearing from gateway, although this is a quite rare scenario. * Add default i18n properties file. * Add partial Danish translation. Fixes openhab#11422 Signed-off-by: Jacob Laursen <[email protected]> Signed-off-by: Dave J Schoepel <[email protected]>
jpg0
pushed a commit
to jpg0/openhab-addons
that referenced
this issue
Nov 10, 2021
…penhab#11423) * Use appliance cache for getting full UID with protocol prefix instead of relying on property. * Set bare protocol name as property. * Fix potential null pointer access warnings. * Remove unused import. * Renamed property protocol to protocolAdapter for correctness. * Add connectionType property. * Add appliance model property. * Remove useless properties brandId and companyId always having value MI. * Rename property dc to deviceClass and set it consistently (not only from auto-discovered things). * Added constants for remaining handlers with hardcoded device classes. * Fix SCA: AuthorContributionDescriptionCheck * Fix SCA: ModifierOrderCheck * Rename ExtendedDeviceStateUtil to be a bit more generic. * Extract device class string parsing to utility method. * Fix SCA: ForbiddenPackageUsageCheck * Fix redundant null check. * Fix potential null pointer access warnings. * Fix unsafe null type conversion (type annotations) * Share same configuration (UID) for all appliance types. * Refer to gateway instead of ZigBee network in configuration. * Remove dependency to seriaNumber property for multicast channel updates. * Simplified filtering of irrelevant device class. * Remove devices from remoteUid cache also when disappearing from gateway, although this is a quite rare scenario. * Add default i18n properties file. * Add partial Danish translation. Fixes openhab#11422 Signed-off-by: Jacob Laursen <[email protected]>
NickWaterton
pushed a commit
to NickWaterton/openhab-addons
that referenced
this issue
Dec 30, 2021
…penhab#11423) * Use appliance cache for getting full UID with protocol prefix instead of relying on property. * Set bare protocol name as property. * Fix potential null pointer access warnings. * Remove unused import. * Renamed property protocol to protocolAdapter for correctness. * Add connectionType property. * Add appliance model property. * Remove useless properties brandId and companyId always having value MI. * Rename property dc to deviceClass and set it consistently (not only from auto-discovered things). * Added constants for remaining handlers with hardcoded device classes. * Fix SCA: AuthorContributionDescriptionCheck * Fix SCA: ModifierOrderCheck * Rename ExtendedDeviceStateUtil to be a bit more generic. * Extract device class string parsing to utility method. * Fix SCA: ForbiddenPackageUsageCheck * Fix redundant null check. * Fix potential null pointer access warnings. * Fix unsafe null type conversion (type annotations) * Share same configuration (UID) for all appliance types. * Refer to gateway instead of ZigBee network in configuration. * Remove dependency to seriaNumber property for multicast channel updates. * Simplified filtering of irrelevant device class. * Remove devices from remoteUid cache also when disappearing from gateway, although this is a quite rare scenario. * Add default i18n properties file. * Add partial Danish translation. Fixes openhab#11422 Signed-off-by: Jacob Laursen <[email protected]> Signed-off-by: Nick Waterton <[email protected]>
nemerdaud
pushed a commit
to nemerdaud/openhab-addons
that referenced
this issue
Jan 28, 2022
…penhab#11423) * Use appliance cache for getting full UID with protocol prefix instead of relying on property. * Set bare protocol name as property. * Fix potential null pointer access warnings. * Remove unused import. * Renamed property protocol to protocolAdapter for correctness. * Add connectionType property. * Add appliance model property. * Remove useless properties brandId and companyId always having value MI. * Rename property dc to deviceClass and set it consistently (not only from auto-discovered things). * Added constants for remaining handlers with hardcoded device classes. * Fix SCA: AuthorContributionDescriptionCheck * Fix SCA: ModifierOrderCheck * Rename ExtendedDeviceStateUtil to be a bit more generic. * Extract device class string parsing to utility method. * Fix SCA: ForbiddenPackageUsageCheck * Fix redundant null check. * Fix potential null pointer access warnings. * Fix unsafe null type conversion (type annotations) * Share same configuration (UID) for all appliance types. * Refer to gateway instead of ZigBee network in configuration. * Remove dependency to seriaNumber property for multicast channel updates. * Simplified filtering of irrelevant device class. * Remove devices from remoteUid cache also when disappearing from gateway, although this is a quite rare scenario. * Add default i18n properties file. * Add partial Danish translation. Fixes openhab#11422 Signed-off-by: Jacob Laursen <[email protected]>
marcfischerboschio
pushed a commit
to bosch-io/openhab-addons
that referenced
this issue
May 5, 2022
…penhab#11423) * Use appliance cache for getting full UID with protocol prefix instead of relying on property. * Set bare protocol name as property. * Fix potential null pointer access warnings. * Remove unused import. * Renamed property protocol to protocolAdapter for correctness. * Add connectionType property. * Add appliance model property. * Remove useless properties brandId and companyId always having value MI. * Rename property dc to deviceClass and set it consistently (not only from auto-discovered things). * Added constants for remaining handlers with hardcoded device classes. * Fix SCA: AuthorContributionDescriptionCheck * Fix SCA: ModifierOrderCheck * Rename ExtendedDeviceStateUtil to be a bit more generic. * Extract device class string parsing to utility method. * Fix SCA: ForbiddenPackageUsageCheck * Fix redundant null check. * Fix potential null pointer access warnings. * Fix unsafe null type conversion (type annotations) * Share same configuration (UID) for all appliance types. * Refer to gateway instead of ZigBee network in configuration. * Remove dependency to seriaNumber property for multicast channel updates. * Simplified filtering of irrelevant device class. * Remove devices from remoteUid cache also when disappearing from gateway, although this is a quite rare scenario. * Add default i18n properties file. * Add partial Danish translation. Fixes openhab#11422 Signed-off-by: Jacob Laursen <[email protected]>
andan67
pushed a commit
to andan67/openhab-addons
that referenced
this issue
Nov 6, 2022
…penhab#11423) * Use appliance cache for getting full UID with protocol prefix instead of relying on property. * Set bare protocol name as property. * Fix potential null pointer access warnings. * Remove unused import. * Renamed property protocol to protocolAdapter for correctness. * Add connectionType property. * Add appliance model property. * Remove useless properties brandId and companyId always having value MI. * Rename property dc to deviceClass and set it consistently (not only from auto-discovered things). * Added constants for remaining handlers with hardcoded device classes. * Fix SCA: AuthorContributionDescriptionCheck * Fix SCA: ModifierOrderCheck * Rename ExtendedDeviceStateUtil to be a bit more generic. * Extract device class string parsing to utility method. * Fix SCA: ForbiddenPackageUsageCheck * Fix redundant null check. * Fix potential null pointer access warnings. * Fix unsafe null type conversion (type annotations) * Share same configuration (UID) for all appliance types. * Refer to gateway instead of ZigBee network in configuration. * Remove dependency to seriaNumber property for multicast channel updates. * Simplified filtering of irrelevant device class. * Remove devices from remoteUid cache also when disappearing from gateway, although this is a quite rare scenario. * Add default i18n properties file. * Add partial Danish translation. Fixes openhab#11422 Signed-off-by: Jacob Laursen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After getting acquainted with the Miele binding and fixing some ZigBee/Wi-Fi issues, I would like to take next steps and improve reliability and performance.
#11244 introduced a dependency to the protocol property for correctly handling both ZigBee and Wi-Fi appliances. This has two drawbacks:
Furthermore, some data structures could be replaced for better performance.
Previous related work:
The text was updated successfully, but these errors were encountered: