Add more docs to Withings webhook log #158748
Conversation
|
Hey there @joostlek, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
ed4c074 to
10b7ffb
Compare
|
I forgot to check the bugfix box when creating this PR. Could a maintainer please add the bugfix label? |
The in bed sleep sensor does not fall back to polling, it's webhooks or nothing. |
|
My body scale is working without the webhooks. Should we bifricate the log message to only complain for certain devices? |
|
Hmm, I kinda think it requires user attention. This would be the only way to find out that it's not correct, so I don't really want to hide it behind it a different log level |
Ok, do you have any ideas of how to make this more actionable? In my case, I have no idea what I need to do. Is there some config wrong in my withings app? Does my home assistant need some more ports forwarded to it? Does my HA need HTTPS for its main :8123 access? |
|
I guess we could do instead with better docs and a link to the docs here. In this case you need to have a HTTPS endpoint, on port 443 (so not HTTPS on a different port) |
c4ba728 to
7aba9f0
Compare
7aba9f0 to
a74061f
Compare
|
I mean more like, first update the docs, I believe there would be a section about webhooks, and if there is not we can create one |
Document that webhooks require HTTPS specifically on port 443, not just any HTTPS port. This addresses a common configuration issue where users have HTTPS but on a non-standard port (e.g., 8443). Also documents that sleep sensors require working webhooks and have no polling fallback, helping users understand why these sensors may be missing. Ref: home-assistant/core#158748
Document that webhooks require HTTPS specifically on port 443, not just any HTTPS port. This addresses a common configuration issue where users have HTTPS but on a non-standard port (e.g., 8443). Also documents that sleep sensors require working webhooks and have no polling fallback, helping users understand why these sensors may be missing. Ref: home-assistant/core#158748
Document that webhooks require HTTPS specifically on port 443, not just any HTTPS port. This addresses a common configuration issue where users have HTTPS but on a non-standard port (e.g., 8443). Also documents that sleep sensors require working webhooks and have no polling fallback, helping users understand why these sensors may be missing. Ref: home-assistant/core#158748
Document that webhooks require HTTPS specifically on port 443, not just any HTTPS port. This addresses a common configuration issue where users have HTTPS but on a non-standard port (e.g., 8443). Also documents that sleep sensors require working webhooks and have no polling fallback, helping users understand why these sensors may be missing. Ref: home-assistant/core#158748
|
Added to the docs here: #158748 |
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Split the webhook registration error into two specific messages: - One for missing HTTPS - One for wrong port (not 443) This helps users understand exactly what needs to be fixed. Both messages include a link to the integration documentation.
a74061f to
572b1ff
Compare
It is unclear currently in the logs what to do. Hopefully this helps others.
Breaking change
Proposed change
Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: