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'
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"