question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Solar panel production value occaisionally "spikes" to "full production" in mornings

See original GitHub issue

Version of the custom_component

v2.4.0 (latest)

Configuration

This is the sensor I add so I can use it in Energy:

  - platform: integration
    source: sensor.180779888555_solar_panel
    name: tesla_solarpanels_new_kwh
    unit_prefix: k
    round: 2

Describe the bug

I am using the Tesla HACS plugin, and occasionally it (or Tesla?) reports like “full production” on my Tesla sensor, usually in the morning (this is from the sensor.180779888555_solar_panel):

image

This obviously throws off my energy reporting for the day. I am not sure how to even edit/delete those incorrect data points. (I’m still somewhat new to HA) - but I’m wondering if this is some quirk/bug in this integration, or if Tesla’s API is returning this bad data? Either way, I suppose there should be some way of dealing with it.

Debug log

I do not have debug logs yet for this, but I will start doing so and report back.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
nicholasheadcommented, Sep 2, 2022

I’ve been running the newer version and I haven’t seen it happen again- I’ll keep monitoring. Thanks again!

1reaction
shred86commented, Aug 27, 2022

@nicholashead v2.4.1 is available which should fix this issue. Basically what I did was add a check that if your setup always reports grid_status of Unknown, then to ignore the piece of code mentioned above. So for our setups, we will always use the values Tesla’s servers are reporting.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best Practices for Operation and Maintenance of Photovoltaic ...
2018. Best Practices for Operation and Maintenance of Photovoltaic and. Energy Storage Systems; 3rd Edition. Golden, CO: National Renewable Energy Laboratory.
Read more >
Home solar panel adoption continues to rise in the U.S.
Residential solar power installations rose by 34% from 2.9 gigawatts in 2020 to 3.9 gigawatts in 2021, according to data from the U.S....
Read more >
Confronting the Duck Curve: How to Address Over-Generation ...
Energy Department research is taming the duck curve by helping utilities better balance energy supply and demand on the grid.
Read more >
How Solar Power And The Grid Work Together
Solar Energy Reduces Income for Utilities ... Homeowners with rooftop solar panels purchase less energy from the grid and pay less to the...
Read more >
How to Pick a Solar Panel and Battery Backup System
But that sundown spike in demand arrives right as solar panels stop producing electricity. (The daily cycle of excess midday solar production ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found