matt-thurling / MMM-EnphaseSolar

Magic Mirror module for display data from Enphase Solar System
MIT License
3 stars 0 forks source link

"Used Today" field is showing lifetime production #1

Open ryandjacobs opened 1 year ago

ryandjacobs commented 1 year ago

I suspect it is because i don't have any consumption monitoring as my current usage always matches my current production and my netoutput is always 0. Not the end of the world, I know what it means, but this may also come up for others.

matt-thurling commented 1 year ago

Thats interesting. I've seen comments online with some other integrations people have done that they sometimes get interesting values back from the APIs. Do your values look correct in the Enlighten app or when you login directly to http://envoy.local ? Potentially there's something else in the response that I should be looking at depending on your system configuration which the app/envoy.local might already handle.

ryandjacobs commented 1 year ago

Hi Matt, Sorry it has taken me so long to get back to you, I have been travelling. envoy.local only shows "Meter Not Enabled" for production. If there was an option to relabel "Used Today" to "Total Production" in the config, I am happy with that. But I have no idea if that is easy or even wise, so I will defer to you. Really, I know what it means, so it isn't even a real issue for me. I appreciate the time and effort you have put into this module, I am really enjoying it.

[image: image.png]

On Tue, Aug 1, 2023 at 5:03 PM Matt @.***> wrote:

Thats interesting. I've seen comments online with some other integrations people have done that they sometimes get interesting values back from the APIs. Do your values look correct in the Enlighten app or when you login directly to http://envoy.local ? Potentially there's something else in the response that I should be looking at depending on your system configuration which the app/envoy.local might already handle.

— Reply to this email directly, view it on GitHub https://github.com/matt-thurling/MMM-EnphaseSolar/issues/1#issuecomment-1661264145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4X576QX75KUECB4P74OLDXTGKLJANCNFSM6AAAAAA26ZISME . You are receiving this because you authored the thread.Message ID: @.***>

-- *

matt-thurling commented 1 year ago

Heya, no worries.

I think your idea of changing the translation might be a good approach. Rather than changing it via config though I've just pushed a commit that will make use of the built-in translation stuff in MagicMirror.

To change that label, (after pulling the latest changes) you can modify the following line in the en.json file in the MMM-EnphaseSolar/translations folder:

"USED_TODAY": "Used Today", to "USED_TODAY": "Total Production", and it should do what you're looking for.