{"id":15656441,"url":"https://github.com/christian-heusel/esp32-smartmeter","last_synced_at":"2025-04-05T20:44:11.982Z","repository":{"id":119378548,"uuid":"609313084","full_name":"christian-heusel/esp32-smartMeter","owner":"christian-heusel","description":"Reads out the values of an ISKRA MT681 and sends the values via MQTT","archived":false,"fork":false,"pushed_at":"2024-04-23T11:29:10.000Z","size":78,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T20:46:49.864Z","etag":null,"topics":["cpp","embedded","esp32","mqtt","smarthome"],"latest_commit_sha":null,"homepage":"","language":"C++","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/christian-heusel.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}},"created_at":"2023-03-03T20:53:09.000Z","updated_at":"2024-04-23T11:29:15.000Z","dependencies_parsed_at":"2024-04-23T12:57:54.742Z","dependency_job_id":null,"html_url":"https://github.com/christian-heusel/esp32-smartMeter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christian-heusel%2Fesp32-smartMeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christian-heusel%2Fesp32-smartMeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christian-heusel%2Fesp32-smartMeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christian-heusel%2Fesp32-smartMeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christian-heusel","download_url":"https://codeload.github.com/christian-heusel/esp32-smartMeter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399892,"owners_count":20932876,"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":["cpp","embedded","esp32","mqtt","smarthome"],"created_at":"2024-10-03T13:02:05.181Z","updated_at":"2025-04-05T20:44:11.952Z","avatar_url":"https://github.com/christian-heusel.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32 SmartMeter\n\nThis project reads out the meter values of an [ISKRA MT681](https://wiki.volkszaehler.org/hardware/channels/meters/power/edl-ehz/iskraemeco_mt681) via an [IR reader](https://wiki.volkszaehler.org/hardware/controllers/ir-schreib-lesekopf). It then takes these values and sends them as payload to a MQTT-Broker, where they get converted to a prometheus metric via [`kpetremann/mqtt-exporter`](https://github.com/kpetremann/mqtt-exporter) and then read into prometheus.\n\n## Installation\n\n1. Install the [ESP-IDF](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#manual-installation)\n\n2. Clone this repository:\n\n   ```sh\n   git clone git@github.com:christian-heusel/esp32-smartMeter.git\n   cd esp32-smartMeter\n   ```\n\n3. activate esp-idf in current terminal session\n\n   ```sh\n   . $HOME/esp/v5.2.1/esp-idf/export.sh\n   ```\n\n4. Configure the project\n\n   ```sh\n   idf.py menuconfig\n   ```\n\n   And especially insert sensible values into the MQTT \u0026 Wi-Fi Configuration\n\n5. Build it \u0026 flash it\n\n   ```sh\n   idf.py build\n   idf.py flash\n   ```\n\n## Visualization\n\nImport the grafana dashboard in [contrib/grafana-dashboard.json](https://github.com/christian-heusel/esp32-smartMeter/blob/main/contrib/grafana-dashboard.json)\n\n![image](https://user-images.githubusercontent.com/26827864/224534926-38ba97d7-14db-4c0a-b674-8eaadf1df6d5.png)\n\n## License \u0026 Acknowledgements\n\nThe contents of this repository are heavily based on the great examples in the ESP IDF:\n\u003chttps://github.com/espressif/esp-idf/tree/master/examples\u003e\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristian-heusel%2Fesp32-smartmeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristian-heusel%2Fesp32-smartmeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristian-heusel%2Fesp32-smartmeter/lists"}