{"id":27334836,"url":"https://github.com/dmuth/is-peco-okay","last_synced_at":"2025-04-12T14:46:28.598Z","repository":{"id":216406157,"uuid":"741254313","full_name":"dmuth/is-peco-okay","owner":"dmuth","description":"Text-based low-bandwidth website for real-time information on the Philadelphia Power Grid.","archived":false,"fork":false,"pushed_at":"2024-11-27T22:19:39.000Z","size":141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-27T23:23:00.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.IsPecoOkay.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmuth.png","metadata":{"files":{"readme":"README-cli-version.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-10T02:31:12.000Z","updated_at":"2024-11-27T22:19:42.000Z","dependencies_parsed_at":"2024-01-14T18:45:23.640Z","dependency_job_id":"55268424-7257-4233-bccb-7c84d765efb5","html_url":"https://github.com/dmuth/is-peco-okay","commit_stats":null,"previous_names":["dmuth/peco-outage-status","dmuth/is-peco-okay"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fis-peco-okay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fis-peco-okay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fis-peco-okay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fis-peco-okay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmuth","download_url":"https://codeload.github.com/dmuth/is-peco-okay/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248585232,"owners_count":21128969,"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":[],"created_at":"2025-04-12T14:46:27.948Z","updated_at":"2025-04-12T14:46:28.591Z","avatar_url":"https://github.com/dmuth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PECO Outage Status\n\n\nThis is no longer really being maintained--it was the first version of my script\nand is being superceded by the website.\n\n\n## CLI Version\n\nJust a little shell script that I whipped up to pull down the current outage stats from PECO.\n\nIt's the same endpoint that their [Official Outage Map](https://secure.peco.com/FaceBook/Pages/outagemap.aspx) uses.\n\nThis script can be executed with the following `bash` command:\n\n`bash -c \"$(curl -s https://raw.githubusercontent.com/dmuth/peco-outage-status/main/bin/get-peco-outage-status.sh)\"`\n\n...and it will return data in this format:\n\n```\n{\n  \"date\": \"2024-01-10T02:23:18.541Z\",\n  \"outages\": [\n    {\n      \"summaryTotalId\": \"total-1\",\n      \"total_cust_a\": {\n        \"val\": 120405\n      },\n      \"total_percent_cust_a\": {\n        \"val\": 7.24\n      },\n      \"total_percent_cust_active\": {\n        \"val\": 92.76\n      },\n      \"total_cust_s\": 1663160,\n      \"total_outages\": 1399\n    }\n  ]\n}\n```\n\nI wrote this during [a pretty nasty storm that blew through the area recently](https://www.nbcphiladelphia.com/weather/powerful-storm-expected-to-hit-philly-on-tuesday/3738811/)\nas I wanted to get an idea for how many power outages there were without obsessively reloading the page.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmuth%2Fis-peco-okay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmuth%2Fis-peco-okay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmuth%2Fis-peco-okay/lists"}