Ankündigung

Einklappen
Keine Ankündigung bisher.

Nach Update auf 1.6 geht UZSU nicht mehr

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Nach Update auf 1.6 geht UZSU nicht mehr

    Hallo Zusammen,

    ich habe es gestern gewagt auf 1.6 zu gehen. Leider bereue ich das jetzt schon.

    Nach dem Update auf 1.6 funktioniert UZSU nicht mehr, folgende Fehlermeldung im LOG:

    Code:
    2019-05-15  06:31:27 WARNING  Main         Unable to import Python package 'scipy' which is necessary for interpolation.
    2019-05-15  06:31:27 ERROR    Main         Plugins: Plugin 'uzsu' initialization failed, plugin not loaded
    Wenn ich allerdings:
    Code:
    sudo pip3 install -r plugins/uzsu/requirements.txt
    ausführe erhalte ich folgende Ausgabe:

    Code:
    Requirement already satisfied: scipy>=1.1.0 in /usr/local/lib/python3.5/dist-packages (from -r plugins/uzsu/requirements.txt (line 1))
    Requirement already satisfied: numpy>=1.8.2 in /usr/local/lib/python3.5/dist-packages (from scipy>=1.1.0->-r plugins/uzsu/requirements.txt (line 1))
    Auch der PyPi Check sieht gut aus:

    pypi.jpeg

    Woran könnte es noch liegen?
    Zuletzt geändert von magiczambo; 15.05.2019, 06:47.
    Geniale Menschen sind selten ordentlich, ordentliche selten genial. (Albert Einstein)

    #2
    Startest Du SmartHomeNG mit dem selben Python Environment in welches pip3 schaut?
    Viele Grüße
    Martin

    There is no cloud. It's only someone else's computer.

    Kommentar


      #3
      Öhm jetzt bin ich verwirrt. Also ich hatte SHNG mit V1.5.1 bis gestern am laufen inkl. UZSU.

      Ich habe dann nach dieser Anleitung ein Update durchgeführt.

      https://www.smarthomeng.de/user/inst...e_upgrade.html

      Nach dieser Aktion eben oben beschriebenes Fehlerbild
      Geniale Menschen sind selten ordentlich, ordentliche selten genial. (Albert Einstein)

      Kommentar


        #4
        Vielleicht könntest Du ein wenig mehr von Deinem Log posten...?

        Kommentar


          #5
          Meine Anmerkung bezog sich darauf, dass es einen Unterschied machen kann, mit welchem Python Environment shng gestartet wird (wo ein Requirement nicht erfüllt ist) und dem Environment in das pip3 schaut (wo die Requirements erfüllt sind).. Das passiert gerne, falls man mehrere Python3 Versionen auf dem Rechner installert hat.

          In Deiner Antwort (...bis gestern am laufen) postuliert Du, dass die shng v1.5.1 Plugins die gleichen Requirements hätten wie shng Plugins.
          Viele Grüße
          Martin

          There is no cloud. It's only someone else's computer.

          Kommentar


            #6
            Zitat von Msinn Beitrag anzeigen
            In Deiner Antwort (...bis gestern am laufen) postuliert Du, dass die shng v1.5.1 Plugins die gleichen Requirements hätten wie shng Plugins.
            Nein das wollte ich nicht behaupten. Es sollte nur darstellen, das es schon funktioniert hat. Ich habe meines Wissens nur eine Python Installation. Auf dem PI läuft nur SHNG und Smartvisu

            Geniale Menschen sind selten ordentlich, ordentliche selten genial. (Albert Einstein)

            Kommentar


              #7
              Zitat von bmx Beitrag anzeigen
              Vielleicht könntest Du ein wenig mehr von Deinem Log posten...?
              Alles von mir aus:

              Code:
              2019-05-15  06:29:56 WARNING  Main         --------------------   Init SmartHomeNG 1.6.master (1b2cb3e6)   --------------------
              2019-05-15  06:29:56 WARNING  Main         Running in Python interpreter 'v3.5.3 final' (pid=3528) on linux platform
              2019-05-15  06:29:57 INFO     Main         test_requirements: filepath '/usr/local/smarthome/requirements/base.txt' is checked
              2019-05-15  06:29:57 INFO     Main         Loading '/usr/local/smarthome/etc/plugin.yaml' to 'dict'
              2019-05-15  06:30:00 INFO     Main         test_requirements: filepath '/usr/local/smarthome/requirements/conf_all.txt' is checked
              2019-05-15  06:30:00 INFO     Main         Init Scheduler
              2019-05-15  06:30:00 INFO     Main         Init loadable Modules
              2019-05-15  06:30:00 INFO     Main         Loading '/usr/local/smarthome/etc/module.yaml' to 'OrderedDict'
              2019-05-15  06:30:00 INFO     Main         Loading '/usr/local/smarthome/modules/http/module.yaml' to 'OrderedDict'
              2019-05-15  06:30:05 INFO     Main         module 'http': Metadata paramlist = '['user', 'password', 'hashed_password', 'service_user', 'service_password', 'service_hashed_password', 'ip', 'port', 'tls_port', 'use_tls', 'tls_cert', 'tls_key', 'servicesport', 'showpluginlist', 'showservicelist', 'starturl', 'threads', 'showtraceback']'
              2019-05-15  06:30:05 INFO     Main         module 'http': has no item-struct definitions in metadata
              2019-05-15  06:30:05 INFO     Main         Loading module 'http': args = '{'module_name': "'http'", 'starturl': "'backend'"}'
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'user' -> using default value 'admin' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'password' -> using default value '' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'hashed_password' -> using default value '' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'service_user' -> using default value 'serviceuser' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'service_password' -> using default value '' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'service_hashed_password' -> using default value '' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'ip' -> using default value '0.0.0.0' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'port' -> using default value '8383' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'tls_port' -> using default value '8385' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'use_tls' -> using default value 'False' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'tls_cert' -> using default value 'shng.cer' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'tls_key' -> using default value 'shng.key' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'servicesport' -> using default value '8384' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'showpluginlist' -> using default value 'True' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'showservicelist' -> using default value 'False' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'threads' -> using default value '4' instead
              2019-05-15  06:30:10 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'showtraceback' -> using default value 'False' instead
              2019-05-15  06:30:10 INFO     Main         Module 'http': ip address = 192.168.178.23, hostname = 'SmartHomeNG.fritz.box'
              2019-05-15  06:30:10 INFO     Main         _hostmap_webifs = {'SmartHomeNG.fritz.box:8383': '/msg', '192.168.178.23:8383': '/msg', 'SmartHomeNG.local:8383': '/msg'}
              2019-05-15  06:30:10 INFO     Main         _hostmap_services = {'SmartHomeNG.local:8384': '/msg', 'SmartHomeNG.fritz.box:8384': '/msg', '192.168.178.23:8384': '/msg'}
              2019-05-15  06:30:10 INFO     Main         [15/May/2019:06:30:10] ENGINE Bus STARTING
              2019-05-15  06:30:10 INFO     Main         [15/May/2019:06:30:10] ENGINE Started monitor thread '_TimeoutMonitor'.
              2019-05-15  06:30:10 INFO     Main         [15/May/2019:06:30:10] ENGINE Serving on http://192.168.178.23:8384
              2019-05-15  06:30:10 INFO     Main         [15/May/2019:06:30:10] ENGINE Serving on http://192.168.178.23:8383
              2019-05-15  06:30:10 INFO     Main         [15/May/2019:06:30:10] ENGINE Bus STARTED
              2019-05-15  06:30:10 INFO     Main         mount '/plugins' - webif_dir = '/usr/local/smarthome/modules/http/webif'
              2019-05-15  06:30:10 INFO     Main         Module http: config dict: '{'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/modules/http/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'gstatic'}}'
              2019-05-15  06:30:10 INFO     Main          - user 'admin', password '', hashed_password ''
              2019-05-15  06:30:10 INFO     Main         Module http: Registering webinterface 'plugins' of plugin 'plugins' from pluginclass '' instance ''
              2019-05-15  06:30:10 INFO     Main          - conf dict: '{'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/modules/http/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}'
              2019-05-15  06:30:10 INFO     Main         Modules: Loaded module 'http' (class 'Http') v1.6.0: Modul zur Implementierung von Backend-Webinterfaces für Plugins
              2019-05-15  06:30:10 INFO     Main         Loaded Modules: ['http']
              2019-05-15  06:30:10 INFO     Main         Start Modules
              2019-05-15  06:30:10 INFO     Main         Init Plugins
              2019-05-15  06:30:10 INFO     Main         Loading '/usr/local/smarthome/etc/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:30:12 INFO     Main         Loading '/usr/local/smarthome/bin/locale.yaml' to 'dict'
              2019-05-15  06:30:16 INFO     Main         Loaded global translations = { ..... }
              2019-05-15  06:30:16 INFO     Main         Load plugins
              2019-05-15  06:30:16 INFO     Main         Loading '/usr/local/smarthome/plugins/backend/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:30:18 INFO     Main         plugin 'backend': Metadata paramlist = '['updates_allowed', 'developer_mode', 'pypi_timeout']'
              2019-05-15  06:30:19 INFO     Main         Loading '/usr/local/smarthome/plugins/backend/locale.yaml' to 'dict'
              2019-05-15  06:30:19 INFO     Main         plugin 'backend': value not found in plugin configuration file for parameter 'developer_mode' -> using default value 'False' instead
              2019-05-15  06:30:19 INFO     Main         plugin 'backend': value not found in plugin configuration file for parameter 'pypi_timeout' -> using default value '5' instead
              2019-05-15  06:30:19 INFO     Main         WebInterface: Running from '/usr/local/smarthome/plugins/backend/webif'
              2019-05-15  06:30:19 INFO     Main         BackendSysteminfo __init__
              2019-05-15  06:30:19 INFO     Main         BackendServices __init__
              2019-05-15  06:30:19 INFO     Main         BackendItems __init__ <lib.item.Items object at 0xb4983610>
              2019-05-15  06:30:19 INFO     Main         BackendLogics __init__ self.logics = None
              2019-05-15  06:30:19 INFO     Main         BackendLogics __init__ self.plugins = <lib.plugin.Plugins object at 0xb5d50f50>
              2019-05-15  06:30:19 INFO     Main         BackendLogics __init__ self.scheduler = <Scheduler(Scheduler, started -1246653328)>
              2019-05-15  06:30:19 INFO     Main         BackendSchedulers __init__ self.scheduler = <Scheduler(Scheduler, started -1246653328)>
              2019-05-15  06:30:19 INFO     Main         BackendPlugins __init__ self.plugins = <lib.plugin.Plugins object at 0xb5d50f50>
              2019-05-15  06:30:19 INFO     Main         BackendScenes __init__
              2019-05-15  06:30:19 INFO     Main         BackendThreads __init__
              2019-05-15  06:30:19 INFO     Main         BackendLogging __init__
              2019-05-15  06:30:19 INFO     Main         Module http: Registering webinterface 'backend' of plugin 'backend' from pluginclass 'BackendServer' instance ''
              2019-05-15  06:30:19 INFO     Main          - conf dict: '{'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/backend/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}'
              2019-05-15  06:30:19 INFO     Main         self._applications['backend'] = {'Mount': '/backend', 'Instance': '', 'Webifname': 'backend', 'Conf': {'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/backend/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}, 'Pluginclass': 'BackendServer', 'Description': 'Administrationsoberfläche für SmartHomeNG', 'Pluginname': 'backend'}
              2019-05-15  06:30:19 INFO     Main         Initialized plugin 'backend' from from section 'BackendServer'
              2019-05-15  06:30:19 INFO     Main         Loading '/usr/local/smarthome/plugins/knx/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:30:30 INFO     Main         plugin 'knx': Metadata paramlist = '['time_ga', 'date_ga', 'send_time', 'busmonitor', 'host', 'port', 'readonly', 'enable_stats', 'instance']'
              2019-05-15  06:30:30 INFO     Main         plugin 'knx': Metadata itemdeflist = '['knx_dpt', 'knx_send', 'knx_listen', 'knx_init', 'knx_cache', 'knx_reply', 'knx_status', 'knx_poll']'
              2019-05-15  06:30:30 INFO     Main         plugin 'knx': Metadata logic_paramlist = '['knx_listen', 'knx_reply']'
              2019-05-15  06:30:30 INFO     Main         plugin 'knx': Metadata plugin_functionlist = '['encode', 'groupwrite', 'groupread', 'send_time']'
              2019-05-15  06:30:30 INFO     Main         plugin 'knx': Metadata get_plugin_function_defstrings -> '['encode(data, dpt)', 'groupread(ga, cache)', 'groupwrite(ga, data, dpt)', 'send_time(time_ga, date_ga)']'
              2019-05-15  06:30:30 INFO     Main         plugin 'knx': Metadata get_plugin_function_defstrings -> '['encode(data:foo, dpt:foo)', 'groupread(ga:knx_ga, cache:bool)', 'groupwrite(ga:knx_ga, data:foo, dpt:str)', 'send_time(time_ga:knx_ga, date_ga:knx_ga)']'
              2019-05-15  06:30:30 INFO     Main         plugin 'knx': Metadata get_plugin_function_defstrings -> '['encode(data, dpt)', 'groupread(ga, cache=False)', 'groupwrite(ga, data, dpt)', 'send_time(time_ga, date_ga)']'
              2019-05-15  06:30:30 INFO     Main         plugin 'knx': Metadata get_plugin_function_defstrings -> '['encode(data:foo, dpt:foo)', 'groupread(ga:knx_ga, cache:bool=False)', 'groupwrite(ga:knx_ga, data:foo, dpt:str)', 'send_time(time_ga:knx_ga, date_ga:knx_ga)']'
              2019-05-15  06:30:31 INFO     Main         Loading '/usr/local/smarthome/plugins/knx/locale.yaml' to 'dict'
              2019-05-15  06:30:31 INFO     Main         Plugin 'knx': Loaded plugin translations = {'# gelesen': {'de': '=', 'fr': '', 'en': '# read'}, 'Service für den KNX Support': {'de': '=', 'fr': '', 'en': 'Service deamon for the KNX support'}, '# geschrieben': {'de': '=', 'fr': '', 'en': '# write'}, 'Statistiken': {'de': '=', 'fr': 'Statistiques', 'en': 'Statistics'}, 'Letzte KNX Aktivität': {'de': '=', 'fr': 'Dernière activité KNX', 'en': 'Last KNX activity'}, '# geantwortet': {'de': '=', 'fr': '', 'en': '# response'}, 'Gruppen Adresse': {'de': '=', 'fr': '', 'en': 'Group Address'}}
              2019-05-15  06:30:31 INFO     Main         plugin 'knx': value not found in plugin configuration file for parameter 'time_ga' -> using default value '' instead
              2019-05-15  06:30:31 INFO     Main         plugin 'knx': value not found in plugin configuration file for parameter 'date_ga' -> using default value '' instead
              2019-05-15  06:30:31 INFO     Main         plugin 'knx': value not found in plugin configuration file for parameter 'send_time' -> using default value '0' instead
              2019-05-15  06:30:31 INFO     Main         plugin 'knx': value not found in plugin configuration file for parameter 'busmonitor' -> using default value 'off' instead
              2019-05-15  06:30:31 INFO     Main         plugin 'knx': value not found in plugin configuration file for parameter 'readonly' -> using default value 'False' instead
              2019-05-15  06:30:31 INFO     Main         plugin 'knx': value not found in plugin configuration file for parameter 'enable_stats' -> using default value 'True' instead
              2019-05-15  06:30:31 INFO     Main         plugin 'knx': value not found in plugin configuration file for parameter 'instance' -> using default value '' instead
              2019-05-15  06:30:32 INFO     Main         Module http: Registering webinterface 'knx' of plugin 'knx' from pluginclass 'KNX' instance ''
              2019-05-15  06:30:32 INFO     Main          - conf dict: '{'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/knx/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}'
              2019-05-15  06:30:32 INFO     Main         self._applications['knx'] = {'Mount': '/knx', 'Instance': '', 'Webifname': 'knx', 'Conf': {'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/knx/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}, 'Pluginclass': 'KNX', 'Description': 'Webinterface knx of plugin knx', 'Pluginname': 'knx'}
              2019-05-15  06:30:32 INFO     Main         Initialized plugin 'knx' from from section 'knx'
              2019-05-15  06:30:32 INFO     Main         Loading '/usr/local/smarthome/plugins/visu_websocket/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:30:36 INFO     Main         plugin 'visu_websocket': Metadata paramlist = '['ip', 'port', 'tls', 'acl', 'wsproto', 'querydef']'
              2019-05-15  06:30:36 INFO     Main         plugin 'visu_websocket': Metadata itemdeflist = '['visu_acl']'
              2019-05-15  06:30:36 INFO     Main         plugin 'visu_websocket': Metadata logic_paramlist = '['visu_acl']'
              2019-05-15  06:30:36 INFO     Main         plugin 'visu_websocket': Metadata plugin_functionlist = '['url']'
              2019-05-15  06:30:36 INFO     Main         plugin 'visu_websocket': Metadata get_plugin_function_defstrings -> '['url(url, clientip)']'
              2019-05-15  06:30:36 INFO     Main         plugin 'visu_websocket': Metadata get_plugin_function_defstrings -> '['url(url:str, clientip:str)']'
              2019-05-15  06:30:36 INFO     Main         plugin 'visu_websocket': Metadata get_plugin_function_defstrings -> '["url(url, clientip= '')"]'
              2019-05-15  06:30:36 INFO     Main         plugin 'visu_websocket': Metadata get_plugin_function_defstrings -> '["url(url:str, clientip:str= '')"]'
              2019-05-15  06:30:36 INFO     Main         Loading '/usr/local/smarthome/plugins/visu_websocket/locale.yaml' to 'dict'
              2019-05-15  06:30:37 INFO     Main         Plugin 'visu': Loaded plugin translations = {'erlaubt': {'de': '=', 'en': 'enabled'}, 'Erlaubt': {'de': '=', 'en': 'Allowed'}, 'Standard Zugriff': {'de': '=', 'en': 'Default Access'}, 'aktiv': {'de': '=', 'en': 'enabled'}, 'Visu Zugriff': {'de': '=', 'en': 'Visu Access'}, 'Verboten': {'de': '=', 'en': 'Forbidden'}, 'nicht erlaubt': {'de': '=', 'en': 'disabled'}, 'Definitions-Abfrage': {'de': '=', 'en': 'Query definitions'}, 'Client Software': {'de': '=', 'en': '='}, 'Anzahl Clients': {'de': '=', 'en': 'Number of clients'}, 'Websocket Protokoll': {'de': '=', 'en': 'Websocket protocol'}, 'Visu Client': {'de': '=', 'en': '='}, 'Keine aktiven Clients': {'de': '=', 'en': 'No active clients'}, 'nicht aktiv': {'de': '=', 'en': 'disabled'}}
              2019-05-15  06:30:37 INFO     Main         plugin 'visu_websocket': value not found in plugin configuration file for parameter 'ip' -> using default value '0.0.0.0' instead
              2019-05-15  06:30:37 INFO     Main         plugin 'visu_websocket': value not found in plugin configuration file for parameter 'tls' -> using default value 'False' instead
              2019-05-15  06:30:37 INFO     Main         plugin 'visu_websocket': value not found in plugin configuration file for parameter 'querydef' -> using default value 'False' instead
              2019-05-15  06:30:37 INFO     Main         Module http: Registering webinterface 'visu_websocket' of plugin 'visu_websocket' from pluginclass 'WebSocket' instance ''
              2019-05-15  06:30:37 INFO     Main          - conf dict: '{'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/visu_websocket/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}'
              2019-05-15  06:30:37 INFO     Main         self._applications['visu_websocket'] = {'Mount': '/visu_websocket', 'Instance': '', 'Webifname': 'visu_websocket', 'Conf': {'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/visu_websocket/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}, 'Pluginclass': 'WebSocket', 'Description': 'Webinterface visu_websocket of plugin visu_websocket', 'Pluginname': 'visu_websocket'}
              2019-05-15  06:30:37 INFO     Main         Initialized plugin 'visu_websocket' from from section 'visu'
              2019-05-15  06:30:37 INFO     Main         Loading '/usr/local/smarthome/plugins/visu_smartvisu/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:30:41 INFO     Main         plugin 'visu_smartvisu': Metadata paramlist = '['smartvisu_dir', 'generate_pages', 'overwrite_templates', 'visu_style', 'handle_widgets', 'instance']'
              2019-05-15  06:30:41 INFO     Main         plugin 'visu_smartvisu': Metadata itemdeflist = '['sv_page', 'sv_overview', 'sv_item_type', 'sv_img', 'sv_widget', 'sv_widget2', 'sv_nav_aside', 'sv_nav_aside2', 'sv_heading_left', 'sv_heading_center', 'sv_heading_right']'
              2019-05-15  06:30:41 INFO     Main         Loading '/usr/local/smarthome/plugins/visu_smartvisu/locale.yaml' to 'dict'
              2019-05-15  06:30:41 INFO     Main         plugin 'visu_smartvisu': value not found in plugin configuration file for parameter 'generate_pages' -> using default value 'True' instead
              2019-05-15  06:30:41 INFO     Main         plugin 'visu_smartvisu': value not found in plugin configuration file for parameter 'overwrite_templates' -> using default value 'True' instead
              2019-05-15  06:30:41 INFO     Main         plugin 'visu_smartvisu': value not found in plugin configuration file for parameter 'visu_style' -> using default value 'std' instead
              2019-05-15  06:30:41 INFO     Main         plugin 'visu_smartvisu': value not found in plugin configuration file for parameter 'handle_widgets' -> using default value 'True' instead
              2019-05-15  06:30:41 INFO     Main         plugin 'visu_smartvisu': value not found in plugin configuration file for parameter 'instance' -> using default value '' instead
              2019-05-15  06:30:42 INFO     Main         Initialized plugin 'visu_smartvisu' from from section 'smartvisu'
              2019-05-15  06:30:42 INFO     Main         Loading '/usr/local/smarthome/plugins/cli/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:30:44 INFO     Main         plugin 'cli': Metadata paramlist = '['update', 'ip', 'port', 'hashed_password']'
              2019-05-15  06:30:44 INFO     Main         plugin 'cli': Metadata plugin_functionlist = '['add_command', 'remove_command']'
              2019-05-15  06:30:44 INFO     Main         plugin 'cli': Metadata get_plugin_function_defstrings -> '['add_command(command, function, group, usage)', 'remove_command(command)']'
              2019-05-15  06:30:44 INFO     Main         plugin 'cli': Metadata get_plugin_function_defstrings -> '['add_command(command:str, function:function, group:str, usage:str)', 'remove_command(command:str)']'
              2019-05-15  06:30:44 INFO     Main         plugin 'cli': Metadata get_plugin_function_defstrings -> '['add_command(command, function, group, usage)', 'remove_command(command)']'
              2019-05-15  06:30:44 INFO     Main         plugin 'cli': Metadata get_plugin_function_defstrings -> '['add_command(command:str, function:function, group:str, usage:str)', 'remove_command(command:str)']'
              2019-05-15  06:30:44 INFO     Main         Loading '/usr/local/smarthome/plugins/cli/locale.yaml' to 'dict'
              2019-05-15  06:30:44 INFO     Main         plugin 'cli': value not found in plugin configuration file for parameter 'port' -> using default value '2323' instead
              2019-05-15  06:30:44 INFO     Main         plugin 'cli': value not found in plugin configuration file for parameter 'hashed_password' -> using default value '' instead
              2019-05-15  06:30:44 WARNING  Main         CLI: You should set a password for this plugin.
              2019-05-15  06:30:44 INFO     Main         Initialized plugin 'cli' from from section 'cli'
              2019-05-15  06:30:44 INFO     Main         Loading '/usr/local/smarthome/plugins/sqlite_visu2_8/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:30:47 INFO     Main         plugin 'sqlite_visu2_8': Metadata paramlist = '['path', 'dumpfile']'
              2019-05-15  06:30:47 INFO     Main         plugin 'sqlite_visu2_8': Metadata itemdeflist = '['sqlite']'
              2019-05-15  06:30:47 INFO     Main         plugin 'sqlite_visu2_8': Metadata plugin_functionlist = '['db', 'cleanup', 'dump', 'move']'
              2019-05-15  06:30:47 INFO     Main         plugin 'sqlite_visu2_8': Metadata get_plugin_function_defstrings -> '['cleanup()', 'db(function, start, end)', 'dump(filename)', 'move(old, new)']'
              2019-05-15  06:30:47 INFO     Main         plugin 'sqlite_visu2_8': Metadata get_plugin_function_defstrings -> '['cleanup()', 'db(function:str, start:str, end:str)', 'dump(filename:str)', 'move(old:str, new:str)']'
              2019-05-15  06:30:47 INFO     Main         plugin 'sqlite_visu2_8': Metadata get_plugin_function_defstrings -> '['cleanup()', "db(function, start, end= 'now')", 'dump(filename)', 'move(old, new)']'
              2019-05-15  06:30:47 INFO     Main         plugin 'sqlite_visu2_8': Metadata get_plugin_function_defstrings -> '['cleanup()', "db(function:str, start:str, end:str= 'now')", 'dump(filename:str)', 'move(old:str, new:str)']'
              2019-05-15  06:30:47 INFO     Main         Loading '/usr/local/smarthome/plugins/sqlite_visu2_8/locale.yaml' to 'dict'
              2019-05-15  06:30:47 WARNING  Main         Plugin 'sqlite_visu2_8' (section 'sql') is deprecated. Consider to use a replacement instead
              2019-05-15  06:30:47 WARNING  Main         _get_definition_defaultvalue: default value is 'None*' -> None
              2019-05-15  06:30:47 INFO     Main         plugin 'sqlite_visu2_8': value not found in plugin configuration file for parameter 'path' -> using default value 'None' instead
              2019-05-15  06:30:47 INFO     Main         plugin 'sqlite_visu2_8': value not found in plugin configuration file for parameter 'dumpfile' -> using default value '' instead
              2019-05-15  06:30:56 INFO     Main         Initialized plugin 'sqlite_visu2_8' from from section 'sql'
              2019-05-15  06:30:56 INFO     Main         Loading '/usr/local/smarthome/plugins/onewire/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:30:58 INFO     Main         plugin 'onewire': Metadata paramlist = '['host', 'port', 'cycle', 'io_wait', 'button_wait']'
              2019-05-15  06:30:58 INFO     Main         plugin 'onewire': Metadata itemdeflist = '['ow_addr', 'ow_sensor']'
              2019-05-15  06:30:58 INFO     Main         plugin 'onewire': Metadata plugin_functionlist = '['ibutton_hook']'
              2019-05-15  06:30:58 INFO     Main         plugin 'onewire': Metadata get_plugin_function_defstrings -> '['ibutton_hook()']'
              2019-05-15  06:30:58 INFO     Main         plugin 'onewire': Metadata get_plugin_function_defstrings -> '['ibutton_hook()']'
              2019-05-15  06:30:58 INFO     Main         plugin 'onewire': Metadata get_plugin_function_defstrings -> '['ibutton_hook()']'
              2019-05-15  06:30:58 INFO     Main         plugin 'onewire': Metadata get_plugin_function_defstrings -> '['ibutton_hook()']'
              2019-05-15  06:30:58 INFO     Main         Loading '/usr/local/smarthome/plugins/onewire/locale.yaml' to 'dict'
              2019-05-15  06:30:58 INFO     Main         plugin 'onewire': value not found in plugin configuration file for parameter 'host' -> using default value '127.0.0.1' instead
              2019-05-15  06:30:58 INFO     Main         plugin 'onewire': value not found in plugin configuration file for parameter 'port' -> using default value '4304' instead
              2019-05-15  06:30:58 INFO     Main         plugin 'onewire': value not found in plugin configuration file for parameter 'io_wait' -> using default value '5.0' instead
              2019-05-15  06:30:58 INFO     Main         plugin 'onewire': value not found in plugin configuration file for parameter 'button_wait' -> using default value '0.5' instead
              2019-05-15  06:30:58 INFO     Main         Initialized plugin 'onewire' from from section 'ow'
              2019-05-15  06:30:58 INFO     Main         Loading '/usr/local/smarthome/plugins/avm/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:31:06 INFO     Main         plugin 'avm': Metadata paramlist = '['username', 'password', 'host', 'port', 'cycle', 'ssl', 'verify', 'call_monitor', 'call_monitor_incoming_filter', 'instance']'
              2019-05-15  06:31:06 INFO     Main         plugin 'avm': Metadata itemdeflist = '['avm_data_type', 'avm_incoming_allowed', 'avm_target_number', 'mac', 'ain']'
              2019-05-15  06:31:06 INFO     Main         plugin 'avm': Metadata plugin_functionlist = '['cancel_call', 'get_call_origin', 'get_calllist', 'get_contact_name_by_phone_number', 'get_host_details', 'get_hosts', 'get_phone_name', 'get_phone_numbers_by_name', 'is_host_active', 'reboot', 'reconnect', 'set_call_origin', 'start_call', 'wol']'
              2019-05-15  06:31:06 INFO     Main         plugin 'avm': Metadata get_plugin_function_defstrings -> '['cancel_call()', 'get_call_origin()', 'get_calllist(filter_incoming)', 'get_contact_name_by_phone_number(phone_number)', 'get_host_details(index)', 'get_hosts(only_active)', 'get_phone_name(index)', 'get_phone_numbers_by_name(name)', 'is_host_active(mac_address)', 'reboot()', 'reconnect()', 'set_call_origin(phone_name)', 'start_call(phone_number)', 'wol(mac_address)']'
              2019-05-15  06:31:06 INFO     Main         plugin 'avm': Metadata get_plugin_function_defstrings -> '['cancel_call()', 'get_call_origin()', 'get_calllist(filter_incoming:str)', 'get_contact_name_by_phone_number(phone_number:str)', 'get_host_details(index:int)', 'get_hosts(only_active:bool)', 'get_phone_name(index:int)', 'get_phone_numbers_by_name(name:str)', 'is_host_active(mac_address:mac)', 'reboot()', 'reconnect()', 'set_call_origin(phone_name:mac)', 'start_call(phone_number:str)', 'wol(mac_address:mac)']'
              2019-05-15  06:31:06 INFO     Main         plugin 'avm': Metadata get_plugin_function_defstrings -> '['cancel_call()', 'get_call_origin()', 'get_calllist(filter_incoming)', 'get_contact_name_by_phone_number(phone_number)', 'get_host_details(index)', 'get_hosts(only_active)', 'get_phone_name(index)', 'get_phone_numbers_by_name(name)', 'is_host_active(mac_address)', 'reboot()', 'reconnect()', 'set_call_origin(phone_name)', 'start_call(phone_number)', 'wol(mac_address)']'
              2019-05-15  06:31:06 INFO     Main         plugin 'avm': Metadata get_plugin_function_defstrings -> '['cancel_call()', 'get_call_origin()', 'get_calllist(filter_incoming:str)', 'get_contact_name_by_phone_number(phone_number:str)', 'get_host_details(index:int)', 'get_hosts(only_active:bool)', 'get_phone_name(index:int)', 'get_phone_numbers_by_name(name:str)', 'is_host_active(mac_address:mac)', 'reboot()', 'reconnect()', 'set_call_origin(phone_name:mac)', 'start_call(phone_number:str)', 'wol(mac_address:mac)']'
              2019-05-15  06:31:09 INFO     Main         Loading '/usr/local/smarthome/plugins/avm/locale.yaml' to 'dict'
              2019-05-15  06:31:11 INFO     Main         Plugin 'fb1': Loaded plugin translations = {'Typ': {'de': '=', 'fr': '', 'en': 'Type'}, 'Nein': {'de': '=', 'fr': '', 'en': 'No'}, 'Parameter': {'de': '=', 'fr': '', 'en': 'Parameters'}, 'Gerät nicht verfügbar': {'de': '=', 'fr': '', 'en': 'Device Not Available'}, 'Wert': {'de': '=', 'fr': '', 'en': 'Value'}, 'Pfad': {'de': '=', 'fr': '', 'en': 'Path'}, 'Call Monitor nicht verbunden': {'de': '=', 'fr': '', 'en': 'Call Monitor Not Connected'}, 'AVM Items': {'de': '=', 'fr': '', 'en': '='}, 'Letzter Change': {'de': '=', 'fr': '', 'en': 'Last Change'}, 'Wollen Sie das Gerät wirklich neu starten?': {'de': '=', 'fr': '', 'en': 'Do you really want to reboot the device?'}, 'Call Monitor Items': {'de': '=', 'fr': '', 'en': '='}, 'Plugin-API': {'de': '=', 'fr': '', 'en': 'Plugin API'}, 'nicht verbunden': {'de': '=', 'fr': '', 'en': 'not connected'}, 'Ja': {'de': '=', 'fr': '', 'en': 'Yes'}, 'Reconnect WAN': {'de': '=', 'fr': '', 'en': '='}, 'Gerät verfügbar': {'de': '=', 'fr': '', 'en': 'Device Available'}, 'Letztes Update': {'de': '=', 'fr': '', 'en': 'Last Update'}, 'Call Monitor': {'de': '=', 'fr': '', 'en': '='}, 'Call Monitor verbunden': {'de': '=', 'fr': '', 'en': 'Device Connected'}, 'AVM Datentyp': {'de': '=', 'fr': '', 'en': 'AVM Data Type'}, 'Wollen Sie die Internetverbindung wirklich neu aufbauen?': {'de': '=', 'fr': '', 'en': 'Do you really want to reconnect the internet connection?'}, 'Reboot': {'de': '=', 'fr': '', 'en': '='}}
              2019-05-15  06:31:11 INFO     Main         plugin 'avm': value not found in plugin configuration file for parameter 'call_monitor_incoming_filter' -> using default value '' instead
              2019-05-15  06:31:11 INFO     Main         plugin 'avm': value not found in plugin configuration file for parameter 'instance' -> using default value '' instead
              2019-05-15  06:31:11 INFO     Main         Init AVM Plugin
              2019-05-15  06:31:11 INFO     Main         Module http: Registering webinterface 'avm' of plugin 'avm' from pluginclass 'AVM' instance ''
              2019-05-15  06:31:11 INFO     Main          - conf dict: '{'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/avm/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}'
              2019-05-15  06:31:11 INFO     Main         self._applications['avm'] = {'Mount': '/avm', 'Instance': '', 'Webifname': 'avm', 'Conf': {'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/avm/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}, 'Pluginclass': 'AVM', 'Description': 'Webinterface avm of plugin avm', 'Pluginname': 'avm'}
              2019-05-15  06:31:11 INFO     Main         Initialized plugin 'avm' from from section 'fb1'
              2019-05-15  06:31:11 INFO     Main         Loading '/usr/local/smarthome/plugins/telegram/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:31:14 INFO     Main         plugin 'telegram': Metadata paramlist = '['token', 'name', 'long_polling_timeout', 'welcome_msg', 'bye_msg', 'no_access_msg', 'no_write_access_msg', 'pretty_thread_names']'
              2019-05-15  06:31:14 INFO     Main         plugin 'telegram': Metadata itemdeflist = '['telegram_message', 'telegram_info', 'telegram_text', 'telegram_value_match_regex', 'telegram_chat_ids']'
              2019-05-15  06:31:14 INFO     Main         plugin 'telegram': Metadata plugin_functionlist = '['msg_broadcast', 'photo_broadcast']'
              2019-05-15  06:31:14 INFO     Main         plugin 'telegram': Metadata get_plugin_function_defstrings -> '['msg_broadcast(msg, chat_id)', 'photo_broadcast(photofile_or_url, caption, chat_id)']'
              2019-05-15  06:31:14 INFO     Main         plugin 'telegram': Metadata get_plugin_function_defstrings -> '['msg_broadcast(msg:str, chat_id:int)', 'photo_broadcast(photofile_or_url:str, caption:str, chat_id:int)']'
              2019-05-15  06:31:14 INFO     Main         plugin 'telegram': Metadata get_plugin_function_defstrings -> '['msg_broadcast(msg, chat_id)', 'photo_broadcast(photofile_or_url, caption, chat_id)']'
              2019-05-15  06:31:14 INFO     Main         plugin 'telegram': Metadata get_plugin_function_defstrings -> '['msg_broadcast(msg:str, chat_id:int)', 'photo_broadcast(photofile_or_url:str, caption:str, chat_id:int)']'
              2019-05-15  06:31:17 INFO     Main         Loading '/usr/local/smarthome/plugins/telegram/locale.yaml' to 'dict'
              2019-05-15  06:31:17 INFO     Main         Plugin 'telegram': Loaded plugin translations = {'choose': {'de': 'Auswählen', 'fr': 'Choisissez parmi', 'en': '='}, 'Info from the items:': {'de': 'Infos von den Items:', 'fr': 'Info sur les Items:', 'en': '='}, 'unknown command %s': {'de': 'Unbekanntes Kommando %s:', 'fr': 'commande inconnue %s:', 'en': '='}, 'no items found with the attribute %s': {'de': 'Keine Items mit Attribut %s gefunden', 'fr': 'Ne pas trouvée une Item avec %s', 'en': '='}, 'I will hide the keyboard': {'de': 'Ich blende die Bedientasten aus', 'fr': 'Je cache le clavier', 'en': '='}}
              2019-05-15  06:31:17 INFO     Main         plugin 'telegram': value not found in plugin configuration file for parameter 'long_polling_timeout' -> using default value '120.0' instead
              2019-05-15  06:31:17 INFO     Main         plugin 'telegram': value not found in plugin configuration file for parameter 'welcome_msg' -> using default value 'SmarthomeNG Telegram Plugin is up and running' instead
              2019-05-15  06:31:17 INFO     Main         plugin 'telegram': value not found in plugin configuration file for parameter 'bye_msg' -> using default value 'SmartHomeNG Telegram Plugin stops' instead
              2019-05-15  06:31:17 INFO     Main         plugin 'telegram': value not found in plugin configuration file for parameter 'no_access_msg' -> using default value 'This bot does not know your chat id and thus does not trust it, you are not allowed to use this bot' instead
              2019-05-15  06:31:17 INFO     Main         plugin 'telegram': value not found in plugin configuration file for parameter 'no_write_access_msg' -> using default value 'This bot knows your chat id but you are not allowed to use this bot to write to items' instead
              2019-05-15  06:31:17 INFO     Main         plugin 'telegram': value not found in plugin configuration file for parameter 'pretty_thread_names' -> using default value 'True' instead
              2019-05-15  06:31:18 INFO     Main         Telegram bot is listening: {'username': 'ElCasaZambo_bot', 'id': 529635754, 'first_name': 'ElCasa', 'is_bot': True}
              2019-05-15  06:31:18 INFO     Main         Module http: Registering webinterface 'telegram' of plugin 'telegram' from pluginclass 'Telegram' instance ''
              2019-05-15  06:31:18 INFO     Main          - conf dict: '{'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/telegram/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}'
              2019-05-15  06:31:18 INFO     Main         self._applications['telegram'] = {'Mount': '/telegram', 'Instance': '', 'Webifname': 'telegram', 'Conf': {'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/telegram/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}, 'Pluginclass': 'Telegram', 'Description': 'Webinterface telegram of plugin telegram', 'Pluginname': 'telegram'}
              2019-05-15  06:31:18 INFO     Main         Initialized plugin 'telegram' from from section 'telegram'
              2019-05-15  06:31:18 INFO     Main         Loading '/usr/local/smarthome/plugins/uzsu/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:31:22 INFO     Main         plugin 'uzsu': Metadata paramlist = '['remove_duplicates']'
              2019-05-15  06:31:22 INFO     Main         plugin 'uzsu': Metadata itemdeflist = '['uzsu_item']'
              2019-05-15  06:31:22 INFO     Main         plugin 'uzsu': Metadata plugin_functionlist = '['planned', 'clear', 'activate', 'interpolation']'
              2019-05-15  06:31:22 INFO     Main         plugin 'uzsu': Metadata get_plugin_function_defstrings -> '['activate()', 'clear()', 'interpolation(type, interval, backintime)', 'planned()']'
              2019-05-15  06:31:22 INFO     Main         plugin 'uzsu': Metadata get_plugin_function_defstrings -> '['activate()', 'clear()', 'interpolation(type:str, interval:int, backintime:int)', 'planned()']'
              2019-05-15  06:31:22 INFO     Main         plugin 'uzsu': Metadata get_plugin_function_defstrings -> '['activate()', 'clear()', "interpolation(type= 'none', interval=5, backintime=0)", 'planned()']'
              2019-05-15  06:31:22 INFO     Main         plugin 'uzsu': Metadata get_plugin_function_defstrings -> '['activate()', 'clear()', "interpolation(type:str= 'none', interval:int=5, backintime:int=0)", 'planned()']'
              2019-05-15  06:31:22 INFO     Main         plugin 'uzsu': Metadata itemstructlist = '[]'
              2019-05-15  06:31:22 INFO     Main         add_struct_definition: struct 'uzsu.child' = OrderedDict([('name', 'Vorlage-Struktur für Zeitschaltuhren'), ('uzsu', OrderedDict([('type', 'dict'), ('uzsu_item', '..'), ('cache', 'True'), ('visu_acl', 'rw'), ('active', OrderedDict([('remark', 'Use this item to easily turn on or off your UZSU'), ('type', 'bool'), ('eval', 'sh...activate(value)'), ('visu_acl', 'rw')]))]))])
              2019-05-15  06:31:26 INFO     Main         Loading '/usr/local/smarthome/plugins/uzsu/locale.yaml' to 'dict'
              2019-05-15  06:31:27 INFO     Main         Plugin 'uzsu': Loaded plugin translations = {'Init Information fehlt!': {'de': '=', 'en': 'Init entry missing!'}, 'Back in Time': {'de': '=', 'en': '='}, 'Sonnenuntergang': {'de': '=', 'en': 'sun set'}, 'UZSU Item': {'de': '=', 'en': '='}, 'Item existiert nicht!': {'de': '=', 'en': 'Item does not exist!'}, 'Interpolationsinformation fehlt!': {'de': '=', 'en': 'Interpolation entry missing!'}, 'Aktives Item, keine (aktiven) Einträge!': {'de': '=', 'en': 'Active item, no (active) entries!'}, 'Wert des abhängigen Items': {'de': '=', 'en': 'Value of dependant Item'}, 'Die folgenden Items sind dem UZSU Plugin zugewiesen': {'de': '=', 'en': 'The following items are assigned to the UZSU plugin'}, 'Abhängige Items (mit Typ)': {'de': '=', 'en': 'Dependant Item (with type)'}, 'Uhr': {'de': '=', 'en': "o'clock"}, 'Klick auf ein Item um dessen Konfiguration anzuzeigen': {'de': '=', 'en': 'Click on an item to show its configuration'}, 'Sonnenaufgang': {'de': '=', 'en': 'sun rise'}, 'Interpolation (Intervall)': {'de': '=', 'en': 'Interpolation (interval)'}}
              2019-05-15  06:31:27 INFO     Main         plugin 'uzsu': value not found in plugin configuration file for parameter 'remove_duplicates' -> using default value 'True' instead
              2019-05-15  06:31:27 INFO     Main         Module http: Registering webinterface 'uzsu' of plugin 'uzsu' from pluginclass 'UZSU' instance ''
              2019-05-15  06:31:27 INFO     Main          - conf dict: '{'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/uzsu/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}'
              2019-05-15  06:31:27 INFO     Main         self._applications['uzsu'] = {'Mount': '/uzsu', 'Instance': '', 'Webifname': 'uzsu', 'Conf': {'/': {'tools.auth_basic.on': False, 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0xb5d50ff0>>, 'tools.auth_basic.realm': 'shng_http_webif', 'tools.staticdir.root': '/usr/local/smarthome/plugins/uzsu/webif'}, '/static': {'tools.staticdir.on': True, 'tools.staticdir.dir': 'static'}, '/gstatic': {'tools.staticdir.on': True, 'tools.staticdir.dir': '/usr/local/smarthome/modules/http/webif/gstatic'}}, 'Pluginclass': 'UZSU', 'Description': 'Webinterface uzsu of plugin uzsu', 'Pluginname': 'uzsu'}
              2019-05-15  06:31:27 INFO     Main         Init with timezone tzfile('/usr/share/zoneinfo/Europe/Berlin')
              2019-05-15  06:31:27 WARNING  Main         Unable to import Python package 'scipy' which is necessary for interpolation.
              2019-05-15  06:31:27 ERROR    Main         Plugins: Plugin 'uzsu' initialization failed, plugin not loaded
              2019-05-15  06:31:27 INFO     Main         Loading '/usr/local/smarthome/plugins/network/plugin.yaml' to 'OrderedDict'
              2019-05-15  06:31:31 INFO     Main         plugin 'network': Metadata paramlist = '['ip', 'port', 'udp', 'tcp', 'http', 'udp_acl', 'tcp_acl', 'http_acl']'
              2019-05-15  06:31:31 INFO     Main         plugin 'network': Metadata itemdeflist = '['nw', 'nw_acl', 'nw_udp_listen', 'nw_tcp_listen', 'nw_udp_send']'
              2019-05-15  06:31:31 INFO     Main         plugin 'network': Metadata logic_paramlist = '['nw', 'nw_acl', 'nw_udp_listen', 'nw_tcp_listen']'
              2019-05-15  06:31:31 INFO     Main         plugin 'network': Metadata plugin_functionlist = '['udp']'
              2019-05-15  06:31:31 INFO     Main         plugin 'network': Metadata get_plugin_function_defstrings -> '['udp(host, port, data)']'
              2019-05-15  06:31:31 INFO     Main         plugin 'network': Metadata get_plugin_function_defstrings -> '['udp(host:str, port:int, data:foo)']'
              2019-05-15  06:31:31 INFO     Main         plugin 'network': Metadata get_plugin_function_defstrings -> '['udp(host, port, data)']'
              2019-05-15  06:31:31 INFO     Main         plugin 'network': Metadata get_plugin_function_defstrings -> '['udp(host:str, port:int, data:foo)']'
              2019-05-15  06:31:31 INFO     Main         plugin 'network': has no item-struct definitions in metadata
              2019-05-15  06:31:31 INFO     Main         Loading '/usr/local/smarthome/plugins/network/locale.yaml' to 'dict'
              2019-05-15  06:31:31 INFO     Main         plugin 'network': value not found in plugin configuration file for parameter 'ip' -> using default value '0.0.0.0' instead
              2019-05-15  06:31:31 INFO     Main         plugin 'network': value not found in plugin configuration file for parameter 'http' -> using default value 'no' instead
              2019-05-15  06:31:31 INFO     Main         plugin 'network': value not found in plugin configuration file for parameter 'http_acl' -> using default value '['*']' instead
              2019-05-15  06:31:31 INFO     Main         Initialized plugin 'network' from from section 'nw'
              2019-05-15  06:31:31 INFO     Main         Load of plugins finished
              2019-05-15  06:31:31 INFO     Main         Start initialization of items
              
              ....
              Zuletzt geändert von bmx; 15.05.2019, 07:53. Grund: Ein wenig gekürzt...
              Geniale Menschen sind selten ordentlich, ordentliche selten genial. (Albert Einstein)

              Kommentar


                #8
                Die Warnings mit fehlenden Items usw. sind mir bewusst
                Zuletzt geändert von magiczambo; 15.05.2019, 07:50.
                Geniale Menschen sind selten ordentlich, ordentliche selten genial. (Albert Einstein)

                Kommentar


                  #9
                  Nach dem Log wird das Plugin erstmal normal geladen. Allerdings lädt der Plugin Autor **scipy** anders als die anderen Packages.

                  Die Meldung 'Unable to import Python package 'scipy' which is necessary for interpolation.' wird bewusst im Plugin generiert. Dazu müsste Onkelandy was sagen.
                  Viele Grüße
                  Martin

                  There is no cloud. It's only someone else's computer.

                  Kommentar


                    #10
                    Kannst Du mal auf der Shell den Python Interpreter starten ``pyhton3`` und da dann ein ``from scipy import interpolate`` eingeben?

                    Kommentar


                      #11
                      Gerne:

                      Code:
                       [smarthome@SmartHomeNG ~]$ python3
                      Python 3.5.3 (default, Jan 19 2017, 14:11:04)
                      [GCC 6.3.0 20170124] on linux
                      Type "help", "copyright", "credits" or "license" for more information.
                      >>> from scipy import interpolate
                      Traceback (most recent call last):
                        File "<stdin>", line 1, in <module>
                        File "/usr/local/lib/python3.5/dist-packages/scipy/interpolate/__init__.py", line 175, in <module>
                          from .interpolate import *
                        File "/usr/local/lib/python3.5/dist-packages/scipy/interpolate/interpolate.py", line 20, in <module>
                          import scipy.linalg
                        File "/usr/local/lib/python3.5/dist-packages/scipy/linalg/__init__.py", line 190, in <module>
                          from .misc import *
                        File "/usr/local/lib/python3.5/dist-packages/scipy/linalg/misc.py", line 5, in <module>
                          from .blas import get_blas_funcs
                        File "/usr/local/lib/python3.5/dist-packages/scipy/linalg/blas.py", line 214, in <module>
                          from scipy.linalg import _fblas
                      ImportError: liblapack.so.3: cannot open shared object file: No such file or directory
                      >>>
                      Geniale Menschen sind selten ordentlich, ordentliche selten genial. (Albert Einstein)

                      Kommentar


                        #12
                        Ok, dann ist scipy in Deinem Python Environment nicht sauber/nicht vollständig installiert.

                        Kannst Du scipy deinstallieren und neu installieren?
                        Viele Grüße
                        Martin

                        There is no cloud. It's only someone else's computer.

                        Kommentar


                          #13
                          Da fehlt eine Objekt-Datei. Da Du in Deinem Profil stehen hast, das Du Informatiker bist, würde ich Dir dies als Basis Lektüre empfehlen und dies als Spezialfall

                          Kommentar


                            #14
                            Ok versucht. Allerdings schlägt wohl hier etwas fehl, ist mir beim ersten ausführen wahrscheinlich entgangen:

                            Ich habs mahl fett markiert.

                            Code:
                             [smarthome@SmartHomeNG /usr/local/smarthome]$ sudo pip3 install -r plugins/uzsu/requirements.txt
                            Collecting scipy>=1.1.0 (from -r plugins/uzsu/requirements.txt (line 1))
                              Using cached https://www.piwheels.hostedpi.com/simple/scipy/scipy-1.2.1-cp35-cp35m-linux_armv6l.whl
                            Collecting numpy>=1.8.2 (from scipy>=1.1.0->-r plugins/uzsu/requirements.txt (line 1))
                              Using cached https://files.pythonhosted.org/packages/93/48/956b9dcdddfcedb1705839280e02cbfeb2861ed5d7f59241210530867d5b/numpy-1.16.3.zip
                            Building wheels for collected packages: numpy
                              Running setup.py bdist_wheel for numpy ... error
                              Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-72ayd9bp/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpk_hksitkpip-wheel- --python-tag cp35:
                              Running from numpy source directory.
                              usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
                                 or: -c --help [cmd1 cmd2 ...]
                                 or: -c --help-commands
                                 or: -c cmd --help
                            
                              [B]error: invalid command 'bdist_wheel'[/B]
                            
                              ----------------------------------------
                              Failed building wheel for numpy
                              Running setup.py clean for numpy
                            ^@  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-72ayd9bp/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
                              Running from numpy source directory.
                            
                              `setup.py clean` is not supported, use one of the following instead:
                            
                                - `git clean -xdf` (cleans all files)
                                - `git clean -Xdf` (cleans all versioned files, doesn't touch
                                                    files that aren't checked into the git repo)
                            
                              Add `--force` to your command to use it anyway if you must (unsupported).
                            
                            
                              ----------------------------------------
                              Failed cleaning build dir for numpy
                            Failed to build numpy
                            Installing collected packages: numpy, scipy
                              Running setup.py install for numpy ... -
                            Geniale Menschen sind selten ordentlich, ordentliche selten genial. (Albert Einstein)

                            Kommentar


                              #15
                              Zitat von bmx Beitrag anzeigen
                              Da fehlt eine Objekt-Datei. Da Du in Deinem Profil stehen hast, das Du Informatiker bist, würde ich Dir dies als Basis Lektüre empfehlen und dies als Spezialfall
                              Ok danke mal, aber evtl. liegt dass ganz ja auch schon an der Installation von numpy s.o.

                              Jedenfalls könnte ich mich selbst Ohrfeigen, dass ich das Update gemacht habe....
                              Zuletzt geändert von bmx; 15.05.2019, 09:40.
                              Geniale Menschen sind selten ordentlich, ordentliche selten genial. (Albert Einstein)

                              Kommentar

                              Lädt...
                              X