Hallo, ich verzweifel gerade an der Installation...
Der Winter naht und ich möchte endlich mal mein Smarthome mal auf den Stand SmarthomeNG bringen.
Ich habe nun mehrmals den Rasberry 4 neu installiert, jeweils mit dem original Rasberry Image.
Anschließend hangel ich mich durch die Anleitung und stoße dabei auf das Problem mit der nicht eindeutigen python instance.
Das konnte ich dann lösen, indem ich das Verzeichnis neu setze mit
Er meldet dann auch artig, das es läuft.
Aber wenn ich nun in der GUI weitere Plugins aktivieren möchte, fehlt mir schlichtweg der Knopf "Plugin Hinzufügen"
Ich habe nun 3mal neu installiert und gesucht aber ich finde nichts.
hier der Auszug der LOG:
Was mach ich falsch?
Vielen Dank und Gruß!
Marian
Der Winter naht und ich möchte endlich mal mein Smarthome mal auf den Stand SmarthomeNG bringen.
Ich habe nun mehrmals den Rasberry 4 neu installiert, jeweils mit dem original Rasberry Image.
Anschließend hangel ich mich durch die Anleitung und stoße dabei auf das Problem mit der nicht eindeutigen python instance.
Das konnte ich dann lösen, indem ich das Verzeichnis neu setze mit
Code:
pip install --user --upgrade pip
Aber wenn ich nun in der GUI weitere Plugins aktivieren möchte, fehlt mir schlichtweg der Knopf "Plugin Hinzufügen"
Ich habe nun 3mal neu installiert und gesucht aber ich finde nichts.
hier der Auszug der LOG:
Code:
2020-10-18 17:51:29 WARNING __main__ -------------------- Init SmartHomeNG 1.7.2.master (3828810e) -------------------- 2020-10-18 17:51:29 WARNING __main__ Running in Python interpreter 'v3.7.3 final' on Linux-5.4.51-v7l+-armv7l-with-debian-10.6 (pid=1613) 2020-10-18 17:51:29 ERROR lib.shpypi test_requirements: 'cherrypy' not installed. Minimum v8.1.2 needed 2020-10-18 17:51:29 ERROR lib.shpypi test_requirements: 'paho-mqtt' not installed. Minimum v1.2.2 needed 2020-10-18 17:51:29 WARNING lib.shpypi Installing base requirements for the current user, please wait... 2020-10-18 17:51:29 WARNING lib.shpypi Using PIP command: '/usr/bin/pip3' 2020-10-18 17:51:39 ERROR lib.shpypi WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. 2020-10-18 17:51:39 CRITICAL __main__ Python package requirements for modules are not met and unable to install base requirements 2020-10-18 17:51:39 CRITICAL __main__ Do you have multiple Python3 Versions installed? Maybe PIP3 looks into a wrong Python environment. Try to configure pip_command in etc/smarthome.yaml 2020-10-18 17:51:39 CRITICAL __main__ Aborting 2020-10-18 17:51:39 WARNING __main__ -------------------- Init SmartHomeNG 1.7.2.master (3828810e) -------------------- 2020-10-18 17:51:39 WARNING __main__ Running in Python interpreter 'v3.7.3 final' on Linux-5.4.51-v7l+-armv7l-with-debian-10.6 (pid=1644) 2020-10-18 17:51:40 WARNING lib.shtime Nutze Feiertage für Land 'DE', Provinz 'None', State 'None', 1 benutzerdefinierte Feiertagsdefinition(en) definiert 2020-10-18 17:51:42 ERROR lib.db Can not execute query: SELECT MAX(version) FROM database_version; (args []): no such table: database_version 2020-10-18 18:51:43 WARNING lib.item load_itemdefinitions(): For testing the joined item structs are saved to /usr/local/smarthome/etc/structs_joined.yaml 2020-10-18 18:54:17 WARNING modules.admin admin: systeminfo_json: response = {'now': '2020-10-18 18:54:16.705668+02:00', 'ostype': 'raspbian', 'system': 'Linux', 'sh_vers': '1.7.2.master (3828810e)', 'sh_desc': 'tags/v1.7.2', 'plg_vers': '1.7.2.master (9db85809)', 'plg_desc': 'tags/v1.7.2', 'sh_dir': '/usr/local/smarthome', 'vers': 'Raspbian GNU/Linux 10 (buster)', 'node': 'raspberrypi', 'arch': 'armv7l', 'user': 'smarthome', 'freespace': 53817.125, 'hardware': 'Raspberry Pi 4 v1.1, 4GB (Sony, UK)', 'rasppi': 'c03111', 'uptime': 739.0, 'sh_uptime': 3757.101903, 'pyversion': '3.7.3 final', 'pypath': '/usr/bin/python3', 'ip': '192.168.178.100', 'ipv6': '::1', 'pid': '1644'} 2020-10-18 18:54:35 WARNING modules.admin admin: systeminfo_json: response = {'now': '2020-10-18 18:54:34.973399+02:00', 'ostype': 'raspbian', 'system': 'Linux', 'sh_vers': '1.7.2.master (3828810e)', 'sh_desc': 'tags/v1.7.2', 'plg_vers': '1.7.2.master (9db85809)', 'plg_desc': 'tags/v1.7.2', 'sh_dir': '/usr/local/smarthome', 'vers': 'Raspbian GNU/Linux 10 (buster)', 'node': 'raspberrypi', 'arch': 'armv7l', 'user': 'smarthome', 'freespace': 53817.125, 'hardware': 'Raspberry Pi 4 v1.1, 4GB (Sony, UK)', 'rasppi': 'c03111', 'uptime': 757.0, 'sh_uptime': 3775.338134, 'pyversion': '3.7.3 final', 'pypath': '/usr/bin/python3', 'ip': '192.168.178.100', 'ipv6': '::1', 'pid': '1644'} 2020-10-18 18:54:55 WARNING modules.admin.api_plugins Created a backup copy of plugin.yaml (/usr/local/smarthome/etc/plugin_before_admin_config.yaml) 2020-10-18 18:56:09 WARNING modules.admin admin: systeminfo_json: response = {'now': '2020-10-18 18:56:09.587142+02:00', 'ostype': 'raspbian', 'system': 'Linux', 'sh_vers': '1.7.2.master (3828810e)', 'sh_desc': 'tags/v1.7.2', 'plg_vers': '1.7.2.master (9db85809)', 'plg_desc': 'tags/v1.7.2', 'sh_dir': '/usr/local/smarthome', 'vers': 'Raspbian GNU/Linux 10 (buster)', 'node': 'raspberrypi', 'arch': 'armv7l', 'user': 'smarthome', 'freespace': 53817.1171875, 'hardware': 'Raspberry Pi 4 v1.1, 4GB (Sony, UK)', 'rasppi': 'c03111', 'uptime': 851.0, 'sh_uptime': 3869.956239, 'pyversion': '3.7.3 final', 'pypath': '/usr/bin/python3', 'ip': '192.168.178.100', 'ipv6': '::1', 'pid': '1644'} 2020-10-18 19:02:05 WARNING modules.admin admin: systeminfo_json: response = {'now': '2020-10-18 19:02:05.074727+02:00', 'ostype': 'raspbian', 'system': 'Linux', 'sh_vers': '1.7.2.master (3828810e)', 'sh_desc': 'tags/v1.7.2', 'plg_vers': '1.7.2.master (9db85809)', 'plg_desc': 'tags/v1.7.2', 'sh_dir': '/usr/local/smarthome', 'vers': 'Raspbian GNU/Linux 10 (buster)', 'node': 'raspberrypi', 'arch': 'armv7l', 'user': 'smarthome', 'freespace': 53817.390625, 'hardware': 'Raspberry Pi 4 v1.1, 4GB (Sony, UK)', 'rasppi': 'c03111', 'uptime': 1207.0, 'sh_uptime': 4225.449726, 'pyversion': '3.7.3 final', 'pypath': '/usr/bin/python3', 'ip': '192.168.178.100', 'ipv6': '::1', 'pid': '1644'}
Vielen Dank und Gruß!
Marian
Kommentar