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

[boschshc] Release v1.1 #10097

Merged
merged 13 commits into from
Feb 13, 2021
Merged

[boschshc] Release v1.1 #10097

merged 13 commits into from
Feb 13, 2021

Commits on Feb 7, 2021

  1. #72 changed use units of measure for the twinguard humidity and purit…

    …y values
    
    all other QuantityTypes in bindingcode are fine
    
    Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
    GerdZanker authored and coeing committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    e72d8ee View commit details
    Browse the repository at this point in the history
  2. #77 changed title of binding to Bosch Smart Home

    Replaced the SHC occurrences with Smart Home,
    to avoid technical names.
    
    Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
    GerdZanker authored and coeing committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    38c0e44 View commit details
    Browse the repository at this point in the history
  3. #62 Try to restart long polling when it fails before taking the thing…

    … offline
    
    Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
    coeing committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    b2b2f36 View commit details
    Browse the repository at this point in the history
  4. #62 Run subscribe request on a new thread instead of using the thread…

    … of the previous long polling http request
    
    This might be the reason why the subscribe request does never finish or finishes with a timeout
    
    Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
    coeing committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    a5c1ebd View commit details
    Browse the repository at this point in the history
  5. #74 Run the whole long polling response handling in a new thread to n…

    …ot get timeout from HTTP client
    
    Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
    coeing committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    5389998 View commit details
    Browse the repository at this point in the history
  6. #74 Schedule initial access when long polling fails unexpected

    We need to try to reconnect again and again (with 15 seconds between the requests) as the controller may have been restarted (update, manual restart,...). This is already done by the initial access, so I reuse that mechanism.
    
    Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
    coeing committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    83104e9 View commit details
    Browse the repository at this point in the history
  7. Use direct formatting of logger.trace instead of String.format

    Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
    Co-authored-by: Gerd Zanker <gerd.zanker@web.de>
    coeing and GerdZanker committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    d91b4b0 View commit details
    Browse the repository at this point in the history
  8. #76 Use i18n texts instead of raw translations for status messages ab…

    …out failed long polling
    
    Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
    coeing committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    ceafdcc View commit details
    Browse the repository at this point in the history
  9. #76 Use logger.debug instead of logger.warn for long poll error as it…

    … is handled now
    
    Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
    coeing committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    a72f1af View commit details
    Browse the repository at this point in the history
  10. #78 defined api-version

    each HTTP request will use now the defined "avp-version=2.1" for request to the smart home controller
    
    Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
    GerdZanker authored and coeing committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    ddddfaa View commit details
    Browse the repository at this point in the history
  11. logging bundle version

    removed the old static version string
    access OSGi bundle version information instead
    
    Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
    GerdZanker authored and coeing committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    275c4e5 View commit details
    Browse the repository at this point in the history
  12. #75 improved initial access

    - added isOnline check and isAccessPossible now failed in case HTTPStatus is an error
    - same HTTPStatus check done to all blocking send() request calls
    - using i18n strings for all bridge updateStatus calls
    - skipped the 'controller' and use only 'Bosch Smart Home' in descriptions
    - added more @nullable annotations
    
    Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
    GerdZanker authored and coeing committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    7954de7 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2021

  1. added newline

    Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
    GerdZanker committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    8a944df View commit details
    Browse the repository at this point in the history