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

sysinfo data doesn't get imported into influx for multiple plug units #4

Open pixscooby opened 2 months ago

pixscooby commented 2 months ago

emeter_output.json sysinfo_output.json influx If I enable JSON files (attached), I can see the state of each plug is logged in the sysinfo JSON, however the child devices don't get imported into InfluxDB. I'm assuming this is because the emeter JSON uses plug_alias for the description and sysinfo uses alias under children. My goal is to know when a device has failed and see the state is on while not using any energy, but I'm not sure how to work the data into influx.