GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Anfragen zum Erstellen von Modulen, Fragen zu Modulen
Carsten73
Beiträge: 56
Registriert: Mo Dez 03, 2018 1:26 pm

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Carsten73 »

Hallo zusammen,

ich habe seit heute den GoodWe GW6.5K-ET im Einsatz. Jetzt wollte ich den WR in meiner OpenWB Konfig mit aufnehmen und habe festgestellt, dass das gar nicht so ohne Weiteres geht. Mit dabei war das WiFi Kommunikationsmodul. Anscheinend ist aber nicht sicher gestellt, dass das auch mit dem WiFi/LAN Adapter funktioniert. Jetzt bin ich über diesen Beitrag gestolpert. Hier wird eine direkte ModBus Anbindung beschrieben.

Besteht die Möglichkeit, über diese Schnittstelle (siehe Bild) und dem Protoss Netzwerk/Modbus Wandler auf die Daten des Wandlers zuzugreifen?
Ich habe bereits den Protoss Netzwerk/Modbus Wandler im Einsatz. Dort hängt der Smartmeter der EVU und der anderen PV mit dran. Theoretisch müsste ich den GoodWe WR mitsamt Batteriespeicher direkt dort mit anbinden können.

Würde das klappen?
Steckerbelegung.PNG
Schöne Grüße
Carsten
openWB
Site Admin
Beiträge: 7998
Registriert: So Okt 07, 2018 1:50 pm

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von openWB »

Du solltest einen separaten Adapter verwenden. Dann sollte es laufen.
Supportanfragen bitte NICHT per PN stellen.
Hardwareprobleme bitte über die Funktion Debug Daten senden mitteilen oder per Mail an support@openwb.de
mikesorg@web.de
Beiträge: 2
Registriert: Sa Sep 18, 2021 9:26 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von mikesorg@web.de »

Kurze Nachfrage. Kann man den Protoss in die OpenWB 2 einbauen und mit dem vorhandenen DIN Rail Netzteil mitversorgen?
mikesorg@web.de
Beiträge: 2
Registriert: Sa Sep 18, 2021 9:26 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von mikesorg@web.de »

Übrigens bietet Goodwe neuerdings auch einen Wifi/Lan Adapter 2.0 an, mal schauen was der dann so bringt. https://en.goodwe.com/wifi-lan-20
openWB
Site Admin
Beiträge: 7998
Registriert: So Okt 07, 2018 1:50 pm

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von openWB »

mikesorg@web.de hat geschrieben: Sa Nov 18, 2023 1:09 pm Kurze Nachfrage. Kann man den Protoss in die OpenWB 2 einbauen und mit dem vorhandenen DIN Rail Netzteil mitversorgen?
Der Protoss wird mit 230V versorgt und benötigt kein externes Netzteil.
Supportanfragen bitte NICHT per PN stellen.
Hardwareprobleme bitte über die Funktion Debug Daten senden mitteilen oder per Mail an support@openwb.de
Carsten73
Beiträge: 56
Registriert: Mo Dez 03, 2018 1:26 pm

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Carsten73 »

openWB hat geschrieben: Fr Nov 17, 2023 8:05 pm Du solltest einen separaten Adapter verwenden. Dann sollte es laufen.
Du meinst einen separaten Protoss Adapter an eben diese beiden Pins?
Carsten73
Beiträge: 56
Registriert: Mo Dez 03, 2018 1:26 pm

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Carsten73 »

Ich habe es geschafft. Ich habe den WR einfach mal an den bestehenden Protoss Adapter angeschlossen. Verwendet habe ich die IP 192.168.178.123:8899, da er sonst den Standard GoodWe Port genommen hätte. Siehe da ... es funktioniert.
GoodweDaten.PNG
Jetzt muss ich den nur noch entsprechend im Latenmanagement einbinden.
Philip
Beiträge: 80
Registriert: Fr Okt 27, 2023 6:41 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Philip »

LenaK hat geschrieben: Do Nov 16, 2023 9:30 am Ich habe in software2 einen Feature-Branch für die neue GoodWe-Version 1.1 angelegt. Dort ist der aktuelle Stand erweitert um die neue Version enthalten.
Um auf den Feature-Branch zu wechseln, unter System -> System -> Entwicklungszweig feature_goodwe auswählen. Vorher eine Sicherung erstellen.
In den Geräteeinstellungen kannst du dann als Version 1.1. auswählen.

Es gibt wohl einige geänderte Register und Datentypen, zB für den Import und Export des Zählers. Wenn es mit dem Feature-Branch noch nicht passt, bitte nochmal einen aktuellen Logauszug posten.
Hallo Lena,

die openWB hat sich vermutlich am Wechsel des Featurezweigs "verschluckt" - der Support hat das gefixt und ich habe jetzt den feature_goodwe Branch installiert + das GoodWe-Modul 1.1 kofiguriert - siehe Screenshot. Leider erhalte ich damit aktuell garkeine Werte mehr.

Main-Log:

Code: Alles auswählen

no factory reset pending, normal startup
atreboot.sh started
checking init in /boot/config.txt...
watchdog for atreboot.sh on pid 402 started, waiting for 900s
already up to date
Group membership...
Final group membership: openwb : openwb adm dialout cdrom sudo audio video plugdev games users input render netdev spi i2c gpio
Network...
Wait for connection...RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.RTNETLINK answers: Network is unreachable
.
my primary IP: 192.168.178.62
my primary interface: eth0
running as primary, enabling plug'n'play network
apt configuration already up to date
install required packages with 'apt-get'...
OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Paketlisten werden gelesen…
Paketlisten werden gelesen…
Abhängigkeitsbaum wird aufgebaut…
Statusinformationen werden eingelesen…
accountsservice ist schon die neueste Version (0.6.55-3).
apache2 ist schon die neueste Version (2.4.56-1~deb11u2).
bc ist schon die neueste Version (1.07.1-2+b1).
chromium ist schon die neueste Version (106.0.5249.119-1~deb11u1).
chromium-l10n ist schon die neueste Version (106.0.5249.119-1~deb11u1).
git ist schon die neueste Version (1:2.30.2-1+deb11u2).
jq ist schon die neueste Version (1.6-2.1).
libapache2-mod-php ist schon die neueste Version (2:7.4+76).
lightdm-autologin-greeter ist schon die neueste Version (1.0-3).
mmc-utils ist schon die neueste Version (0+git20180327.b4fe0c8c-1).
mosquitto ist schon die neueste Version (2.0.11-1+deb11u1).
mosquitto-clients ist schon die neueste Version (2.0.11-1+deb11u1).
openbox-lxde-session ist schon die neueste Version (0.99.2-4).
php ist schon die neueste Version (2:7.4+76).
php-curl ist schon die neueste Version (2:7.4+76).
php-gd ist schon die neueste Version (2:7.4+76).
php-json ist schon die neueste Version (2:7.4+76).
php-xml ist schon die neueste Version (2:7.4+76).
socat ist schon die neueste Version (1.7.4.1-3).
sshpass ist schon die neueste Version (1.09-1).
ssl-cert ist schon die neueste Version (1.1.0+nmu1).
sudo ist schon die neueste Version (1.9.5p2-3+deb11u1).
vim ist schon die neueste Version (2:8.2.2434-3+deb11u1).
x11-xserver-utils ist schon die neueste Version (7.7+8).
xserver-xorg ist schon die neueste Version (1:7.7+22).
lightdm ist schon die neueste Version (1.26.0-7+rpt1).
python3-pip ist schon die neueste Version (20.3.4-4+rpt1+deb11u1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 73 nicht aktualisiert.
done
openwb.cron already up to date
openwb2.service already up to date
openwbRemoteSupport.service already up to date
no restore pending, normal startup
cleaning obsolete python cache folders...
python cache cleanup done
display setup...
autologin configured
mouse cursor configured
lxde session autostart already configured
apache default site...
...ok
checking required apache modules...
headers (enabled by site administrator)
headers already enabled
ssl (enabled by site administrator)
ssl already enabled
proxy_wstunnel (enabled by site administrator)
proxy_wstunnel already enabled
check mosquitto installation...
mosquitto.conf already up to date
mosquitto openwb.conf already up to date
mosquitto_local.conf already up to date
mosquitto openwb_local.conf already up to date
mosquitto done
install required python packages with 'pip3'...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: jq==1.1.3 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 1)) (1.1.3)
Requirement already satisfied: paho_mqtt==1.6.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 2)) (1.6.1)
Requirement already satisfied: pymodbus==2.5.2 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 3)) (2.5.2)
Requirement already satisfied: pytest==6.2.5 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 4)) (6.2.5)
Requirement already satisfied: requests_mock==1.9.3 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 5)) (1.9.3)
Requirement already satisfied: lxml==4.9.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 6)) (4.9.1)
Requirement already satisfied: aiohttp==3.7.4 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 7)) (3.7.4)
Requirement already satisfied: schedule==1.1.0 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 8)) (1.1.0)
Requirement already satisfied: PyJWT==2.6.0 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 9)) (2.6.0)
Requirement already satisfied: ipparser==0.3.8 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 10)) (0.3.8)
Requirement already satisfied: bs4==0.0.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 11)) (0.0.1)
Requirement already satisfied: pkce==1.0.3 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 12)) (1.0.3)
Requirement already satisfied: evdev==1.5.0 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 14)) (1.5.0)
Requirement already satisfied: cryptography==40.0.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 16)) (40.0.1)
Requirement already satisfied: msal==1.22.0 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 17)) (1.22.0)
Requirement already satisfied: python-dateutil==2.8.2 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 18)) (2.8.2)
Requirement already satisfied: umodbus==1.0.4 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 19)) (1.0.4)
Requirement already satisfied: pysmb==1.2.9.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 20)) (1.2.9.1)
Requirement already satisfied: attrs>=17.3.0 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.7.4->-r /var/www/html/openWB/requirements.txt (line 7)) (22.1.0)
Requirement already satisfied: chardet<4.0,>=2.0 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.7.4->-r /var/www/html/openWB/requirements.txt (line 7)) (3.0.4)
Requirement already satisfied: yarl<2.0,>=1.0 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.7.4->-r /var/www/html/openWB/requirements.txt (line 7)) (1.8.1)
Requirement already satisfied: multidict<7.0,>=4.5 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.7.4->-r /var/www/html/openWB/requirements.txt (line 7)) (6.0.2)
Requirement already satisfied: typing-extensions>=3.6.5 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.7.4->-r /var/www/html/openWB/requirements.txt (line 7)) (4.4.0)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /home/openwb/.local/lib/python3.9/site-packages (from aiohttp==3.7.4->-r /var/www/html/openWB/requirements.txt (line 7)) (3.0.1)
Requirement already satisfied: beautifulsoup4 in /home/openwb/.local/lib/python3.9/site-packages (from bs4==0.0.1->-r /var/www/html/openWB/requirements.txt (line 11)) (4.11.1)
Requirement already satisfied: cffi>=1.12 in /home/openwb/.local/lib/python3.9/site-packages (from cryptography==40.0.1->-r /var/www/html/openWB/requirements.txt (line 16)) (1.16.0)
Requirement already satisfied: dnspython in /home/openwb/.local/lib/python3.9/site-packages (from ipparser==0.3.8->-r /var/www/html/openWB/requirements.txt (line 10)) (2.3.0)
Requirement already satisfied: requests<3,>=2.0.0 in /usr/lib/python3/dist-packages (from msal==1.22.0->-r /var/www/html/openWB/requirements.txt (line 17)) (2.25.1)
Requirement already satisfied: pyserial>=3.4 in /home/openwb/.local/lib/python3.9/site-packages (from pymodbus==2.5.2->-r /var/www/html/openWB/requirements.txt (line 3)) (3.5)
Requirement already satisfied: six>=1.15.0 in /usr/lib/python3/dist-packages (from pymodbus==2.5.2->-r /var/www/html/openWB/requirements.txt (line 3)) (1.16.0)
Requirement already satisfied: pyasn1 in /home/openwb/.local/lib/python3.9/site-packages (from pysmb==1.2.9.1->-r /var/www/html/openWB/requirements.txt (line 20)) (0.5.0)
Requirement already satisfied: tqdm in /home/openwb/.local/lib/python3.9/site-packages (from pysmb==1.2.9.1->-r /var/www/html/openWB/requirements.txt (line 20)) (4.66.1)
Requirement already satisfied: toml in /usr/lib/python3/dist-packages (from pytest==6.2.5->-r /var/www/html/openWB/requirements.txt (line 4)) (0.10.1)
Requirement already satisfied: iniconfig in /home/openwb/.local/lib/python3.9/site-packages (from pytest==6.2.5->-r /var/www/html/openWB/requirements.txt (line 4)) (1.1.1)
Requirement already satisfied: packaging in /home/openwb/.local/lib/python3.9/site-packages (from pytest==6.2.5->-r /var/www/html/openWB/requirements.txt (line 4)) (21.3)
Requirement already satisfied: pluggy<2.0,>=0.12 in /home/openwb/.local/lib/python3.9/site-packages (from pytest==6.2.5->-r /var/www/html/openWB/requirements.txt (line 4)) (1.0.0)
Requirement already satisfied: py>=1.8.2 in /home/openwb/.local/lib/python3.9/site-packages (from pytest==6.2.5->-r /var/www/html/openWB/requirements.txt (line 4)) (1.11.0)
Requirement already satisfied: pycparser in /home/openwb/.local/lib/python3.9/site-packages (from cffi>=1.12->cryptography==40.0.1->-r /var/www/html/openWB/requirements.txt (line 16)) (2.21)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp==3.7.4->-r /var/www/html/openWB/requirements.txt (line 7)) (2.10)
Requirement already satisfied: soupsieve>1.2 in /home/openwb/.local/lib/python3.9/site-packages (from beautifulsoup4->bs4==0.0.1->-r /var/www/html/openWB/requirements.txt (line 11)) (2.3.2.post1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/openwb/.local/lib/python3.9/site-packages (from packaging->pytest==6.2.5->-r /var/www/html/openWB/requirements.txt (line 4)) (3.0.9)
done
load versions...
chgrp: Zugriff auf '/var/www/html/openWB/data/restore/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
chgrp: Zugriff auf '/var/www/html/openWB/data/data_migration/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf '/var/www/html/openWB/data/restore/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf '/var/www/html/openWB/data/data_migration/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
2023-11-20 13:13:39: boot done :-)
2023-11-20 13:13:41,607 - {root:164} - {DEBUG:MainThread} - Start openWB2.service
2023-11-20 13:13:41,609 - {helpermodules.update_config:468} - {DEBUG:MainThread} - Broker-Konfiguration aktualisieren
2023-11-20 13:13:43,067 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/system/configurable/web_themes
2023-11-20 13:13:43,072 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/system/time
2023-11-20 13:13:43,083 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/chargepoint/3/set/plug_state_prev
2023-11-20 13:13:43,089 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/chargepoint/3/get/evse_current
2023-11-20 13:13:43,096 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/chargepoint/3/get/soc
2023-11-20 13:13:43,099 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/chargepoint/3/get/soc_timestamp
2023-11-20 13:13:43,117 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/counter/0/set/error_counter
2023-11-20 13:13:43,120 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/counter/0/set/reserved_surplus
2023-11-20 13:13:43,124 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/counter/0/set/released_surplus
2023-11-20 13:13:43,142 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/vehicle/set/vehicle_update_completed
2023-11-20 13:13:43,220 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/command_completed
2023-11-20 13:13:43,224 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/mqttjs_4cbede3f/messages/1700482364093
2023-11-20 13:13:43,247 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/voltages
2023-11-20 13:13:43,251 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/currents
2023-11-20 13:13:43,255 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/frequency
2023-11-20 13:13:43,258 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/power_factors
2023-11-20 13:13:43,262 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/imported
2023-11-20 13:13:43,265 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/exported
2023-11-20 13:13:43,269 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/power
2023-11-20 13:13:43,272 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/powers
2023-11-20 13:13:43,276 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/phases_in_use
2023-11-20 13:13:43,279 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/charge_state
2023-11-20 13:13:43,282 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/plug_state
2023-11-20 13:13:43,286 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/evse_current
2023-11-20 13:13:43,291 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/heartbeat
2023-11-20 13:13:43,294 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/parentWB
2023-11-20 13:13:43,297 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/parentCPlp1
2023-11-20 13:13:43,300 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/Current
2023-11-20 13:13:43,304 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/LegacySmartHome/Status/maxspeicherladung
2023-11-20 13:13:43,307 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/LegacySmartHome/Status/wattnichtschalt
2023-11-20 13:13:43,310 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/LegacySmartHome/Status/wattnichtHaus
2023-11-20 13:13:43,314 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/LegacySmartHome/Status/uberschuss
2023-11-20 13:13:43,317 - {helpermodules.update_config:499} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/LegacySmartHome/Status/uberschussoffset
2023-11-20 13:13:48,272 - {modules.internal_chargepoint_handler.rfid:99} - {DEBUG:MainThread} - **** /dev/input/event0 raspberrypi-ts  ****
2023-11-20 13:13:48,273 - {modules.internal_chargepoint_handler.rfid:100} - {DEBUG:MainThread} - {('EV_SYN', 0): [('SYN_REPORT', 0), ('SYN_CONFIG', 1), ('SYN_DROPPED', 3)], ('EV_KEY', 1): [('BTN_TOUCH', 330)], ('EV_ABS', 3): [(('ABS_X', 0), AbsInfo(value=0, min=0, max=799, fuzz=0, flat=0, resolution=0)), (('ABS_Y', 1), AbsInfo(value=0, min=0, max=479, fuzz=0, flat=0, resolution=0)), (('ABS_MT_SLOT', 47), AbsInfo(value=0, min=0, max=9, fuzz=0, flat=0, resolution=0)), (('ABS_MT_POSITION_X', 53), AbsInfo(value=0, min=0, max=799, fuzz=0, flat=0, resolution=0)), (('ABS_MT_POSITION_Y', 54), AbsInfo(value=0, min=0, max=479, fuzz=0, flat=0, resolution=0)), (('ABS_MT_TRACKING_ID', 57), AbsInfo(value=0, min=0, max=65535, fuzz=0, flat=0, resolution=0))]}
2023-11-20 13:13:48,273 - {modules.internal_chargepoint_handler.rfid:103} - {DEBUG:MainThread} - device emits keyboard events
2023-11-20 13:13:48,274 - {modules.internal_chargepoint_handler.rfid:108} - {DEBUG:MainThread} - no 'enter' key detected, skipping device
2023-11-20 13:13:48,274 - {modules.internal_chargepoint_handler.rfid:111} - {INFO:MainThread} - detected keyboard devices:
2023-11-20 13:13:48,275 - {asyncio:59} - {DEBUG:MainThread} - Using selector: EpollSelector
2023-11-20 13:13:50,641 - {helpermodules.subdata:441} - {DEBUG:Subdata} - Neustart des Handlers für den internen Ladepunkt.
2023-11-20 13:13:51,960 - {helpermodules.subdata:796} - {DEBUG:Subdata} - Neustart des Handlers für den internen Ladepunkt.
2023-11-20 13:13:51,972 - {helpermodules.subdata:735} - {DEBUG:Subdata} - skipping mqtt bridge message on startup
2023-11-20 13:13:59,263 - {helpermodules.setdata:339} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/chargepoint/3/get/soc, Payload None darf nicht 'None' sein.
2023-11-20 13:13:59,268 - {helpermodules.setdata:339} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/chargepoint/3/get/soc_timestamp, Payload None darf nicht 'None' sein.
2023-11-20 13:14:03,197 - {modules.common.fault_state:55} - {ERROR:device0} - GoodWe Zähler: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/good_we/device.py", line 35, in update_components
    component.update()
  File "/var/www/html/openWB/packages/modules/devices/good_we/counter.py", line 49, in update
    val / 1000 for val in self.__tcp_client.read_holding_registers(36010,
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

2023-11-20 13:14:03,518 - {helpermodules.utils._thread_handler:26} - {ERROR:MainThread} - device0 konnte nicht innerhalb des Timeouts die Werte abfragen, die abgefragten Werte werden nicht in der Regelung verwendet.
2023-11-20 13:14:03,519 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät GoodWe
2023-11-20 13:14:03,538 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät GoodWe
2023-11-20 13:14:03,552 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät GoodWe
2023-11-20 13:14:06,218 - {modules.common.fault_state:55} - {ERROR:device0} - GoodWe Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/good_we/device.py", line 35, in update_components
    component.update()
  File "/var/www/html/openWB/packages/modules/devices/good_we/inverter.py", line 36, in update
    power = sum([self.__tcp_client.read_holding_registers(reg, ModbusDataType.UINT_16,
  File "/var/www/html/openWB/packages/modules/devices/good_we/inverter.py", line 36, in <listcomp>
    power = sum([self.__tcp_client.read_holding_registers(reg, ModbusDataType.UINT_16,
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

2023-11-20 13:14:09,231 - {modules.common.fault_state:55} - {ERROR:device0} - GoodWe Speicher: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/good_we/device.py", line 35, in update_components
    component.update()
  File "/var/www/html/openWB/packages/modules/devices/good_we/bat.py", line 42, in update
    power = self.__tcp_client.read_holding_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

2023-11-20 13:14:13,971 - {modules.common.fault_state:55} - {ERROR:device0} - GoodWe Zähler: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/good_we/device.py", line 35, in update_components
    component.update()
  File "/var/www/html/openWB/packages/modules/devices/good_we/counter.py", line 49, in update
    val / 1000 for val in self.__tcp_client.read_holding_registers(36010,
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

2023-11-20 13:14:14,296 - {helpermodules.utils._thread_handler:26} - {ERROR:MainThread} - device0 konnte nicht innerhalb des Timeouts die Werte abfragen, die abgefragten Werte werden nicht in der Regelung verwendet.
2023-11-20 13:14:14,297 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät GoodWe
2023-11-20 13:14:14,313 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät GoodWe
2023-11-20 13:14:14,327 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät GoodWe
2023-11-20 13:14:16,988 - {modules.common.fault_state:55} - {ERROR:device0} - GoodWe Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/good_we/device.py", line 35, in update_components
    component.update()
  File "/var/www/html/openWB/packages/modules/devices/good_we/inverter.py", line 36, in update
    power = sum([self.__tcp_client.read_holding_registers(reg, ModbusDataType.UINT_16,
  File "/var/www/html/openWB/packages/modules/devices/good_we/inverter.py", line 36, in <listcomp>
    power = sum([self.__tcp_client.read_holding_registers(reg, ModbusDataType.UINT_16,
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

2023-11-20 13:14:20,000 - {modules.common.fault_state:55} - {ERROR:device0} - GoodWe Speicher: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/good_we/device.py", line 35, in update_components
    component.update()
  File "/var/www/html/openWB/packages/modules/devices/good_we/bat.py", line 42, in update
    power = self.__tcp_client.read_holding_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

2023-11-20 13:14:23,764 - {modules.common.fault_state:55} - {ERROR:device0} - GoodWe Zähler: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/good_we/device.py", line 35, in update_components
    component.update()
  File "/var/www/html/openWB/packages/modules/devices/good_we/counter.py", line 49, in update
    val / 1000 for val in self.__tcp_client.read_holding_registers(36010,
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

2023-11-20 13:14:24,089 - {helpermodules.utils._thread_handler:26} - {ERROR:MainThread} - device0 konnte nicht innerhalb des Timeouts die Werte abfragen, die abgefragten Werte werden nicht in der Regelung verwendet.
2023-11-20 13:14:24,090 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät GoodWe
2023-11-20 13:14:24,097 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät GoodWe
2023-11-20 13:14:24,105 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät GoodWe
2023-11-20 13:14:26,778 - {modules.common.fault_state:55} - {ERROR:device0} - GoodWe Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)

(Code wg. der begrenzten Zeilenzahl am Ende gekürzt)

Kannst Du einen Fehler erkennen? OpenWB und Waveshare-Adapter habe ich neu gestartet, ohne Erfolg. Der Adapter läuft - per Webbrowser komme ich drauf.
Danke und Grüße,
Philip
Screenshot_20231120_131432.png
Screenshot_20231120_131535.png
LenaK
Beiträge: 1029
Registriert: Fr Jan 22, 2021 6:40 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von LenaK »

Funktioniert es mit Version 1.7? Das sind die Register, die früher abgefragt wurden. Wenn das geht, liegt es an den geänderten Registern. Wenn nicht, ist vermutlich ein Bug im Feature-Branch.
Philip
Beiträge: 80
Registriert: Fr Okt 27, 2023 6:41 am

Re: GoodWe-Modul: Lan-Dongel oder Waveshare-Anbindung?

Beitrag von Philip »

Funktioniert leider nicht mit Version 1.7 (und auch nicht mit 1.0). Wäre klasse, wenn Du den Feature-Branch nochmal prüfen könntest.

(aktuell installiert: Entwicklungszweig: feature_goodwe / 2023-11-20 10:14:23 +0100 [a07ddf07b])

Generell, mit dem Branch: Wie kommt man von dort denn wieder zurück auf die "Mainline"-Version? Ist es praktikabel, im Normalbetrieb auf einer Beta-Version zu bleiben (und dann immer die neuen Releases mitzunehmen)?
Antworten