{"id":26151103,"url":"https://github.com/nliaudat/weatherstation","last_synced_at":"2026-02-09T04:07:31.625Z","repository":{"id":170630801,"uuid":"383146410","full_name":"nliaudat/weatherstation","owner":"nliaudat","description":"3d printed diy weather station with anemometer and direction vane","archived":false,"fork":false,"pushed_at":"2021-11-09T06:51:20.000Z","size":49542,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-30T11:59:31.314Z","etag":null,"topics":["anemometer","esphome","magnetometer","openscad","weather"],"latest_commit_sha":null,"homepage":"","language":"OpenSCAD","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/nliaudat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["nliaudat"]}},"created_at":"2021-07-05T13:13:51.000Z","updated_at":"2025-07-12T09:25:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"51c036bd-86e4-4d63-afad-a363a7720bbf","html_url":"https://github.com/nliaudat/weatherstation","commit_stats":null,"previous_names":["nliaudat/weatherstation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nliaudat/weatherstation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nliaudat%2Fweatherstation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nliaudat%2Fweatherstation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nliaudat%2Fweatherstation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nliaudat%2Fweatherstation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nliaudat","download_url":"https://codeload.github.com/nliaudat/weatherstation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nliaudat%2Fweatherstation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29256049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T03:07:45.136Z","status":"ssl_error","status_checked_at":"2026-02-09T03:07:24.123Z","response_time":56,"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":["anemometer","esphome","magnetometer","openscad","weather"],"created_at":"2025-03-11T06:25:15.313Z","updated_at":"2026-02-09T04:07:31.607Z","avatar_url":"https://github.com/nliaudat.png","language":"OpenSCAD","funding_links":["https://github.com/sponsors/nliaudat"],"categories":[],"sub_categories":[],"readme":"# Weatherstation\nA 3d printed diy weather station with anemometer and direction vane. Others sensors will be available soon...\n\n\u003cimg align=\"right\" width=\"297\" height=\"396\" src=\"https://github.com/nliaudat/weatherstation/blob/main/imgs/finished.jpg\"\u003e\n\n## Abstract\n\nYet another weather station, but that one use a magnetometer for the direction vane and a rotary encoder with an IR optocoupler for the anemometer.\nIt runs with an ESP board and [Esphome software](https://esphome.io/)\n\n## Direction Vane\n\nThe direction vane use an 1.2$ HMC5883L or QMC5883L Magnetometer and a magnet. The simplest is the best !\n\nI've made a [precise calibration script](https://github.com/nliaudat/magnetometer_calibration) if needed to correct hard \u0026 soft iron effects with ellipsoid fitting.\n\n\u003cimg align=\"center\" width=\"396\" height=\"297\" src=\"https://github.com/nliaudat/weatherstation/blob/main/imgs/direction_vane_schematics.png\"\u003e\n\n\n\n## Anemometer\n\nThe anemometer use a rotary encoder with an 0.6$ IR optocoupler. \n\nThe openscad script (all parametric) output all needed informations to calculate the wind speed except the correction/friction factor which depends on your ball bearing. (mine is 5 and it's a good starting point for futher calibration)\n\n```\n[Wind speed in m/s] = 2PI * [anemometer mid cup to axle lenght in m]  * [revolution per seconds]  * [unknown correction factor]\nanemometer mid cup to axle lenght = 72.5 mm =\u003e 72.5/1000 = 0.0725 m for R\nrotary encoder pulse per revolution : 36\nrevolution per seconds = pulses /36 /60\nS = 2PI * 0.0725 * pulses /36 /60 = 0.00021089395\nSpeed m/s =\u003e Km/h : *3.6 =\u003e 0.00075921822\n[unknown correction factor or friction] : mine is ~5 =\u003e 0.00075921822 *5 = 0.0037960911 \n\nYou must paste that value in \"pulse_meter\" section of esphome.yaml\n    filters:\n      - multiply: 0.0037960911 \n```\n\n\u003cimg align=\"center\" width=\"396\" height=\"297\" src=\"https://github.com/nliaudat/weatherstation/blob/main/imgs/anemometer_schematics.png\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnliaudat%2Fweatherstation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnliaudat%2Fweatherstation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnliaudat%2Fweatherstation/lists"}