{"id":18904786,"url":"https://github.com/difu/piweather","last_synced_at":"2026-04-16T00:32:44.718Z","repository":{"id":70985601,"uuid":"185064946","full_name":"difu/PiWeather","owner":"difu","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-23T10:09:12.000Z","size":43,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-24T12:08:55.382Z","etag":null,"topics":["aws","iot","raspberry","weather"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/difu.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}},"created_at":"2019-05-05T18:00:11.000Z","updated_at":"2020-06-19T19:04:16.000Z","dependencies_parsed_at":"2023-03-11T09:37:56.427Z","dependency_job_id":null,"html_url":"https://github.com/difu/PiWeather","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":0.05882352941176472,"last_synced_commit":"27b48cacd992fc622f2604875395ba4398709d2f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/difu/PiWeather","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/difu%2FPiWeather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/difu%2FPiWeather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/difu%2FPiWeather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/difu%2FPiWeather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/difu","download_url":"https://codeload.github.com/difu/PiWeather/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/difu%2FPiWeather/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272117063,"owners_count":24876311,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"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":["aws","iot","raspberry","weather"],"created_at":"2024-11-08T09:09:25.108Z","updated_at":"2026-04-16T00:32:44.678Z","avatar_url":"https://github.com/difu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PiWeather\n\nCollect and publish weather data with Raspberry Py and AWS IOT\n\n## Raspberry\n\nThe scripts are all developed and tested with Python 3.5.\n\nThe data should be saved with an UTC timestamp, so set the timezone on the Raspberry\n\n```\nsudo timedatectl set-timezone UTC\n```\n\n### publishLacross.py\n\nCreate ```config.ini``` from ```config.ini.example``` and edit your endpoint etc.\n\n\n## AWS\n\nCreate a policy for the Raspberry, e.g. RaspberryPolicy\n\n```\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Effect\": \"Allow\",\n      \"Action\": [\n        \"iot:Connect\",\n        \"iot:Publish\"\n      ],\n      \"Resource\": \"*\"\n    }\n  ]\n}\n```\n\n### DynamoDB\n\n#### Logs\n\nFollowing log entries are supported:\n\n#### Station events\n```\nLog/System\n```\n\nexample:\n```json\n{\n  \"payload\": \"Switched Raspberry to UTC\",\n  \"Sensor\": \"Log/System\",\n  \"Timestamp\": \"2020-04-25T20:37:53\"\n}\n```\n\n#### System events\n```\nLog/System\n```\n\n#### Weather events\n```\nLog/Weather\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdifu%2Fpiweather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdifu%2Fpiweather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdifu%2Fpiweather/lists"}