Ankündigung

Einklappen

Serverwartung 21.2.



Am 21.2. im Laufe des späten Abends wird eine Serverwartung durchgeführt. Das Forum ist dadurch für gut zwei Stunden nicht erreichbar.
Es wird eine Wartungsseite geschaltet.

Mehr anzeigen
Weniger anzeigen

uzsu probleme 1.4.2

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

    uzsu probleme 1.4.2

    moin,

    irgendwie bekomm ich die uzsu nicht zu laufen (1.4.2), plugin wird geladen, aber irgendwie bekommt es keine logic/sheduler geladen.
    hab ebenfalls über smartvisu mit dem neuen widget versucht, auch von dort wird dann nichts getriggert.

    mein versuch über eine logic

    plugin.yaml
    Code:
    uzsu:
         class_name: UZSU
         class_path: plugins.uzsu
    items.yaml
    Code:
    USZU:
     TerrasseSpots:
      type: dict
      uszu_item: EX.Terrasse.Licht.Spots
      cache: 'True'
      visu_acl: rw

    Code:
    EX:
     Terrasse:
      Licht:
       Spots:
        type: bool
        knx_dpt: 1
        knx_listen: 1/4/89
        knx_send: 1/1/89
        knx_init: 1/4/89
        visu_acl: rw
        alexa_name: "Spots Terrasse"
        alexa_description: "Bodenspots Terrasse"
        alexa_actions: "turnOn turnOff"
        alexa_types: "LIGHT"
    logic.yaml
    uzsuLogiken:
    filename: uzsu.py
    locics/uzsu.py
    #!/usr/bin/env python3
    # uzsu.py


    USZU.TerrasseSpots({'active':True, 'list':[
    {'value':1, 'active':True, 'rrule':'FREQ=DAILY;', 'time': '17:00<sunset'},
    {'value':0, 'active':True, 'rrule':'FREQ=DAILY;', 'time': '21:26'}
    ]})
    log
    Code:
    2018-04-30  13:48:30 WARNING  Main         --------------------   Init SmartHomeNG 1.4.2.0dff0244.HEAD   --------------------
    2018-04-30  13:48:30 INFO     Main         Init Scheduler
    2018-04-30  13:48:30 INFO     Main         Init loadable Modules
    2018-04-30  13:48:30 INFO     Main         Loading '/usr/local/smarthome/etc/module.yaml' to 'OrderedDict'
    2018-04-30  13:48:30 INFO     Main         Loading '/usr/local/smarthome/modules/http/module.yaml' to 'OrderedDict'
    2018-04-30  13:48:30 INFO     Main         module 'http': Metadata paramlist = '['user', 'password', 'hashed_password', 'service_user', 'service_password', 'service_hashed_password', 'port', 'servicesport', 'showpluginlist', 'showservicelist', 'starturl', 'threads', 'showtraceback']'
    2018-04-30  13:48:30 INFO     Main         Loading module 'http': args = '{'starturl': "'backend'", 'module_name': "'http'"}'
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'user' -> using default value 'admin' instead
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'password' -> using default value '' instead
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'hashed_password' -> using default value '' instead
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'service_user' -> using default value 'serviceuser' instead
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'service_password' -> using default value '' instead
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'service_hashed_password' -> using default value '' instead
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'port' -> using default value '8383' instead
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'servicesport' -> using default value '8384' instead
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'showpluginlist' -> using default value 'True' instead
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'showservicelist' -> using default value 'False' instead
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'threads' -> using default value '8' instead
    2018-04-30  13:48:31 INFO     Main         module 'http': value not found in plugin configuration file for parameter 'showtraceback' -> using default value 'False' instead
    2018-04-30  13:48:31 INFO     Main         Module 'http': ip address = 192.168.1.129, hostname = 'smarthome'
    2018-04-30  13:48:31 INFO     Main         _hostmap_webifs = {'smarthome:8383': '/msg', 'smarthome.local:8383': '/msg', '192.168.1.129:8383': '/msg'}
    2018-04-30  13:48:31 INFO     Main         _hostmap_services = {'smarthome.local:8384': '/msg', '192.168.1.129:8384': '/msg', 'smarthome:8384': '/msg'}
    2018-04-30  13:48:31 INFO     Main         module_conf = {'/static': {'tools.staticdir.dir': 'static', 'tools.staticdir.on': True}, '/': {'tools.staticdir.debug': True, 'tools.staticdir.root': '/usr/local/smarthome/modules/http/webif', 'log.screen': False, 'tools.trailing_slash.on': False, 'request.dispatch': <function VirtualHost.<locals>.vhost_dispatch at 0x7fd28672c7b8>}}
    2018-04-30  13:48:31 INFO     Main         [30/Apr/2018:13:48:31] ENGINE Bus STARTING
    2018-04-30  13:48:31 INFO     Main         [30/Apr/2018:13:48:31] ENGINE Serving on http://192.168.1.129:8384
    2018-04-30  13:48:32 INFO     Main         [30/Apr/2018:13:48:32] ENGINE Serving on http://192.168.1.129:8383
    2018-04-30  13:48:32 INFO     Main         [30/Apr/2018:13:48:32] ENGINE Bus STARTED
    2018-04-30  13:48:32 INFO     Main         mount '/plugins' - webif_dir = '/usr/local/smarthome/modules/http/webif'
    2018-04-30  13:48:32 INFO     Main         Module http: config dict: '{'/static': {'tools.staticdir.dir': 'static', 'tools.staticdir.on': True}, '/': {'tools.auth_basic.on': False, 'tools.staticdir.root': '/usr/local/smarthome/modules/http/webif', 'tools.auth_basic.realm': 'shng_http_webif', 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0x7fd284ba9f98>>}}'
    2018-04-30  13:48:32 INFO     Main          - user 'admin', password '', hashed_password ''
    2018-04-30  13:48:32 INFO     Main         Module http: Registering webinterface 'plugins' of plugin 'plugins' from pluginclass '' instance ''
    2018-04-30  13:48:32 INFO     Main          - conf dict: '{'/static': {'tools.staticdir.dir': 'static', 'tools.staticdir.on': True}, '/': {'tools.auth_basic.on': False, 'tools.staticdir.root': '/usr/local/smarthome/modules/http/webif', 'tools.auth_basic.realm': 'shng_http_webif', 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0x7fd284ba9f98>>}}'
    2018-04-30  13:48:32 INFO     Main         Modules: Loaded module 'http' (class 'Http') v1.4.5: Modul zur Implementierung von Backend-Webinterfaces für Plugins
    2018-04-30  13:48:32 WARNING  Main         Loaded Modules: ['http']
    2018-04-30  13:48:32 INFO     Main         Start Modules
    2018-04-30  13:48:32 INFO     Main         Init Plugins
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/etc/plugin.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         Load plugins
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/plugins/backend/plugin.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         plugin 'backend': Metadata paramlist = '['updates_allowed', 'developer_mode', 'pypi_timeout']'
    2018-04-30  13:48:32 INFO     Main         plugin 'backend': value not found in plugin configuration file for parameter 'updates_allowed' -> using default value 'True' instead
    2018-04-30  13:48:32 INFO     Main         plugin 'backend': value not found in plugin configuration file for parameter 'developer_mode' -> using default value 'False' instead
    2018-04-30  13:48:32 INFO     Main         plugin 'backend': value not found in plugin configuration file for parameter 'pypi_timeout' -> using default value '5' instead
    2018-04-30  13:48:32 INFO     Main         Using module 'http'
    2018-04-30  13:48:32 INFO     Main         WebInterface: Running from '/usr/local/smarthome/plugins/backend/webif'
    2018-04-30  13:48:32 INFO     Main         Module http: Registering webinterface 'backend' of plugin 'backend' from pluginclass 'BackendServer' instance ''
    2018-04-30  13:48:32 INFO     Main          - conf dict: '{'/static': {'tools.staticdir.dir': 'static', 'tools.staticdir.on': True}, '/': {'tools.auth_basic.on': False, 'tools.staticdir.root': '/usr/local/smarthome/plugins/backend/webif', 'tools.auth_basic.realm': 'shng_http_webif', 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0x7fd284ba9f98>>}}'
    2018-04-30  13:48:32 INFO     Main         self._applications['backend'] = {'Mount': '/backend', 'Webifname': 'backend', 'Conf': {'/static': {'tools.staticdir.dir': 'static', 'tools.staticdir.on': True}, '/': {'tools.auth_basic.on': False, 'tools.staticdir.root': '/usr/local/smarthome/plugins/backend/webif', 'tools.auth_basic.realm': 'shng_http_webif', 'tools.auth_basic.checkpassword': <bound method Http.validate_password of <modules.http.Http object at 0x7fd284ba9f98>>}}, 'Description': 'Administrationsoberfläche für SmartHomeNG', 'Pluginname': 'backend', 'Instance': '', 'Pluginclass': 'BackendServer'}
    2018-04-30  13:48:32 INFO     Main         Initialized plugin 'backend' from from section 'BackendServer'
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/plugins/cli/plugin.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         plugin 'cli': Metadata paramlist = '['update', 'ip', 'port', 'hashed_password']'
    2018-04-30  13:48:32 INFO     Main         plugin 'cli': value not found in plugin configuration file for parameter 'update' -> using default value 'False' instead
    2018-04-30  13:48:32 INFO     Main         plugin 'cli': value not found in plugin configuration file for parameter 'ip' -> using default value '127.0.0.1' instead
    2018-04-30  13:48:32 INFO     Main         plugin 'cli': value not found in plugin configuration file for parameter 'port' -> using default value '2323.0' instead
    2018-04-30  13:48:32 INFO     Main         plugin 'cli': value not found in plugin configuration file for parameter 'hashed_password' -> using default value '' instead
    2018-04-30  13:48:32 WARNING  Main         CLI: You should set a password for this plugin.
    2018-04-30  13:48:32 INFO     Main         Initialized plugin 'cli' from from section 'cli'
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/plugins/knx/plugin.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         plugin 'knx': No parameter definitions found in metadata
    2018-04-30  13:48:32 INFO     Main         Initialized plugin 'knx' from from section 'knx'
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/plugins/visu_websocket/plugin.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         plugin 'visu_websocket': Metadata paramlist = '['ip', 'port', 'tls', 'acl', 'wsproto', 'querydef']'
    2018-04-30  13:48:32 INFO     Main         plugin 'visu_websocket': value not found in plugin configuration file for parameter 'ip' -> using default value '0.0.0.0' instead
    2018-04-30  13:48:32 INFO     Main         plugin 'visu_websocket': value not found in plugin configuration file for parameter 'port' -> using default value '2424' instead
    2018-04-30  13:48:32 INFO     Main         plugin 'visu_websocket': value not found in plugin configuration file for parameter 'tls' -> using default value 'False' instead
    2018-04-30  13:48:32 INFO     Main         plugin 'visu_websocket': value not found in plugin configuration file for parameter 'querydef' -> using default value 'False' instead
    2018-04-30  13:48:32 INFO     Main         Initialized plugin 'visu_websocket' from from section 'visu'
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/plugins/visu_smartvisu/plugin.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         plugin 'visu_smartvisu': Metadata paramlist = '['smartvisu_dir', 'generate_pages', 'overwrite_templates', 'visu_style', 'handle_widgets']'
    2018-04-30  13:48:32 INFO     Main         plugin 'visu_smartvisu': value not found in plugin configuration file for parameter 'generate_pages' -> using default value 'True' instead
    2018-04-30  13:48:32 INFO     Main         plugin 'visu_smartvisu': value not found in plugin configuration file for parameter 'overwrite_templates' -> using default value 'True' instead
    2018-04-30  13:48:32 INFO     Main         plugin 'visu_smartvisu': value not found in plugin configuration file for parameter 'visu_style' -> using default value 'std' instead
    2018-04-30  13:48:32 INFO     Main         plugin 'visu_smartvisu': value not found in plugin configuration file for parameter 'handle_widgets' -> using default value 'True' instead
    2018-04-30  13:48:32 INFO     Main         Initialized plugin 'visu_smartvisu' from from section 'smartvisu'
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/plugins/database/plugin.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         plugin 'database': No parameter definitions found in metadata
    2018-04-30  13:48:32 INFO     Main         Database [Database]: Connected with <pymysql.connections.Connection object at 0x7fd264797320> using "pyformat" style
    2018-04-30  13:48:32 INFO     Main         Database [Database]: Version 6 found
    2018-04-30  13:48:32 INFO     Main         Initialized plugin 'database' instance 'mysqldb' from from section 'database'
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/plugins/uzsu/plugin.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         plugin 'uzsu': No parameter definitions found in metadata
    2018-04-30  13:48:32 INFO     Main         Init UZSU
    2018-04-30  13:48:32 INFO     Main         Initialized plugin 'uzsu' from from section 'uzsu'
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/plugins/network/plugin.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         plugin 'network': No parameter definitions found in metadata
    2018-04-30  13:48:32 INFO     Main         Initialized plugin 'network' from from section 'nw'
    2018-04-30  13:48:32 INFO     Main         Load of plugins finished
    2018-04-30  13:48:32 INFO     Main         Start initialization of items
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/lib/env/core.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/lib/env/location.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         config.parse_itemsdir: skipping logic definition file = /usr/local/smarthome/lib/env/logic.yaml
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/lib/env/system.yaml' to 'OrderedDict'
    2018-04-30  13:48:32 INFO     Main         Loading '/usr/local/smarthome/items/items.yaml' to 'OrderedDict'
    2018-04-30  13:48:34 INFO     Main         Items initialization finished, 306 items loaded
    2018-04-30  13:48:34 INFO     Main         Start Logics
    2018-04-30  13:48:34 INFO     Main         Loading '/usr/local/smarthome/lib/env/logic.yaml' to 'OrderedDict'
    2018-04-30  13:48:34 INFO     Main         Loading '/usr/local/smarthome/etc/logic.yaml' to 'OrderedDict'
    2018-04-30  13:48:34 INFO     Main         Loading '/usr/local/smarthome/scenes/Szenen.buero.yaml' to 'dict'
    2018-04-30  13:48:34 INFO     Main         Loading '/usr/local/smarthome/scenes/Szenen.buero_learned.yaml' to 'dict'
    2018-04-30  13:48:34 INFO     Main         Start plugins
    2018-04-30  13:48:34 INFO     smartvisu    Starting smartVISU v2.9 handling
    2018-04-30  13:48:34 INFO     smartvisu    Installing widgets into smartVISU v2.9
    2018-04-30  13:48:34 INFO     smartvisu    Loading '/usr/local/smarthome/etc/plugin.yaml' to 'OrderedDict'
    2018-04-30  13:48:34 DEBUG    uzsu         run method called
    2018-04-30  13:48:34 INFO     Main         Start of plugins finished
    2018-04-30  13:48:34 INFO     smartvisu    Generating pages for smartVISU v2.9
    2018-04-30  13:48:34 INFO     smartvisu    Generating pages for smartVISU v2.9 End
    2018-04-30  13:48:34 INFO     smartvisu    Finished smartVISU v2.9 handling
    2018-04-30  13:48:35 INFO     Main         KNX[default]: 1.2.41 set 2/4/1 to 255
    2018-04-30  13:48:35 INFO     Main         KNX[default]: 1.2.41 set 2/5/1 to 0
    2018-04-30  13:48:35 INFO     Main         KNX[default]: 1.2.41 set 2/4/2 to 255
    2018-04-30  13:48:35 INFO     Main         KNX[default]: 1.2.41 set 2/5/2 to 0
    2018-04-30  13:48:35 INFO     Main         KNX[default]: 1.2.41 set 2/4/3 to 255
    2018-04-30  13:48:35 INFO     Main         KNX[default]: 1.0.20 set 6/1/19 to 20.3
    2018-04-30  13:48:35 INFO     Main         KNX[default]: 1.2.41 set 2/5/3 to 0
    2018-04-30  13:48:35 INFO     Main         KNX[default]: 1.2.75 set 7/0/0 to 23.26
    2018-04-30  13:48:35 INFO     Main         VISU: Websocket handler uses protocol version 4

    jemand ne idee ? oder wo hab ich meinen denkfehler ?

    lg,
    ​​​​​​​
Lädt...
X