{"id":19510695,"url":"https://github.com/goruck/simple-energy-logger","last_synced_at":"2026-06-13T08:32:45.677Z","repository":{"id":91399466,"uuid":"586574068","full_name":"goruck/simple-energy-logger","owner":"goruck","description":"MQTT client that logs energy consumption of Shelly Plugs.","archived":false,"fork":false,"pushed_at":"2023-01-18T03:17:20.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T23:13:05.192Z","etag":null,"topics":["energy-monitor","iot","shelly-mqtt","shelly-plugs"],"latest_commit_sha":null,"homepage":"","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/goruck.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}},"created_at":"2023-01-08T16:08:00.000Z","updated_at":"2024-02-07T04:48:38.000Z","dependencies_parsed_at":"2023-03-30T20:04:59.442Z","dependency_job_id":null,"html_url":"https://github.com/goruck/simple-energy-logger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/goruck/simple-energy-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goruck%2Fsimple-energy-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goruck%2Fsimple-energy-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goruck%2Fsimple-energy-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goruck%2Fsimple-energy-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goruck","download_url":"https://codeload.github.com/goruck/simple-energy-logger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goruck%2Fsimple-energy-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34278153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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":["energy-monitor","iot","shelly-mqtt","shelly-plugs"],"created_at":"2024-11-10T23:16:46.413Z","updated_at":"2026-06-13T08:32:45.655Z","avatar_url":"https://github.com/goruck.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-energy-logger\n\nMQTT client that logs energy consumption of Shelly Plugs.\n\nThis is a MQTT client that logs energy consumption of devices plugged into\na Shelly Plug. Voltage, current, instantaneous active power, and total energy\nconsumed are logged to a csv file. The Plug must run a script that publishes \nSwitch.GetStatus status to a MQTT Broker. Have only tested Shelly PlugPlus US but other Shelly IoT devices should work.\n\nTypical usage example:\n\n* Configure Shelly Plug to run ```mqtt-switch-status-announce.js``` at boot up (i.e., enable the script) that publishes ```Switch.GetStatus``` status\nto a MQTT Broker.\n* In ```elogger.py```:\n    * Set ```BROKER``` to your MQTT Broker IP address.\n    * Set ```CSV_FILE_NAME``` to the file where you want to log the plug's data.\n    * Add a dict entry to ```APPLIANCE_TOPICS``` that maps your plug's MQTT topic\nto the appliance name.\n* Run MQTT logger client program: ```$ python3 elogger.py```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoruck%2Fsimple-energy-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoruck%2Fsimple-energy-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoruck%2Fsimple-energy-logger/lists"}