{"id":42736799,"url":"https://github.com/tannerryan/davisweather","last_synced_at":"2026-01-29T18:16:57.680Z","repository":{"id":57530455,"uuid":"272309951","full_name":"tannerryan/davisweather","owner":"tannerryan","description":"Real time consumption of weather data from Davis WeatherLink Live.","archived":false,"fork":false,"pushed_at":"2023-01-16T17:22:07.000Z","size":1520,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T15:57:16.391Z","etag":null,"topics":["go","golang","weather","weather-station"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tannerryan.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":"2020-06-15T00:52:25.000Z","updated_at":"2023-01-16T17:15:52.000Z","dependencies_parsed_at":"2023-02-10T05:15:43.726Z","dependency_job_id":null,"html_url":"https://github.com/tannerryan/davisweather","commit_stats":null,"previous_names":["thetannerryan/davisweather"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tannerryan/davisweather","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tannerryan%2Fdavisweather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tannerryan%2Fdavisweather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tannerryan%2Fdavisweather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tannerryan%2Fdavisweather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tannerryan","download_url":"https://codeload.github.com/tannerryan/davisweather/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tannerryan%2Fdavisweather/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28882062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T16:41:59.663Z","status":"ssl_error","status_checked_at":"2026-01-29T16:39:39.641Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","golang","weather","weather-station"],"created_at":"2026-01-29T18:16:56.936Z","updated_at":"2026-01-29T18:16:57.668Z","avatar_url":"https://github.com/tannerryan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# davisweather\n[![Build\nStatus](https://img.shields.io/travis/tannerryan/davisweather.svg?style=flat-square)](https://travis-ci.org/tannerryan/davisweather)\n[![Go Report\nCard](https://goreportcard.com/badge/github.com/tannerryan/davisweather?style=flat-square)](https://goreportcard.com/report/github.com/tannerryan/davisweather)\n[![GoDoc](https://img.shields.io/badge/godoc-reference-5673AF.svg?style=flat-square)](https://pkg.go.dev/github.com/tannerryan/davisweather)\n[![GitHub\nlicense](https://img.shields.io/github/license/tannerryan/davisweather.svg?style=flat-square)](https://github.com/tannerryan/davisweather/blob/master/LICENSE)\n\nReal time consumption of weather data from [Davis WeatherLink\nLive](https://www.davisinstruments.com/weatherlinklive/). \n\n\n## Table of Contents\n- [About](#about)\n- [Usage](#usage)\n    - [Managed Client](#managed-client)\n    - [Unmanaged Client](#unmanaged-client)\n- [License](#license)\n\n\n## About\ndavisweather is used to consume from a WeatherLink Live (WLL) unit located on a\nnetwork. It takes advantage of Davis' live transmission protocol, allowing for\nupdates every 2.5 seconds.\n\n\n## Usage\nA managed and unmanaged client is available. The managed client automatically\ndiscovers the WLL unit on a local network using mDNS. The unmanaged client is\nused on networks that block mDNS.\n\nAn example client may be found in the [example](example/main.go) directory.\n\n### Managed Client\nHere is an example of using the managed client with verbose logging disabled.\n```go\nfunc main() {\n    ctx := context.Background()\n    client := davisweather.Managed(ctx, false)\n\n    for {\n        \u003c-client.Notify\n        report, err := client.Report()\n        if err != nil {\n            panic(err)\n        }\n        log.Println(*report.Temperature)\n    }\n}\n```\n\n### Unmanaged Client\nHere is an example of using the unmanaged client with verbose logging enabled.\n```go\nfunc main() {\n    ctx := context.Background()\n    client := davisweather.Unmanaged(ctx, false, \"10.0.0.2\", 80)\n\n    for {\n        \u003c-client.Notify\n        report, err := client.Report()\n        if err != nil {\n            panic(err)\n        }\n        log.Println(*report.Temperature)\n    }\n}\n```\n\n### Client Shutdown\nTo shutdown the client, send a Done signal on the context provided to the\nclient.\n\n\n## License\nCopyright (c) 2020 Tanner Ryan. All rights reserved. Use of this source code is\ngoverned by a BSD-style license that can be found in the LICENSE file.\n\nThe ZeroConf package is distributed under an MIT license. Copyright (c) 2016\nStefan Smarzly, Copyright (c) 2014 Oleksandr Lobunets. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftannerryan%2Fdavisweather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftannerryan%2Fdavisweather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftannerryan%2Fdavisweather/lists"}