Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current and voltage values meross mss310 to Grafana #52

Closed
enrutador opened this issue Feb 27, 2020 · 2 comments
Closed

Current and voltage values meross mss310 to Grafana #52

enrutador opened this issue Feb 27, 2020 · 2 comments

Comments

@enrutador
Copy link

Hi Alberto
Fantastic job. I'm testing the hassio pluguin. I observe the Power data correctly in hassio and in the Grafana instance. But we need monitor Current and Voltage too.

I have two questions:

  1. Is it possible to also graph the current and voltage of the sensor?

  2. I have an external current meter and the external meter and meross data differ greatly. You think it could be from my meter or the formula used in the script.

Thanks for your time & Work

@SuperSpe
Copy link

I notice that too.The power consumption in the plugin is not correctly calculated.
I opened an issue but without response.

@enrutador
Copy link
Author

I notice that too.The power consumption in the plugin is not correctly calculated.
I opened an issue but without response.

Hi SuperSpe

It is practically double the value it sends you. I think the problem is not the formula, I think it is possible that it is the device.
I have solved it in the sensor.py (line 127) file:

    data = sensor_data.get('power')
    if data is not None:
       data = str(float(data*2)/1000)
    return data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants