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

[Feature Request]: MPPT sensor values non-numeric to numeric #953

Closed
2 tasks done
adis1987 opened this issue Feb 18, 2025 · 1 comment
Closed
2 tasks done

[Feature Request]: MPPT sensor values non-numeric to numeric #953

adis1987 opened this issue Feb 18, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@adis1987
Copy link

Describe your feature request

I have many MPPTs connected to my solar panels and read the values ​​from them. When there is no sun, all MPPTs are turned off and you can't read any value from them of course. Nothing strange. In HA, their status becomes "unknown" and all sensor values ​​are non-numeric. I use modern-circular-gauge to present interesting parameters but when the value is non-numeric, there are problems, errors are displayed.

My wish would be that if MPPT is "unknown", set the value to numeric "0" instead on all sensors. Diagnostics can be as they are since they are not numeric anyway.

Proper usage

  • I confirm that this is not a bug report or support request
  • I confirm that this feature request is within the stated scope of the integration
@adis1987 adis1987 added the enhancement New feature or request label Feb 18, 2025
@wlcrs
Copy link
Owner

wlcrs commented Feb 27, 2025

I've investigated this approach in the past, but this is not a suitable solution. Some values should not go to 0 (ex. total energy, temperature). Keeping the last known value also proved to be a poor solution.

The integration correctly reports what it sees: the sensors are unavailable on the inverter, as they cannot be queried. I'm not going to change the correct behavior of the integration because there are downstream issues due to poor configuration/poor support for checking for availability of a sensor.

@wlcrs wlcrs closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants