openWB mit Solaredge SE10K RWS und RESU12

baertiger
Beiträge: 16
Registriert: Mo Feb 19, 2024 11:32 am

Re: openWB mit Solaredge SE10K RWS und RESU12

Beitrag von baertiger »

aiole hat geschrieben: Mi Feb 21, 2024 2:16 am Warum nicht? Das Image liegt unter Ankündigungen.
Erst wenn Ladetechnik gebraucht wird, kauft man openWB/smartWB. Damit wird die Software "getragen".
Habe es installiert auf einen rpi3b mit bullseye. Webinterface hängt auf Startbildschirm bzw. in den Einstellungen kommt nur
"openWB ist noch nicht bereit
Der Systemstart ist noch nicht abgeschlossen.
Bitte warten..."

Im Hintergrund die Webseite mit den Nutzungsbedingungen, noch nicht bedienbar.
Seit ca. einer Stunde...

PATH-Variable ist angepaßt, Installation sieht gut aus:

Code: Alles auswählen

micha@raspberrypi3b:~ $ curl -s https://raw.githubusercontent.com/openWB/core/master/openwb-install.sh | sudo bash
installing openWB 2 into "/var/www/html/openWB"
install required packages with 'apt-get'...
Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:3 https://dl.cloudsmith.io/public/evcc/stable/deb/raspbian bullseye InRelease [5,127 B]
Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [313 kB]
Fetched 357 kB in 2s (217 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
bc is already the newest version (1.07.1-2+b1).
bc set to manually installed.
git is already the newest version (1:2.30.2-1+deb11u2).
jq is already the newest version (1.6-2.1).
openbox-lxde-session is already the newest version (0.99.2-4).
openbox-lxde-session set to manually installed.
php-json is already the newest version (2:7.4+76).
php-xml is already the newest version (2:7.4+76).
ssl-cert is already the newest version (1.1.0+nmu1).
ssl-cert set to manually installed.
sudo is already the newest version (1.9.5p2-3+deb11u1).
x11-xserver-utils is already the newest version (7.7+8).
x11-xserver-utils set to manually installed.
xserver-xorg is already the newest version (1:7.7+22).
lightdm is already the newest version (1.26.0-7+rpt1).
python3-pip is already the newest version (20.3.4-4+rpt1+deb11u1).
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra libfuse2
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  apache2-bin apache2-data apache2-utils chromium-codecs-ffmpeg-extra
  chromium-common chromium-sandbox fonts-liberation gir1.2-lightdm-1
  libaccountsservice0 libapache2-mod-php7.4 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libcjson1 libdlt2 libev4
  libjsoncpp24 liblua5.3-0 libminizip1 libmosquitto1 libre2-9 libu2f-udev
  libwebsockets16 libxnvctrl0 libxxf86dga1 notification-daemon php7.4
  php7.4-curl php7.4-gd vim-runtime x11-utils
Suggested packages:
  gnome-control-center apache2-doc apache2-suexec-pristine
  | apache2-suexec-custom chromium-shell chromium-driver php-pear apparmor
  ctags vim-doc vim-scripts mesa-utils
The following packages will be REMOVED:
  chromium-browser chromium-browser-l10n rpi-chromium-mods
The following NEW packages will be installed:
  accountsservice apache2 apache2-bin apache2-data apache2-utils chromium
  chromium-common chromium-l10n chromium-sandbox fonts-liberation
  gir1.2-lightdm-1 libaccountsservice0 libapache2-mod-php
  libapache2-mod-php7.4 libapr1 libaprutil1 libaprutil1-dbd-sqlite3
  libaprutil1-ldap libcjson1 libdlt2 libev4 libjsoncpp24 liblua5.3-0
  libminizip1 libmosquitto1 libre2-9 libu2f-udev libwebsockets16 libxnvctrl0
  libxxf86dga1 lightdm-autologin-greeter mmc-utils mosquitto mosquitto-clients
  notification-daemon php php-curl php-gd php7.4 php7.4-curl php7.4-gd socat
  sshpass vim vim-runtime x11-utils
The following packages will be upgraded:
  chromium-codecs-ffmpeg-extra
1 upgraded, 46 newly installed, 3 to remove and 126 not upgraded.
Need to get 84.1 MB of archives.
After this operation, 18.1 MB disk space will be freed.
Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf chromium-codecs-ffmpeg-extra armhf 121.0.6167.155-rpt1 [1,025 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libapr1 armhf 1.7.0-6+deb11u2 [87.8 kB]
Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf gir1.2-lightdm-1 armhf 1.26.0-7+rpt1 [30.9 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libaprutil1 armhf 1.6.1-5+deb11u1 [81.6 kB]
Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libaprutil1-dbd-sqlite3 armhf 1.6.1-5+deb11u1 [17.7 kB]
Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libaprutil1-ldap armhf 1.6.1-5+deb11u1 [16.7 kB]
Get:7 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf liblua5.3-0 armhf 5.3.3-1.1+deb11u1 [98.9 kB]
Get:8 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf apache2-bin armhf 2.4.56-1~deb11u2 [1,234 kB]
Get:9 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf apache2-data all 2.4.56-1~deb11u2 [160 kB]
Get:11 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf apache2 armhf 2.4.56-1~deb11u2 [278 kB]
Get:12 http://mirror.cxserv.de/raspbian bullseye/main armhf libaccountsservice0 armhf 0.6.55-3 [69.3 kB]
Get:14 http://mirror.cxserv.de/raspbian bullseye/main armhf libjsoncpp24 armhf 1.9.4-4 [67.0 kB]
Get:15 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libminizip1 armhf 1.1-8+deb11u1 [18.2 kB]
Get:16 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libre2-9 armhf 20210201+dfsg-1 [138 kB]
Get:17 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libxnvctrl0 armhf 470.141.03-1~deb11u1 [26.4 kB]
Get:18 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libxxf86dga1 armhf 2:1.1.4-1+b1 [20.9 kB]
Get:19 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf x11-utils armhf 7.7+5 [176 kB]
Get:21 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf chromium armhf 106.0.5249.119-1~deb11u1 [59.2 MB]
Get:25 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libapache2-mod-php7.4 armhf 7.4.33-1+deb11u4 [1,101 kB]
Get:26 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libapache2-mod-php all 2:7.4+76 [6,460 B]
Get:28 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libdlt2 armhf 2.18.6-1+deb11u1 [45.7 kB]
Get:30 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libmosquitto1 armhf 2.0.11-1+deb11u1 [83.9 kB]
Get:34 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf mmc-utils armhf 0+git20180327.b4fe0c8c-1 [34.2 kB]
Get:35 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf mosquitto armhf 2.0.11-1+deb11u1 [243 kB]
Get:36 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf mosquitto-clients armhf 2.0.11-1+deb11u1 [110 kB]
Get:38 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php7.4 all 7.4.33-1+deb11u4 [50.7 kB]
Get:39 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php all 2:7.4+76 [6,340 B]
Get:40 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php7.4-curl armhf 7.4.33-1+deb11u4 [27.6 kB]
Get:41 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php-curl all 2:7.4+76 [6,364 B]
Get:42 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php7.4-gd armhf 7.4.33-1+deb11u4 [23.3 kB]
Get:43 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php-gd all 2:7.4+76 [6,360 B]
Get:46 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf vim-runtime all 2:8.2.2434-3+deb11u1 [6,226 kB]
Get:47 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf vim armhf 2:8.2.2434-3+deb11u1 [1,170 kB]
Get:23 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf chromium-sandbox armhf 106.0.5249.119-1~deb11u1 [127 kB]
Get:24 http://mirror.cxserv.de/raspbian bullseye/main armhf fonts-liberation all 1:1.07.4-11 [828 kB]
Get:29 http://mirror.cxserv.de/raspbian bullseye/main armhf libev4 armhf 1:4.33-1 [38.2 kB]
Get:33 http://mirror.cxserv.de/raspbian bullseye/main armhf lightdm-autologin-greeter all 1.0-3 [5,308 B]
Get:37 http://mirror.cxserv.de/raspbian bullseye/main armhf notification-daemon armhf 3.20.0-4 [56.3 kB]
Err:10 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf apache2-utils armhf 2.4.56-1~deb11u2
  Connection failed [IP: 162.55.243.95 80]
Err:13 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf accountsservice armhf 0.6.55-3
  Connection failed [IP: 162.55.243.95 80]
Get:20 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf chromium-common armhf 106.0.5249.119-1~deb11u1 [4,763 kB]
Get:22 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf chromium-l10n all 106.0.5249.119-1~deb11u1 [5,477 kB]
Get:27 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf libcjson1 armhf 1.7.14-1 [20.8 kB]
Get:31 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf libu2f-udev all 1.1.10-3 [6,300 B]
Get:32 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf libwebsockets16 armhf 4.0.20-2 [161 kB]
Get:44 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf socat armhf 1.7.4.1-3 [333 kB]
Get:45 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf sshpass armhf 1.09-1 [11.9 kB]
Fetched 83.7 MB in 3min 12s (436 kB/s)
E: Failed to fetch http://mirror.pyratelan.org/raspbian/raspbian/pool/main/a/apache2/apache2-utils_2.4.56-1~deb11u2_armhf.deb  Connection failed [IP: 162.55.243.95 80]
E: Failed to fetch http://mirror.pyratelan.org/raspbian/raspbian/pool/main/a/accountsservice/accountsservice_0.6.55-3_armhf.deb  Connection failed [IP: 162.55.243.95 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
done
create group openwb
done
create user openwb
done
done
check for initial git clone...
Cloning into '/var/www/html/openWB'...
remote: Enumerating objects: 80248, done.
remote: Counting objects: 100% (2208/2208), done.
remote: Compressing objects: 100% (845/845), done.
remote: Total 80248 (delta 1623), reused 1811 (delta 1354), pack-reused 78040
Receiving objects: 100% (80248/80248), 156.64 MiB | 5.24 MiB/s, done.
Resolving deltas: 100% (58442/58442), done.
git cloned
check for ramdisk... created
check for crontab... installed
updating mosquitto config file
Failed to stop mosquitto.service: Unit mosquitto.service not loaded.
cp: cannot create regular file '/etc/mosquitto/mosquitto.conf': No such file or directory
cp: cannot create regular file '/etc/mosquitto/conf.d/openwb.conf': No such file or directory
cp: cannot create regular file '/etc/mosquitto/certs/openwb.pem': No such file or directory
cp: cannot create regular file '/etc/mosquitto/certs/openwb.key': No such file or directory
chgrp: invalid group: ‘mosquitto’
Failed to start mosquitto.service: Unit mosquitto.service not found.
setting up mosquitto local instance
install: invalid user ‘mosquitto’
mosquitto_local.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mosquitto_local
mosquitto done
replacing apache default page...done
fix upload limit...bash: line 100: /etc/php/7.4/apache2/conf.d/20-uploadlimit.ini: No such file or directory
bash: line 101: /etc/php/7.4/apache2/conf.d/20-uploadlimit.ini: No such file or directory
done (OS Bullseye)
enabling apache ssl module...bash: line 105: a2enmod: command not found
bash: line 106: a2enmod: command not found
sudo: a2dissite: command not found
cp: cannot create regular file '/etc/apache2/sites-available/': Not a directory
sudo: a2ensite: command not found
done
restarting apache...Failed to restart apache2.service: Unit apache2.service not found.
done
installing python requirements...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting jq==1.1.3
  Downloading https://www.piwheels.org/simple/jq/jq-1.1.3-cp39-cp39-linux_armv7l.whl (537 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 537 kB 568 kB/s
Collecting paho_mqtt==1.6.1
  Downloading https://www.piwheels.org/simple/paho-mqtt/paho_mqtt-1.6.1-py3-none-any.whl (75 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 75 kB 1.3 MB/s
Collecting pymodbus==2.5.2
  Downloading https://www.piwheels.org/simple/pymodbus/pymodbus-2.5.2-py2.py3-none-any.whl (154 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 154 kB 1.4 MB/s
Collecting pytest==6.2.5
  Downloading https://www.piwheels.org/simple/pytest/pytest-6.2.5-py3-none-any.whl (280 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 280 kB 492 kB/s
Collecting requests_mock==1.9.3
  Downloading https://www.piwheels.org/simple/requests-mock/requests_mock-1.9.3-py2.py3-none-any.whl (27 kB)
Collecting lxml==4.9.1
  Downloading https://www.piwheels.org/simple/lxml/lxml-4.9.1-cp39-cp39-linux_armv7l.whl (6.7 MB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 6.7 MB 3.6 MB/s
Collecting aiohttp==3.7.4
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/aiohttp/aiohttp-3.7.4-cp39-cp39-linux_armv7l.whl
  Downloading https://www.piwheels.org/simple/aiohttp/aiohttp-3.7.4-cp39-cp39-linux_armv7l.whl (1.3 MB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 1.3 MB 645 kB/s
Collecting schedule==1.1.0
  Downloading https://www.piwheels.org/simple/schedule/schedule-1.1.0-py2.py3-none-any.whl (10 kB)
Collecting PyJWT==2.6.0
  Downloading https://www.piwheels.org/simple/pyjwt/PyJWT-2.6.0-py3-none-any.whl (20 kB)
Collecting ipparser==0.3.8
  Downloading https://www.piwheels.org/simple/ipparser/ipparser-0.3.8-py3-none-any.whl (6.4 kB)
Collecting bs4==0.0.1
  Downloading https://www.piwheels.org/simple/bs4/bs4-0.0.1-py3-none-any.whl (2.2 kB)
Collecting pkce==1.0.3
  Downloading https://www.piwheels.org/simple/pkce/pkce-1.0.3-py3-none-any.whl (3.2 kB)
Collecting evdev==1.5.0
  Downloading https://www.piwheels.org/simple/evdev/evdev-1.5.0-cp39-cp39-linux_armv7l.whl (81 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 81 kB 608 kB/s
Collecting cryptography==40.0.1
  Downloading https://www.piwheels.org/simple/cryptography/cryptography-40.0.1-cp39-cp39-linux_armv7l.whl (1.5 MB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 1.5 MB 563 kB/s
Collecting msal==1.22.0
  Downloading https://www.piwheels.org/simple/msal/msal-1.22.0-py2.py3-none-any.whl (90 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 90 kB 2.3 MB/s
Collecting python-dateutil==2.8.2
  Downloading https://www.piwheels.org/simple/python-dateutil/python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 247 kB 1.5 MB/s
Collecting umodbus==1.0.4
  Downloading https://www.piwheels.org/simple/umodbus/uModbus-1.0.4-py2.py3-none-any.whl (31 kB)
Collecting pysmb==1.2.9.1
  Downloading https://www.piwheels.org/simple/pysmb/pysmb-1.2.9.1-py3-none-any.whl (84 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 84 kB 1.3 MB/s
Collecting pytz==2023.3.post1
  Downloading https://www.piwheels.org/simple/pytz/pytz-2023.3.post1-py3-none-any.whl (502 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 502 kB 578 kB/s
Collecting chardet<4.0,>=2.0
  Downloading https://www.piwheels.org/simple/chardet/chardet-3.0.4-py2.py3-none-any.whl (133 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 133 kB 1.5 MB/s
Collecting yarl<2.0,>=1.0
  Downloading https://www.piwheels.org/simple/yarl/yarl-1.9.4-cp39-cp39-linux_armv7l.whl (272 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 272 kB 536 kB/s
Collecting attrs>=17.3.0
  Downloading https://www.piwheels.org/simple/attrs/attrs-23.2.0-py3-none-any.whl (60 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 60 kB 953 kB/s
Collecting multidict<7.0,>=4.5
  Downloading https://www.piwheels.org/simple/multidict/multidict-6.0.5-cp39-cp39-linux_armv7l.whl (118 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 118 kB 480 kB/s
Requirement already satisfied: typing-extensions>=3.6.5 in /usr/lib/python3/dist-packages (from aiohttp==3.7.4->-r /var/www/html/openWB/requirements.txt (line 7)) (3.7.4.3)
Collecting async-timeout<4.0,>=3.0
  Downloading https://www.piwheels.org/simple/async-timeout/async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Requirement already satisfied: beautifulsoup4 in /usr/lib/python3/dist-packages (from bs4==0.0.1->-r /var/www/html/openWB/requirements.txt (line 11)) (4.9.3)
Collecting cffi>=1.12
  Downloading https://www.piwheels.org/simple/cffi/cffi-1.16.0-cp39-cp39-linux_armv7l.whl (367 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 367 kB 586 kB/s
Requirement already satisfied: dnspython in /usr/lib/python3/dist-packages (from ipparser==0.3.8->-r /var/www/html/openWB/requirements.txt (line 10)) (2.0.0)
Requirement already satisfied: PyJWT[crypto]<3,>=1.0.0 in /usr/lib/python3/dist-packages (from msal==1.22.0->-r /var/www/html/openWB/requirements.txt (line 17)) (1.7.1)
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: 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: pyserial>=3.4 in /usr/lib/python3/dist-packages (from pymodbus==2.5.2->-r /var/www/html/openWB/requirements.txt (line 3)) (3.5b0)
Collecting pyasn1
  Downloading https://www.piwheels.org/simple/pyasn1/pyasn1-0.5.1-py2.py3-none-any.whl (84 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 84 kB 505 kB/s
Collecting tqdm
  Downloading https://www.piwheels.org/simple/tqdm/tqdm-4.66.2-py3-none-any.whl (78 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 78 kB 580 kB/s
Collecting py>=1.8.2
  Downloading https://www.piwheels.org/simple/py/py-1.11.0-py2.py3-none-any.whl (98 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 98 kB 686 kB/s
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)
Collecting packaging
  Downloading https://www.piwheels.org/simple/packaging/packaging-23.2-py3-none-any.whl (53 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 53 kB 262 kB/s
Collecting iniconfig
  Downloading https://www.piwheels.org/simple/iniconfig/iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting pluggy<2.0,>=0.12
  Downloading https://www.piwheels.org/simple/pluggy/pluggy-1.4.0-py3-none-any.whl (20 kB)
Collecting pycparser
  Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 119 kB 474 kB/s
Collecting PyJWT[crypto]<3,>=1.0.0
  Downloading https://www.piwheels.org/simple/pyjwt/PyJWT-2.8.0-py3-none-any.whl (22 kB)
  Downloading https://www.piwheels.org/simple/pyjwt/PyJWT-2.7.0-py3-none-any.whl (22 kB)
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 /usr/lib/python3/dist-packages (from beautifulsoup4->bs4==0.0.1->-r /var/www/html/openWB/requirements.txt (line 11)) (2.2.1)
Installing collected packages: pycparser, cffi, PyJWT, multidict, cryptography, yarl, tqdm, pyasn1, py, pluggy, packaging, iniconfig, chardet, attrs, async-timeout, umodbus, schedule, requests-mock, pytz, python-dateutil, pytest, pysmb, pymodbus, pkce, paho-mqtt, msal, lxml, jq, ipparser, evdev, bs4, aiohttp
  WARNING: The script tqdm is installed in '/home/openwb/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script chardetect is installed in '/home/openwb/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts py.test and pytest are installed in '/home/openwb/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts pymodbus.console and pymodbus.server are installed in '/home/openwb/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed PyJWT-2.6.0 aiohttp-3.7.4 async-timeout-3.0.1 attrs-23.2.0 bs4-0.0.1 cffi-1.16.0 chardet-3.0.4 cryptography-40.0.1 evdev-1.5.0 iniconfig-2.0.0 ipparser-0.3.8 jq-1.1.3 lxml-4.9.1 msal-1.22.0 multidict-6.0.5 packaging-23.2 paho-mqtt-1.6.1 pkce-1.0.3 pluggy-1.4.0 py-1.11.0 pyasn1-0.5.1 pycparser-2.21 pymodbus-2.5.2 pysmb-1.2.9.1 pytest-6.2.5 python-dateutil-2.8.2 pytz-2023.3.post1 requests-mock-1.9.3 schedule-1.1.0 tqdm-4.66.2 umodbus-1.0.4 yarl-1.9.4
installing openwb2 system service...
Created symlink /etc/systemd/system/multi-user.target.wants/openwb2.service ? /var/www/html/openWB/data/config/openwb2.service.
installing openwb2 remote support service...
Created symlink /etc/systemd/system/multi-user.target.wants/openwbRemoteSupport.service ? /etc/systemd/system/openwbRemoteSupport.service.
installation finished, now starting openwb2.service...
all done
if you want to use this installation for development, add a password for user 'openwb'
m
LutzB
Beiträge: 3512
Registriert: Di Feb 25, 2020 9:23 am

Re: openWB mit Solaredge SE10K RWS und RESU12

Beitrag von LutzB »

baertiger hat geschrieben: Mi Feb 21, 2024 3:57 pm PATH-Variable ist angepaßt, Installation sieht gut aus:
Die Fehlermeldungen hast Du gesehen? Sieht für mich nicht gut aus. Da wurden einige Pakete nicht heruntergeladen.
aiole
Beiträge: 6893
Registriert: Mo Okt 08, 2018 4:51 pm

Re: openWB mit Solaredge SE10K RWS und RESU12

Beitrag von aiole »

baertiger hat geschrieben: Mi Feb 21, 2024 3:57 pm
aiole hat geschrieben: Mi Feb 21, 2024 2:16 am Warum nicht? Das Image liegt unter Ankündigungen.
Erst wenn Ladetechnik gebraucht wird, kauft man openWB/smartWB. Damit wird die Software "getragen".
Habe es installiert auf einen rpi3b mit bullseye. Webinterface hängt auf Startbildschirm bzw. in den Einstellungen kommt nur
"openWB ist noch nicht bereit
Der Systemstart ist noch nicht abgeschlossen.
Bitte warten..."

Im Hintergrund die Webseite mit den Nutzungsbedingungen, noch nicht bedienbar.
Seit ca. einer Stunde...

PATH-Variable ist angepaßt, Installation sieht gut aus:

Code: Alles auswählen

micha@raspberrypi3b:~ $ curl -s https://raw.githubusercontent.com/openWB/core/master/openwb-install.sh | sudo bash
installing openWB 2 into "/var/www/html/openWB"
install required packages with 'apt-get'...
Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:3 https://dl.cloudsmith.io/public/evcc/stable/deb/raspbian bullseye InRelease [5,127 B]
Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [313 kB]
Fetched 357 kB in 2s (217 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
bc is already the newest version (1.07.1-2+b1).
bc set to manually installed.
git is already the newest version (1:2.30.2-1+deb11u2).
jq is already the newest version (1.6-2.1).
openbox-lxde-session is already the newest version (0.99.2-4).
openbox-lxde-session set to manually installed.
php-json is already the newest version (2:7.4+76).
php-xml is already the newest version (2:7.4+76).
ssl-cert is already the newest version (1.1.0+nmu1).
ssl-cert set to manually installed.
sudo is already the newest version (1.9.5p2-3+deb11u1).
x11-xserver-utils is already the newest version (7.7+8).
x11-xserver-utils set to manually installed.
xserver-xorg is already the newest version (1:7.7+22).
lightdm is already the newest version (1.26.0-7+rpt1).
python3-pip is already the newest version (20.3.4-4+rpt1+deb11u1).
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra libfuse2
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  apache2-bin apache2-data apache2-utils chromium-codecs-ffmpeg-extra
  chromium-common chromium-sandbox fonts-liberation gir1.2-lightdm-1
  libaccountsservice0 libapache2-mod-php7.4 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libcjson1 libdlt2 libev4
  libjsoncpp24 liblua5.3-0 libminizip1 libmosquitto1 libre2-9 libu2f-udev
  libwebsockets16 libxnvctrl0 libxxf86dga1 notification-daemon php7.4
  php7.4-curl php7.4-gd vim-runtime x11-utils
Suggested packages:
  gnome-control-center apache2-doc apache2-suexec-pristine
  | apache2-suexec-custom chromium-shell chromium-driver php-pear apparmor
  ctags vim-doc vim-scripts mesa-utils
The following packages will be REMOVED:
  chromium-browser chromium-browser-l10n rpi-chromium-mods
The following NEW packages will be installed:
  accountsservice apache2 apache2-bin apache2-data apache2-utils chromium
  chromium-common chromium-l10n chromium-sandbox fonts-liberation
  gir1.2-lightdm-1 libaccountsservice0 libapache2-mod-php
  libapache2-mod-php7.4 libapr1 libaprutil1 libaprutil1-dbd-sqlite3
  libaprutil1-ldap libcjson1 libdlt2 libev4 libjsoncpp24 liblua5.3-0
  libminizip1 libmosquitto1 libre2-9 libu2f-udev libwebsockets16 libxnvctrl0
  libxxf86dga1 lightdm-autologin-greeter mmc-utils mosquitto mosquitto-clients
  notification-daemon php php-curl php-gd php7.4 php7.4-curl php7.4-gd socat
  sshpass vim vim-runtime x11-utils
The following packages will be upgraded:
  chromium-codecs-ffmpeg-extra
1 upgraded, 46 newly installed, 3 to remove and 126 not upgraded.
Need to get 84.1 MB of archives.
After this operation, 18.1 MB disk space will be freed.
Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf chromium-codecs-ffmpeg-extra armhf 121.0.6167.155-rpt1 [1,025 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libapr1 armhf 1.7.0-6+deb11u2 [87.8 kB]
Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf gir1.2-lightdm-1 armhf 1.26.0-7+rpt1 [30.9 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libaprutil1 armhf 1.6.1-5+deb11u1 [81.6 kB]
Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libaprutil1-dbd-sqlite3 armhf 1.6.1-5+deb11u1 [17.7 kB]
Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libaprutil1-ldap armhf 1.6.1-5+deb11u1 [16.7 kB]
Get:7 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf liblua5.3-0 armhf 5.3.3-1.1+deb11u1 [98.9 kB]
Get:8 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf apache2-bin armhf 2.4.56-1~deb11u2 [1,234 kB]
Get:9 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf apache2-data all 2.4.56-1~deb11u2 [160 kB]
Get:11 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf apache2 armhf 2.4.56-1~deb11u2 [278 kB]
Get:12 http://mirror.cxserv.de/raspbian bullseye/main armhf libaccountsservice0 armhf 0.6.55-3 [69.3 kB]
Get:14 http://mirror.cxserv.de/raspbian bullseye/main armhf libjsoncpp24 armhf 1.9.4-4 [67.0 kB]
Get:15 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libminizip1 armhf 1.1-8+deb11u1 [18.2 kB]
Get:16 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libre2-9 armhf 20210201+dfsg-1 [138 kB]
Get:17 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libxnvctrl0 armhf 470.141.03-1~deb11u1 [26.4 kB]
Get:18 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libxxf86dga1 armhf 2:1.1.4-1+b1 [20.9 kB]
Get:19 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf x11-utils armhf 7.7+5 [176 kB]
Get:21 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf chromium armhf 106.0.5249.119-1~deb11u1 [59.2 MB]
Get:25 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libapache2-mod-php7.4 armhf 7.4.33-1+deb11u4 [1,101 kB]
Get:26 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libapache2-mod-php all 2:7.4+76 [6,460 B]
Get:28 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libdlt2 armhf 2.18.6-1+deb11u1 [45.7 kB]
Get:30 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libmosquitto1 armhf 2.0.11-1+deb11u1 [83.9 kB]
Get:34 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf mmc-utils armhf 0+git20180327.b4fe0c8c-1 [34.2 kB]
Get:35 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf mosquitto armhf 2.0.11-1+deb11u1 [243 kB]
Get:36 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf mosquitto-clients armhf 2.0.11-1+deb11u1 [110 kB]
Get:38 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php7.4 all 7.4.33-1+deb11u4 [50.7 kB]
Get:39 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php all 2:7.4+76 [6,340 B]
Get:40 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php7.4-curl armhf 7.4.33-1+deb11u4 [27.6 kB]
Get:41 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php-curl all 2:7.4+76 [6,364 B]
Get:42 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php7.4-gd armhf 7.4.33-1+deb11u4 [23.3 kB]
Get:43 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf php-gd all 2:7.4+76 [6,360 B]
Get:46 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf vim-runtime all 2:8.2.2434-3+deb11u1 [6,226 kB]
Get:47 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf vim armhf 2:8.2.2434-3+deb11u1 [1,170 kB]
Get:23 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf chromium-sandbox armhf 106.0.5249.119-1~deb11u1 [127 kB]
Get:24 http://mirror.cxserv.de/raspbian bullseye/main armhf fonts-liberation all 1:1.07.4-11 [828 kB]
Get:29 http://mirror.cxserv.de/raspbian bullseye/main armhf libev4 armhf 1:4.33-1 [38.2 kB]
Get:33 http://mirror.cxserv.de/raspbian bullseye/main armhf lightdm-autologin-greeter all 1.0-3 [5,308 B]
Get:37 http://mirror.cxserv.de/raspbian bullseye/main armhf notification-daemon armhf 3.20.0-4 [56.3 kB]
Err:10 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf apache2-utils armhf 2.4.56-1~deb11u2
  Connection failed [IP: 162.55.243.95 80]
Err:13 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf accountsservice armhf 0.6.55-3
  Connection failed [IP: 162.55.243.95 80]
Get:20 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf chromium-common armhf 106.0.5249.119-1~deb11u1 [4,763 kB]
Get:22 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf chromium-l10n all 106.0.5249.119-1~deb11u1 [5,477 kB]
Get:27 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf libcjson1 armhf 1.7.14-1 [20.8 kB]
Get:31 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf libu2f-udev all 1.1.10-3 [6,300 B]
Get:32 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf libwebsockets16 armhf 4.0.20-2 [161 kB]
Get:44 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf socat armhf 1.7.4.1-3 [333 kB]
Get:45 http://mirror.pyratelan.org/raspbian/raspbian bullseye/main armhf sshpass armhf 1.09-1 [11.9 kB]
Fetched 83.7 MB in 3min 12s (436 kB/s)
E: Failed to fetch http://mirror.pyratelan.org/raspbian/raspbian/pool/main/a/apache2/apache2-utils_2.4.56-1~deb11u2_armhf.deb  Connection failed [IP: 162.55.243.95 80]
E: Failed to fetch http://mirror.pyratelan.org/raspbian/raspbian/pool/main/a/accountsservice/accountsservice_0.6.55-3_armhf.deb  Connection failed [IP: 162.55.243.95 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
done
create group openwb
done
create user openwb
done
done
check for initial git clone...
Cloning into '/var/www/html/openWB'...
remote: Enumerating objects: 80248, done.
remote: Counting objects: 100% (2208/2208), done.
remote: Compressing objects: 100% (845/845), done.
remote: Total 80248 (delta 1623), reused 1811 (delta 1354), pack-reused 78040
Receiving objects: 100% (80248/80248), 156.64 MiB | 5.24 MiB/s, done.
Resolving deltas: 100% (58442/58442), done.
git cloned
check for ramdisk... created
check for crontab... installed
updating mosquitto config file
Failed to stop mosquitto.service: Unit mosquitto.service not loaded.
cp: cannot create regular file '/etc/mosquitto/mosquitto.conf': No such file or directory
cp: cannot create regular file '/etc/mosquitto/conf.d/openwb.conf': No such file or directory
cp: cannot create regular file '/etc/mosquitto/certs/openwb.pem': No such file or directory
cp: cannot create regular file '/etc/mosquitto/certs/openwb.key': No such file or directory
chgrp: invalid group: ‘mosquitto’
Failed to start mosquitto.service: Unit mosquitto.service not found.
setting up mosquitto local instance
install: invalid user ‘mosquitto’
mosquitto_local.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mosquitto_local
mosquitto done
replacing apache default page...done
fix upload limit...bash: line 100: /etc/php/7.4/apache2/conf.d/20-uploadlimit.ini: No such file or directory
bash: line 101: /etc/php/7.4/apache2/conf.d/20-uploadlimit.ini: No such file or directory
done (OS Bullseye)
enabling apache ssl module...bash: line 105: a2enmod: command not found
bash: line 106: a2enmod: command not found
sudo: a2dissite: command not found
cp: cannot create regular file '/etc/apache2/sites-available/': Not a directory
sudo: a2ensite: command not found
done
restarting apache...Failed to restart apache2.service: Unit apache2.service not found.
done
installing python requirements...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting jq==1.1.3
  Downloading https://www.piwheels.org/simple/jq/jq-1.1.3-cp39-cp39-linux_armv7l.whl (537 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 537 kB 568 kB/s
Collecting paho_mqtt==1.6.1
  Downloading https://www.piwheels.org/simple/paho-mqtt/paho_mqtt-1.6.1-py3-none-any.whl (75 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 75 kB 1.3 MB/s
Collecting pymodbus==2.5.2
  Downloading https://www.piwheels.org/simple/pymodbus/pymodbus-2.5.2-py2.py3-none-any.whl (154 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 154 kB 1.4 MB/s
Collecting pytest==6.2.5
  Downloading https://www.piwheels.org/simple/pytest/pytest-6.2.5-py3-none-any.whl (280 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 280 kB 492 kB/s
Collecting requests_mock==1.9.3
  Downloading https://www.piwheels.org/simple/requests-mock/requests_mock-1.9.3-py2.py3-none-any.whl (27 kB)
Collecting lxml==4.9.1
  Downloading https://www.piwheels.org/simple/lxml/lxml-4.9.1-cp39-cp39-linux_armv7l.whl (6.7 MB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 6.7 MB 3.6 MB/s
Collecting aiohttp==3.7.4
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/aiohttp/aiohttp-3.7.4-cp39-cp39-linux_armv7l.whl
  Downloading https://www.piwheels.org/simple/aiohttp/aiohttp-3.7.4-cp39-cp39-linux_armv7l.whl (1.3 MB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 1.3 MB 645 kB/s
Collecting schedule==1.1.0
  Downloading https://www.piwheels.org/simple/schedule/schedule-1.1.0-py2.py3-none-any.whl (10 kB)
Collecting PyJWT==2.6.0
  Downloading https://www.piwheels.org/simple/pyjwt/PyJWT-2.6.0-py3-none-any.whl (20 kB)
Collecting ipparser==0.3.8
  Downloading https://www.piwheels.org/simple/ipparser/ipparser-0.3.8-py3-none-any.whl (6.4 kB)
Collecting bs4==0.0.1
  Downloading https://www.piwheels.org/simple/bs4/bs4-0.0.1-py3-none-any.whl (2.2 kB)
Collecting pkce==1.0.3
  Downloading https://www.piwheels.org/simple/pkce/pkce-1.0.3-py3-none-any.whl (3.2 kB)
Collecting evdev==1.5.0
  Downloading https://www.piwheels.org/simple/evdev/evdev-1.5.0-cp39-cp39-linux_armv7l.whl (81 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 81 kB 608 kB/s
Collecting cryptography==40.0.1
  Downloading https://www.piwheels.org/simple/cryptography/cryptography-40.0.1-cp39-cp39-linux_armv7l.whl (1.5 MB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 1.5 MB 563 kB/s
Collecting msal==1.22.0
  Downloading https://www.piwheels.org/simple/msal/msal-1.22.0-py2.py3-none-any.whl (90 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 90 kB 2.3 MB/s
Collecting python-dateutil==2.8.2
  Downloading https://www.piwheels.org/simple/python-dateutil/python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 247 kB 1.5 MB/s
Collecting umodbus==1.0.4
  Downloading https://www.piwheels.org/simple/umodbus/uModbus-1.0.4-py2.py3-none-any.whl (31 kB)
Collecting pysmb==1.2.9.1
  Downloading https://www.piwheels.org/simple/pysmb/pysmb-1.2.9.1-py3-none-any.whl (84 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 84 kB 1.3 MB/s
Collecting pytz==2023.3.post1
  Downloading https://www.piwheels.org/simple/pytz/pytz-2023.3.post1-py3-none-any.whl (502 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 502 kB 578 kB/s
Collecting chardet<4.0,>=2.0
  Downloading https://www.piwheels.org/simple/chardet/chardet-3.0.4-py2.py3-none-any.whl (133 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 133 kB 1.5 MB/s
Collecting yarl<2.0,>=1.0
  Downloading https://www.piwheels.org/simple/yarl/yarl-1.9.4-cp39-cp39-linux_armv7l.whl (272 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 272 kB 536 kB/s
Collecting attrs>=17.3.0
  Downloading https://www.piwheels.org/simple/attrs/attrs-23.2.0-py3-none-any.whl (60 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 60 kB 953 kB/s
Collecting multidict<7.0,>=4.5
  Downloading https://www.piwheels.org/simple/multidict/multidict-6.0.5-cp39-cp39-linux_armv7l.whl (118 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 118 kB 480 kB/s
Requirement already satisfied: typing-extensions>=3.6.5 in /usr/lib/python3/dist-packages (from aiohttp==3.7.4->-r /var/www/html/openWB/requirements.txt (line 7)) (3.7.4.3)
Collecting async-timeout<4.0,>=3.0
  Downloading https://www.piwheels.org/simple/async-timeout/async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Requirement already satisfied: beautifulsoup4 in /usr/lib/python3/dist-packages (from bs4==0.0.1->-r /var/www/html/openWB/requirements.txt (line 11)) (4.9.3)
Collecting cffi>=1.12
  Downloading https://www.piwheels.org/simple/cffi/cffi-1.16.0-cp39-cp39-linux_armv7l.whl (367 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 367 kB 586 kB/s
Requirement already satisfied: dnspython in /usr/lib/python3/dist-packages (from ipparser==0.3.8->-r /var/www/html/openWB/requirements.txt (line 10)) (2.0.0)
Requirement already satisfied: PyJWT[crypto]<3,>=1.0.0 in /usr/lib/python3/dist-packages (from msal==1.22.0->-r /var/www/html/openWB/requirements.txt (line 17)) (1.7.1)
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: 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: pyserial>=3.4 in /usr/lib/python3/dist-packages (from pymodbus==2.5.2->-r /var/www/html/openWB/requirements.txt (line 3)) (3.5b0)
Collecting pyasn1
  Downloading https://www.piwheels.org/simple/pyasn1/pyasn1-0.5.1-py2.py3-none-any.whl (84 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 84 kB 505 kB/s
Collecting tqdm
  Downloading https://www.piwheels.org/simple/tqdm/tqdm-4.66.2-py3-none-any.whl (78 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 78 kB 580 kB/s
Collecting py>=1.8.2
  Downloading https://www.piwheels.org/simple/py/py-1.11.0-py2.py3-none-any.whl (98 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 98 kB 686 kB/s
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)
Collecting packaging
  Downloading https://www.piwheels.org/simple/packaging/packaging-23.2-py3-none-any.whl (53 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 53 kB 262 kB/s
Collecting iniconfig
  Downloading https://www.piwheels.org/simple/iniconfig/iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting pluggy<2.0,>=0.12
  Downloading https://www.piwheels.org/simple/pluggy/pluggy-1.4.0-py3-none-any.whl (20 kB)
Collecting pycparser
  Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB)
     |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 119 kB 474 kB/s
Collecting PyJWT[crypto]<3,>=1.0.0
  Downloading https://www.piwheels.org/simple/pyjwt/PyJWT-2.8.0-py3-none-any.whl (22 kB)
  Downloading https://www.piwheels.org/simple/pyjwt/PyJWT-2.7.0-py3-none-any.whl (22 kB)
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 /usr/lib/python3/dist-packages (from beautifulsoup4->bs4==0.0.1->-r /var/www/html/openWB/requirements.txt (line 11)) (2.2.1)
Installing collected packages: pycparser, cffi, PyJWT, multidict, cryptography, yarl, tqdm, pyasn1, py, pluggy, packaging, iniconfig, chardet, attrs, async-timeout, umodbus, schedule, requests-mock, pytz, python-dateutil, pytest, pysmb, pymodbus, pkce, paho-mqtt, msal, lxml, jq, ipparser, evdev, bs4, aiohttp
  WARNING: The script tqdm is installed in '/home/openwb/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script chardetect is installed in '/home/openwb/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts py.test and pytest are installed in '/home/openwb/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts pymodbus.console and pymodbus.server are installed in '/home/openwb/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed PyJWT-2.6.0 aiohttp-3.7.4 async-timeout-3.0.1 attrs-23.2.0 bs4-0.0.1 cffi-1.16.0 chardet-3.0.4 cryptography-40.0.1 evdev-1.5.0 iniconfig-2.0.0 ipparser-0.3.8 jq-1.1.3 lxml-4.9.1 msal-1.22.0 multidict-6.0.5 packaging-23.2 paho-mqtt-1.6.1 pkce-1.0.3 pluggy-1.4.0 py-1.11.0 pyasn1-0.5.1 pycparser-2.21 pymodbus-2.5.2 pysmb-1.2.9.1 pytest-6.2.5 python-dateutil-2.8.2 pytz-2023.3.post1 requests-mock-1.9.3 schedule-1.1.0 tqdm-4.66.2 umodbus-1.0.4 yarl-1.9.4
installing openwb2 system service...
Created symlink /etc/systemd/system/multi-user.target.wants/openwb2.service ? /var/www/html/openWB/data/config/openwb2.service.
installing openwb2 remote support service...
Created symlink /etc/systemd/system/multi-user.target.wants/openwbRemoteSupport.service ? /etc/systemd/system/openwbRemoteSupport.service.
installation finished, now starting openwb2.service...
all done
if you want to use this installation for development, add a password for user 'openwb'
m
Wieso bügelst Du nicht einfach das fertige Image auf eine >=16GB SD-Karte? Mit Balena Etcher geht das in 5min.
https://openwb.de/uploads/openWB-softwa ... 1.1.img.gz
baertiger
Beiträge: 16
Registriert: Mo Feb 19, 2024 11:32 am

Re: openWB mit Solaredge SE10K RWS und RESU12

Beitrag von baertiger »

aiole hat geschrieben: Mi Feb 21, 2024 6:55 pm Wieso bügelst Du nicht einfach das fertige Image auf eine >=16GB SD-Karte?
Weil auf dem Raspi schon andere Programme arbeiten.
Aber wäre eine Option, zumindest für den Test.
baertiger
Beiträge: 16
Registriert: Mo Feb 19, 2024 11:32 am

Re: openWB mit Solaredge SE10K RWS und RESU12

Beitrag von baertiger »

so, heute sind die neuen Speicherkarten gekommen, habe eine mittels Raspberry Pi Imager mit dem fertigen Image beschrieben. War vielleicht falsch, denn ich klemme auf dem selben Startbild fest wie zuvor.

Jetzt habe ich ein neues Problem: Mein Raspi läuft jetzt (ohne Bildschirm) und ich möchte ihn herunterfahren mit sudo shutdown -h 0. Ich muß das blind ohne Bildschirm machen. Vermutlich fragt mich das System nach dem root-passwort. Weiß jemand wie das heißt?
Ich würde dem Raspi ungern einfach den Strom entziehen.

SSH-Zugangsdaten würden mich auch interessieren. Ich habe mit dem Raspberry Pi Imager zwar welche eingerichtet aber weshalb auch immer funktionieren die nicht.
aiole
Beiträge: 6893
Registriert: Mo Okt 08, 2018 4:51 pm

Re: openWB mit Solaredge SE10K RWS und RESU12

Beitrag von aiole »

Das Image ist ohne SSH.
Flash mit Balena Etcher und du hast ein funktionierendes openWB. Steht alles schon oben beschrieben.
baertiger
Beiträge: 16
Registriert: Mo Feb 19, 2024 11:32 am

Re: openWB mit Solaredge SE10K RWS und RESU12

Beitrag von baertiger »

Ja, das wäre auch mein nächster Schritt, aber mein primäres Problem ist momentan das saubere Herunterfahren. Auf den Befehl sudo shutdown -h 0 passiert nichts. Vermutlich fragt mich das System nach dem Passwort...
Allerdings fährt mein anderer Raspi auf den Befehl hin ohne Rückfrage runter. Was ist hier anders?
Zuletzt geändert von baertiger am Fr Feb 23, 2024 8:23 pm, insgesamt 1-mal geändert.
LutzB
Beiträge: 3512
Registriert: Di Feb 25, 2020 9:23 am

Re: openWB mit Solaredge SE10K RWS und RESU12

Beitrag von LutzB »

Wenn Du die Karte eh neu beschreibst, muss die Box auch nicht heruntergefahren werden.
baertiger
Beiträge: 16
Registriert: Mo Feb 19, 2024 11:32 am

Re: openWB mit Solaredge SE10K RWS und RESU12

Beitrag von baertiger »

Wenn der Raspi gerade schreibt, ist es riskant..
Hab es jetzt getan, openWB läuft, aber um das Terminal zu nutzen brauche ich wieder das gültige passwort. Meine anderen Programme sollen ja auch wieder drauf.
In readme.md steht
...empfiehlt es sich, ein Kennwort für den Benutzer "openwb" zu setzen ...
Gibt es eine Möglichkeit, ein passwort zu setzen, ohne eingeloggt zu sein? Doch sicher nur, wenn ich die Karte in einen Linux-Rechner stecke, oder?
Wenn ich die Passworteingabe mit return bestätige, meckert er ein falsches Passwort an.
baertiger
Beiträge: 16
Registriert: Mo Feb 19, 2024 11:32 am

Re: openWB mit Solaredge SE10K RWS und RESU12

Beitrag von baertiger »

Im Menüpunkt System/System ist ein Knopf zum Herunterfahren :) Dauert ggf. ein paar Minuten, Geduld nötig!
Hatte schon befürchtet, ich muß nochmal hart ausschalten.

Komme jetzt erst mal selbst zurecht
Vielen Dank bis hierher an alle
Antworten