Comments (3)
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.
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.
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)
- Model unknown Manuf.: ABB - Model: -3P25- HOT 17
- Config flow - error 500 Internal Server Error HOT 2
- "Invalid handler specified"
- Conflict with Modbus: official integration HOT 14
- Model unknown HOT 4
- randomic HA response delay with ABB Integration HOT 59
- Can VSN300 detect power consumption from electricity grid ? HOT 1
- Model unknown HOT 5
- Model unkmown HOT 9
- Lost of data readings after one day HOT 1
- Not getting DC value on multiple mppt with single phase inverter HOT 5
- Integration Error after HA Update HOT 36
- New Inverter Model HOT 1
- Update Problem (file missing) HOT 22
- v3.2.0 introduces static values values for DCx Current, DCx Voltage, and DCx Power HOT 19
- DC voltage shows -0.0 V regardless of output HOT 8
- Integrazione di un inverete PVI6000 del 2010 HOT 10
- Inverter non connesso HOT 15
- UNO-DM-4.0-TL-PLUS 140055-3P22-1721 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-abb-powerone-pvi-sunspec.