Coder Social home page Coder Social logo

Comments (3)

alexdelprete avatar alexdelprete commented on May 24, 2024

The log is pretty clear:

2023-10-17 10:28:35.628 DEBUG (MainThread) [custom_components.abb_powerone_pvi_sunspec] Check_Port: opening socket on 192.168.1.130:502 with a 3.0s timeout.
2023-10-17 10:28:38.633 DEBUG (MainThread) [custom_components.abb_powerone_pvi_sunspec] Check_Port (ERROR): port not available on 192.168.1.130:502 - error: 11
2023-10-17 10:28:38.634 DEBUG (MainThread) [custom_components.abb_powerone_pvi_sunspec] Inverter not ready for Modbus TCP connection

That means the component couldn't open a socket on port 502 of the VSN card. It's a network issue that you need to check. Check wifi of the VSN card. Also, from HA container/host, do a tcp port check on inverter:502 every 30s to see if it's available.

Also, there wouldn't seem to be any problems using the inverter's official application (Energy Viewer), because it shows normal values.

The energy viewer app works through cloud, the VSN card sends data to the cloud every 5m and you monitor that through the mobile app or website. You can't compare that to the component, that works almost real-time.

from ha-abb-powerone-pvi-sunspec.

Pippo1989 avatar Pippo1989 commented on May 24, 2024

Hi,

As suggested, I ran some tests, including checking the TCP connection, but I didn't get any results that could explain what caused the problem.

I also checked that the configuration of the wifi network through the access point generated by the inverter was carried out correctly.

On the other hand, the frequent disconnections appeared out of the blue, without any intervention on my part: therefore it is not even possible for me to make any hypotheses about the cause of the problem.

As a contribution, I tried to install the SunSpec (generic) integration using the same configuration. The result is that the sensors obtained (including AC/DC production) are not subject to disconnection, unlike this integration.

Thank you.

from ha-abb-powerone-pvi-sunspec.

alexdelprete avatar alexdelprete commented on May 24, 2024

Can't tell you why a few lines of python code can't make a socket connection reliably in your case, if not because of wifi network issues.

The socket connection is a very basic test, if it fails, there's a network problem. That's not my opinion, it's a fact.

Many times I had received issues saying I have this X problem with this integration, while ha-sunspec works, then after some time they discovered they had network or HA or hw issues (mostly RPi related) on their side. And yes, problems appear all of the sudden, they don't warn you before, typically they just happen out of the blue. :)

But I think you found the solution: use the Sunspec integration, it's an excellent alternative.

from ha-abb-powerone-pvi-sunspec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.