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

Daily Solar Radiation Sensor #121

Open
jata1 opened this issue May 22, 2024 · 7 comments
Open

Daily Solar Radiation Sensor #121

jata1 opened this issue May 22, 2024 · 7 comments

Comments

@jata1
Copy link

jata1 commented May 22, 2024

Is your feature request related to a problem? Please describe.
Both this and the core weatherflow integrations include solar radiation in W/M2
I need this data to aggregate over the day like the sensor you have created for Precipitation Today

Describe the solution you'd like
I'd like a additional sensor that holds the running total for total solar radiation so far today. It should reset daily.

Describe alternatives you've considered
I have setup a Utility Meter Helper that calculates this but I keep getting a very strange issue where the solar radiation source data does not seem correct.

Additional context
See below for a history chart that shows this weirdness. Data highlighted is from today. The data is too perfect. Something is wierd.

image

If I overlay data from Utility Meter for daily total solar radiation - the issue is highlighted

image

@jata1
Copy link
Author

jata1 commented May 22, 2024

The more I think about this - maybe its a bug not a feature request...

@briis
Copy link
Owner

briis commented May 22, 2024

This all comes down to if this is setup as MEASUREMENT sensor or a TOTAL_INCREASING State Class. A sensor cannot be both. For the rain sensor it is obvious that this is a Total Increasing per day, but not for this sensor as it fluctuates over the day how much your Solar rad is.

I have Solar Power on my house and I like to compare the Solar Radiation to actual Watt's produced in realtime. If I had this as Total Increasing I could not do that.

The only solution is either create a new Sensor in the Integration with the same input, but State Class set to TOTAL_INCREASING or do as you do, and create a Utility Helper. (I still need to figure out how exactly to configure this, to meet your use case)

@jata1
Copy link
Author

jata1 commented May 22, 2024

Thank you. I understand and appreciate you looking into this.

Do you see what is happening with my solar radiation sensor on some days? This does not look normal. Do you see this on your own equipment/setup?

@briis
Copy link
Owner

briis commented May 22, 2024

Mine also has some strange curves some days. We have had a very sunny May until now (Not normal for Denmark 😎 ) As you can see from the below 4 1/2 day history, the curves are not the same. Some are more rounded than others. Clouds of course affect this curve very much.

Skærmbillede 2024-05-22 kl  15 49 34

@jata1
Copy link
Author

jata1 commented May 22, 2024

Then the issue might be upstream with the tempest itself.

Any chance you could create a utility meter helper off your solar radiation to see if you get the same issue as me on days with perfect data?

@briis
Copy link
Owner

briis commented May 23, 2024

I have setup a few with different configs now. They need a day or two to populate data

@jata1
Copy link
Author

jata1 commented May 23, 2024

Thank you. Really appreciate your help. I have a feeling the data comes through strange when the sky is clear/sunny.

I will also monitor myself. Speak soon.

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

2 participants