Ankündigung

Einklappen
Keine Ankündigung bisher.

SmartVisu 2.8 erstellt keine HTML-Seiten

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

    SmartVisu 2.8 erstellt keine HTML-Seiten

    Servus Leute,

    seit der Umstellung auf Ver. 2.8 erstellt mein SmartVisu keine Seiten mehr in /var/www/smartvisu/pages/smartVISU.

    Hier meine Configs:

    Code:
    #plugin.conf
    [knx]
       class_name = KNX
       class_path = plugins.knx
       send_time = 600 # update date/time every 600 seconds, default none
       time_ga = 10/4/1 # default none
       date_ga = 10/4/0# default none
    
    
    
    
    [visu]
       class_name = WebSocket
       class_path = plugins.visu_websocket
       #ip=0.0.0.0
       port=2424
       acl=rw
       wsproto = 4
       smartvisu_dir = /var/www/smartvisu
    
    [smartvisu]
        class_name = SmartVisu
        class_path = plugins.visu_smartvisu
        smartvisu_dir = /var/www/smartvisu
    #    handle_widgets = True
    
    
    
    
    [BackendServer]
        class_name = BackendServer
        class_path = plugins.backend
        #ip = xxx.xxx.xxx.xxx
        port = 8383
        updates_allowed = True
        threads = 8
        user = admin
        password = admin
        language = de
    hab zum Test nur ein Item in /usr/smarthome/items

    Code:
    [aussen]
        [[aussen]]
            name = Aussen
            sv_page = aussen
            sv_img = scene_fountain_indoor.png
            [[[schalten]]]
                name = Brunnen
                sv_widget = Brunnen {{ basic.flip('item.brunnen', 'item.brunnen') }}
                [[[[brunnen]]]]
                    name = Brunnen
                    type = bool
                    visu_acl = rw
                    knx_dpt = 1
                    knx_send = 21/0/0  
                    knx_cache = 21/0/1
    mach ich etwas falsch oder so?

    Danke

    Grüße Jürgen
    Zuletzt geändert von Jue; 16.10.2016, 16:39.

    #2
    Was hast Du als Linux Basis? Jessie? Könnte es sein, das Dein Seitenpfad den Du im Plugin angegeben hast nicht existiert? (/var/www/html/smartvisu?)

    Kommentar


      #3
      Wichtig ist wie immer unter Linux auch die Gross-/Kleinschreibung zu beachten.
      Geht man nach Komplettanleitung vor, heisst der Ordner z.B /var/www/html/smartVISU.

      Kommentar


        #4
        Danke für die Antworten,

        bei mir heißt der Ordner /var/www/smartvisu/pages/smartVISU in den normal bzw früher die HTMLs erstellt worden, dieser bleibt jetzt leer.

        Die Pfadangabe in der plugin.conf wäre doch dann richtig oder.

        Kommentar


          #5
          Der Ordner (im pages Ordner) in dem die Seiten erstellt werden heißt immer smarthome und nicht smartVISU.
          Viele Grüße
          Martin

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

          Kommentar


            #6
            einen Ordner mit den Namen /var/www/smartvisu/pages/smarthome hab ich nicht.

            Ich hatte zuvor das uralte Pi-Image drauf da war es so und hat geklappt.

            Kann es sein dass ich statt plugins.visu_websocket eigentlich (oder zusätzlich) das andere plugins.visu brauche?

            Kommentar


              #7
              Bitte ins Wiki von SmartHomeNG schauen. Da ist die Visu Unterstützung beschrieben.

              Ich kann Dir auch nur Infos zur Standardkonfiguration von SmartHomeNG und der smartVISU geben, da ich da alte PI Image und seine Konfiguration (evtl. Mit Spezialitäten) nicht kenne.
              Viele Grüße
              Martin

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

              Kommentar


                #8
                Jürgen es ist schwierig Dir zu helfen. Oben schreibst Du von Umstellung, eben von einem Uralt Pi-Image. Es wäre hilfreich wenn Du Deine Config mal genauer angibst. Also ob Du z.B. das Image von OnkelAndy nutzt oder ob Du nach Komplettanleitung vorgegangen bist.

                Dann ist bei Linux auch immer wichtig die Berechtigungen im Auge zu behalten, also unter welchem User wird das ganze ausgeführt.

                Und nicht zu vergessen und gaaaaaaanz wichtig: SmartHomeNG im Debug Modus starten und dann schauen, was bei Dir an relevanten Meldungen auftaucht und das dann posten. Das ist zwar für Dich ein wenig Arbeit aber Du möchtest ja auch, das andere Dir helfen...

                Kommentar


                  #9
                  Hallo Jürgen,
                  Du brauchst seit SmarthomeNG beide Plugins, wenn Du die Seiten automatisch generieren lassen willst. Hier findest Du die Anleitung: https://github.com/smarthomeNG/smart...¼tzung_in_v1.2

                  Auf den ersten Blick fehlen in Deiner plugin.conf die Parameter, z.B.
                  Code:
                  generate_pages = TRUE
                  Gruß Wolfram

                  Kommentar


                    #10
                    Zitat von Jue Beitrag anzeigen
                    einen Ordner mit den Namen /var/www/smartvisu/pages/smarthome hab ich nicht.

                    Ich hatte zuvor das uralte Pi-Image drauf da war es so und hat geklappt.
                    Nee, ich glaube da liegst Du falsch. Also ich fahr hier mehrere PI's mit dem Org.-PI-Image und der Pfad hieß und heißt immernoch "/var/www/smartvisu/pages/smarthome".
                    Einfach mal anlegen mit den Rechten analog den anderen Verzeichnissen und dann nochmal neustarten.

                    Kommentar


                      #11
                      Hi,

                      Verzeichniss angelegt.

                      mit /etc/init.d/smarthome stop und /etc/init.d/smarthome start neu gestartet. Leider kein Erfolg. ich hab auch aus der plugin.conf den Path unter smartvisu auskommentiert .

                      Kommentar


                        #12
                        Genau da brauchst Du den Pfad aber. Schau mal ins Wiki!
                        Viele Grüße
                        Martin

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

                        Kommentar


                          #13
                          Das Wiki http://github.com/smarthomeNG/smarth...visu_smartvisu?

                          Da steht:
                          Code:
                          smartvisu_dir
                          
                          You could generate pages for the smartVISU visualisation if you specify the [B]smartvisu_dir[/B] which should be set to the root directory of your smartVISU Installation.
                          also:

                          Code:
                               
                          [smartvisu]
                              class_name = SmartVisu
                              class_path = plugins.visu_smartvisu
                              smartvisu_dir = /var/www/smartvisu/pages/smarthome
                          mehr finde ich nicht,sorry.

                          ich werde mal meine Pi komplett neu starten

                          Kommentar


                            #14
                            Einfach nur
                            Code:
                            smartvisu_dir = /var/www/smartvisu
                            wie es im Wiki steht. Ohne /pages/smarthome/
                            Viele Grüße
                            Martin

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

                            Kommentar


                              #15
                              Leider noch keine Besserung.

                              zur Zusammenfassung:


                              Code:
                              admin@raspberrypi:~$ /etc/init.d/smarthome debug
                              2016-10-16 21:03:51 WARNING  smarthome    Main         --------------------   Init smarthomeNG 1.3.736.dev   -------------------- -- smarthome.py:__init__:194
                              2016-10-16 21:03:51 DEBUG    smarthome    Main         Python 3.5.2 -- smarthome.py:__init__:195
                              2016-10-16 21:03:51 INFO     scheduler    Main         Init Scheduler -- scheduler.py:__init__:87
                              2016-10-16 21:03:51 DEBUG    scheduler    Scheduler    creating 5 workers -- scheduler.py:run:94
                              2016-10-16 21:03:51 INFO     smarthome    Main         Init Plugins -- smarthome.py:start:260
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Plugin: knx -- plugin.py:__init__:48
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Using arguments ['time_ga', 'date_ga', 'send_time'] -- plugin.py:__init__:116
                              2016-10-16 21:03:51 DEBUG    scheduler    Main         KNX[default] time next time: 2016-10-16 21:04:01+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Plugin: visu -- plugin.py:__init__:48
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Using arguments ['port', 'acl'] -- plugin.py:__init__:116
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Plugin: smartvisu -- plugin.py:__init__:48
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Using arguments ['smartvisu_dir'] -- plugin.py:__init__:116
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Plugin: BackendServer -- plugin.py:__init__:48
                              2016-10-16 21:03:53 DEBUG    plugin       Main         Using arguments ['port', 'threads', 'updates_allowed', 'user', 'password', 'language'] -- plugin.py:__init__:116
                              2016-10-16 21:03:53 WARNING  __init__     Main         BackendServer: Giving plaintext password in configuration is insecure. Consider using 'hashed_password' instead! -- __init__.py:__init__:77
                              2016-10-16 21:03:53 DEBUG    __init__     Main         BackendServer: Using local ip address '192.168.0.58' -- __init__.py:__init__:101
                              2016-10-16 21:03:53 ERROR    utils        Main         Backend: load_translation language='de': Error ''ascii' codec can't decode byte 0xc3 in position 86: ordinal not in range(128)' -- utils.py:load_translation:72
                              2016-10-16 21:03:53 WARNING  __init__     Main         BackendServer: Language 'de' not found, using standard language instead -- __init__.py:__init__:110
                              2016-10-16 21:03:53 DEBUG    __init__     Main         BackendServer running from '/usr/smarthome/plugins/backend' -- __init__.py:__init__:123
                              2016-10-16 21:03:53 INFO     smarthome    Main         Init Items -- smarthome.py:start:266
                              2016-10-16 21:03:53 INFO     smarthome    Main         Items: 49 -- smarthome.py:start:298
                              2016-10-16 21:03:53 INFO     logic        Main         Start Logics -- logic.py:__init__:33
                              2016-10-16 21:03:53 DEBUG    logic        Main         Reading Logics from /usr/smarthome/lib/env/logic_conf -- logic.py:_read_logics:66
                              2016-10-16 21:03:53 DEBUG    logic        Main         Reading Logics from /usr/smarthome/etc/logic.conf -- logic.py:_read_logics:66
                              2016-10-16 21:03:53 CRITICAL logic        Main         'utf-8' codec can't decode byte 0xfc in position 52: invalid start byte -- logic.py:_read_logics:73
                              2016-10-16 21:03:53 DEBUG    logic        Main         Logic: env_init -- logic.py:__init__:44
                              2016-10-16 21:03:53 DEBUG    logic        Main         Logic: env_daily -- logic.py:__init__:44
                              2016-10-16 21:03:53 DEBUG    scheduler    Main         env_daily next time: 2016-10-17 06:00:00+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:03:53 DEBUG    logic        Main         Logic: env_loc -- logic.py:__init__:44
                              2016-10-16 21:03:53 DEBUG    logic        Main         Logic: env_stat -- logic.py:__init__:44
                              2016-10-16 21:03:53 DEBUG    scheduler    Main         env_stat next time: 2016-10-16 21:04:08+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:03:53 INFO     plugin       Main         Start Plugins -- plugin.py:start:76
                              2016-10-16 21:03:53 DEBUG    plugin       Main         Starting knx Plugin -- plugin.py:start:78
                              2016-10-16 21:03:53 DEBUG    plugin       Main         Starting visu Plugin -- plugin.py:start:78
                              2016-10-16 21:03:53 DEBUG    plugin       Main         Starting smartvisu Plugin -- plugin.py:start:78
                              2016-10-16 21:03:53 DEBUG    plugin       Main         Starting BackendServer Plugin -- plugin.py:start:78
                              2016-10-16 21:03:53 WARNING  __init__     smartvisu    Installing widgets into smartVISU -- __init__.py:__init__:407
                              2016-10-16 21:03:53 INFO     __init__     smartvisu    install_widgets: Installing from '/usr/smarthome' to '/var/www/smartvisu' -- __init__.py:__init__:415
                              2016-10-16 21:03:53 DEBUG    __init__     BackendServer BackendServer: rest run -- __init__.py:run:149
                              [16/Oct/2016:21:03:53] ENGINE Bus STARTING
                              2016-10-16 21:03:53 INFO     __init__     smartvisu    install_widgets: Creating  directory for widgets -- __init__.py:remove_oldfiles:550
                              2016-10-16 21:03:53 INFO     _cplogging   BackendServer [16/Oct/2016:21:03:53] ENGINE Bus STARTING -- _cplogging.py:error:217
                              2016-10-16 21:03:53 INFO     __init__     smartvisu    install_widgets: Removing old dynamic widget files -- __init__.py:remove_oldfiles:561
                              CherryPy Checker:
                              dir is an absolute path, even though a root is provided.
                              section: [/static]
                              root: '/usr/smarthome/plugins/backend'
                              dir: '/usr/smarthome/plugins/backend/static'
                              
                              
                              
                              
                              Exception in thread smartvisu:
                              Traceback (most recent call last):
                                File "/usr/local/lib/python3.5/threading.py", line 914, in _bootstrap_inner
                                  self.run()
                                File "/usr/smarthome/lib/plugin.py", line 124, in run
                                  self.plugin.run()
                                File "/usr/smarthome/plugins/visu_smartvisu/__init__.py", line 79, in run
                                  sv_iwdg = SmartVisuInstallWidgets(self._sh, self.smartvisu_dir)
                                File "/usr/smarthome/plugins/visu_smartvisu/__init__.py", line 417, in __init__
                                  self.install_widgets(self._sh)
                                File "/usr/smarthome/plugins/visu_smartvisu/__init__.py", line 431, in install_widgets
                                  root_contents = f_root.readlines()
                                File "/usr/local/lib/python3.5/encodings/ascii.py", line 26, in decode
                                  return codecs.ascii_decode(input, self.errors)[0]
                              UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 135: ordinal not in range(128)
                              
                              
                              
                              
                              [16/Oct/2016:21:03:53] ENGINE Started monitor thread '_TimeoutMonitor'.
                              2016-10-16 21:03:53 INFO     _cplogging   BackendServer [16/Oct/2016:21:03:53] ENGINE Started monitor thread '_TimeoutMonitor'. -- _cplogging.py:error:217
                              [16/Oct/2016:21:03:53] ENGINE Serving on http://192.168.0.58:8383
                              2016-10-16 21:03:53 INFO     _cplogging   BackendServer [16/Oct/2016:21:03:53] ENGINE Serving on http://192.168.0.58:8383 -- _cplogging.py:error:217
                              [16/Oct/2016:21:03:53] ENGINE Bus STARTED
                              2016-10-16 21:03:53 INFO     _cplogging   BackendServer [16/Oct/2016:21:03:53] ENGINE Bus STARTED -- _cplogging.py:error:217
                              2016-10-16 21:03:53 DEBUG    __init__     BackendServer BackendServer: engine started -- __init__.py:run:152
                              2016-10-16 21:03:53 DEBUG    connection   Connections  KNX: connected to 127.0.0.1:6720 -- connection.py:connect:393
                              2016-10-16 21:03:53 DEBUG    connection   Connections  _websocket: binding to 0.0.0.0:2424 (TCP) -- connection.py:connect:160
                              2016-10-16 21:03:58 DEBUG    item         env_init     Item env.core.version = 1.3.736.dev via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunrise = 2016-10-17 07:36:16.090954+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunrise.azimut.degrees = 127.5 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_init     Item env.core.start = 2016-10-16 21:03:58.597434+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    smarthome    sh.gc        Garbage collector: collected 7 objects. -- smarthome.py:_garbage_collection:495
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunrise.elevation.degrees = 16.8 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunrise.azimut.radians = 2.23 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunrise.elevation.radians = 0.29 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_init     Item env.system.name = raspberrypi via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunset = 2016-10-17 18:18:21.194862+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_init     Item env.system.start = 2016-10-16 20:49:16.628798+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunset.azimut.degrees = 279.07 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunset.elevation.degrees = -20.42 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunset.azimut.radians = 4.87 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunset.elevation.radians = -0.36 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sun_position.azimut.degrees = 288.7 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sun_position.elevation.degrees = -27.36 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sun_position.azimut.radians = 5.04 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sun_position.elevation.radians = -0.48 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.moonrise = 2016-10-17 19:30:37.544588+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.moonset = 2016-10-17 08:53:10.362764+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.moonphase = 4 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.night = True via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:59 DEBUG    scheduler    Scheduler    sh.gc next time: 2016-10-17 02:04:00+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:03:59 DEBUG    scheduler    Scheduler    env_loc next time: 2016-10-16 21:33:59+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:03:59 DEBUG    smarthome    sh.gc        Object references: 23347 -- smarthome.py:_maintenance:487
                              2016-10-16 21:04:01 DEBUG    scheduler    Scheduler    KNX[default] time next time: 2016-10-16 21:14:01+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.libs.ephem_version = 3.7.6.0 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.core.threads = 17 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.core.memory = 23613440 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.load = 0.08 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.diskfree = 220323840 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.disksize = 1896226816 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.diskusage = 1555935232 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.diskusagepercent = 82.05 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.location.moonlight = 99 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    scheduler    Scheduler    env_stat next time: 2016-10-16 21:09:08+02:00 -- scheduler.py:_next_time:316
                              
                              
                              admin@raspberrypi:~$ /etc/init.d/smarthome debug
                              2016-10-16 21:03:51 WARNING  smarthome    Main         --------------------   Init smarthomeNG 1.3.736.dev   -------------------- -- smarthome.py:__init__:194
                              2016-10-16 21:03:51 DEBUG    smarthome    Main         Python 3.5.2 -- smarthome.py:__init__:195
                              2016-10-16 21:03:51 INFO     scheduler    Main         Init Scheduler -- scheduler.py:__init__:87
                              2016-10-16 21:03:51 DEBUG    scheduler    Scheduler    creating 5 workers -- scheduler.py:run:94
                              2016-10-16 21:03:51 INFO     smarthome    Main         Init Plugins -- smarthome.py:start:260
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Plugin: knx -- plugin.py:__init__:48
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Using arguments ['time_ga', 'date_ga', 'send_time'] -- plugin.py:__init__:116
                              2016-10-16 21:03:51 DEBUG    scheduler    Main         KNX[default] time next time: 2016-10-16 21:04:01+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Plugin: visu -- plugin.py:__init__:48
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Using arguments ['port', 'acl'] -- plugin.py:__init__:116
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Plugin: smartvisu -- plugin.py:__init__:48
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Using arguments ['smartvisu_dir'] -- plugin.py:__init__:116
                              2016-10-16 21:03:51 DEBUG    plugin       Main         Plugin: BackendServer -- plugin.py:__init__:48
                              2016-10-16 21:03:53 DEBUG    plugin       Main         Using arguments ['port', 'threads', 'updates_allowed', 'user', 'password', 'language'] -- plugin.py:__init__:116
                              2016-10-16 21:03:53 WARNING  __init__     Main         BackendServer: Giving plaintext password in configuration is insecure. Consider using 'hashed_password' instead! -- __init__.py:__init__:77
                              2016-10-16 21:03:53 DEBUG    __init__     Main         BackendServer: Using local ip address '192.168.0.58' -- __init__.py:__init__:101
                              2016-10-16 21:03:53 ERROR    utils        Main         Backend: load_translation language='de': Error ''ascii' codec can't decode byte 0xc3 in position 86: ordinal not in range(128)' -- utils.py:load_translation:72
                              2016-10-16 21:03:53 WARNING  __init__     Main         BackendServer: Language 'de' not found, using standard language instead -- __init__.py:__init__:110
                              2016-10-16 21:03:53 DEBUG    __init__     Main         BackendServer running from '/usr/smarthome/plugins/backend' -- __init__.py:__init__:123
                              2016-10-16 21:03:53 INFO     smarthome    Main         Init Items -- smarthome.py:start:266
                              2016-10-16 21:03:53 INFO     smarthome    Main         Items: 49 -- smarthome.py:start:298
                              2016-10-16 21:03:53 INFO     logic        Main         Start Logics -- logic.py:__init__:33
                              2016-10-16 21:03:53 DEBUG    logic        Main         Reading Logics from /usr/smarthome/lib/env/logic_conf -- logic.py:_read_logics:66
                              2016-10-16 21:03:53 DEBUG    logic        Main         Reading Logics from /usr/smarthome/etc/logic.conf -- logic.py:_read_logics:66
                              2016-10-16 21:03:53 CRITICAL logic        Main         'utf-8' codec can't decode byte 0xfc in position 52: invalid start byte -- logic.py:_read_logics:73
                              2016-10-16 21:03:53 DEBUG    logic        Main         Logic: env_init -- logic.py:__init__:44
                              2016-10-16 21:03:53 DEBUG    logic        Main         Logic: env_daily -- logic.py:__init__:44
                              2016-10-16 21:03:53 DEBUG    scheduler    Main         env_daily next time: 2016-10-17 06:00:00+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:03:53 DEBUG    logic        Main         Logic: env_loc -- logic.py:__init__:44
                              2016-10-16 21:03:53 DEBUG    logic        Main         Logic: env_stat -- logic.py:__init__:44
                              2016-10-16 21:03:53 DEBUG    scheduler    Main         env_stat next time: 2016-10-16 21:04:08+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:03:53 INFO     plugin       Main         Start Plugins -- plugin.py:start:76
                              2016-10-16 21:03:53 DEBUG    plugin       Main         Starting knx Plugin -- plugin.py:start:78
                              2016-10-16 21:03:53 DEBUG    plugin       Main         Starting visu Plugin -- plugin.py:start:78
                              2016-10-16 21:03:53 DEBUG    plugin       Main         Starting smartvisu Plugin -- plugin.py:start:78
                              2016-10-16 21:03:53 DEBUG    plugin       Main         Starting BackendServer Plugin -- plugin.py:start:78
                              2016-10-16 21:03:53 WARNING  __init__     smartvisu    Installing widgets into smartVISU -- __init__.py:__init__:407
                              2016-10-16 21:03:53 INFO     __init__     smartvisu    install_widgets: Installing from '/usr/smarthome' to '/var/www/smartvisu' -- __init__.py:__init__:415
                              2016-10-16 21:03:53 DEBUG    __init__     BackendServer BackendServer: rest run -- __init__.py:run:149
                              [16/Oct/2016:21:03:53] ENGINE Bus STARTING
                              2016-10-16 21:03:53 INFO     __init__     smartvisu    install_widgets: Creating  directory for widgets -- __init__.py:remove_oldfiles:550
                              2016-10-16 21:03:53 INFO     _cplogging   BackendServer [16/Oct/2016:21:03:53] ENGINE Bus STARTING -- _cplogging.py:error:217
                              2016-10-16 21:03:53 INFO     __init__     smartvisu    install_widgets: Removing old dynamic widget files -- __init__.py:remove_oldfiles:561
                              CherryPy Checker:
                              dir is an absolute path, even though a root is provided.
                              section: [/static]
                              root: '/usr/smarthome/plugins/backend'
                              dir: '/usr/smarthome/plugins/backend/static'
                              
                              
                              
                              
                              Exception in thread smartvisu:
                              Traceback (most recent call last):
                                File "/usr/local/lib/python3.5/threading.py", line 914, in _bootstrap_inner
                                  self.run()
                                File "/usr/smarthome/lib/plugin.py", line 124, in run
                                  self.plugin.run()
                                File "/usr/smarthome/plugins/visu_smartvisu/__init__.py", line 79, in run
                                  sv_iwdg = SmartVisuInstallWidgets(self._sh, self.smartvisu_dir)
                                File "/usr/smarthome/plugins/visu_smartvisu/__init__.py", line 417, in __init__
                                  self.install_widgets(self._sh)
                                File "/usr/smarthome/plugins/visu_smartvisu/__init__.py", line 431, in install_widgets
                                  root_contents = f_root.readlines()
                                File "/usr/local/lib/python3.5/encodings/ascii.py", line 26, in decode
                                  return codecs.ascii_decode(input, self.errors)[0]
                              UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 135: ordinal not in range(128)
                              
                              
                              
                              
                              [16/Oct/2016:21:03:53] ENGINE Started monitor thread '_TimeoutMonitor'.
                              2016-10-16 21:03:53 INFO     _cplogging   BackendServer [16/Oct/2016:21:03:53] ENGINE Started monitor thread '_TimeoutMonitor'. -- _cplogging.py:error:217
                              [16/Oct/2016:21:03:53] ENGINE Serving on http://192.168.0.58:8383
                              2016-10-16 21:03:53 INFO     _cplogging   BackendServer [16/Oct/2016:21:03:53] ENGINE Serving on http://192.168.0.58:8383 -- _cplogging.py:error:217
                              [16/Oct/2016:21:03:53] ENGINE Bus STARTED
                              2016-10-16 21:03:53 INFO     _cplogging   BackendServer [16/Oct/2016:21:03:53] ENGINE Bus STARTED -- _cplogging.py:error:217
                              2016-10-16 21:03:53 DEBUG    __init__     BackendServer BackendServer: engine started -- __init__.py:run:152
                              2016-10-16 21:03:53 DEBUG    connection   Connections  KNX: connected to 127.0.0.1:6720 -- connection.py:connect:393
                              2016-10-16 21:03:53 DEBUG    connection   Connections  _websocket: binding to 0.0.0.0:2424 (TCP) -- connection.py:connect:160
                              2016-10-16 21:03:58 DEBUG    item         env_init     Item env.core.version = 1.3.736.dev via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunrise = 2016-10-17 07:36:16.090954+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunrise.azimut.degrees = 127.5 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_init     Item env.core.start = 2016-10-16 21:03:58.597434+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    smarthome    sh.gc        Garbage collector: collected 7 objects. -- smarthome.py:_garbage_collection:495
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunrise.elevation.degrees = 16.8 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunrise.azimut.radians = 2.23 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunrise.elevation.radians = 0.29 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_init     Item env.system.name = raspberrypi via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunset = 2016-10-17 18:18:21.194862+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_init     Item env.system.start = 2016-10-16 20:49:16.628798+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunset.azimut.degrees = 279.07 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunset.elevation.degrees = -20.42 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunset.azimut.radians = 4.87 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sunset.elevation.radians = -0.36 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sun_position.azimut.degrees = 288.7 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sun_position.elevation.degrees = -27.36 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sun_position.azimut.radians = 5.04 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.sun_position.elevation.radians = -0.48 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.moonrise = 2016-10-17 19:30:37.544588+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.moonset = 2016-10-17 08:53:10.362764+02:00 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.moonphase = 4 via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:58 DEBUG    item         env_loc      Item env.location.night = True via Logic None None -- item.py:__update:470
                              2016-10-16 21:03:59 DEBUG    scheduler    Scheduler    sh.gc next time: 2016-10-17 02:04:00+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:03:59 DEBUG    scheduler    Scheduler    env_loc next time: 2016-10-16 21:33:59+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:03:59 DEBUG    smarthome    sh.gc        Object references: 23347 -- smarthome.py:_maintenance:487
                              2016-10-16 21:04:01 DEBUG    scheduler    Scheduler    KNX[default] time next time: 2016-10-16 21:14:01+02:00 -- scheduler.py:_next_time:316
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.libs.ephem_version = 3.7.6.0 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.core.threads = 17 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.core.memory = 23613440 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.load = 0.08 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.diskfree = 220323840 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.disksize = 1896226816 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.diskusage = 1555935232 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.system.diskusagepercent = 82.05 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    item         env_stat     Item env.location.moonlight = 99 via Logic None None -- item.py:__update:470
                              2016-10-16 21:04:08 DEBUG    scheduler    Scheduler    env_stat next time: 2016-10-16 21:09:08+02:00 -- scheduler.py:_next_time:316

                              Code:
                              #plugins.conf
                              
                              [knx]
                                 class_name = KNX
                                 class_path = plugins.knx
                                 send_time = 600 # update date/time every 600 seconds, default none
                                 time_ga = 10/4/1 # default none
                                 date_ga = 10/4/0# default none
                              
                              
                              
                              
                              [visu]
                                 class_name = WebSocket
                                 class_path = plugins.visu_websocket
                              #   #ip=0.0.0.0
                                 port=2424
                                 acl=rw
                              #   wsproto = 4
                              #   smartvisu_dir = /var/www/smartvisu
                              
                              
                              
                              
                              
                              
                              [smartvisu]
                                  class_name = SmartVisu
                                  class_path = plugins.visu_smartvisu
                                  smartvisu_dir = /var/www/smartvisu
                              
                              
                              
                              
                              [BackendServer]
                                  class_name = BackendServer
                                  class_path = plugins.backend
                                  #ip = xxx.xxx.xxx.xxx
                                  port = 8383
                                  updates_allowed = True
                                  threads = 8
                                  user = admin
                                  password = admin
                                  language = de
                              Code:
                              #item.conf
                              
                              [aussen]
                                  [[aussen]]
                                      name = Aussen
                                      sv_page = aussen
                                      sv_img = scene_fountain_indoor.png
                                      [[[schalten]]]
                                          name = Brunnen
                                          sv_widget = Brunnen {{ basic.flip('item.brunnen', 'item.brunnen') }}
                                          [[[[brunnen]]]]
                                              name = Brunnen
                                              type = bool
                                              visu_acl = rw
                                              knx_dpt = 1
                                              knx_send = 21/0/0  
                                              knx_cache = 21/0/1
                              gibt es eine Möglichkeit den Autogenerator selbst über die Konsole zu starten?

                              Kommentar

                              Lädt...
                              X