lux4rd0 / kasa-collector

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.
https://labs.lux4rd0.com/kasa-collector/
GNU Affero General Public License v3.0
42 stars 6 forks source link

Add Ability to Specify Host List and Credentials #6

Open zkhcohen opened 1 month ago

zkhcohen commented 1 month ago

Threw this together quickly to satisfy my own requirements.

This is working, but isn't thoroughly tested or refactored.

zkhcohen commented 1 month ago

@lux4rd0 If you could test the standard discovery feature, that would be fantastic. My VLAN setup prevents me from verifying that it still works.


EDIT: Looks like I need to add handling for when one of the devices drops off the network. I'm busy the next few days, but I'll try to tackle it soon.

lux4rd0 commented 1 month ago

Ohhhh! Thanks @zkhcohen - let me take a look at this!! Thanks for the effort!

zkhcohen commented 1 week ago

Okay, this should be good to go: device discovery works when a device falls off the network now.