Comments (8)
Hi André,
das liegt bestimmt noch an mir, weil ich viel im Testing branch herumprobiert habe, aber das Dashboard noch nicht wieder richtig zusammengeklickt habe....
Kommt bald, muss nur mal wieder einen Abend Zeit haben :)
Das ist aber schon merkwürdig, dass Inverter State, Running State und System State alle '0' sind.
Aus diesen Statusregistern werden dann die binären Werte abgeleitet, weshalb diese alle ebenfalls 'Aus' sind.
Ist es denn ein SH10RT, wie im Screenshot angezeigt?
Grüße aus Bielefeld,
Martin
from sungrow-shx-inverter-modbus-home-assistant.
from sungrow-shx-inverter-modbus-home-assistant.
I have the exact same problem.
I also get these error messages in the log.
I have an SH8.0RT inverter.
Perhaps I should add that i connect to the inverter over Wi-Fi if that can make a difference.
Update:
The missing controls was just a matter of a renaming gone wrong I would think.
I added "forced" in the dashboard yaml on the entities and it shows up.
- entity: input_select.set_sg_battery_forced_charge_discharge_cmd
- entity: sensor.battery_forced_charge_discharge_cmd_raw
- entity: sensor.sungrow_battery_forced_charge_discharge_cmd
- entity: input_number.set_sg_forced_charge_discharge_power
- entity: sensor.battery_forced_charge_discharge_power
from sungrow-shx-inverter-modbus-home-assistant.
Does this fix it?
splitted the one file into two: One for Status (readonly) and one for control. I hope this will prevent myself on doing unwanted stuff on my mobile
from sungrow-shx-inverter-modbus-home-assistant.
Hi, for my inverter (SH10RT) my state readings are also zero. Can I provide anything helpful for debugging this?
Regards, Uli
from sungrow-shx-inverter-modbus-home-assistant.
Checked the system state register via command line today and the value is as expected. So this seems to be not caused by the inverter but somewhere inside home assistant.
ulrich@hp:~$ mbpoll -a 1 -r 12999 -t3:hex -0 -c1 sungrow-modbus
mbpoll 1.0-0 - FieldTalk(tm) Modbus(R) Master Simulator
Copyright © 2015-2019 Pascal JEAN, https://github.com/epsilonrt/mbpoll
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'mbpoll -w' for details.
Protocol configuration: Modbus TCP
Slave configuration...: address = [1]
start reference = 12999, count = 1
Communication.........: sungrow-modbus, port 502, t/o 1.00 s, poll rate 1000 ms
Data type.............: 16-bit register, input register table
-- Polling slave 1... Ctrl-C to stop)
[12999]: 0x0040
sniffing the transmission gives me
T 10.0.3.7:53340 -> 10.3.7.3:502 [AP] #18
00 3a 00 00 00 06 01 04 32 c7 00 01 .:......2...
#
T 10.3.7.3:502 -> 10.0.3.7:53340 [AP] #19
00 3a 00 00 00 05 01 04 02 00 40 .:........@
"tell me contents of 1 input register, starting with 0x32c7" - "ok .. the value is 0x0040"
now I sniff the communication between hass and the inverter
T 10.10.7.3:57641 -> 10.3.7.2:502 [AP] #18
15 1a 00 00 00 06 01 04 32 c7 00 01 ........2...
#
T 10.3.7.2:502 -> 10.10.7.3:57641 [AP] #19
15 1a 00 00 00 05 01 04 02 00 00 ...........
** same question, but another response(0x0)! what is going on here?**
from sungrow-shx-inverter-modbus-home-assistant.
TLDR; WinetS adapter is buggy, use the other LAN port for modbus.
It seems that yesterday evening I was to tired to see the difference. With "mbpoll" connection was made to the internal LAN-Port of the inverter, while home assistant connected to the LAN cable running into the WinetS adapter. Changed this now and all the states (and derived readings) are there.
Seems like WinetS has:
PORT STATE SERVICE
80/tcp open http (internal webserver)
443/tcp open https (?)
502/tcp open mbap (buggy modbus instance)
8082/tcp open blackice-alerts (?)
The other LAN port only has 502/tcp for modbus, but here all data registers are available.
You better don't portscan this port, my inverter didn't like this and I had to physically re-connect the port before I could make a modbus connection again.
from sungrow-shx-inverter-modbus-home-assistant.
good thing that you are capable of debugging like this :)
I guess this issue is solved then?
Also there is a major update including the dashboard in the main branch now... Please open a new issue if anything does not work!
from sungrow-shx-inverter-modbus-home-assistant.
Related Issues (20)
- Error: device: 1 address: 13050 -> Modbus Error: [Input/Output] [Errno 32] Broken pipe HOT 2
- upgrade HA to Home Assistant core 2024.1.0 many errors HOT 2
- retries` configuration key is being removed HOT 7
- SH10RT with 14.2KWh Pylontech HOT 2
- Battery Capacity is "0.00kWh" HOT 7
- rapid reading of grid power HOT 5
- SH5k-30 issues HOT 5
- Add information of EV charger (for car) to available values
- MAC Adress instead IP HOT 6
- please delete
- Some Entities are not available HOT 10
- 2 sensors not available in the tesla dashbaord by louis HOT 1
- Zwei Wechselrichter. Daten unterschiedlich in HA und iSolarCloud | Two inverters. Different data in HA and iSolarCloud HOT 18
- Strange outage HOT 1
- Force charge and all other modbus write registers don't work HOT 1
- Retrieved data through modbus not containing data of both inverters HOT 1
- Battery Capacity wrong HOT 9
- Battery dis/charging power sensors don't work. HOT 5
- Load 1 ON/OFF Mode Switch for the DO-port holding register 130011 or more complex DO-Configuration and Load Control Mode by using registers 13001-13016 HOT 3
- Entities are no longer available or jumping between available and unavailable HOT 28
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 sungrow-shx-inverter-modbus-home-assistant.