Comments (3)
As I already said to you in #3: The inverter closes the connection instead of answering the query after issuing a read_register (0x03) command, so having an open 502 port to connect to is clearly not enough.
The device will always close the previous connection when another connection is made to that 502 modbus port. So make sure that nothing else is trying to connect to the inverter via Modbus. This can also cause the behavior that you're seeing.
To debug, you should verify that you can succesfully retrieve a value via Modbus from the inverter.
I've only worked with Modbus directly via Python. A minimal example to debug:
from pymodbus.client.sync import ModbusTcpClient as ModbusClient
client = ModbusClient('<ip>', port=502)
client.connect()
client.read_holding_register(address=30000, count=15 ,unit=0)
If you want to use a GUI to query, you'll have to search for yourself (maybe http://www.minaandrawos.com/tcp-modbus-examiner-tool/ works for you?)
from huawei_solar.
from huawei_solar.
It may be possible that you'll need to contact your installer to enable it via that way. My account certainly doesn't have enough access rights for that kind of changes to the installation.
from huawei_solar.
Related Issues (20)
- [Feature Request]: Battery operating mode Time usage: set times in Home Assistant HOT 1
- [Bug]: Failed Setup using 2024.4.b0 HOT 5
- [Feature Request]: Power value for DC strings HOT 1
- [Feature Request]: 1.4.0a# - Inverter's' Total Sensors HOT 5
- [Bug]: polling frequence in the latest beta release HOT 10
- [Bug]: Static values HOT 2
- [Bug]: 1.4.0a3 - sensor.power_meter_reactive_energy - state class total_increasing, but its state is negative HOT 2
- [Bug]: Integration fails to load HOT 4
- Verbindung geht immer wieder verloren
- [Bug]: Inverter Input Power and Active Power always the same HOT 1
- [Bug]: Unable to setup Huawei Solar integration HOT 3
- [Bug]: Inverter Daily Yield Erroneous values between two inverter polls (30s) HOT 6
- [Bug]: v1.4.0a3 - Delete Plant and Huawei Service Removed (and won't reinstall) HOT 2
- [Bug]: Grid-Connected, Grid connection with derating due to power rationing HOT 16
- [Feature Request]: Entities with editable entries HOT 8
- [Bug]: Error between Battery and Batteries Charge/Discharge Power sensor values HOT 2
- [Feature Please add some more sensors to your integration that would provide information on the energy production of each of the strings PV1, PV2, .... etc.Request]: HOT 1
- Huawei Solar started to hang - Reload solves it HOT 1
- Deprecated constant needs to be updated for HA Core 2025.1
- [Feature Request]: [Feature Request]: Register 32088 insulation resistance HOT 1
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 huawei_solar.