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

[intesis] Fix blocking calls in initialize/dispose #16620

Merged
merged 4 commits into from
Apr 6, 2024
Merged

Commits on Apr 6, 2024

  1. [intesis] Session Handling improved

    I have changed the login process so that the binding now only logs in at the beginning and logs out at the end of the lifetime. If a request fails due to a missing login or an invalid session ID, a new login attempt is made.
    
    This ensures that
    - Several requests can be sent in direct succession (if I switch the air conditioning from cooling to heating, I also want to change the slats at the same time)
    - Less traffic is generated as there is not a constant logout and login again
    - Ideally, the login credentials should only be visible once at startup
    
    This change fixes openhab#15502.
    
    Signed-off-by: Christoph <fd0cwp@gmx.de>
    fd0cwp committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    6e6f66b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from fd0cwp/main.intesis

    [intesis] Session Handling improved
    fd0cwp committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    1333cd3 View commit details
    Browse the repository at this point in the history
  3. Duplicated Login Call removed

    Signed-off-by: Christoph <fd0cwp@gmx.de>
    fd0cwp committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    0033da3 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #3 from fd0cwp/main.intesis

    [intesis] Session Handling improved
    fd0cwp committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    469b773 View commit details
    Browse the repository at this point in the history