Energy consumed and produced broken?

Hi everyone,

I’ve had a working system for a while now but on the 27th of June energy production and consumption stopped being monitored in HA.

The data is still on solar.web (fronius site)

You can see here

Regards

The energy dashboard doesn’t tell us what went wrong. What’s going on with the entities involved? What’s the fronius integration saying? Issues in the log?

1 Like

I kind of figured that after I posted :frowning:

This is from the energy dashbord
Entity unavailable
The state of these configured entities are currently not available:
sensor.energy_real_consumed_fronius_meter_0_192_168_86_8 (unavailable)
sensor.energy_real_produced_fronius_meter_0_192_168_86_8 (unavailable)

This message is on the entities
This entity is currently unavailable and is an orphan to a removed, changed or dysfunctional integration or device.

I haven’t found anything in the logs.

It has been working for well over a year

Regards

Still not a lot to go off.

First thing that comes to mind is the IP address of your inverter has changed.

Check the IP assigned to your inverter on your router.

Check if new entities have been created in the fronius integration.

Are there any available entities in the fronius integration or all are unavailable?

Suspect you just need to reconfigure the integration but given the name of your sensors that means loss of history. So ideally you would change the inverter IP address back to the original one 192.168.86.8 if that is indeed the issue.

I’m at a loss myself, that is why I posted.

I set the IP manually and can access it from that IP and it works with the fronius site.

Regards

You have not made comment on the integration itself.

I assume the consumption value also comes from the fronius integration? So some sensors are working?

Have you tried to reconfigure the integration?

I restarted everything last night and now found this in the logs

Logger: homeassistant.components.fronius
Source: helpers/update_coordinator.py:237
Integration: Fronius (documentation, issues)
First occurred: 2:47:18 AM (6 occurrences)
Last logged: 11:13:32 AM

Error fetching fronius_inverter_1_192.168.86.8 data: Connection to Fronius device failed at http://192.168.86.8/solar_api/v1/GetInverterRealtimeData.cgi?Scope=Device&DeviceId=1&DataCollection=CommonInverterData.
Error fetching fronius_meters_192.168.86.8 data: Connection to Fronius device failed at http://192.168.86.8/solar_api/v1/GetMeterRealtimeData.cgi?Scope=System.
Error fetching fronius_power_flow_192.168.86.8 data: Connection to Fronius device failed at http://192.168.86.8/solar_api/v1/GetPowerFlowRealtimeData.fcgi.

If I go to the fail links I see data.

	
Body	
Data	
DAY_ENERGY	
Unit	"Wh"
Value	6670
DeviceStatus	
ErrorCode	0
LEDColor	2
LEDState	0
MgmtTimerRemainingTime	-1
StateToReset	false
StatusCode	7
FAC	
Unit	"Hz"
Value	49.94
IAC	
Unit	"A"
Value	6.43
IDC	
Unit	"A"
Value	4.41
PAC	
Unit	"W"
Value	1520
TOTAL_ENERGY	
Unit	"Wh"
Value	16991820
UAC	
Unit	"V"
Value	240.2
UDC	
Unit	"V"
Value	325.4
YEAR_ENERGY	
Unit	"Wh"
Value	4888668
Head	
RequestArguments	
DataCollection	"CommonInverterData"
DeviceClass	"Inverter"
DeviceId	"1"
Scope	"Device"
Status	
Code	0
Reason	""
UserMessage	""
Timestamp	"2022-07-08T12:01:11+10:00"

The consumption is still working.
Should I remove everything and start again?

Regards

Hmm, that error has occurred only 6 times in8.5 hours. So it must be working sometimes I would think.

Are the sensors with issues unavailable the whole time or sporadically?

Are there any errors on the developer tools > statistics page relate to those sensors?

FYI my own inverter integration (solar edge) also has plenty of failures in the log but it jsut means one update is empty and the next makes up the delta.

I would be okay if it was missing some data but there has been nothing since 1pm on June 26. Slightly earlier than I first thought.

Here is the info from the statistics page.

Thanks again for helping with this

Regards

Nothing to act on there.

Is there anything amiss on the states page for the two bad sensors?

I feel deleting the integration and re-adding it might be the simplest fix although i’m concerned it will make new entities with _2 appended to the end. I wouldn’t want to recommend that unless you are comfortable fixing it.

I ended up removing then reinstalling. Everything except the power monitor came back. It looks like the inverter is not talking to the power monitor so I’ll be contacting the installer and possibly Fronius tech support.

Thank you for trying to help :slight_smile:

1 Like

Hi :wave:!
Maybe have a look if there is new firmware available for the datalogger or inverter. You can do this from solarweb.
If you can still see consumption in solarweb I guess communication is still working.

Hi farmio

:wave:

Solarweb data matches my initial image

I’ve spoken with the original installer. Someone is coming around to look. Thankfully this is not a HA issue :slight_smile:

Regards

1 Like

Did you solve it? I have the same issue.