Comments (8)
This is not a bug but most likely a expected behavior. I would guess that you've enabled the Zero daily yield at midnight
In your case you have to disable it.
Background: This function just sets OpenDTU internal yield to zero at midnight. When the next reading from the inverter occours the yield value begins at zero (as it was normally dark at night and the inverter was turned off -> reset). In your case the yield value of the last day occours after the zero value and counts up (which causes your huge peak).
from opendtu.
I had enabled "zero daily yield at midnight" so I disabled it yesterday from all my four micro inverters, but it didn't help. According to Home Assistant, the solar production between 23:00 and 0:00 was 0,01kWh, and here's this huge spike again (seems like the whole yesterday's yield):
I have enabled also "Yield Day Correction", should I disable that as well? Somehow I imagined these settings should be enabled...
from opendtu.
How do you analyze your data? What tool is it?
If just the 0,1kwh was sent from opendtu to the mart broker, then the problem is maybe home assistant or it's config (you have to use yield_total in home assistant as they expect a only growing value in the engery dashboard).
Many people using this inverter on a battery and this problem does not occour over night. You should log what value is sent really from opendtu.
from opendtu.
I am using MQTT sensor, and apparently yield_day value, but that's because I used DTU Pro modem earlier and yield_day value as well (there was never this behaviour with that integration) So because I didn't want to lose my energy panel history, I had to use the same sensor name with OpenDTU as well.
But even with OpenDTU, I never get these "midnight spikes" unless there's some production recorded between 23:00-23:59. Naturally, for the most part of the year, production at that time of day is zero (and no spikes at midnight), especially if it's rainy/cloudy etc.
from opendtu.
I used to have the same behavior.
How many inveters do you have? If more than one, do you sum their total yield using home assistant sensor group?
If yes that’s why. At midnight, inveters total yield is updated to 0 but not at the same time.
The workaround is to use total yield published by OpenDTU
from opendtu.
@mbo18
I have 4 inverters. A couple of days ago I noticed that I also had another big spike at 3AM. And last night this happened as well:
And when I look at the sensor history, it shows like this:
I have this YAML code:
mqtt:
sensor:
- name: "Sähkön hetkellinen tuotto"
state_topic: "solar/ac/power"
unit_of_measurement: "W"
device_class: "energy"
state_class: "measurement"
- name: "solarH_549330_today_eq"
state_topic: "solar/ac/yieldday"
unit_of_measurement: "kWh"
value_template: "{{ (value | float / 1000) | round(3) }}"
device_class: "energy"
state_class: "total_increasing"
- name: "Solar Yield Total"
state_topic: "solar/ac/yieldtotal"
unit_of_measurement: "kWh"
device_class: "energy"
state_class: "total"
So, I am using yieldday now. I have named the sensor with the same name I had earlier with my DTU Pro. So you suggest I am going to use yieldtotal instead? I would not want to lose my history though, so should I rename "Solar Yield Total" with "solarH_549330_today_eq", is it that easy? And naturally that another sensor with some other name. Naturally, that would cause some odd spikes when I do that but I guess it's fixable later...
from opendtu.
I’m currently using the same config as you and for the energy dashboard I’m using the same sensor as "solarH_549330_today_eq"… but I don’t have the same behavior
from opendtu.
Good to hear that it works for you, but odd that I have this behavior. However, have you had situations where you have had solar production between 23:00-0:00 ? Because that's when this happens in my case (not sure though why sometimes I get this spike at 03:00 as well). I switched to OpenDTU last winter so this is the first summer with this configuration for me and it's basically midsummer so... Didn't have this behaviour with DTU Pro / Hoymiles integration though during previous last two summers.
But now it was cloudy/rainy here so last night there was no production between 23-00 and therefore no spikes on my energy dashboard either.
from opendtu.
Related Issues (20)
- Data - all missing HOT 1
- HMS2000 Error ID 52 Unknown HOT 2
- Reactive power of HMS-450-1T not shown correct „VoltVar“ is activated HOT 1
- Meldungen stimmen nicht überein! HOT 2
- Mit aktivierten MQTT Verbindungsprobleme zu den Wechelrichtern HOT 1
- Random Total Yield Reduce
- [Request] Communicate "firmware update available" through MQTT / allow firmware update through HomeAssistant
- HMS-800-2T-LV not connecting to OpenDTU Fusion HOT 7
- Crash during connection attempt to MQTT broker in Azure Event Grid
- Firmware Update v24.6.29 stucks at 100% upload HOT 2
- Missing yieldday and yieldtotal on phase 1 HOT 2
- Min WIFI signal strength HOT 1
- DTU Polling Intervall Increases with more Connected Inverters HOT 1
- smart micro solar lose conection to openDTU 3 or 4 times a day HOT 4
- Faulty Sketch size reported in Info Web page HOT 4
- Lost connection to hms-1600-4t / frequency hopping HOT 8
- not possible to change the ip address HOT 10
- no return from manual ip configuration to dhcp
- Interrupt received with CMT2300A HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opendtu.