StephanJoubert / home_assistant_solarman

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

Problem connecting to Deya SUN-5K-G #487

Open alexmerqq opened 5 months ago

alexmerqq commented 5 months ago

. I have two inverters - Deye SUN-5K-SG03LP1 and Deya SUN-5K-G . I connect to the hybrid inverter without any problems and read all the necessary parameters. I configure the second inverter in exactly the same way, using deye_string.yaml, but its status remains Disconnected. What could be the problem and what else can I check?

valeriosouza commented 5 months ago

From December 17th until now I also lost connection. using deye_string

qfinucane commented 5 months ago

From December 17th until now I also lost connection. using deye_string

I have the same issue after updating Home assistant core in December. I would suggest checking you core logs under system. See if you get this error:

2024-01-20 10:46:10.684 WARNING (SyncWorker_2) [custom_components.solarman.solarman] Querying [3 - 112] failed with exception [TypeError: unsupported operand type(s) for -: 'str' and 'int'] 2024-01-20 10:46:11.184 WARNING (SyncWorker_2) [custom_components.solarman.solarman] Querying [3 - 112] failed, [0] retry attempts left 2024-01-20 10:46:11.184 WARNING (SyncWorker_2) [custom_components.solarman.solarman] Querying registers [3 - 112] failed, aborting.

I restore to the last version i had installed 2023.4.4. The integration started working again. How to investigate why the update causes this.

basersoft commented 5 months ago

I've been having the same problem for days. I went back to the old version 1.4 and ran it. Now it works without any problems.

valeriosouza commented 5 months ago

solarman 1.4?

Ramaddan commented 5 months ago

Yes, I have similar problems with the sun-8k-sg01lp1

Have to keep to version 1.4 which does not have a problem

valeriosouza commented 5 months ago

This 1.4.1? [image: image.png]

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11& 04/02/24, 15:32:58

Em sáb., 3 de fev. de 2024 às 21:41, Ramaddan @.***> escreveu:

Yes, I have similar problems with the sun-8k-sg01lp1

Have to keep to version 1.4 which does not have a problem

— Reply to this email directly, view it on GitHub https://github.com/StephanJoubert/home_assistant_solarman/issues/487#issuecomment-1925503569, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAO3FH7T4W75TS3L4OTE4C3YR3KNBAVCNFSM6AAAAABBZGMBHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGUYDGNJWHE . You are receiving this because you commented.Message ID: @.***>

--

Valério Souza WordPress Developer | e: @.*** | w: http://valeriosouza.com.br/

Ramaddan commented 5 months ago

Sorry, using 1.4.3 to be exact

basersoft commented 5 months ago

I ran it with version 1.4. I didn't do much. I used deye_string.yaml. It works without any problems.

Ramaddan commented 5 months ago

Yes, it works with the versions below 1.5, but the minute I try version 1.5 and above, it stops working.

qfinucane commented 5 months ago

Thanks @Ramaddan , How do you see which version is integrated in HA? and how do you roll back?

Ramaddan commented 4 months ago

Hi,

I used HACS to install in Home Assistant.

I just went into the HACS page, and looked at installed integrations.

Chose Solarman, and here it should tell you what version you are on the top left hand side.

If I remember right, I had to remove the integration first of the version 1.5, and then clicked on the three dots on the right side, and downloaded the specific version I needed.

qfinucane commented 4 months ago

@Ramaddan , Thank you very much.

I'll give it a try.