Ankündigung

Einklappen
Keine Ankündigung bisher.

Nach Neustart Websocket Error

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

    Nach Neustart Websocket Error

    Hallo

    Nach einem Neustart des Raspberry hatte ich plötzlich einen Websocket Error. Hab mir das Log angesehen. Kenn mich aber absolut nicht aus.
    Es zeigt einen Error im luxtronic2_plugin. Da habe ich aber nichts geändert oder so.

    Könnt ihr bitte einen Blick draufwerfen??

    Code:
    2015-02-25 09:20:16 ERROR    Main         Item item.type: problem creating: could not convert string to float: 
    2015-02-25 09:20:17 WARNING  system.datum_uhrzeit.sonne.position Item system.datum_uhrzeit.sonne.position: value (2.3335578441619873, 0.3712237775325775) does not match type num. Via Init None
    2015-02-25 09:20:32 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 09:25:31 ERROR    Luxtronic2   Method Luxtronic2 exception: error receiving answer: timeout
    Traceback (most recent call last):
      File "/usr/smarthome/plugins/luxtronic2/__init__.py", line 106, in _request
        answer = self._sock.recv(length)
    socket.timeout: timed out
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/luxtronic2/__init__.py", line 265, in _refresh
        self.refresh_calculated()
      File "/usr/smarthome/plugins/luxtronic2/__init__.py", line 204, in refresh_calculated
        answer = self._request(request, 12)
      File "/usr/smarthome/plugins/luxtronic2/__init__.py", line 109, in _request
        raise luxex("error receiving answer: timeout")
    plugins.luxtronic2.luxex: error receiving answer: timeout
    2015-02-25 09:25:32 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 09:30:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 09:35:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 09:40:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 09:45:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 09:50:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 09:55:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:00:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:05:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:10:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:15:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:20:34 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:25:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:30:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:35:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:40:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:45:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:50:34 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 10:55:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:00:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:05:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:10:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:15:34 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:20:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:25:34 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:30:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:35:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:40:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:45:33 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:50:34 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 11:55:34 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    2015-02-25 12:00:34 ERROR    SQLite dump  Method SQLite dump exception: could not convert string to float: 
    Traceback (most recent call last):
      File "/usr/smarthome/lib/scheduler.py", line 344, in _task
        obj()
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
        self.update_item(item)
      File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
        val = float(item())
    ValueError: could not convert string to float: 
    Init SmartHome.py 1.0-35-gf62db45+
    Init SmartHome.py 1.0-35-gf62db45+
    Init SmartHome.py 1.0-35-gf62db45+
    Init SmartHome.py 1.0-35-gf62db45+
    Init SmartHome.py 1.0-35-gf62db45+
    Init SmartHome.py 1.0-35-gf62db45+
    Init SmartHome.py 1.0-35-gf62db45+

    #2
    Hallo,

    aus meiner Sicht schaut das wie folgt aus:

    Normalerweise wird über die Socketverbindung Werte (float) geschickt und in die Datenbank geschrieben. Die Verbindung bekommt einen Timeout, der nicht abgefangen ist, sondern die Fehlermeldung als Textstring zurückschickt. Diese passt natürlich nicht zum erwarteten Typ der Daten und damit geht auch sqlite in eine exception.

    Hier sollte der Timeout im Plugin sinnvoll abgefangen werden.

    Michel

    Kommentar


      #3
      Wow, danke!

      Ich versteh leider nur Bahnhof...

      Das Plugin läuft seit ca. 2 Wochen. Bis jetzt gabs da nie Probleme. Was kann ich da als absoluter Anfänger tun? Plugin deaktivieren?

      Kommentar


        #4
        ...sorry dass ich Dich da überfahren habe. Aus meiner Sicht sollte der Owner des Plugins mal reinschauen. Im Grunde sind wahrscheinlich einfach Fehlerbedingungen, die zwar selten passieren, aber doch passieren können, nicht vollständig "versorgt".

        Michel

        Kommentar


          #5
          Kein Problem, bin ja für jede Antwort dankbar.

          Kann ich bis zur Lösung des Problems das Plugin, oder die items irgendwie deaktivieren, dass ich meine Visu wieder nutzen kann??

          Kommentar


            #6
            Ja klar,

            in der plugin.conf das luxtronic2_plugin auskommentieren. Geht mit '#' am Zeilenanfang und dann smarthome neu starten.

            Michel

            PS: Aber schau einmal, ob bei deinem Netzwerk / Gegenstelle nicht auch etwas nicht verändert hat (switch, router, kabel usw.)

            Kommentar


              #7
              Das auskommentieren mit # hat leider nichts gebracht.
              Beim Start immer noch der Error.

              Was kann ich noch versuchen?

              Kommentar


                #8
                ...dann ganz von vorne, bitte mal Deine Konfig (Items, plugins, etc), wo es um das Thema geht..
                Im Moment kann ich da nicht wirklich was erkennen......

                Kommentar


                  #9
                  Erstmal Danke fürs Zeit nehnmen!

                  Im Smartcontrol ist mir was aufgefallen:

                  Code:
                  owhttpd ist [stopped]
                  owserver ist [stopped]
                  Meine Plugin.conf

                  Code:
                  # plugin.conf
                  
                  [knx]
                     class_name = KNX
                     class_path = plugins.knx
                  #   host = 127.0.0.1
                  #   port = 6720
                  #   send_time = 600 # update date/time every 600 seconds, default none
                  #   time_ga = 1/1/1 # default none
                  #   date_ga = 1/1/2 # default none
                  
                  [visu]
                      class_name = WebSocket
                      class_path = plugins.visu
                  #   ip='0.0.0.0'
                  #   port=2424
                  #   acl = ro
                      smartvisu_dir = /var/www/smartvisu
                  
                  [cli]
                      class_name = CLI
                      class_path = plugins.cli
                      ip = 0.0.0.0
                      update = True
                  
                  [sql]
                      class_name = SQL
                      class_path = plugins.sqlite
                  
                  #[ow]
                  #    class_name = OneWire
                  #    class_path = plugins.onewire
                  #    host = 127.0.0.1
                  #    port = 4304
                  [uzsu]
                  
                      class_name = UZSU
                  
                      class_path = plugins.uzsu
                  
                  [smarttv]
                      class_name = SmartTV
                      class_path = plugins.smarttv
                      host = 192.168.001.023
                    #  port = 55000
                    #  tvid = 1
                  
                  # [luxtronic2]
                  # class_name = Luxtronic2
                  # class_path = plugins.luxtronic2
                  # host = 192.168.1.11
                  # port = 8888
                  Und die items im Zusammenhang mit dem plugin

                  Code:
                  [temperatur]
                      	
                  	
                  	[[warmwasser_ist]]
                          type = num
                          lux2 = 17
                          sqlite = yes
                  	visu_acl = rw
                  	[[[warmwasser_ist_berechnung]]]
                  		type = num
                  		visu_acl = rw
                  		eval = (sh.temperatur.warmwasser_ist())/10.0
                  		eval_trigger = temperatur.warmwasser_ist
                  		sqlite = yes
                  
                  	[[vorlauf]]
                          type = num
                          lux2 = 10
                          sqlite = yes
                  	visu_acl = rw            
                  
                  	[[ruecklauf]]
                          type = num
                          lux2 = 11
                          sqlite = yes
                  	visu_acl = rw
                  
                  	[[ruecklauf_soll]]
                          type = num
                          lux2 = 12
                          sqlite = yes
                  	visu_acl = rw
                  
                  	[[heissgas]]
                          type = num
                          lux2 = 14
                          sqlite = yes
                  	visu_acl = rw
                  	[[[heissgas_berechnung]]]
                  		type = num
                  		visu_acl = rw
                  		eval = sh.temperatur.heissgas()/10.0
                  		eval_trigger = temperatur.heissgas
                  		sqlite = yes
                  
                  	[[aussen]]
                          type = num
                          lux2 = 15
                          sqlite = yes
                  	visu_acl = rw
                  
                  	[[mittel]]
                          type = num
                          lux2 = 16
                          sqlite = yes
                  	visu_acl = rw
                  	[[[mittel_berechnung]]]
                  		type = num
                  		visu_acl = rw
                  		eval = (sh.temperatur.mittel())/10.0
                  		eval_trigger = temperatur.mittel
                  		sqlite = yes
                  
                  	
                  
                  	[[warmwasser_soll]]
                          type = num
                          lux2 = 18
                          sqlite = yes
                  	[[[warmwasser_soll_berechnung]]]
                  		type = num
                  		visu_acl = rw
                  		eval = (sh.temperatur.warmwasser_soll())/10.0
                  		eval_trigger = temperatur.warmwasser_soll
                  		sqlite = yes
                  	
                  
                  	[[waermequelle_ein]]
                          type = num
                          lux2 = 19
                          sqlite = yes
                  	
                  
                  	[[waermequelle_aus]]
                          type = num
                          lux2 = 20
                          sqlite = yes
                  	
                  
                  	[[zuluft]]
                          type = num
                          lux2 = 159
                          sqlite = yes
                  	
                  	[[[zuluft_berechnung]]]
                  		type = num
                  		visu_acl = rw
                  		eval = sh.temperatur.zuluft()/10.0
                  		eval_trigger = temperatur.zuluft
                  		sqlite = yes
                  [stunden]
                  
                  	[[verdichter]]
                  	type = num
                          lux2 = 56
                          sqlite = yes
                  	[[[verdichter_berechnung]]]
                  		type = num
                  		visu_acl = rw
                  		eval = (sh.stunden.verdichter())/3600.0
                  		eval_trigger = stunden.verdichter
                  
                  	[[verdichter_impulse]]
                  	type = num
                          lux2 = 57
                          sqlite = yes
                  	
                  	[[zusatzheizung]]
                  	type = num
                          lux2 = 60
                          sqlite = yes
                  	[[[zusatzheizung_berechnung]]]
                  		type = num
                  		visu_acl = rw
                  		eval = (sh.stunden.zusatzheizung())/3600.0
                  		eval_trigger = stunden.zusatzheizung
                  
                  
                  	[[waermepumpe]]
                  	type = num
                          lux2 = 63
                          sqlite = yes
                  	[[[waermepumpe_berechnung]]]
                  		type = num
                  		visu_acl = rw
                  		eval = (sh.stunden.waermepumpe())/3600.0
                  		eval_trigger = stunden.waermepumpe
                  
                  
                  	[[heizung]]
                  	type = num
                          lux2 = 64
                          sqlite = yes
                  	[[[heizung_berechnung]]]
                  		type = num
                  		# visu_acl = rw
                  		eval = (sh.stunden.heizung())/3600.0
                  		eval_trigger = stunden.heizung
                  
                  	[[warmwasser]]
                  	type = num
                          lux2 = 65
                          sqlite = yes
                  	[[[warmwasser_berechnung]]]
                  		type = num
                  		visu_acl = rw
                  		eval = (sh.stunden.warmwasser())/3600.0
                  		eval_trigger = stunden.warmwasser

                  Kommentar


                    #10
                    Hi,

                    poste doch bitte mal ein Debug-Log.

                    Bis bald

                    Marcus

                    Kommentar


                      #11
                      Wenn ich smarthome.py -d starte, passiert leider nichts, außer

                      Code:
                      SmartHome.py already running with pid 1973
                      Run 'smarthome.py -s' to stop it.

                      Kommentar


                        #12
                        Hallo Max,

                        hast Du auch gelesen was Du gepostet hast?

                        Bis bald

                        Marcus

                        Kommentar


                          #13
                          Ja, aber die smarthome.log Datei ist so wie im 1. Beitrag.

                          Kommentar


                            #14
                            Zitat von Max2612 Beitrag anzeigen
                            Ja, aber die smarthome.log Datei ist so wie im 1. Beitrag.
                            Klar ist sie gleich, denn Du hast offensichtlich eine Instanz von smarthome laufen, so dass ein erneuter Aufruf mit der Meldung quittiert wird, die Du zitiert hast und die Änderungen an der Config-Datei hat erst einmal keine Auswirkung.

                            Was Marcus meinte: zuerst die alte Instanz durch Aufruf von smarthome.py -s stoppen, dann mit smarthome.py -d starten und die Logdatei sollte sich geändert haben.

                            Nach dem Stoppen am Besten mit ps -aux kontrollieren, dass auch wirklich keine Instanz mehr läuft.
                            Greetings, Torsten

                            Kommentar


                              #15
                              So, ich hab jetzt das Image neu installiert.
                              EIBD funktioniert, aber sh immer noch nicht. Bei jedem Start websocket ERROR.

                              Was mir aufgefallen ist, ist das Datum rechts oben. Die Uhrzeit stimmt, aber das Datum ist 01.01. Weil ich gelesen habe, das sh.py mit falschem Datum nicht funktioniert, wollte ich mit
                              Code:
                              date -s "26 FEB 2015 16:00:00"
                              Datum und Zeit setzen. Das ergibt diesen Fehler: date: cannot set date: Operation not permitted

                              Und im Log ist nur:
                              Code:
                              Init SmartHome.py 1.0-5-g5300605
                              Init SmartHome.py 1.0-5-g5300605
                              Init SmartHome.py 1.0-5-g5300605
                              Init SmartHome.py 1.0-5-g5300605
                              Habt ihr noch Tipps?

                              Kommentar

                              Lädt...
                              X