Überschussladen mit Fronius für Dummies

VeannonGE
Beiträge: 20
Registriert: So Sep 20, 2020 6:36 am

Re: Überschussladen mit Fronius für Dummies

Beitrag von VeannonGE »

So, ich habe nun einen Raspi 3 am Router hängen und auf die SD-Karte Raspbian aufgespielt, SSH angelegt und geupdated. Wie mache ich nun weiter?
Stichworte genügen mir schon, dann such ich mir den Rest zusammen - aber ich habe keinen Plan, wie/wo ich da anfangen soll.
LutzB
Beiträge: 3535
Registriert: Di Feb 25, 2020 9:23 am

Re: Überschussladen mit Fronius für Dummies

Beitrag von LutzB »

Welches Raspian hast Du installiert? Das aktuelle (basierend auf Debian "Buster") wird noch nicht vollständig unterstützt und erfordert etwas Linux Know-How, um es ans Laufen zu bekommen.

Die letzten offiziellen Images, die auf Debian "Stretch" basieren, findest Du hier: https://downloads.raspberrypi.org/raspb ... 019-04-09/

Danach den Abschnitt zur Installation abarbeiten: https://github.com/snaptec/openWB#installation
VeannonGE
Beiträge: 20
Registriert: So Sep 20, 2020 6:36 am

Re: Überschussladen mit Fronius für Dummies

Beitrag von VeannonGE »

Ah. Okay. Danke. Ich hatte das aktuellste aus August 2020 "based on Debian Buster".
Also schmeiß ich das runter und mach es nochmal neu. :idea:
VeannonGE
Beiträge: 20
Registriert: So Sep 20, 2020 6:36 am

Re: Überschussladen mit Fronius für Dummies

Beitrag von VeannonGE »

Die Anleitung ist super geschrieben. Problem, ich hänge bei/nach dem Install-Script fest
pi@raspberrypi3B:~ $ curl -s https://raw.githubusercontent.com/snapt ... install.sh | sudo sh
update system
Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
Get:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages [192 kB]
Get:5 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [45.0 kB]
Get:6 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages [56.9 kB]
Get:7 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages [98.9 kB]
Fetched 12.1 MB in 10s (1,108 kB/s)
Reading package lists... Done
check for vim
(Reading database ... 80889 files and directories currently installed.)
Preparing to unpack .../vim-tiny_2%3a8.0.0197-4+deb9u3_armhf.deb ...
Unpacking vim-tiny (2:8.0.0197-4+deb9u3) over (2:8.0.0197-4+deb9u1) ...
Preparing to unpack .../vim-common_2%3a8.0.0197-4+deb9u3_all.deb ...
Unpacking vim-common (2:8.0.0197-4+deb9u3) over (2:8.0.0197-4+deb9u1) ...
Selecting previously unselected package vim-runtime.
Preparing to unpack .../vim-runtime_2%3a8.0.0197-4+deb9u3_all.deb ...
Adding 'diversion of /usr/share/vim/vim80/doc/help.txt to /usr/share/vim/vim80/doc/help.txt.vim-tiny by vim-runtime'
Adding 'diversion of /usr/share/vim/vim80/doc/tags to /usr/share/vim/vim80/doc/tags.vim-tiny by vim-runtime'
Unpacking vim-runtime (2:8.0.0197-4+deb9u3) ...
Selecting previously unselected package vim.
Preparing to unpack .../vim_2%3a8.0.0197-4+deb9u3_armhf.deb ...
Unpacking vim (2:8.0.0197-4+deb9u3) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Setting up vim-common (2:8.0.0197-4+deb9u3) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up vim-runtime (2:8.0.0197-4+deb9u3) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up vim-tiny (2:8.0.0197-4+deb9u3) ...
Setting up vim (2:8.0.0197-4+deb9u3) ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
... installed
check for timezone
...ok
check for bc
Selecting previously unselected package bc.
(Reading database ... 82620 files and directories currently installed.)
Preparing to unpack .../bc_1.06.95-9_armhf.deb ...
Unpacking bc (1.06.95-9) ...
Processing triggers for install-info (6.3.0.dfsg.1-1+b1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up bc (1.06.95-9) ...
...installed
check for apache
Preconfiguring packages ...
Selecting previously unselected package libapr1:armhf.
(Reading database ... 82638 files and directories currently installed.)
Preparing to unpack .../0-libapr1_1.5.2-5_armhf.deb ...
Unpacking libapr1:armhf (1.5.2-5) ...
Selecting previously unselected package libaprutil1:armhf.
Preparing to unpack .../1-libaprutil1_1.5.4-3_armhf.deb ...
Unpacking libaprutil1:armhf (1.5.4-3) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3:armhf.
Preparing to unpack .../2-libaprutil1-dbd-sqlite3_1.5.4-3_armhf.deb ...
Unpacking libaprutil1-dbd-sqlite3:armhf (1.5.4-3) ...
Selecting previously unselected package libaprutil1-ldap:armhf.
Preparing to unpack .../3-libaprutil1-ldap_1.5.4-3_armhf.deb ...
Unpacking libaprutil1-ldap:armhf (1.5.4-3) ...
Selecting previously unselected package apache2-bin.
Preparing to unpack .../4-apache2-bin_2.4.25-3+deb9u9_armhf.deb ...
Unpacking apache2-bin (2.4.25-3+deb9u9) ...
Selecting previously unselected package apache2-utils.
Preparing to unpack .../5-apache2-utils_2.4.25-3+deb9u9_armhf.deb ...
Unpacking apache2-utils (2.4.25-3+deb9u9) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../6-apache2-data_2.4.25-3+deb9u9_all.deb ...
Unpacking apache2-data (2.4.25-3+deb9u9) ...
Selecting previously unselected package apache2.
Preparing to unpack .../7-apache2_2.4.25-3+deb9u9_armhf.deb ...
Unpacking apache2 (2.4.25-3+deb9u9) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../8-ssl-cert_1.0.39_all.deb ...
Unpacking ssl-cert (1.0.39) ...
Setting up libapr1:armhf (1.5.2-5) ...
Setting up apache2-data (2.4.25-3+deb9u9) ...
Setting up ssl-cert (1.0.39) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libaprutil1:armhf (1.5.4-3) ...
Processing triggers for systemd (232-25+deb9u9) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libaprutil1-ldap:armhf (1.5.4-3) ...
Setting up libaprutil1-dbd-sqlite3:armhf (1.5.4-3) ...
Setting up apache2-utils (2.4.25-3+deb9u9) ...
Setting up apache2-bin (2.4.25-3+deb9u9) ...
Setting up apache2 (2.4.25-3+deb9u9) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling module reqtimeout.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service.
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for systemd (232-25+deb9u9) ...
Selecting previously unselected package php-common.
(Reading database ... 83339 files and directories currently installed.)
Preparing to unpack .../0-php-common_1%3a49_all.deb ...
Unpacking php-common (1:49) ...
Selecting previously unselected package php7.0-common.
Preparing to unpack .../1-php7.0-common_7.0.33-0+deb9u9_armhf.deb ...
Unpacking php7.0-common (7.0.33-0+deb9u9) ...
Selecting previously unselected package php7.0-json.
Preparing to unpack .../2-php7.0-json_7.0.33-0+deb9u9_armhf.deb ...
Unpacking php7.0-json (7.0.33-0+deb9u9) ...
Selecting previously unselected package php7.0-opcache.
Preparing to unpack .../3-php7.0-opcache_7.0.33-0+deb9u9_armhf.deb ...
Unpacking php7.0-opcache (7.0.33-0+deb9u9) ...
Selecting previously unselected package php7.0-readline.
Preparing to unpack .../4-php7.0-readline_7.0.33-0+deb9u9_armhf.deb ...
Unpacking php7.0-readline (7.0.33-0+deb9u9) ...
Selecting previously unselected package php7.0-cli.
Preparing to unpack .../5-php7.0-cli_7.0.33-0+deb9u9_armhf.deb ...
Unpacking php7.0-cli (7.0.33-0+deb9u9) ...
Selecting previously unselected package libapache2-mod-php7.0.
Preparing to unpack .../6-libapache2-mod-php7.0_7.0.33-0+deb9u9_armhf.deb ...
Unpacking libapache2-mod-php7.0 (7.0.33-0+deb9u9) ...
Selecting previously unselected package php7.0.
Preparing to unpack .../7-php7.0_7.0.33-0+deb9u9_all.deb ...
Unpacking php7.0 (7.0.33-0+deb9u9) ...
Selecting previously unselected package php.
Preparing to unpack .../8-php_1%3a7.0+49_all.deb ...
Unpacking php (1:7.0+49) ...
Setting up php-common (1:49) ...
Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
Processing triggers for man-db (2.7.6.1-2) ...
Setting up php7.0-common (7.0.33-0+deb9u9) ...

Creating config file /etc/php/7.0/mods-available/calendar.ini with new version

Creating config file /etc/php/7.0/mods-available/ctype.ini with new version

Creating config file /etc/php/7.0/mods-available/exif.ini with new version

Creating config file /etc/php/7.0/mods-available/fileinfo.ini with new version

Creating config file /etc/php/7.0/mods-available/ftp.ini with new version

Creating config file /etc/php/7.0/mods-available/gettext.ini with new version

Creating config file /etc/php/7.0/mods-available/iconv.ini with new version

Creating config file /etc/php/7.0/mods-available/pdo.ini with new version

Creating config file /etc/php/7.0/mods-available/phar.ini with new version

Creating config file /etc/php/7.0/mods-available/posix.ini with new version

Creating config file /etc/php/7.0/mods-available/shmop.ini with new version

Creating config file /etc/php/7.0/mods-available/sockets.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvmsg.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvsem.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvshm.ini with new version

Creating config file /etc/php/7.0/mods-available/tokenizer.ini with new version
Setting up php7.0-readline (7.0.33-0+deb9u9) ...

Creating config file /etc/php/7.0/mods-available/readline.ini with new version
Setting up php7.0-opcache (7.0.33-0+deb9u9) ...

Creating config file /etc/php/7.0/mods-available/opcache.ini with new version
Setting up php7.0-json (7.0.33-0+deb9u9) ...

Creating config file /etc/php/7.0/mods-available/json.ini with new version
Setting up php7.0-cli (7.0.33-0+deb9u9) ...
update-alternatives: using /usr/bin/php7.0 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.0 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.0 to provide /usr/bin/phar.phar (phar.phar) in auto mode

Creating config file /etc/php/7.0/cli/php.ini with new version
Setting up libapache2-mod-php7.0 (7.0.33-0+deb9u9) ...

Creating config file /etc/php/7.0/apache2/php.ini with new version
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
apache2_invoke: Enable module php7.0
Setting up php7.0 (7.0.33-0+deb9u9) ...
Setting up php (1:7.0+49) ...
Selecting previously unselected package php7.0-gd.
(Reading database ... 83479 files and directories currently installed.)
Preparing to unpack .../php7.0-gd_7.0.33-0+deb9u9_armhf.deb ...
Unpacking php7.0-gd (7.0.33-0+deb9u9) ...
Selecting previously unselected package php-gd.
Preparing to unpack .../php-gd_1%3a7.0+49_all.deb ...
Unpacking php-gd (1:7.0+49) ...
Processing triggers for libapache2-mod-php7.0 (7.0.33-0+deb9u9) ...
Setting up php7.0-gd (7.0.33-0+deb9u9) ...

Creating config file /etc/php/7.0/mods-available/gd.ini with new version
Setting up php-gd (1:7.0+49) ...
Processing triggers for libapache2-mod-php7.0 (7.0.33-0+deb9u9) ...
Selecting previously unselected package php7.0-xml.
(Reading database ... 83491 files and directories currently installed.)
Preparing to unpack .../php7.0-xml_7.0.33-0+deb9u9_armhf.deb ...
Unpacking php7.0-xml (7.0.33-0+deb9u9) ...
Processing triggers for libapache2-mod-php7.0 (7.0.33-0+deb9u9) ...
Setting up php7.0-xml (7.0.33-0+deb9u9) ...

Creating config file /etc/php/7.0/mods-available/dom.ini with new version

Creating config file /etc/php/7.0/mods-available/simplexml.ini with new version

Creating config file /etc/php/7.0/mods-available/wddx.ini with new version

Creating config file /etc/php/7.0/mods-available/xml.ini with new version

Creating config file /etc/php/7.0/mods-available/xmlreader.ini with new version

Creating config file /etc/php/7.0/mods-available/xmlwriter.ini with new version

Creating config file /etc/php/7.0/mods-available/xsl.ini with new version
Processing triggers for libapache2-mod-php7.0 (7.0.33-0+deb9u9) ...
Selecting previously unselected package php7.0-curl.
(Reading database ... 83512 files and directories currently installed.)
Preparing to unpack .../php7.0-curl_7.0.33-0+deb9u9_armhf.deb ...
Unpacking php7.0-curl (7.0.33-0+deb9u9) ...
Selecting previously unselected package php-curl.
Preparing to unpack .../php-curl_1%3a7.0+49_all.deb ...
Unpacking php-curl (1:7.0+49) ...
Processing triggers for libapache2-mod-php7.0 (7.0.33-0+deb9u9) ...
Setting up php7.0-curl (7.0.33-0+deb9u9) ...

Creating config file /etc/php/7.0/mods-available/curl.ini with new version
Setting up php-curl (1:7.0+49) ...
Processing triggers for libapache2-mod-php7.0 (7.0.33-0+deb9u9) ...
Selecting previously unselected package libonig4:armhf.
(Reading database ... 83524 files and directories currently installed.)
Preparing to unpack .../libonig4_6.1.3-2_armhf.deb ...
Unpacking libonig4:armhf (6.1.3-2) ...
Selecting previously unselected package libjq1:armhf.
Preparing to unpack .../libjq1_1.5+dfsg-1.3_armhf.deb ...
Unpacking libjq1:armhf (1.5+dfsg-1.3) ...
Selecting previously unselected package jq.
Preparing to unpack .../jq_1.5+dfsg-1.3_armhf.deb ...
Unpacking jq (1.5+dfsg-1.3) ...
Setting up libonig4:armhf (6.1.3-2) ...
Setting up libjq1:armhf (1.5+dfsg-1.3) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up jq (1.5+dfsg-1.3) ...
Selecting previously unselected package raspberrypi-kernel-headers.
(Reading database ... 83544 files and directories currently installed.)
Preparing to unpack .../raspberrypi-kernel-headers_1.20190819~stretch-1_armhf.deb ...
Unpacking raspberrypi-kernel-headers (1.20190819~stretch-1) ...
Setting up raspberrypi-kernel-headers (1.20190819~stretch-1) ...
... installed
check for i2c bus
check for i2c package
...ok
check for git
...ok
check for initial git clone
Cloning into 'openWB'...
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 18343 (delta 0), reused 0 (delta 0), pack-reused 18342
Receiving objects: 100% (18343/18343), 51.47 MiB | 3.28 MiB/s, done.
Resolving deltas: 100% (12545/12545), done.
... git cloned
check for ramdisk
...created
check for crontab
grep: /var/spool/cron/crontabs/root: No such file or directory
no crontab for root
...added
check for MCP4725
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.3).
python-dev is already the newest version (2.7.13-2).
python-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 206 not upgraded.
Cloning into 'Adafruit_Python_MCP4725'...
remote: Enumerating objects: 49, done.
remote: Total 49 (delta 0), reused 0 (delta 0), pack-reused 49
Unpacking objects: 100% (49/49), done.
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running install
running bdist_egg
running egg_info
creating Adafruit_MCP4725.egg-info
writing requirements to Adafruit_MCP4725.egg-info/requires.txt
writing Adafruit_MCP4725.egg-info/PKG-INFO
writing top-level names to Adafruit_MCP4725.egg-info/top_level.txt
writing dependency_links to Adafruit_MCP4725.egg-info/dependency_links.txt
writing manifest file 'Adafruit_MCP4725.egg-info/SOURCES.txt'
reading manifest file 'Adafruit_MCP4725.egg-info/SOURCES.txt'
writing manifest file 'Adafruit_MCP4725.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/Adafruit_MCP4725
copying Adafruit_MCP4725/MCP4725.py -> build/lib.linux-armv7l-2.7/Adafruit_MCP4725
copying Adafruit_MCP4725/__init__.py -> build/lib.linux-armv7l-2.7/Adafruit_MCP4725
creating build/bdist.linux-armv7l
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/Adafruit_MCP4725
copying build/lib.linux-armv7l-2.7/Adafruit_MCP4725/MCP4725.py -> build/bdist.linux-armv7l/egg/Adafruit_MCP4725
copying build/lib.linux-armv7l-2.7/Adafruit_MCP4725/__init__.py -> build/bdist.linux-armv7l/egg/Adafruit_MCP4725
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_MCP4725/MCP4725.py to MCP4725.pyc
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_MCP4725/__init__.py to __init__.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_MCP4725.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_MCP4725.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_MCP4725.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_MCP4725.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_MCP4725.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/Adafruit_MCP4725-1.0.4-py2.7.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing Adafruit_MCP4725-1.0.4-py2.7.egg
Copying Adafruit_MCP4725-1.0.4-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding Adafruit-MCP4725 1.0.4 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/Adafruit_MCP4725-1.0.4-py2.7.egg
Processing dependencies for Adafruit-MCP4725==1.0.4
Searching for Adafruit-GPIO>=0.6.5
Downloading https://github.com/adafruit/Adafruit_Py ... GPIO-0.6.5
Best match: Adafruit-GPIO 0.6.5
Processing master
Writing /tmp/easy_install-lAr2aN/adafruit-Adafruit_Python_GPIO-a12fee3/setup.cfg
Running adafruit-Adafruit_Python_GPIO-a12fee3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-lAr2aN/adafruit-Adafruit_Python_GPIO-a12fee3/egg-dist-tmp-MT9uQm
Adafruit GPIO Library
Works best with Python 2.7
THIS INSTALL SCRIPT MAY REQUIRE ROOT/ADMIN PERMISSIONS
Especially if you installed python for "all users" on Windows

try the following in your systems terminal if ensurepip is not sufficient:
$ python -m ensurepip --upgrade
$ python -m pip install --upgrade pip setuptools
zip_safe flag not set; analyzing archive contents...
Moving Adafruit_GPIO-1.0.4-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding Adafruit-GPIO 1.0.4 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/Adafruit_GPIO-1.0.4-py2.7.egg
Searching for adafruit-pureio
Reading https://pypi.python.org/simple/adafruit-pureio/
Downloading https://files.pythonhosted.org/packages ... 3e96623cfb
Best match: Adafruit-PureIO 1.1.5
Processing Adafruit_PureIO-1.1.5.tar.gz
Writing /tmp/easy_install-PGCNDa/Adafruit_PureIO-1.1.5/setup.cfg
Running Adafruit_PureIO-1.1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-PGCNDa/Adafruit_PureIO-1.1.5/egg-dist-tmp-h0PjSU
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
zip_safe flag not set; analyzing archive contents...
Moving Adafruit_PureIO-1.1.5-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding Adafruit-PureIO 1.1.5 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/Adafruit_PureIO-1.1.5-py2.7.egg
Searching for spidev==3.3
Best match: spidev 3.3
Adding spidev 3.3 to easy-install.pth file

Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for Adafruit-MCP4725==1.0.4
... installed
check for socat
Selecting previously unselected package socat.
(Reading database ... 117122 files and directories currently installed.)
Preparing to unpack .../socat_1.7.3.1-2+deb9u1_armhf.deb ...
Unpacking socat (1.7.3.1-2+deb9u1) ...
Setting up socat (1.7.3.1-2+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
... installed
disable cronjob logging
grep: 0: No such file or directory
Collecting pymodbus
Downloading https://files.pythonhosted.org/packages ... ne-any.whl (141kB)
100% |████████████████████████████████| 143kB 988kB/s
Collecting pyserial>=3.4 (from pymodbus)
Downloading https://files.pythonhosted.org/packages ... ne-any.whl (193kB)
100% |████████████████████████████████| 194kB 916kB/s
Collecting six>=1.15.0 (from pymodbus)
Downloading https://files.pythonhosted.org/packages ... ne-any.whl
Installing collected packages: pyserial, six, pymodbus
Found existing installation: pyserial 3.2.1
Not uninstalling pyserial at /usr/lib/python2.7/dist-packages, outside environment /usr
Found existing installation: six 1.12.0
Not uninstalling six at /usr/lib/python2.7/dist-packages, outside environment /usr
Successfully installed pymodbus-2.4.0 pyserial-3.4 six-1.15.0
...changed
grep: /var/spool/cron/crontabs/pi: No such file or directory
no crontab for pi
Collecting evdev
Downloading https://files.pythonhosted.org/packages ... 3.0.tar.gz
Building wheels for collected packages: evdev
Running setup.py bdist_wheel for evdev ... done
Stored in directory: /root/.cache/pip/wheels/3e/8d/02/a7f482e01af02be59232ad61ad8eed5b21156b49d32df64a11
Successfully built evdev
Installing collected packages: evdev
Successfully installed evdev-1.3.0
cp: '/usr/share/zoneinfo/Europe/Berlin' and '/etc/localtime' are the same file
curl: (6) Could not resolve host: Upgrade
curl: (6) Could not resolve host: zu
error code: 1003curl: (6) Could not resolve host: Stable
curl: (3) <url> malformed
pi@raspberrypi3B:~ $ kill: (12501): No such process
crontab-e lässt er mir dann gar nicht ausführen, mit der Meldung "command not found".

Woran liegt es?
openWB
Site Admin
Beiträge: 8043
Registriert: So Okt 07, 2018 1:50 pm

Re: Überschussladen mit Fronius für Dummies

Beitrag von openWB »

Code: Alles auswählen

crontab -e
Supportanfragen bitte NICHT per PN stellen.
Hardwareprobleme bitte über die Funktion Debug Daten senden mitteilen oder per Mail an support@openwb.de
zimberg44
Beiträge: 475
Registriert: Do Aug 15, 2019 10:57 am

Re: Überschussladen mit Fronius für Dummies

Beitrag von zimberg44 »

VeannonGE hat geschrieben: So Sep 20, 2020 1:30 pm ...
Macht es Sinn den RasPi per LAN an die Fritzbox zu hängen? Oder ist es egal, wo er letztlich steht, da WLAN das Mittel der Wahl ist?
Da ich hier im Forum immer wieder von WLAN-Probleme mit dem Raspi lese, möchte ich berichten, dass diese Probleme bei mir nicht vorkommen.

Meine Smart-Home-Steuerung läuft auf einem 3+ (Stretch) mit USB-WLAN und der openWB CC auf einem Raspi4 (Buster) mit dem eingebauten WLAN völlig stabil und störungsfrei.

Meine Wallbox ist ebenso per WLAN verbunden und regelt zuverlässig "auf stetigen Befehl" vom openWB CC; dies alles trotz nicht berauschenden 77dBm (2.4GHz).

WLAN-Vorteil gegenüber LAN: An einem LAN-Kabel kann jeder (auch Dritte mit physischem Zugang dazu) irgendetwas anderes anschliessen und auf das lokale Netz zugreifen (MAC-Filter sind keine unüberwindbarer Schutz und andere Sicherheitseinstellungen hat kaum einer in seinem privaten LAN). WLAN ist i.A. immerhin gut verschlüsselt und der Zugang mit Passwort geschützt.
openWB Charge Controller Ver. 1.9.227 auf Pi 4 (buster) - go-eCharger Ver. 040.0 an ca. 35m-Leitung und 3x25A FI-LS Typ-A - WR: Fronius Symo Ver. 3.16.7-1 Modbus TCP - EVU: smartPi MQTT/Node-RED - BEV: Renault Zoe R110 Zen 2020
zimberg44
Beiträge: 475
Registriert: Do Aug 15, 2019 10:57 am

Re: Überschussladen mit Fronius für Dummies

Beitrag von zimberg44 »

VeannonGE hat geschrieben: Mi Sep 30, 2020 9:58 am
crontab-e lässt er mir dann gar nicht ausführen, mit der Meldung "command not found".

Woran liegt es?
Leerschlag zwischen crontab und -e

Und hinreichende Rechte, also zur Sicherheit "sudo crontab -e"
openWB Charge Controller Ver. 1.9.227 auf Pi 4 (buster) - go-eCharger Ver. 040.0 an ca. 35m-Leitung und 3x25A FI-LS Typ-A - WR: Fronius Symo Ver. 3.16.7-1 Modbus TCP - EVU: smartPi MQTT/Node-RED - BEV: Renault Zoe R110 Zen 2020
VeannonGE
Beiträge: 20
Registriert: So Sep 20, 2020 6:36 am

Re: Überschussladen mit Fronius für Dummies

Beitrag von VeannonGE »

Oh man. Danke euch.
Bei "Bei erstmaliger Nutzung – einen Editortyp bestätigen" - habe ich einfach den Editor genommen, hinter dem "easiest" steht.
In der crontab-Datei unter den #Anmerkung folgende Zeilen einfügen:
Nachdem ich da nichts mit "#Anmerlung" gefunden habe, habe ich die fünf Zeilen einfach unter die vorhandenen drei kopiert
1 0 * * * /var/www/html/openWB/runs/cronnightly.sh >> /var/log/openWB.log 2>&1
*/5 * * * * /var/www/html/openWB/runs/cron5min.sh >> /var/log/openWB.log 2>&1
@reboot /var/www/html/openWB/runs/atreboot.sh >> /var/log/openWB.log 2>&1

* * * * * /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
* * * * * sleep 10 && /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
* * * * * sleep 20 && /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
* * * * * sleep 30 && /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
* * * * * sleep 40 && /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
* * * * * sleep 50 && /var/www/html/openWB/regel.sh >> /var/log/openWB.log 2>&1
Ist das so korrekt?

PS: Ich habe bemerkt, dass sudo crontab -e ein anderes Fenster öffnet als crontab -e. In welches sollen denn nun diese Zeilen kopiert werden?
VeannonGE
Beiträge: 20
Registriert: So Sep 20, 2020 6:36 am

Re: Überschussladen mit Fronius für Dummies

Beitrag von VeannonGE »

Ähm. Problem!

Seit gestern 11.45 Uhr zeichnet mein Fronius/S0/Solar.web keine Verbrauchsdaten mehr auf. Also genau seitdem ich mit dem Raspi herum spiele.
An openWB habe ich zu dem Zeitpunkt noch nichts eingestellt, lediglich (s. Log oben) das Script ausgeführt und openWB installiert.

Blöder Zufall oder woran kann das liegen?
VeannonGE
Beiträge: 20
Registriert: So Sep 20, 2020 6:36 am

Re: Überschussladen mit Fronius für Dummies

Beitrag von VeannonGE »

Hat sich erledigt. Der Elektriker war Schuld.
Antworten