{"id":20121205,"url":"https://github.com/n8acl/wx_scroll","last_synced_at":"2026-05-17T06:38:12.729Z","repository":{"id":107378161,"uuid":"460226797","full_name":"n8acl/wx_scroll","owner":"n8acl","description":"Scrolling Weather information for the Raspberry Pi Sense-Hat","archived":false,"fork":false,"pushed_at":"2023-06-13T03:07:12.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T10:26:09.590Z","etag":null,"topics":["openweathermap","python","raspberry-pi","sense-hat","weather"],"latest_commit_sha":null,"homepage":"","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/n8acl.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-17T00:35:25.000Z","updated_at":"2022-02-17T02:16:28.000Z","dependencies_parsed_at":"2024-11-13T19:32:32.930Z","dependency_job_id":"f131b5d2-fffb-40a5-8cfe-8f6ca94edd95","html_url":"https://github.com/n8acl/wx_scroll","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/n8acl/wx_scroll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n8acl%2Fwx_scroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n8acl%2Fwx_scroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n8acl%2Fwx_scroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n8acl%2Fwx_scroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n8acl","download_url":"https://codeload.github.com/n8acl/wx_scroll/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n8acl%2Fwx_scroll/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33129331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T06:27:06.342Z","status":"ssl_error","status_checked_at":"2026-05-17T06:26:59.432Z","response_time":107,"last_error":"SSL_read: 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":["openweathermap","python","raspberry-pi","sense-hat","weather"],"created_at":"2024-11-13T19:26:29.824Z","updated_at":"2026-05-17T06:38:12.689Z","avatar_url":"https://github.com/n8acl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weather Scroller\nWeather Data Scroller for the Raspberry Pi Sense-Hat\n\n---\n# Description\n\nHere is a fun litle project I put together. I was sitting looking at the LED matrix on my Sense-hat and thought, \"I should have weather data scroll across there\". So that is what I did. \n\nThis script will pull local weather data from the OpenWeatherMap API and from the sensors on the Sense-Hat and scrolls the temperatures across the screen.\n\nYou do need to have a Sense-Hat and a Raspberry Pi to run this script. Make sure you have the Sense-Hat API Library installed on the Pi.\n\n## Text Colors\n\nThe text is colored based on the temperature reading.\n| Color | Meaning |\n|-------|---------|\n|blue|Temp below 50 Degrees|\n|green|Temp between 50 and 75 Degrees|\n|red|Temp is greater then 75 Degrees|\n\n\n## API's Used\n\nThis bot pulls data from the following locations:\n\n| Service | Description | Website |\n|---------|---------|---------|\n|OpenWeatherMap|Used to pull weather data based on Zip Code|[https://openweathermap.org/](https://openweathermap.org/)|\n\n---\n\n# Installation/Setup\n\n### Get OpenWeatherMap API Key\nFor this you only need to obtain one API Key, and that is from OpenWeatherMap. To get this key go to [https://openweathermap.org/api](https://openweathermap.org/api) and sign up for a free account.\n  - NOTE: This is a free account, but you are limited to 60 calls per minute and 1000 calls per day. \n\n### Installing the Script\n\nThe next step is installing the needed packages, cloning the repo to get the script and then installing the needed libraries for the script to work properly.\n\nThis is probably the easiest step to accomplish.\n\nPlease run the following commands:\n\n```bash\nsudo apt-get update \u0026\u0026 sudo apt-get -y upgrade \u0026\u0026 sudo apt-get -y dist-upgrade\n\nsudo apt-get install python3 python3-pip git screen\n\ngit clone https://github.com/n8acl/wx_scroll.git\n\ncd wx_scroll\n\npip3 install -r requirements.txt\n```\n\nNow you have everything installed and are ready to configure the script.\n\n## Configure the Script\nOnce you have your API Key, have cloned the repo and installed everything, you can now start configuring the script. Open the config.py file in your editor of choice and fill in the following spots:\n\n```python\n# Configure variables\nopenweathermap_apikey = 'YOUR OPENWEATHERMAP API KEY HERE'\nzipcode = 'YOUR ZIP CODE HERE'\nscroll_delay_time = 15 # Scroll delay. Set in Seconds. This delays the amount of time between scrolls. \nuse_timer = True # Use the sleep timer function. Yes use it = True, No Don't = False\nstart_time = '07:30AM' # This is the time for the display to turn on\nend_time = '09:30PM' # This is the time for the display to turn off\n```\n\n* ```openweathermap_apikey``` This is, of course your OpenWeatherMap API Key.\n* ```zipdcode``` This is your Zip Code. This allows the script to pull the weather data for the correct location.\n* ```scroll_delay_time``` This sets the delay time between message scrolls on the screen. This is set in Seconds. It defaults to 15 Seconds\n* ```use_timer``` enables or disables the sleep timer function. This allows the program to turn off the display outside the hours set below by the ```start_time``` and ```end_time``` variables.\n* ```start_time``` This is the time you want the script to \"Turn On\", that is start scrolling the messages. Make sure to follow the example format.\n* ```end_time``` This is the time you want the script to \"Turn off\", that is when to stop scrolling the message on the screen. Make sure to follow the example format.\n\n## Running the Script\n\nOnce you have the config file edited, start the bot by typing the following:\n\n```bash\nscreen -R wx_scroll\n```\n\nThen in the new window:\n```bash\ncd sx_scroll\n\npython3 wx_scroll.py\n```\n\nIf something ever happens, you can reconnect to the session by typing:\n\n```bash\nscreen -R wx_scroll\n```\n\nAnd see why it errored or quit. This is useful if you need to contact me for support. That also allows you to restart the script.\n\n---\n\n## Contact\nIf you have questions, please feel free to reach out to me. You can reach me in one of the following ways:\n\n- Discord: Ravendos\n- Mastodon: @n8acl@mastodon.radio\n- E-mail: n8acl@qsl.net\n\nOr open an issue on Github. I will respond to it, and of course you, when I can. Remember, this is a hobby and there are other daily distractors that come first, like work, school and family.\n\nIf you reach out to me and have an error, please include what error you are getting and what you were doing. I may also ask you to send me certain files to look at. Otherwise just reach out to me :).\n\n---\n\n## Change Log\n* 02/16/2022 - Initial Release 1.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn8acl%2Fwx_scroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn8acl%2Fwx_scroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn8acl%2Fwx_scroll/lists"}