{"id":15995803,"url":"https://github.com/lukasberbuer/weatherlink-live-local-python","last_synced_at":"2025-05-07T03:45:52.275Z","repository":{"id":41179168,"uuid":"323762858","full_name":"lukasberbuer/weatherlink-live-local-python","owner":"lukasberbuer","description":"Read current weather data from Davis® WeatherLink Live units + connected sensors","archived":false,"fork":false,"pushed_at":"2025-02-06T08:31:09.000Z","size":125,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T03:45:33.394Z","etag":null,"topics":["davis","python","weatherlink","weatherstation"],"latest_commit_sha":null,"homepage":"https://weatherlink-live-local-python.rtfd.io","language":"Python","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/lukasberbuer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2020-12-23T00:25:18.000Z","updated_at":"2025-03-30T14:45:16.000Z","dependencies_parsed_at":"2024-11-09T08:02:43.014Z","dependency_job_id":"7a326f50-7921-4319-97a9-feabf50cb6ec","html_url":"https://github.com/lukasberbuer/weatherlink-live-local-python","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":0.08333333333333337,"last_synced_commit":"9d2d9584428d1fa143a7488d6d2d615daacd9890"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukasberbuer%2Fweatherlink-live-local-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukasberbuer%2Fweatherlink-live-local-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukasberbuer%2Fweatherlink-live-local-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukasberbuer%2Fweatherlink-live-local-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukasberbuer","download_url":"https://codeload.github.com/lukasberbuer/weatherlink-live-local-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252810274,"owners_count":21807759,"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":["davis","python","weatherlink","weatherstation"],"created_at":"2024-10-08T07:21:16.235Z","updated_at":"2025-05-07T03:45:52.240Z","avatar_url":"https://github.com/lukasberbuer.png","language":"Python","readme":"# WeatherLink Live Local Python API\n\n[![CI](https://github.com/lukasberbuer/weatherlink-live-local-python/workflows/CI/badge.svg)](https://github.com/lukasberbuer/weatherlink-live-local-python/actions)\n[![Documentation Status](https://readthedocs.org/projects/weatherlink-live-local-python/badge/?version=latest)](https://weatherlink-live-local-python.readthedocs.io/en/latest/?badge=latest)\n[![Coverage Status](https://coveralls.io/repos/github/lukasberbuer/weatherlink-live-local-python/badge.svg?branch=master)](https://coveralls.io/github/lukasberbuer/weatherlink-live-local-python?branch=master)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![PyPI](https://img.shields.io/pypi/v/weatherlink_live_local)](https://pypi.org/project/weatherlink_live_local)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/weatherlink_live_local)](https://pypi.org/project/weatherlink_live_local)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)\n\nPython library to read weather data from a [Davis WeatherLink Live station](https://www.davisinstruments.com/weatherlinklive/) + connected sensors (e.g. [Vantage Vue](https://www.davisinstruments.com/vantage-vue/)). Features:\n\n- discover WeatherLink Live stations in the local network\n- read sensor values (called conditions) using the **local** API - no internet connection required\n\nAlthough the WeatherLink Live stations are tighly coupled with the web service [weatherlink.com](https://www.weatherlink.com/), it can be used in offline situations aswell. The well designed HTTP interface makes it easy to read the current weather data via the local network - perfect for IoT / SmartHome applications.\nIn fact, I couldn't find any other commercial weather station with an open ethernet-based protocol (please correct me if I'm wrong).\n\nTo set up the WeatherLink Live stations, you need the Davis WeatherLink app ([Android](https://play.google.com/store/apps/details?id=com.davisinstruments.weatherlink), [iOS](https://apps.apple.com/us/app/weatherlink/id1304504954)) and a weatherlink.com account. Further sensors can be connected to the station.\nAfterwards, the weather data is accessible via weatherlink.com (if online) and the local API.\n\n## Documentation\n\nPython library: https://weatherlink-live-local-python.rtfd.io/\n\nAPI specification: https://weatherlink.github.io/weatherlink-live-local-api/\n\n## Install\n\n```\npip install weatherlink-live-local\n```\n\n## Example\n\n```python\nimport weatherlink_live_local as wlll\n\ndevices = wlll.discover()\nprint(devices)\n\n# select first device, get IP address\nip_first_device = devices[0].ip_addresses[0]\n\n# specify units\nunits = wlll.Units(\n    temperature=wlll.TemperatureUnit.CELSIUS,\n    pressure=wlll.PressureUnit.HECTOPASCAL,\n    rain=wlll.RainUnit.MILLIMETER,\n    wind_speed=wlll.WindSpeedUnit.METER_PER_SECOND,\n)\n\n# poll sensor data / conditions\nwhile True:\n    conditions = wlll.get_conditions(ip_first_device, units=units)\n    print(f\"Inside temperature:  {conditions.inside.temp:.2f} °C\")\n    print(f\"Outside temperature: {conditions.integrated_sensor_suites[0].temp:.2f} °C\")\n    time.sleep(10)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasberbuer%2Fweatherlink-live-local-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukasberbuer%2Fweatherlink-live-local-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasberbuer%2Fweatherlink-live-local-python/lists"}