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

[homematic] Add Authentication #16196

Merged
merged 3 commits into from Feb 19, 2024
Merged

Conversation

EvilPingu
Copy link
Contributor

Description

This PR enable authorization (resolves #8625 ) when accessing Homematic Server (like CCU). I've added three new binding configuration values to enable this. Now it's possible to disable unauthorized accesses to the CCU. I added some documentation which is relevant for testing.

Testing

I tested the new feature with raspberrymatic and OH running in a K8s environment. I thinks it's necessary to test it with other settings.

@EvilPingu EvilPingu added the enhancement An enhancement or new feature for an existing add-on label Jan 3, 2024
Signed-off-by: Christian Kittel <ckittel@gmx.de>
@EvilPingu EvilPingu marked this pull request as ready for review January 3, 2024 17:01
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/authentication-for-api-access-to-ccu/152635/1

Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments, nothing big. Thanks.,

Signed-off-by: Christian Kittel <ckittel@gmx.de>
@EvilPingu
Copy link
Contributor Author

Left some comments, nothing big. Thanks.,

Thanks for your remarks. Changed the error handling a little bit

@EvilPingu EvilPingu requested a review from lsiepel January 7, 2024 16:28
@EvilPingu EvilPingu force-pushed the Feature/8625_HM_Auth branch 2 times, most recently from 5314c18 to bdd75ac Compare January 7, 2024 16:41
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My last comments, would be nice if @gerrieg can also have a look as codeowner.

@EvilPingu EvilPingu force-pushed the Feature/8625_HM_Auth branch 2 times, most recently from 324cdc3 to 6af7885 Compare January 21, 2024 15:15
…eption

Signed-off-by: Christian Kittel <ckittel@gmx.de>
@EvilPingu
Copy link
Contributor Author

My last comments, would be nice if @gerrieg can also have a look as codeowner.

all done

Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, ping @gerrieg.

@lsiepel lsiepel merged commit 9125dec into openhab:main Feb 19, 2024
3 checks passed
@lsiepel lsiepel added this to the 4.2 milestone Feb 19, 2024
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
* Add Authentication

---------

Signed-off-by: Christian Kittel <ckittel@gmx.de>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[homematic] CCU2 with Authentication
3 participants