home-assistant-omnik-inverter icon indicating copy to clipboard operation
home-assistant-omnik-inverter copied to clipboard

read alert field

Open CFenner opened this issue 1 year ago • 6 comments

I would like to see the alert field in home assistant. Any doubts about adding this?

Detailed description

I would like to read webdata_alarm and make it available as a field in HA.

var webdata_total_e = "0.3";
var webdata_alarm = "F13";
var webdata_utime = "1";
var webdata_alarm = "F06F11F13F23F24F26F27F31";

I'm using Bosswerk MI300 / Deye SUN300G3-EU-230. Is this also available on other inverters?

Context

This would be nice to have for diagnostics.

CFenner avatar Sep 05 '22 16:09 CFenner

I see the same field in my JS source, so we can probably add it. We need to add it in the python-omnikinverter library first though :)

robbinjanssen avatar Sep 06 '22 06:09 robbinjanssen

We are working on it, it's just a puzzle to find out per source_type where this value is.

klaasnicolaas avatar Sep 06 '22 08:09 klaasnicolaas

@CFenner Do you have a mapping of these error codes? According to certain Omnik docs like https://download.solarclarity.nl/2015/04/UserManual-OMNIK-3K4K5K-TL2.pdf F13 means that the device is overheating...

If we can find a consistent mapping for all these devices we might be able to provide a friendly representation in the UI, instead of raw text.

I'll check if I can find an error-code mapping in the TCP stream in the meantime.

MarijnS95 avatar Sep 06 '22 10:09 MarijnS95

No, I don't have a mapping. It's definitely not overheating, current production is very low. I asked Deye for it.

CFenner avatar Sep 06 '22 11:09 CFenner

So we found a few sources that have some mapping, for example: https://download.solarclarity.nl/2015/04/UserManual-OMNIK-3K4K5K-TL2.pdf

Screenshot 2022-09-06 at 15 09 52

or in dutch: https://www.solar-nu-webshop.nl/data/upload/files/1911-omnik-handleiding-01-usermanual-omnik-single-phase-inverter-installdutch.pdf

screenshot_2022-09-06_at_15 12 07

But if it doesn't match your current problem, the mapping is useless.

robbinjanssen avatar Sep 06 '22 13:09 robbinjanssen

@CFenner How useful is this field without knowing what's up?

I can see use in knowing the value, but wouldn't want to unnecessarily scare users because of some non-empty error code/value.

MarijnS95 avatar Sep 06 '22 13:09 MarijnS95

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

github-actions[bot] avatar Sep 21 '22 08:09 github-actions[bot]