{"id":18755418,"url":"https://github.com/jonfairbanks/emeter","last_synced_at":"2025-11-29T13:30:13.282Z","repository":{"id":40570683,"uuid":"482172454","full_name":"jonfairbanks/emeter","owner":"jonfairbanks","description":"Publish kasa plug metrics to Influx Cloud","archived":false,"fork":false,"pushed_at":"2022-09-09T23:15:36.000Z","size":2371,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-11T01:32:23.632Z","etag":null,"topics":["influxdb","kasa","kasa-api","metrics","metrics-exporter"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/jonfairbanks/emeter","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/jonfairbanks.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}},"created_at":"2022-04-16T06:12:08.000Z","updated_at":"2022-10-14T19:10:46.000Z","dependencies_parsed_at":"2022-08-09T23:21:50.879Z","dependency_job_id":null,"html_url":"https://github.com/jonfairbanks/emeter","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonfairbanks%2Femeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonfairbanks%2Femeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonfairbanks%2Femeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonfairbanks%2Femeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonfairbanks","download_url":"https://codeload.github.com/jonfairbanks/emeter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239644125,"owners_count":19673580,"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":["influxdb","kasa","kasa-api","metrics","metrics-exporter"],"created_at":"2024-11-07T17:32:46.382Z","updated_at":"2025-11-29T13:30:13.214Z","avatar_url":"https://github.com/jonfairbanks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emeter\n \nPublish Kasa plug metrics to Influx Cloud\n\n![emeter-volts](images/emeter-volts.png)\n![emeter-watts](images/emeter-watts.png)\n![emeter-milliamps](images/emeter-milliamps.png)\n\n### Setup\n\n- Setup your [Kasa smart plug](https://amzn.to/3JVZXzh) in the Kasa Home app\n- Gather the IP address associated with your plug\n- [Create a free Influx Cloud account](https://cloud2.influxdata.com/signup)\n- Create an Influx Cloud Bucket (power-usage) and API Token\n\n### Usage\n\nThe following env variables are **required**:\n\n- INFLUX_TOKEN: API Token provided by Influx Cloud\n- INFLUX_ORG: Your Influx Cloud organization name\n- INFLUX_BUCKET: Your Influx Cloud bucket name (Default: `power-usage`)\n- PLUG: IP Address of the Kasa plug to monitor\n\nAdditional supported env variables include:\n\n- DEBUG: Enable or disable in-app debug logging (Default: `False`)\n- DEVICE: Preferred name for this device (Default: `My Device`)\n- INFLUX_HOST: Host of the Influx Cloud bucket (Default: `https://us-central1-1.gcp.cloud2.influxdata.com`)\n\n### Launch\n\nThe application can be launched with `docker-compose`:\n\n```\ndocker-compose up -d\n```\n\n### Dashboard\n\nA sample dashboard is provided in this repo and can be imported:\n\n- Ensure that emeter is running\n- Login to Influx Cloud and go to Dashboards\n- Use the dropdown on `Create Dashboard` to import the template","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonfairbanks%2Femeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonfairbanks%2Femeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonfairbanks%2Femeter/lists"}