{"id":30737766,"url":"https://github.com/ppostma/slimmemeter-stats","last_synced_at":"2026-05-19T14:37:13.380Z","repository":{"id":311471667,"uuid":"182138448","full_name":"ppostma/slimmemeter-stats","owner":"ppostma","description":"Simple application for reading the Dutch \"Slimme meter\" via the P1 port and generating graphics with RRDtool.","archived":false,"fork":false,"pushed_at":"2019-04-18T18:35:19.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T21:15:00.120Z","etag":null,"topics":["p1","raspberrypi","ruby","slimmemeter"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/ppostma.png","metadata":{"files":{"readme":"README.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,"zenodo":null}},"created_at":"2019-04-18T18:31:13.000Z","updated_at":"2019-04-18T18:35:20.000Z","dependencies_parsed_at":"2025-08-24T21:15:19.641Z","dependency_job_id":"dec49757-f40e-4071-bf3b-99bb2839f88c","html_url":"https://github.com/ppostma/slimmemeter-stats","commit_stats":null,"previous_names":["ppostma/slimmemeter-stats"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ppostma/slimmemeter-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppostma%2Fslimmemeter-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppostma%2Fslimmemeter-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppostma%2Fslimmemeter-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppostma%2Fslimmemeter-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppostma","download_url":"https://codeload.github.com/ppostma/slimmemeter-stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppostma%2Fslimmemeter-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273517221,"owners_count":25119765,"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-09-03T02:00:09.631Z","response_time":76,"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":["p1","raspberrypi","ruby","slimmemeter"],"created_at":"2025-09-03T21:47:39.198Z","updated_at":"2026-05-19T14:37:08.354Z","avatar_url":"https://github.com/ppostma.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slimme meter stats\n\nSimple application for reading the Dutch \"Slimme meter\" via the P1 port and generating graphics with RRDtool.\n\n## Requirements\n\nThis application expects an P1 to USB cable connected as `/dev/ttyUSB0`.\n\nThe following packages are required:\n\n* Ruby\n* RRDtool\n* Nginx (or another webserver; example for nginx is included)\n* fcgiwrap (when using nginx)\n\n## Installation\n\nMake sure you have installed bundler:\n\n```bash\ngem install bundler\n```\n\nRun bundle install to install the dependencies:\n\n```bash\nbundle install --path vendor\n```\n\nStart the slimme meter updater in the background:\n\n```bash\nbundle exec ruby slimmemeter.rb -d -r /var/lib/rrd/power.rrd\n```\n\nNginx configuration:\n\n```\nserver {\n  ...\n\n  # Pass CGI scripts to FastCGI server\n  location /cgi-bin/ {\n    fastcgi_pass  unix:/var/run/fcgiwrap.socket;\n    fastcgi_param POWER_RRD /var/lib/rrd/power.rrd;\n\n    include /etc/nginx/fastcgi_params;\n  }\n}\n```\n\nPlace the files in the `www` directory of your web directory. Make sure you put the *.cgi files in the cgi-bin directory of your document root.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppostma%2Fslimmemeter-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppostma%2Fslimmemeter-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppostma%2Fslimmemeter-stats/lists"}