andylamp / grafana-tp-link Goto Github PK
View Code? Open in Web Editor NEWGrafana based Power Meter using TP-LINK (HS110) plugs
License: GNU General Public License v3.0
Grafana based Power Meter using TP-LINK (HS110) plugs
License: GNU General Public License v3.0
Hello!
I just bought a KP303 (3 in 1) TP-Link Kasa Extension and I added the IP of it to the list of Prometheus items but it’s not showing in the graphs. The only graph that shows data (correct btw) about it is the device with load and the one just below it with the correct names of each plug. But it’s not measuring the power…
Is there anything I need to do in my case to see the data?
Hello,
i try your Script on Debian Linux VM and got an Error at the Grafana Dashboard Import.
-- Setting up Prometheus was successful
** Dashboard json was not found - trying to fetch from remote: https://raw.githubusercontent.com/andylamp/grafana-tp-link/master/dash.json
-- Dashboard json definition was fetched successfully at ./dash.json
!! Could not register grafana dashboard... something went wrong -- cannot continue
!! Error while creating and registering the grafana dashboard... cannot continue
!! Encountered an error while registering Grafana dashboard and/or its data source - cannot continue
from the grafana.log i see the Error "required value Dashboard must not be empty".
logger=context t=2022-03-19T22:16:45.35+0000 lvl=info msg="Request Completed" method=HEAD path=/api status=401 remote_addr=172.18.0.1 time_ms=0 size=0 referer=
logger=context t=2022-03-19T22:16:45.62+0000 lvl=eror msg="bad request data" error="required value Dashboard must not be empty" remote_addr=172.18.0.1
logger=context t=2022-03-19T22:16:45.62+0000 lvl=info msg="Request Completed" method=POST path=/api/dashboards/db status=400 remote_addr=172.18.0.1 time_ms=10 size=30 referer=
Which value could Grafana mean at the dash.json? Maybee you could help me?
Thanks a lot
Is it possible to enable support for the successor P115?
Hello!
I was wondering if we could use this to integrate with your solution?
https://github.com/FergusInLondon/Tapo-P110-Prometheus-Exporter
Hey,
I tried to copy dasbaord json and import but nothing is loading after i do it
https://github.com/andylamp/grafana-tp-link/blob/master/dash.json
When i try to edit an blank dashboard and copy json in i get this "Dashboard title cannot be empty"
any ideas?
I have an HS110 that still has old firmware and I can monitor it off port 9999. I get the emeter information and understand the following to be the case:
current is amps,
voltage is volts,
total is kwHs.
But what is power? I thought it was watts. But I am not sure at all now as I cannot seem to compute the values I see from the current and voltage I see in the same entry. This would seem to be single phase, 120v, USA utility power. So it would seen this formula would apply:
P = PF × I × U
where:
P – Power or wattage;
PF – Power factor;
I – Electrical current; and
U – Voltage.
And I understand that the power factor varies from 0 to 1. One represents the most efficient use of power, while 0 means the opposite.
However, I cannot seem to get the power result being displayed:
{"emeter":{"get_realtime":{"current":0.020707,"voltage":124.223949,"power":0.371734,"total":1.040000,"err_code":0}}}
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.