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

[netatmo] Add the ability to append a postfix to registered webhook #14140

Merged
merged 1 commit into from
Jan 2, 2023

Conversation

clinique
Copy link
Contributor

@clinique clinique commented Jan 2, 2023

Pushing PR #14123 to OH4

The problem was registering a webhook like https://mydomain:443/netatmo/webhook/5xxxxxddddggggg47d3 was really difficult to address behind a reverse proxy relaying the payload (one day of effort tuning nginx without success). With this extra parameter it's easy to register https://mydomain:443/netatmo/webhook/5xxxxxddddggggg47d3/ or https://mydomain:443/netatmo/webhook/5xxxxxddddggggg47d3/webhook.php

Signed-off-by: clinique gael@lhopital.org

Signed-off-by: clinique <gael@lhopital.org>
@clinique clinique requested a review from lolodomo as a code owner January 2, 2023 14:21
@jlaur jlaur added the enhancement An enhancement or new feature for an existing add-on label Jan 2, 2023
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

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

LGTM

@lolodomo lolodomo merged commit c7275c8 into openhab:main Jan 2, 2023
@lolodomo lolodomo added this to the 4.0 milestone Jan 2, 2023
@lolodomo
Copy link
Contributor

lolodomo commented Jan 2, 2023

As this is an enhancement and not a critical bug, we agree @clinique and @jlaur) that there is no valid reason to cherry-pick this enhancement in 3.4.x branch.

borazslo pushed a commit to borazslo/openhab-mideaac-addon that referenced this pull request Jan 8, 2023
Signed-off-by: clinique <gael@lhopital.org>
@clinique clinique deleted the netatmo_webhook_v4 branch February 20, 2023 11:31
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Feb 28, 2023
Signed-off-by: clinique <gael@lhopital.org>
@jlaur jlaur changed the title [netatmo] Adding the ability to append a postfix to registered webhook. [netatmo] Add the ability to append a postfix to registered webhook Apr 11, 2023
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.

3 participants