StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
512 stars 191 forks source link

which yaml to use with my SUN-M80G3-EU-Q0 Deye inverter? #342

Closed prankousky closed 1 year ago

prankousky commented 1 year ago

Hi everybody,

I have a Deye brand inverter that I am trying to connect to Home Assistant.

Information

index_cn.html

Web Ver: 1.0.24

Inverter

Inverter serial number 230*
Firmware version (main) blank
Firmware version (slave) blank
Inverter model ---
Rated power --- W
Current power 103 W
Yield today 0.0 kWh
Total yield 0.0 kWh
Alerts ---
Last updated 0

Yeah, weirdly enough, it does not display any firmware...

Device information

Device serial number 3914*
Firmware version MW3_16U_5406_1.53

Remote server information

Remote server A connected
Remote server B Not connected

config_hide.html

Mobile App (SOLARMAN)

This is all in German, trying to translate as best as possible:

Logger:

The app does show production values etc.; for example, currently I have 63.00W production.

All entities in Home Assistant regarding this integration are unavailable.

I was not able to find any other settings, nor was I able to check for possible firmware updates.

I have tried

This repos README.me states

Check the version of the solarman logger. If the serial number starts with 17xxxxxxx or 21xxxxxxx (protocol V5), the component should work. If not, you may need to try the component for V4 of the protocol mentioned above.

What does this mean? I don't see anything mentioned above.

The app seams to read correct values, the production W keeps changing.

Can you please help me fix this? Thank you in advance for your support :)

prankousky commented 1 year ago

Update: I suddenly started receiving values in Home Assistant, without changing anything.

I posted the original issue yesterday, I believe it was around 3 in the aftenoon. Around 4.30 in the afternoon, values started popping up in Home Assistant.

However, I am still not sure, which yaml is adequate to use. Please take a look at the sensors that have been created, screenshot below. I am using deye_4mppt.yaml at the moment. Should I use a different one? I am hesitant to just try switching between different ones, because it seems like the integration needs quite some time to start working (so if I change now, I might not receive any values for hours, thus not knowing whether the yaml I switched to is false or just taking its time).

grafik

DHLF commented 1 year ago

Zuerst einmal zum Verständnis: Du hast einen Deye Microinverter mit 2mppts.. was spricht dagegen deye_2mppt.yaml zu verwenden??

Das was du auch immer gerade verwendest zeigt zumindest TEILWEISE etwas an. PV3 und PV4 kann dein Microinverter gar nicht haben(da nur 2mmpt) -.- Ebenso hat der keine GRID-Messung.

Kleiner Tipp.. Im HA den Status_Last_Update Wert verstecken lassen.. sonst füllt sich dein Log mit den sinnlosen Updateinfos im Minutenrhythmus..

elodur commented 1 year ago

Weil 2mppt.yaml möglicherweise fehlt. Ich habe das Plugin auch gerade via HACS installiert, die Datei fehlt.

prankousky commented 1 year ago

Mir war zu dem Zeitpunkt einfach nicht klar, dass die deye_2mppt.yaml einfach hätte funktionieren müssen. Das erste Update nach dem Einrichten lässt (anscheinend?) etwas auf sich warten, deshalb wurden mir anfangs gar keine Werte angezeigt.

Nachdem ich die Integration einmal vollständig gelöscht und Home Assistant neu gestartet hatte, lies sie sich problemlos mit 2mppt einrichten.

Die Datei war bei mir von Anfang an dabei, war einfach ein Benutzerfehler.