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] Session Handling improved #3

Merged
merged 1 commit into from
Apr 6, 2024
Merged

[intesis] Session Handling improved #3

merged 1 commit into from
Apr 6, 2024

Conversation

fd0cwp
Copy link
Owner

@fd0cwp fd0cwp commented Apr 6, 2024

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

Signed-off-by: Christoph <fd0cwp@gmx.de>
@fd0cwp fd0cwp merged commit 469b773 into main Apr 6, 2024
@fd0cwp fd0cwp deleted the main.intesis branch April 8, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant