{"id":20417798,"url":"https://github.com/tasinco/widgetsensor","last_synced_at":"2026-04-20T06:32:53.479Z","repository":{"id":182577077,"uuid":"476684009","full_name":"tasinco/widgetsensor","owner":"tasinco","description":"widget sensor log processor","archived":false,"fork":false,"pushed_at":"2023-07-20T17:47:11.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-05T03:46:08.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tasinco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-01T10:59:12.000Z","updated_at":"2023-07-18T19:49:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"2539b086-7f4b-4649-a612-a69735454f4d","html_url":"https://github.com/tasinco/widgetsensor","commit_stats":null,"previous_names":["tasinco/widgetsensor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tasinco/widgetsensor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tasinco%2Fwidgetsensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tasinco%2Fwidgetsensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tasinco%2Fwidgetsensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tasinco%2Fwidgetsensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tasinco","download_url":"https://codeload.github.com/tasinco/widgetsensor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tasinco%2Fwidgetsensor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32036373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T06:27:45.890Z","updated_at":"2026-04-20T06:32:53.460Z","avatar_url":"https://github.com/tasinco.png","language":"Go","readme":"# widgetsensor\nwidget sensor log processor\n\nAccepts from `stdin` the following sensor log data example:\n\n```text\nreference 70.0 45.0\nthermometer temp-1\n2007-04-05T22:00 temp-1 72.4\n2007-04-05T22:01 temp-1 76.0\nthermometer temp-2\n2007-04-05T22:01 temp-2 69.5\n2007-04-05T22:02 temp-2 70.1\nhumidity hum-1\n2007-04-05T22:04 hum-1 45.2\n2007-04-05T22:05 hum-1 45.3\nhumidity hum-2\n2007-04-05T22:04 hum-2 44.4\n2007-04-05T22:05 hum-2 43.9\n```\n\nWill produce an output for each sensor example:\n```text\ntemp-1: precise\ntemp-2: ultra precise\nhum-1: OK\nhum-2: discard\n```\n\nFor a thermometer, it is branded “ultra precise” if the mean of the readings is within 0.5 degrees of the known temperature, and the standard deviation is less than 3.\nIt is branded “very precise” if the mean is within 0.5 degrees of the room, and the standard deviation is under 5.\nOtherwise, it’s sold as “precise”.\n\nFor a humidity sensor it is discarded unless it is within 1% of the reference value for all readings.\n\n# testing\n\n`make test`\n\n# running\n\n`cat sensor.dat | go run cmd/main/main.go`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftasinco%2Fwidgetsensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftasinco%2Fwidgetsensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftasinco%2Fwidgetsensor/lists"}