{"id":15095826,"url":"https://github.com/koesie10/smartmeter","last_synced_at":"2025-04-14T23:08:38.144Z","repository":{"id":39575285,"uuid":"144191715","full_name":"koesie10/smartmeter","owner":"koesie10","description":"Application for reading a Dutch smart meter (DSMR) and saving the data to InfluxDB","archived":false,"fork":false,"pushed_at":"2025-04-08T15:45:03.000Z","size":226,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T23:08:08.595Z","etag":null,"topics":["dsmr","dsmr4","dsmr5","home-assistant","influxdb","mqtt","p1","prometheus","prometheus-exporter","raspberry-pi","smartmeter"],"latest_commit_sha":null,"homepage":"","language":"Go","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/koesie10.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":"2018-08-09T18:52:00.000Z","updated_at":"2025-02-09T13:27:16.000Z","dependencies_parsed_at":"2024-02-01T19:06:58.360Z","dependency_job_id":"442ec068-1122-46eb-b23f-c94cd544f219","html_url":"https://github.com/koesie10/smartmeter","commit_stats":{"total_commits":73,"total_committers":2,"mean_commits":36.5,"dds":0.410958904109589,"last_synced_commit":"c222110d6bdbe7f7703795c04bf65da832f56f3f"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koesie10%2Fsmartmeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koesie10%2Fsmartmeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koesie10%2Fsmartmeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koesie10%2Fsmartmeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koesie10","download_url":"https://codeload.github.com/koesie10/smartmeter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975316,"owners_count":21192209,"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":["dsmr","dsmr4","dsmr5","home-assistant","influxdb","mqtt","p1","prometheus","prometheus-exporter","raspberry-pi","smartmeter"],"created_at":"2024-09-25T15:42:23.800Z","updated_at":"2025-04-14T23:08:38.126Z","avatar_url":"https://github.com/koesie10.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smartmeter\n\nConnects to P1 DSMR interface.\n\nInfluenced by [smeterd](https://github.com/nrocco/smeterd).\n\nLicensed under MIT license.\n\n## Development\n\n```\ngo install github.com/koesie10/smartmeter/cmd/smartmeter\n```\n\n## Running\n\n### As systemd service\n\n```\nsudo mv smartmeter /usr/local/bin\nsudo chmod +x /usr/local/bin/smartmeter\n\nsudo adduser --system --no-create-home --group smartmeter\nsudo usermod -a -G dialout smartmeter\n\nsudo nano /etc/systemd/system/smartmeter.service\n```\n\n```\n[Unit]\nDescription=smartmeter\nWants=network-online.target\nAfter=network-online.target\nAfter=influxdb.service\nAssertFileIsExecutable=/usr/local/bin/smartmeter\n\n[Service]\nUser=smartmeter\nGroup=smartmeter\n\nPermissionsStartOnly=true\n\nRestart=always\n\nExecStart=/usr/local/bin/smartmeter publish --influx-database telegraf --influx-tags=\"house=myhouse\"\n\n[Install]\nWantedBy=multi-user.target\n```\n\n```\nsudo systemctl daemon-reload\nsudo systemctl start smartmeter\nsudo systemctl status smartmeter\nsudo systemctl enable smartmeter\n```\n\n## Todo\n\n- Checksum validation. I only have DSMR 2, so it was not necessary for me to implement.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoesie10%2Fsmartmeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoesie10%2Fsmartmeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoesie10%2Fsmartmeter/lists"}