Giter VIP home page Giter VIP logo

grafana-tp-link's People

Contributors

andylamp avatar mrmeeb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

grafana-tp-link's Issues

KP303

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?

Error: required value Dashboard must not be empty

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

Not Really An Issue - But What Is emeter["power"]?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.