René's URL Explorer Experiment


Title: wifi: stats rarely sampled on busy boxes; configured report_period ignored · Issue #352 · jangala-dev/devicecode-lua · GitHub

Open Graph Title: wifi: stats rarely sampled on busy boxes; configured report_period ignored · Issue #352 · jangala-dev/devicecode-lua

X Title: wifi: stats rarely sampled on busy boxes; configured report_period ignored · Issue #352 · jangala-dev/devicecode-lua

Description: Summary On busy boxes, per-client and radio Wi-Fi stats are rarely sampled. On Samos (BB7ZJW5MWK2TFJ, v0.11.2), hours with 40–62 connected devices show 0 clients. Separately, the configured 10 s report_period is ignored, so radios report...

Open Graph Description: Summary On busy boxes, per-client and radio Wi-Fi stats are rarely sampled. On Samos (BB7ZJW5MWK2TFJ, v0.11.2), hours with 40–62 connected devices show 0 clients. Separately, the configured 10 s re...

X Description: Summary On busy boxes, per-client and radio Wi-Fi stats are rarely sampled. On Samos (BB7ZJW5MWK2TFJ, v0.11.2), hours with 40–62 connected devices show 0 clients. Separately, the configured 10 s re...

Opengraph URL: https://github.com/jangala-dev/devicecode-lua/issues/352

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"wifi: stats rarely sampled on busy boxes; configured report_period ignored","articleBody":"## Summary\n\nOn busy boxes, per-client and radio Wi-Fi stats are rarely sampled. On Samos (BB7ZJW5MWK2TFJ, v0.11.2), hours with 40–62 connected devices show 0 clients. Separately, the configured 10 s `report_period` is ignored, so radios report every 60 s.\n\n## Cause\n\n- **Timer restarts:** the stats loop rebuilds `sleep.sleep_op(report_period)` on every iteration ([radio.lua#L492-L499](https://github.com/jangala-dev/devicecode-lua/blob/a9691b9e2e6d43bf8631b0ab08bdbbe14fa6674b/src/services/hal/drivers/radio.lua#L492-L499)). Every client join or leave therefore restarts the timer, and with steady client churn the tick rarely fires. v0.10.6 slept to an absolute deadline ([wireless.lua#L609](https://github.com/jangala-dev/devicecode-lua/blob/v0.10.6/src/services/hal/drivers/wireless.lua#L609)).\n- **`report_period` ignored:** `wifi.lua` reads `radio_cfg.report_period or 60` ([wifi.lua#L355](https://github.com/jangala-dev/devicecode-lua/blob/a9691b9e2e6d43bf8631b0ab08bdbbe14fa6674b/src/services/wifi.lua#L355)). `bigbox-v1-cm.json` sets `report_period: 10` at the `wifi.data` level, not per radio.\n\n## Fix\n\n- Keep an absolute next-report deadline and use `sleep_until_op`.\n- Fall back to the service-level `report_period` when a radio doesn't set one.\n","author":{"url":"https://github.com/cpunt","@type":"Person","name":"cpunt"},"datePublished":"2026-10-29T15:03:57Z","url":"https://github.com/jangala-dev/devicecode-lua/issues/352"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cfb27a5d-e429-91e6-0ac6-2092f53b51a7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB5A8:2F2403:136929:1ADDD2:6AF89F66
html-safe-nonce875a25932a29f4eae3de74577c4dad237b84a7ca108bca423b65b8a2a272cc07
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUE4OjJGMjQwMzoxMzY5Mjk6MUFEREQyOjZBRjg5RjY2IiwidmlzaXRvcl9pZCI6Ijg0MTY3MDE1NjA1NTA5OTkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac995c7eef1234333f1b36104a946f959adbb246fbd0861a442c21ec829e1e95b4
hovercard-subject-tagissue:6102498767
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/jangala-dev/devicecode-lua/352/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d03faeec1bd2deded1cf76fd5f670ff867f9390cf7401aaae3609ab82df0117e/jangala-dev/devicecode-lua/issues/352
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d03faeec1bd2deded1cf76fd5f670ff867f9390cf7401aaae3609ab82df0117e/jangala-dev/devicecode-lua/issues/352
og:image:altSummary On busy boxes, per-client and radio Wi-Fi stats are rarely sampled. On Samos (BB7ZJW5MWK2TFJ, v0.11.2), hours with 40–62 connected devices show 0 clients. Separately, the configured 10 s re...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecpunt
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
go-importgithub.com/jangala-dev/devicecode-lua git https://github.com/jangala-dev/devicecode-lua.git
octolytics-dimension-user_id44901909
octolytics-dimension-user_loginjangala-dev
octolytics-dimension-repository_id814022112
octolytics-dimension-repository_nwojangala-dev/devicecode-lua
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id814022112
octolytics-dimension-repository_network_root_nwojangala-dev/devicecode-lua
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/jangala-dev/devicecode-lua/issues/352#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjangala-dev%2Fdevicecode-lua%2Fissues%2F352
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjangala-dev%2Fdevicecode-lua%2Fissues%2F352
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=jangala-dev%2Fdevicecode-lua
Reloadhttps://github.com/jangala-dev/devicecode-lua/issues/352
Reloadhttps://github.com/jangala-dev/devicecode-lua/issues/352
Reloadhttps://github.com/jangala-dev/devicecode-lua/issues/352
jangala-devhttps://github.com/jangala-dev
devicecode-luahttps://github.com/jangala-dev/devicecode-lua
Codehttps://github.com/jangala-dev/devicecode-lua
Issues23 (23)https://github.com/jangala-dev/devicecode-lua/issues
Pull requests2 (2)https://github.com/jangala-dev/devicecode-lua/pulls
Discussionshttps://github.com/jangala-dev/devicecode-lua/discussions
Actionshttps://github.com/jangala-dev/devicecode-lua/actions
Projectshttps://github.com/jangala-dev/devicecode-lua/projects
Security and qualityhttps://github.com/jangala-dev/devicecode-lua/security
Insightshttps://github.com/jangala-dev/devicecode-lua/pulse
https://github.com/jangala-dev/devicecode-lua
New issuehttps://github.com/login?return_to=https://github.com/jangala-dev/devicecode-lua/issues/352
New issuehttps://github.com/login?return_to=https://github.com/jangala-dev/devicecode-lua/issues/352
wifi: stats rarely sampled on busy boxes; configured report_period ignoredhttps://github.com/jangala-dev/devicecode-lua/issues/352#top
bugSomething isn't workinghttps://github.com/jangala-dev/devicecode-lua/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/cpunt
cpunthttps://github.com/cpunt
on Oct 29, 2026https://github.com/jangala-dev/devicecode-lua/issues/352#issue-6102498767
radio.lua#L492-L499https://github.com/jangala-dev/devicecode-lua/blob/a9691b9e2e6d43bf8631b0ab08bdbbe14fa6674b/src/services/hal/drivers/radio.lua#L492-L499
wireless.lua#L609https://github.com/jangala-dev/devicecode-lua/blob/v0.10.6/src/services/hal/drivers/wireless.lua#L609
wifi.lua#L355https://github.com/jangala-dev/devicecode-lua/blob/a9691b9e2e6d43bf8631b0ab08bdbbe14fa6674b/src/services/wifi.lua#L355
cpunthttps://github.com/cpunt
bugSomething isn't workinghttps://github.com/jangala-dev/devicecode-lua/issues?q=state%3Aopen%20label%3A%22bug%22
on Oct 29, 2026https://github.com/jangala-dev/devicecode-lua/issues/352#event-34599735236
https://github.com/cpunt
cpunthttps://github.com/cpunt
on Nov 2, 2026https://github.com/jangala-dev/devicecode-lua/issues/352#issuecomment-6581682475
#359https://github.com/jangala-dev/devicecode-lua/pull/359
cpunthttps://github.com/cpunt
on Nov 4, 2026https://github.com/jangala-dev/devicecode-lua/issues/352#event-35120204969
wifi: restore session telemetry and fix client stats sampling (#359)https://github.com/jangala-dev/devicecode-lua/commit/b181438f0c7cb45303a86959f6bd74cfbc755143
#359https://github.com/jangala-dev/devicecode-lua/pull/359
b181438https://github.com/jangala-dev/devicecode-lua/commit/b181438f0c7cb45303a86959f6bd74cfbc755143
https://github.com/cpunt
cpunthttps://github.com/cpunt
on Nov 9, 2026https://github.com/jangala-dev/devicecode-lua/issues/352#issuecomment-6746447615
#359https://github.com/jangala-dev/devicecode-lua/pull/359
cpunthttps://github.com/cpunt
completedhttps://github.com/jangala-dev/devicecode-lua/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 9, 2026https://github.com/jangala-dev/devicecode-lua/issues/352#event-35594143858
cpunthttps://github.com/cpunt
on Nov 9, 2026https://github.com/jangala-dev/devicecode-lua/issues/352#event-35594994575
lua: standardize indentation on tabs (#321)https://github.com/jangala-dev/devicecode-lua/commit/eca1eb88d78b7cc10f5f78a4dc3c5cbb0c8114b1
#321https://github.com/jangala-dev/devicecode-lua/pull/321
eca1eb8https://github.com/jangala-dev/devicecode-lua/commit/eca1eb88d78b7cc10f5f78a4dc3c5cbb0c8114b1
Sign up for freehttps://github.com/signup?return_to=https://github.com/jangala-dev/devicecode-lua/issues/352
Sign in to commenthttps://github.com/login?return_to=https://github.com/jangala-dev/devicecode-lua/issues/352
bugSomething isn't workinghttps://github.com/jangala-dev/devicecode-lua/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.