Title: Link-local addresses returned without scope. · Issue #1567 · python-zeroconf/python-zeroconf · GitHub
Open Graph Title: Link-local addresses returned without scope. · Issue #1567 · python-zeroconf/python-zeroconf
X Title: Link-local addresses returned without scope. · Issue #1567 · python-zeroconf/python-zeroconf
Description: (Following on from the discussion at esphome/esphome#8536 (comment)) >>> import zeroconf >>> zc = zeroconf.Zeroconf() >>> info = zeroconf.AddressResolver("landing-blind-1.local.") >>> info.request(zc, 10000) True >>> print(info.parsed_sc...
Open Graph Description: (Following on from the discussion at esphome/esphome#8536 (comment)) >>> import zeroconf >>> zc = zeroconf.Zeroconf() >>> info = zeroconf.AddressResolver("landing-blind-1.local.") >>> info.request(...
X Description: (Following on from the discussion at esphome/esphome#8536 (comment)) >>> import zeroconf >>> zc = zeroconf.Zeroconf() >>> info = zeroconf.AddressResolver("landing-bl...
Opengraph URL: https://github.com/python-zeroconf/python-zeroconf/issues/1567
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Link-local addresses returned without scope.","articleBody":"(Following on from the discussion at https://github.com/esphome/esphome/pull/8536#discussion_r2046174930)\n\n```\n\u003e\u003e\u003e import zeroconf\n\u003e\u003e\u003e zc = zeroconf.Zeroconf()\n\u003e\u003e\u003e info = zeroconf.AddressResolver(\"landing-blind-1.local.\")\n\u003e\u003e\u003e info.request(zc, 10000)\nTrue\n\u003e\u003e\u003e print(info.parsed_scoped_addresses())\n['172.31.31.173', '2001:8b0:10b:5:f2f5:bdff:fe5f:556c', 'fe80::f2f5:bdff:fe4f:556c']\n\u003e\u003e\u003e \n```\nBut [parsed_scoped_addresses](https://python-zeroconf.readthedocs.io/en/latest/api.html#zeroconf.ServiceInfo.parsed_scoped_addresses) is explicitly documented to return properly scoped link-local addresses \"qualified with %\u003cinterface_index\u003e when available\".\n\nzeroconf 0.146.3 on Ubuntu 24.04.","author":{"url":"https://github.com/dwmw2","@type":"Person","name":"dwmw2"},"datePublished":"2025-04-16T07:58:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1567/python-zeroconf/issues/1567"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:925a5c27-3acd-b0f1-213a-916ac14bc692 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF98:3B2C63:2CDCE77:3DA836C:6972B2A5 |
| html-safe-nonce | f688c2eba4b5913cd2c89fa59bec011f5a28756e942c42a2f1e5047f5640bc24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjk4OjNCMkM2MzoyQ0RDRTc3OjNEQTgzNkM6Njk3MkIyQTUiLCJ2aXNpdG9yX2lkIjoiNzU4ODYxMjkzNTA5ODQ5NzY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 179b14f88b5fcd7a980bd993684ffd710f4cfb96cc2aba1c35a7e7d0107f49c7 |
| hovercard-subject-tag | issue:2998807816 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-zeroconf/python-zeroconf/1567/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d13afa2e501c51419ceda8b72c1e9bf12f943deeffd4bc9ef5856fddc955e60e/python-zeroconf/python-zeroconf/issues/1567 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d13afa2e501c51419ceda8b72c1e9bf12f943deeffd4bc9ef5856fddc955e60e/python-zeroconf/python-zeroconf/issues/1567 |
| og:image:alt | (Following on from the discussion at esphome/esphome#8536 (comment)) >>> import zeroconf >>> zc = zeroconf.Zeroconf() >>> info = zeroconf.AddressResolver("landing-blind-1.local.") >>> info.request(... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dwmw2 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 51c0d0848f5569c6fa2198e9d69bd5f8f94a83c9fa3659e40728e7732afab130 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-zeroconf/python-zeroconf git https://github.com/python-zeroconf/python-zeroconf.git |
| octolytics-dimension-user_id | 120192235 |
| octolytics-dimension-user_login | python-zeroconf |
| octolytics-dimension-repository_id | 21548731 |
| octolytics-dimension-repository_nwo | python-zeroconf/python-zeroconf |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21548731 |
| octolytics-dimension-repository_network_root_nwo | python-zeroconf/python-zeroconf |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10c5e2f2307495b2750073db87e9a5d3356a924f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width