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

Continuous Warning: "[LATEST] Error receiving latest data: undefined is not a valid state value" #301

Open
EdV0nSchleck opened this issue Apr 22, 2024 · 15 comments

Comments

@EdV0nSchleck
Copy link

Hi,
I get the warning above by the adapter every few sconds and always when it's running.
Am I the only one with this problem?

sonnen-Adapter

  • Adapter version: 1.18.0 or 1.18.1 (tried both)
  • JS-Controller version: 5.0.12
  • Node version: 18.18.0
  • Battery model: sonnenBatterie 10 performance 11 kWh
@foxriver76
Copy link
Owner

Maybe a firmware update on the Battery lead to this? At least on my eco8 it is running as usual.

@foxriver76
Copy link
Owner

Please set adapter to debug and show data from the log line starting with Latest data:

@EdV0nSchleck
Copy link
Author

My SB software version is 1.9.4.2021374, I don't think it changed in the last weeks, but I also don't exactly know since when the warning occurs.

I already set the adapter to debug (and also to all) yesterday, but the message was only the same as it is in the screenshot above.

@foxriver76
Copy link
Owner

Then I do not think, that the adapter is running on debug log level. In tab instances with expert mode you need to change the loglevel, maybe this helps: http://www.stueben.de/debugmodus-in-iobroker-aktivieren/

@EdV0nSchleck
Copy link
Author

Ok you're right, something went wrong yesterday, here's the log you requested:

Latest data: {"Consumption_W":2699,"FullChargeCapacity":9667,"GridFeedIn_W":7709,"Pac_total_W":-3,"Production_W":10413,"RSOC":100,"SetPoint_W":0,"Timestamp":"2024-04-23 14:07:22","USOC":100,"UTC_Offet":2,"ic_status":{"DC Shutdown Reason":{"Critical BMS Alarm":false,"Electrolyte Leakage":false,"Error condition in BMS initialization":false,"HW_Shutdown":false,"HardWire Over Voltage":false,"HardWired Dry Signal A":false,"HardWired Under Voltage":false,"Holding Circuit Error":false,"Initialization Timeout":false,"Initialization of AC contactor failed":false,"Initialization of BMS hardware failed":false,"Initialization of DC contactor failed":false,"Initialization of Inverter failed":false,"Invalid or no SystemType was set":false,"Inverter Over Temperature":false,"Inverter Under Voltage":false,"Inverter Unknown Error":false,"Inverter Version Too Low For Dc-Module":false,"Manual shutdown by user":false,"Minimum rSOC of System reached":false,"Modules voltage out of range":false,"No Setpoint received by HC":false,"Odd number of battery modules":false,"One single module detected and module voltage is out of range":false,"Only one single module detected":false,"Shutdown Timer started":false,"System Validation failed":false,"Voltage Monitor Changed":false},"Eclipse Led":{"Blinking Red":false,"Pulsing Green":false,"Pulsing Orange":false,"Pulsing White":true,"Solid Red":false},"MISC Status Bits":{"Discharge not allowed":false,"F1 open":false,"Grid-Disconnection requested from HC":false,"Min System SOC":false,"Min User SOC":false,"Setpoint Timeout":false},"Microgrid Status":{"Continious Power Violation":false,"Discharge Current Limit Violation":false,"Low Temperature":false,"Max System SOC":false,"Max User SOC":false,"Microgrid Enabled":false,"Min System SOC":false,"Min User SOC":false,"Over Charge Current":false,"Over Discharge Current":false,"Peak Power Violation":false,"Protect is activated":true,"Transition to Ongrid Pending":false},"Setpoint Priority":{"BMS":false,"Energy Manager":true,"Full Charge Request":false,"Inverter":false,"Min User SOC":false,"Trickle Charge":false},"System Validation":{"Country Code Set status flag 1":false,"Country Code Set status flag 2":false,"Self test Error DC Wiring":false,"Self test Postponed":false,"Self test Precondition not met":false,"Self test Running":false,"Self test successful finished":false},"nrbatterymodules":2,"nrbatterymodulesinparallel":1,"nrbatterymodulesinseries":2,"secondssincefullcharge":0,"statebms":"ready","statecorecontrolmodule":"ongrid","stateinverter":"running","timestamp":"Tue Apr 23 14:07:18 2024"}}

@foxriver76
Copy link
Owner

Hm okay, somehow ic_status['Eclipse Led'].Brightness is not contained in the response.

@EdV0nSchleck
Copy link
Author

Is this an issue caused by me, my battery or the adapter?

@foxriver76
Copy link
Owner

The assumption until now was, that this information is delivered for all batteries that have the API. If no update for your battery is available only adapter can get rid of it.

@foxriver76
Copy link
Owner

Are you using the v2 api so meaning you have provided an auth token in the instance settings?

@EdV0nSchleck
Copy link
Author

I don't know the difference between api v2 or other, but I am using an Auth-Token in these settings, yes.

@foxriver76
Copy link
Owner

okay and if you restart it is not logging Auth-Token provided, but could not use official API this line?

@EdV0nSchleck
Copy link
Author

Restart looks like this:

image

@EdV0nSchleck
Copy link
Author

@foxriver76 okay, how should I proceed now?
Or is the case already tracked?

@foxriver76
Copy link
Owner

it is tracked and I know what to do, just need to find some time.

@EdV0nSchleck
Copy link
Author

Ok, thank you very much!

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