Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Kasa Collector provides a way of collecting real-time energy data from Kasa Smart Plugs. These Grafana dashboards offer visualizations for their Current, Voltage, Power, and Total Watt Hours.

License

lux4rd0/kasa-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kasa Collector

Kasa Collector

Kasa Collector is a Python-based application deployed with Docker that discovers and monitors TP-Link Kasa smart plugs and power strips on your network. It continuously collects energy consumption data and stores it in InfluxDB for visualization with Grafana dashboards.

A live set of dashboards using this Collector are available here for you to explore.

Quick Start

services:
  kasa-collector:
    image: lux4rd0/kasa-collector:latest
    container_name: kasa-collector
    network_mode: host
    restart: unless-stopped
    environment:
      # Required - InfluxDB Configuration
      KASA_COLLECTOR_INFLUXDB_URL: http://influxdb:8086
      KASA_COLLECTOR_INFLUXDB_TOKEN: your-token-here
      KASA_COLLECTOR_INFLUXDB_ORG: your-org
      KASA_COLLECTOR_INFLUXDB_BUCKET: kasa
      
      # Optional - For newer devices requiring authentication
      # KASA_COLLECTOR_TPLINK_USERNAME: [email protected]
      # KASA_COLLECTOR_TPLINK_PASSWORD: your-password

Documentation

Full documentation is available in the docs/wiki directory:

Features

  • Automatic device discovery
  • Energy monitoring (power, current, voltage, consumption)
  • Smart power strip support with individual outlet monitoring
  • Docker health checks
  • Grafana dashboards included
  • Production-ready with graceful shutdown

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support


Note: This project is not affiliated with TP-Link or Kasa. It's an independent tool for monitoring energy consumption of Kasa smart devices.

About

Kasa Collector provides a way of collecting real-time energy data from Kasa Smart Plugs. These Grafana dashboards offer visualizations for their Current, Voltage, Power, and Total Watt Hours.

Topics

Resources

License

Stars

Watchers

Forks