openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen

Fragen zur Nutzung, Features, usw..
Benutzeravatar
mrinas
Beiträge: 1911
Registriert: Mi Jan 29, 2020 10:12 pm

Re: Vorabankündigung: openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen

Beitrag von mrinas »

LenaK hat geschrieben: Mi Mai 10, 2023 10:54 am

Kommt die Fehlermeldung nach jedem Start?
Die Änderung des Betriebsmodus wird sofort angewendet. Da bei Dir die Initialisierung schief gegangen ist, wurde nach 5 Minuten die Initialisierung erneut gestartet.
Scheint in der Tat nach einem Neustart erneut aufzutreten:

Code: Alles auswählen

2023-05-10 12:57:30,621 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:129} - {DEBUG:Internal Chargepoint} - Init internal chargepoint as series
2023-05-10 12:57:30,622 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Interner Ladepunkt 1']
2023-05-10 12:57:31,850 - {modules.common.evse:52} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2023-05-10 12:57:31,912 - {modules.common.evse:58} - {DEBUG:Internal Chargepoint} - Angabe der Ströme in 0,1A-Schritten ist aktiviert.
2023-05-10 12:57:31,962 - {modules.common.evse:58} - {DEBUG:Internal Chargepoint} - Angabe der Ströme in 0,1A-Schritten ist aktiviert.
2023-05-10 12:57:31,962 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-05-10 12:57:31,997 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-05-10 12:57:34,012 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:129} - {DEBUG:Internal Chargepoint} - Init internal chargepoint as series
2023-05-10 12:57:34,012 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Interner Ladepunkt 1']
2023-05-10 12:57:35,238 - {modules.common.evse:52} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2023-05-10 12:57:35,288 - {modules.common.evse:58} - {DEBUG:Internal Chargepoint} - Angabe der Ströme in 0,1A-Schritten ist aktiviert.
2023-05-10 12:57:36,307 - {modules.common.fault_state:52} - {ERROR:Internal Chargepoint} - Interner Ladepunkt 1: 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 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 85, 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 2 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/internal_chargepoint_handler/internal_chargepoint_handler.py", line 137, in __init__
    self.cp0 = HandlerChargepoint(self.serial_client, 0, mode, global_data, parent_cp0)
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 201, in __init__
    self.module = chargepoint_module.ChargepointModule(ClientConfig(
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 97, in __init__
    self._precise_current = self.__client.evse_client.is_precise_current_active()
  File "/var/www/html/openWB/packages/modules/common/evse.py", line 56, in is_precise_current_active
    value = self.client.read_holding_registers(2005, ModbusDataType.UINT_16, unit=self.id)
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 118, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 100, 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 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

2023-05-10 12:57:36,331 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:272} - {ERROR:Internal Chargepoint} - Fehler im internem Ladepunkt
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 268, in handler
    self.internal_chargepoint_handler.loop()
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 160, in loop
    with SingleComponentUpdateContext(self.cp0.module.component_info):
AttributeError: 'InternalChargepointHandler' object has no attribute 'cp0'
und main.log:

Code: Alles auswählen

atreboot.sh started
checking init in /boot/config.txt...
watchdog for atreboot.sh on pid 360 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
LAN/WLAN...
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 interface: eth0
my primary IP: "192.168.178.210"
apt configuration already up to date
install required packages with 'apt-get'...
OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
Holen:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
Es wurden 15,0 kB in 1 s geholt (14,9 kB/s).
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).
mosquitto ist schon die neueste Version (2.0.11-1).
mosquitto-clients ist schon die neueste Version (2.0.11-1).
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).
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
  libfuse2
Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 74 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
new display timeout value: '60'
multi-user target already configured
internal display not activated, stopping lightdm service if running
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: 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: 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: 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: 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: 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: 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: 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.12.2)
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: 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: 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: 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: 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: 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: 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: requests<3,>=2.3 in /usr/lib/python3/dist-packages (from requests_mock==1.9.3->-r /var/www/html/openWB/requirements.txt (line 5)) (2.25.1)
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.4.1)
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
chmod: Zugriff auf '/var/www/html/openWB/data/restore/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
2023-05-10 12:57:21: boot done :-)
2023-05-10 12:57:22,817 - {root:138} - {DEBUG:MainThread} - Start openWB2.service
2023-05-10 12:57:22,818 - {helpermodules.update_config:351} - {DEBUG:MainThread} - Broker-Konfiguration aktualisieren
2023-05-10 12:57:24,111 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/heartbeat
2023-05-10 12:57:24,113 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/parentWB
2023-05-10 12:57:24,115 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/parentCPlp1
2023-05-10 12:57:24,117 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/Current
2023-05-10 12:57:24,119 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/U1p3p
2023-05-10 12:57:24,121 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/internal_chargepoint/global_data
2023-05-10 12:57:24,124 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/internal_chargepoint/0/data/parent_cp
2023-05-10 12:57:24,127 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/internal_chargepoint/0/data/set_current
2023-05-10 12:57:24,144 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/vehicle/None/get/fault_str
2023-05-10 12:57:24,147 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/vehicle/None/get/fault_state
2023-05-10 12:57:24,198 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/command_completed
2023-05-10 12:57:24,200 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/mqttjs_7c9eee28/messages/1683716185330
2023-05-10 12:57:24,203 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/fault_str
2023-05-10 12:57:24,206 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/fault_state
2023-05-10 12:57:24,209 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/voltages
2023-05-10 12:57:24,211 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/currents
2023-05-10 12:57:24,214 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/power_factors
2023-05-10 12:57:24,216 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/imported
2023-05-10 12:57:24,218 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/exported
2023-05-10 12:57:24,221 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/power
2023-05-10 12:57:24,223 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/phases_in_use
2023-05-10 12:57:24,225 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/charge_state
2023-05-10 12:57:24,228 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/plug_state
2023-05-10 12:57:26,343 - {modules.internal_chargepoint_handler.rfid:24} - {DEBUG:MainThread} - Input-Event event0 nicht gefunden.
2023-05-10 12:57:26,344 - {modules.internal_chargepoint_handler.rfid:24} - {DEBUG:MainThread} - Input-Event event1 nicht gefunden.
2023-05-10 12:57:28,607 - {helpermodules.subdata:407} - {DEBUG:Thread-5} - Neustart des Handlers für den internen Ladepunkt.
2023-05-10 12:57:29,140 - {helpermodules.subdata:736} - {DEBUG:Thread-5} - Neustart des Handlers für den internen Ladepunkt.
2023-05-10 12:57:29,155 - {helpermodules.setdata:43} - {DEBUG:Thread-6} - Subdata initialization completed. Starting setdata loop to broker.
2023-05-10 12:57:33,531 - {schedule:146} - {DEBUG:MainThread} - Deleting all jobs tagged "algorithm"
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
Kitmgue
Beiträge: 142
Registriert: Di Mär 09, 2021 1:58 pm

Re: openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen

Beitrag von Kitmgue »

LenaK hat geschrieben: Mi Mai 10, 2023 10:57 am Am sichersten ist es eine Sicherung wiederherzustellen und dann nochmal den Ladepunkt löschen.
Da der Ladepunkt offenbar nicht mehr in der Hierarchie ist, kannst Du sonst versuchen alle Topics unter openWB/chargepoint/5 zu löschen. Vorher unbedingt eine Sicherung erstellen.

Ist Dir das Problem schon öfter begegnet, dass das Löschen nicht geklappt hat?
Danke, hat funktioniert. Das ist ja easy :-)

Hat bisher zum ersten Mal Probleme gemacht.
Bin mir allerdings nicht sicher, ob ich nach dem Löschen des Ladepunkts erst gespeichert und dann den internen neu angelegt habe oder ob ich das Speichern vergessen, den neuen angelegt und dann gespeichert habe. Vielleicht hatte es was mit der Reihenfolge zu tun.
openWB series2 standard+
LP1 : intern
LP2: smartWB

EVU: Sunny Home Manager 2.0
PV1: SMA STP 20000 TL (20,4 kWp)
kein Speicher
EV: e-Up und e-C4
Wärmepumpe: THZ 504 mit ISG Web
LenaK
Beiträge: 1029
Registriert: Fr Jan 22, 2021 6:40 am

Re: Vorabankündigung: openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen

Beitrag von LenaK »

mrinas hat geschrieben: Mi Mai 10, 2023 10:59 am
LenaK hat geschrieben: Mi Mai 10, 2023 10:54 am

Kommt die Fehlermeldung nach jedem Start?
Die Änderung des Betriebsmodus wird sofort angewendet. Da bei Dir die Initialisierung schief gegangen ist, wurde nach 5 Minuten die Initialisierung erneut gestartet.
Scheint in der Tat nach einem Neustart erneut aufzutreten:

Code: Alles auswählen

2023-05-10 12:57:30,621 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:129} - {DEBUG:Internal Chargepoint} - Init internal chargepoint as series
2023-05-10 12:57:30,622 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Interner Ladepunkt 1']
2023-05-10 12:57:31,850 - {modules.common.evse:52} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2023-05-10 12:57:31,912 - {modules.common.evse:58} - {DEBUG:Internal Chargepoint} - Angabe der Ströme in 0,1A-Schritten ist aktiviert.
2023-05-10 12:57:31,962 - {modules.common.evse:58} - {DEBUG:Internal Chargepoint} - Angabe der Ströme in 0,1A-Schritten ist aktiviert.
2023-05-10 12:57:31,962 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-05-10 12:57:31,997 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-05-10 12:57:34,012 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:129} - {DEBUG:Internal Chargepoint} - Init internal chargepoint as series
2023-05-10 12:57:34,012 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Interner Ladepunkt 1']
2023-05-10 12:57:35,238 - {modules.common.evse:52} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2023-05-10 12:57:35,288 - {modules.common.evse:58} - {DEBUG:Internal Chargepoint} - Angabe der Ströme in 0,1A-Schritten ist aktiviert.
2023-05-10 12:57:36,307 - {modules.common.fault_state:52} - {ERROR:Internal Chargepoint} - Interner Ladepunkt 1: 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 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 85, 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 2 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/internal_chargepoint_handler/internal_chargepoint_handler.py", line 137, in __init__
    self.cp0 = HandlerChargepoint(self.serial_client, 0, mode, global_data, parent_cp0)
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 201, in __init__
    self.module = chargepoint_module.ChargepointModule(ClientConfig(
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 97, in __init__
    self._precise_current = self.__client.evse_client.is_precise_current_active()
  File "/var/www/html/openWB/packages/modules/common/evse.py", line 56, in is_precise_current_active
    value = self.client.read_holding_registers(2005, ModbusDataType.UINT_16, unit=self.id)
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 118, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 100, 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 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

2023-05-10 12:57:36,331 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:272} - {ERROR:Internal Chargepoint} - Fehler im internem Ladepunkt
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 268, in handler
    self.internal_chargepoint_handler.loop()
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 160, in loop
    with SingleComponentUpdateContext(self.cp0.module.component_info):
AttributeError: 'InternalChargepointHandler' object has no attribute 'cp0'
und main.log:

Code: Alles auswählen

atreboot.sh started
checking init in /boot/config.txt...
watchdog for atreboot.sh on pid 360 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
LAN/WLAN...
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 interface: eth0
my primary IP: "192.168.178.210"
apt configuration already up to date
install required packages with 'apt-get'...
OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
Holen:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
Es wurden 15,0 kB in 1 s geholt (14,9 kB/s).
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).
mosquitto ist schon die neueste Version (2.0.11-1).
mosquitto-clients ist schon die neueste Version (2.0.11-1).
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).
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
  libfuse2
Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 74 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
new display timeout value: '60'
multi-user target already configured
internal display not activated, stopping lightdm service if running
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: 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: 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: 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: 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: 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: 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: 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.12.2)
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: 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: 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: 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: 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: 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: 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: requests<3,>=2.3 in /usr/lib/python3/dist-packages (from requests_mock==1.9.3->-r /var/www/html/openWB/requirements.txt (line 5)) (2.25.1)
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.4.1)
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
chmod: Zugriff auf '/var/www/html/openWB/data/restore/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
2023-05-10 12:57:21: boot done :-)
2023-05-10 12:57:22,817 - {root:138} - {DEBUG:MainThread} - Start openWB2.service
2023-05-10 12:57:22,818 - {helpermodules.update_config:351} - {DEBUG:MainThread} - Broker-Konfiguration aktualisieren
2023-05-10 12:57:24,111 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/heartbeat
2023-05-10 12:57:24,113 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/parentWB
2023-05-10 12:57:24,115 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/parentCPlp1
2023-05-10 12:57:24,117 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/Current
2023-05-10 12:57:24,119 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/U1p3p
2023-05-10 12:57:24,121 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/internal_chargepoint/global_data
2023-05-10 12:57:24,124 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/internal_chargepoint/0/data/parent_cp
2023-05-10 12:57:24,127 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/internal_chargepoint/0/data/set_current
2023-05-10 12:57:24,144 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/vehicle/None/get/fault_str
2023-05-10 12:57:24,147 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/vehicle/None/get/fault_state
2023-05-10 12:57:24,198 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/command_completed
2023-05-10 12:57:24,200 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/mqttjs_7c9eee28/messages/1683716185330
2023-05-10 12:57:24,203 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/fault_str
2023-05-10 12:57:24,206 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/fault_state
2023-05-10 12:57:24,209 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/voltages
2023-05-10 12:57:24,211 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/currents
2023-05-10 12:57:24,214 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/power_factors
2023-05-10 12:57:24,216 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/imported
2023-05-10 12:57:24,218 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/exported
2023-05-10 12:57:24,221 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/power
2023-05-10 12:57:24,223 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/phases_in_use
2023-05-10 12:57:24,225 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/charge_state
2023-05-10 12:57:24,228 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/plug_state
2023-05-10 12:57:26,343 - {modules.internal_chargepoint_handler.rfid:24} - {DEBUG:MainThread} - Input-Event event0 nicht gefunden.
2023-05-10 12:57:26,344 - {modules.internal_chargepoint_handler.rfid:24} - {DEBUG:MainThread} - Input-Event event1 nicht gefunden.
2023-05-10 12:57:28,607 - {helpermodules.subdata:407} - {DEBUG:Thread-5} - Neustart des Handlers für den internen Ladepunkt.
2023-05-10 12:57:29,140 - {helpermodules.subdata:736} - {DEBUG:Thread-5} - Neustart des Handlers für den internen Ladepunkt.
2023-05-10 12:57:29,155 - {helpermodules.setdata:43} - {DEBUG:Thread-6} - Subdata initialization completed. Starting setdata loop to broker.
2023-05-10 12:57:33,531 - {schedule:146} - {DEBUG:MainThread} - Deleting all jobs tagged "algorithm"
Bei mir tritt das nicht auf. Evtl geht es der EVSE zu schnell, zu den Abfrageintervallen steht nichts in der Doku. Ich habe eine Pause eingefügt, bitte ein Update machen und nochmal probieren.
Benutzeravatar
mrinas
Beiträge: 1911
Registriert: Mi Jan 29, 2020 10:12 pm

Re: Vorabankündigung: openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen

Beitrag von mrinas »

LenaK hat geschrieben: Mi Mai 10, 2023 12:29 pm
mrinas hat geschrieben: Mi Mai 10, 2023 10:59 am
LenaK hat geschrieben: Mi Mai 10, 2023 10:54 am

Kommt die Fehlermeldung nach jedem Start?
Die Änderung des Betriebsmodus wird sofort angewendet. Da bei Dir die Initialisierung schief gegangen ist, wurde nach 5 Minuten die Initialisierung erneut gestartet.
Scheint in der Tat nach einem Neustart erneut aufzutreten:

Code: Alles auswählen

2023-05-10 12:57:30,621 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:129} - {DEBUG:Internal Chargepoint} - Init internal chargepoint as series
2023-05-10 12:57:30,622 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Interner Ladepunkt 1']
2023-05-10 12:57:31,850 - {modules.common.evse:52} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2023-05-10 12:57:31,912 - {modules.common.evse:58} - {DEBUG:Internal Chargepoint} - Angabe der Ströme in 0,1A-Schritten ist aktiviert.
2023-05-10 12:57:31,962 - {modules.common.evse:58} - {DEBUG:Internal Chargepoint} - Angabe der Ströme in 0,1A-Schritten ist aktiviert.
2023-05-10 12:57:31,962 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-05-10 12:57:31,997 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-05-10 12:57:34,012 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:129} - {DEBUG:Internal Chargepoint} - Init internal chargepoint as series
2023-05-10 12:57:34,012 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Interner Ladepunkt 1']
2023-05-10 12:57:35,238 - {modules.common.evse:52} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2023-05-10 12:57:35,288 - {modules.common.evse:58} - {DEBUG:Internal Chargepoint} - Angabe der Ströme in 0,1A-Schritten ist aktiviert.
2023-05-10 12:57:36,307 - {modules.common.fault_state:52} - {ERROR:Internal Chargepoint} - Interner Ladepunkt 1: 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 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 85, 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 2 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/internal_chargepoint_handler/internal_chargepoint_handler.py", line 137, in __init__
    self.cp0 = HandlerChargepoint(self.serial_client, 0, mode, global_data, parent_cp0)
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 201, in __init__
    self.module = chargepoint_module.ChargepointModule(ClientConfig(
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 97, in __init__
    self._precise_current = self.__client.evse_client.is_precise_current_active()
  File "/var/www/html/openWB/packages/modules/common/evse.py", line 56, in is_precise_current_active
    value = self.client.read_holding_registers(2005, ModbusDataType.UINT_16, unit=self.id)
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 118, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 100, 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 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

2023-05-10 12:57:36,331 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:272} - {ERROR:Internal Chargepoint} - Fehler im internem Ladepunkt
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 268, in handler
    self.internal_chargepoint_handler.loop()
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 160, in loop
    with SingleComponentUpdateContext(self.cp0.module.component_info):
AttributeError: 'InternalChargepointHandler' object has no attribute 'cp0'
und main.log:

Code: Alles auswählen

atreboot.sh started
checking init in /boot/config.txt...
watchdog for atreboot.sh on pid 360 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
LAN/WLAN...
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 interface: eth0
my primary IP: "192.168.178.210"
apt configuration already up to date
install required packages with 'apt-get'...
OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
Holen:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
Es wurden 15,0 kB in 1 s geholt (14,9 kB/s).
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).
mosquitto ist schon die neueste Version (2.0.11-1).
mosquitto-clients ist schon die neueste Version (2.0.11-1).
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).
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
  libfuse2
Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 74 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
new display timeout value: '60'
multi-user target already configured
internal display not activated, stopping lightdm service if running
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: 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: 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: 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: 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: 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: 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: 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.12.2)
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: 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: 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: 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: 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: 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: 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: requests<3,>=2.3 in /usr/lib/python3/dist-packages (from requests_mock==1.9.3->-r /var/www/html/openWB/requirements.txt (line 5)) (2.25.1)
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.4.1)
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
chmod: Zugriff auf '/var/www/html/openWB/data/restore/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
2023-05-10 12:57:21: boot done :-)
2023-05-10 12:57:22,817 - {root:138} - {DEBUG:MainThread} - Start openWB2.service
2023-05-10 12:57:22,818 - {helpermodules.update_config:351} - {DEBUG:MainThread} - Broker-Konfiguration aktualisieren
2023-05-10 12:57:24,111 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/heartbeat
2023-05-10 12:57:24,113 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/parentWB
2023-05-10 12:57:24,115 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/parentCPlp1
2023-05-10 12:57:24,117 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/Current
2023-05-10 12:57:24,119 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/U1p3p
2023-05-10 12:57:24,121 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/internal_chargepoint/global_data
2023-05-10 12:57:24,124 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/internal_chargepoint/0/data/parent_cp
2023-05-10 12:57:24,127 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/internal_chargepoint/0/data/set_current
2023-05-10 12:57:24,144 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/vehicle/None/get/fault_str
2023-05-10 12:57:24,147 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/vehicle/None/get/fault_state
2023-05-10 12:57:24,198 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/command_completed
2023-05-10 12:57:24,200 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/mqttjs_7c9eee28/messages/1683716185330
2023-05-10 12:57:24,203 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/fault_str
2023-05-10 12:57:24,206 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/fault_state
2023-05-10 12:57:24,209 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/voltages
2023-05-10 12:57:24,211 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/currents
2023-05-10 12:57:24,214 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/power_factors
2023-05-10 12:57:24,216 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/imported
2023-05-10 12:57:24,218 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/exported
2023-05-10 12:57:24,221 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/power
2023-05-10 12:57:24,223 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/phases_in_use
2023-05-10 12:57:24,225 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/charge_state
2023-05-10 12:57:24,228 - {helpermodules.update_config:379} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/plug_state
2023-05-10 12:57:26,343 - {modules.internal_chargepoint_handler.rfid:24} - {DEBUG:MainThread} - Input-Event event0 nicht gefunden.
2023-05-10 12:57:26,344 - {modules.internal_chargepoint_handler.rfid:24} - {DEBUG:MainThread} - Input-Event event1 nicht gefunden.
2023-05-10 12:57:28,607 - {helpermodules.subdata:407} - {DEBUG:Thread-5} - Neustart des Handlers für den internen Ladepunkt.
2023-05-10 12:57:29,140 - {helpermodules.subdata:736} - {DEBUG:Thread-5} - Neustart des Handlers für den internen Ladepunkt.
2023-05-10 12:57:29,155 - {helpermodules.setdata:43} - {DEBUG:Thread-6} - Subdata initialization completed. Starting setdata loop to broker.
2023-05-10 12:57:33,531 - {schedule:146} - {DEBUG:MainThread} - Deleting all jobs tagged "algorithm"
Bei mir tritt das nicht auf. Evtl geht es der EVSE zu schnell, zu den Abfrageintervallen steht nichts in der Doku. Ich habe eine Pause eingefügt, bitte ein Update machen und nochmal probieren.
irgendwo ist heut' der Wurm drin, ich glaub' ich lass das und versuche das morgen wieder. Update geht nicht mehr, ging heute schon ein paar mal.

Code: Alles auswählen

2023-05-10 15:07:14,453 - {helpermodules.command:620} - {INFO:Thread-7} - Update requested
2023-05-10 15:07:14,454 - {helpermodules.messaging:42} - {DEBUG:Thread-7} - pub_message: message: 'Update gestartet.' type: 'MessageType.INFO' target: 'MessageTarget.USER'
2023-05-10 15:07:14,455 - {helpermodules.messaging:62} - {DEBUG:Thread-7} - Befehl erfolgreich ausgeführt: Update gestartet.
2023-05-10 15:07:14,457 - {helpermodules.messaging:77} - {ERROR:Thread-7} - Befehl konnte nicht ausgeführt werden: {'command': 'systemUpdate', 'data': {}, 'error': 'Es ist ein interner Fehler aufgetreten: Traceback (most recent call last):\n  File "/var/www/html/openWB/packages/helpermodules/command.py", line 118, in on_message\n    func(connection_id, payload)\n  File "/var/www/html/openWB/packages/helpermodules/command.py", line 635, in systemUpdate\n    data.data._system_data["system"].data["current_branch"]])\nKeyError: \'system\'\n'}
ich schau' nachher mal ob ich Zeit finde das über die shell zu starten.
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
LenaK
Beiträge: 1029
Registriert: Fr Jan 22, 2021 6:40 am

Re: Vorabankündigung: openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen

Beitrag von LenaK »

mrinas hat geschrieben: Mi Mai 10, 2023 1:09 pm irgendwo ist heut' der Wurm drin, ich glaub' ich lass das und versuche das morgen wieder. Update geht nicht mehr, ging heute schon ein paar mal.

Code: Alles auswählen

2023-05-10 15:07:14,453 - {helpermodules.command:620} - {INFO:Thread-7} - Update requested
2023-05-10 15:07:14,454 - {helpermodules.messaging:42} - {DEBUG:Thread-7} - pub_message: message: 'Update gestartet.' type: 'MessageType.INFO' target: 'MessageTarget.USER'
2023-05-10 15:07:14,455 - {helpermodules.messaging:62} - {DEBUG:Thread-7} - Befehl erfolgreich ausgeführt: Update gestartet.
2023-05-10 15:07:14,457 - {helpermodules.messaging:77} - {ERROR:Thread-7} - Befehl konnte nicht ausgeführt werden: {'command': 'systemUpdate', 'data': {}, 'error': 'Es ist ein interner Fehler aufgetreten: Traceback (most recent call last):\n  File "/var/www/html/openWB/packages/helpermodules/command.py", line 118, in on_message\n    func(connection_id, payload)\n  File "/var/www/html/openWB/packages/helpermodules/command.py", line 635, in systemUpdate\n    data.data._system_data["system"].data["current_branch"]])\nKeyError: \'system\'\n'}
ich schau' nachher mal ob ich Zeit finde das über die shell zu starten.
Ich habe gerade noch einen Bug behoben, damit man auch bei aktiviertem NurLadepunkt-Modus ein Update machen kann. Um das Einspielen zu können, bitte einmal den NurLadepunkt-Modus ausschalten, Updaten, NurLadepunkt-Modus wieder einschalten. Beim nächsten Mal sollte es auch im NurLadepunkt-Modus klappen.
Benutzeravatar
mrinas
Beiträge: 1911
Registriert: Mi Jan 29, 2020 10:12 pm

Re: Vorabankündigung: openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen

Beitrag von mrinas »

LenaK hat geschrieben: Mi Mai 10, 2023 1:34 pm
mrinas hat geschrieben: Mi Mai 10, 2023 1:09 pm irgendwo ist heut' der Wurm drin, ich glaub' ich lass das und versuche das morgen wieder. Update geht nicht mehr, ging heute schon ein paar mal.

Code: Alles auswählen

2023-05-10 15:07:14,453 - {helpermodules.command:620} - {INFO:Thread-7} - Update requested
2023-05-10 15:07:14,454 - {helpermodules.messaging:42} - {DEBUG:Thread-7} - pub_message: message: 'Update gestartet.' type: 'MessageType.INFO' target: 'MessageTarget.USER'
2023-05-10 15:07:14,455 - {helpermodules.messaging:62} - {DEBUG:Thread-7} - Befehl erfolgreich ausgeführt: Update gestartet.
2023-05-10 15:07:14,457 - {helpermodules.messaging:77} - {ERROR:Thread-7} - Befehl konnte nicht ausgeführt werden: {'command': 'systemUpdate', 'data': {}, 'error': 'Es ist ein interner Fehler aufgetreten: Traceback (most recent call last):\n  File "/var/www/html/openWB/packages/helpermodules/command.py", line 118, in on_message\n    func(connection_id, payload)\n  File "/var/www/html/openWB/packages/helpermodules/command.py", line 635, in systemUpdate\n    data.data._system_data["system"].data["current_branch"]])\nKeyError: \'system\'\n'}
ich schau' nachher mal ob ich Zeit finde das über die shell zu starten.
Ich habe gerade noch einen Bug behoben, damit man auch bei aktiviertem NurLadepunkt-Modus ein Update machen kann. Um das Einspielen zu können, bitte einmal den NurLadepunkt-Modus ausschalten, Updaten, NurLadepunkt-Modus wieder einschalten. Beim nächsten Mal sollte es auch im NurLadepunkt-Modus klappen.
jup, das hat geholfen. Update lief durch, auch nach einem Neustart im NurLP Modus gab es keine Fehlermeldungen mehr im Log.
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
luxtra
Beiträge: 140
Registriert: Sa Jun 20, 2020 2:20 pm

Re: openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen

Beitrag von luxtra »

Bin durch Zufall vorhin auf diesen Thread gestoßen. Tolle Geburtstagsüberraschung hab ich mir gedacht, gleich mal zwei SD-Karten hervorgeholt, geflasht und in die beiden Boxen gesteckt.

Ich hab auch das gedrehte Display an den Boxen, bekomme die Meldung, dass ich die Leistung und Anordnung der Komponenten prüfen soll (siehe Bild) und finde einfach den Menüpunkt nicht, wo ich der zweiten Box sagen kann, dass sie nur ein dummer Ladepunkt ist.
Dateianhänge
openWB 2.jpg
shesse
Beiträge: 252
Registriert: Di Jun 23, 2020 12:21 pm

Re: openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen

Beitrag von shesse »

Ausgangssituation:
2x openWB Standard+ mit 1.9.301, eine als Master, die andere als Ladepunkt. Ich benötige ein korrektes Ladeprotokoll, um meinem Arbeitgeber gegenüber den Stromverbrauch meines Firmenwagens abzurechnen.

Fragen:
1. Da ein kompletter Wechsel aufgrund der meines Wissens bisher nicht vorhandenen Übernahmemöglichkeit der Logs daher nicht in Frage kommt, stelle ich mir die Frage, ob ich den Ladepunkt auf die neue Version 2 aktualisieren kann und damit dann z.B. den Vorteil der 0,1A Regelung hätte?

2. Ist ein gemischter Betrieb (Master auf 1.9.301 und Ladepunkt auf 2.0) möglich und hätte ich neben der Befriedigung meins Spieltriebs und der Möglichkeit beim Testen mitzuhelfen irgendwelche anderen Vorteile?

3. Gibt es Nachteile bei dieser Vorgehensweise?

4. Was passiert mit den Logs, wenn ich den LP doch wieder auf 1.9.301 downgraden muss? Wird alles in den Logs auf der Masterbox gespeichert, oder bekomme ich dann "Sprünge" oder sogar Fehler in den Logs?
2x openWB series2 standard+, PV 7,23 kWp mit WR SolarEdge SE8K und EVU SolarEdge A-V-400Y-3MTR-S, BEV Mercedes EQA 350 4MATIC (07/2023)
hominidae
Beiträge: 1191
Registriert: Di Sep 03, 2019 4:13 pm

Re: openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen

Beitrag von hominidae »

LenaK hat geschrieben: Mi Mai 10, 2023 6:04 am openWB software2 kann nun auch direkt auf der openWB series1/2 custom, standard, standard+, Buchse und Duo genutzt werden. Wie in 1.9 muss eingestellt werden, ob die openWB ein externer Ladepunkt ist oder die Steuerung für sich und ggf weitere Ladepunkte übernehmen soll.

Welche Hardware wird unterstützt?
Als interner Ladepunkt können openWB series1/2 Custom, Standard, Standard+, Buchse und Duo eingerichtet werden.
Das ist eine coole Nachricht!

Zwei "blöde" Fragen, für eine "alte" Series-2 DUO:
  • ...auch eine solche DUO (habe eine 22kW mit nur einer Zuleitung und 2xMP3PM Zählern, intern) geht damit?
  • ...kann, muss oder darf die umgebaut werden, wenn beide Zähler eine eigene Modbus-Verbindung mittels Adapter haben (siehe das "Achtung" aus der 1.9.30x stable)?
...sorry, ich muss sicher sein, weil einschicken bei Problemen geht einfach nicht.
LenaK
Beiträge: 1029
Registriert: Fr Jan 22, 2021 6:40 am

Re: openWB software2 mit openWB series1/2 custom, standard, standard+, Buchse und Duo nutzen

Beitrag von LenaK »

luxtra hat geschrieben: Mi Mai 10, 2023 3:35 pm Bin durch Zufall vorhin auf diesen Thread gestoßen. Tolle Geburtstagsüberraschung hab ich mir gedacht, gleich mal zwei SD-Karten hervorgeholt, geflasht und in die beiden Boxen gesteckt.

Ich hab auch das gedrehte Display an den Boxen, bekomme die Meldung, dass ich die Leistung und Anordnung der Komponenten prüfen soll (siehe Bild) und finde einfach den Menüpunkt nicht, wo ich der zweiten Box sagen kann, dass sie nur ein dummer Ladepunkt ist.
Einstellungen -> Einstellungen -> Allgemein -> Betriebsmodus hier auf der zweiten Box den NurLadepunkt-Modus aktivieren.

Bitte das Debuglevel auf Details stellen und mindestens einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem main.log posten, wenn die Meldung mit dem unplausiblen Hausverbrauch auftritt. Sensible Daten wie Benutzernamen und Kennwörter unkenntlich machen.
Antworten