{"id":21939498,"url":"https://github.com/asenyshyn/ds18b20","last_synced_at":"2026-05-07T07:36:18.633Z","repository":{"id":57565420,"uuid":"110034360","full_name":"asenyshyn/ds18b20","owner":"asenyshyn","description":"Read sensor data from ds18b20 for Raspberry PI","archived":false,"fork":false,"pushed_at":"2017-11-09T08:20:28.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T14:50:37.787Z","etag":null,"topics":["ds18b20","golang","raspberry-pi","temperature-sensor"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asenyshyn.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}},"created_at":"2017-11-08T21:48:35.000Z","updated_at":"2017-11-11T23:22:07.000Z","dependencies_parsed_at":"2022-09-03T12:21:10.051Z","dependency_job_id":null,"html_url":"https://github.com/asenyshyn/ds18b20","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asenyshyn%2Fds18b20","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asenyshyn%2Fds18b20/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asenyshyn%2Fds18b20/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asenyshyn%2Fds18b20/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asenyshyn","download_url":"https://codeload.github.com/asenyshyn/ds18b20/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244973776,"owners_count":20541025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ds18b20","golang","raspberry-pi","temperature-sensor"],"created_at":"2024-11-29T02:25:56.401Z","updated_at":"2026-05-07T07:36:18.603Z","avatar_url":"https://github.com/asenyshyn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ds18b20\nRead sensor data from ds18b20 for Raspberry PI\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"sync\"\n\t\"time\"\n\n\t\"github.com/asenyshyn/ds18b20\"\n)\n\nfunc main() {\n\tsensors, err := ds18b20.Sensors()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tvar wg sync.WaitGroup\n\n\tfor {\n\t\twg.Add(len(sensors))\n\t\tfor _, s := range sensors {\n\t\t\tgo func(s ds18b20.Sensor) {\n\t\t\t\tt, err := s.Reading()\n\t\t\t\tif err != nil {\n\t\t\t\t\tlog.Fatal(err)\n\t\t\t\t}\n\t\t\t\tlog.Println(s.ID, t.Value)\n\t\t\t\twg.Done()\n\t\t\t}(s)\n\t\t}\n\t\twg.Wait()\n\t\ttime.Sleep(time.Second * 5)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasenyshyn%2Fds18b20","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasenyshyn%2Fds18b20","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasenyshyn%2Fds18b20/lists"}