Ankündigung

Einklappen
Keine Ankündigung bisher.

- √ - threshold

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

    - √ - threshold

    Hallo an alle

    Ist ein super forum und ich habe schon viele Prbleme dadurch lösen können aber nun komme ich im moment nicht weiter - will auf python 3 umsteigen und einiges verändern (Vieleicht habe ich auch ein brett vor den Kopf)

    Möchte threshold verwenden und bekomme immer Fehler

    Item auszug

    [[[temp]]]
    visu_acl = rw
    value = 0
    threshold = 3 : 4
    ow_addr = 28.FB77AF040000
    ow_sensor = T12

    Fehler

    2014-02-06 11:40:03,216 ERROR Main Item HZ.WF.temp: problem creating: Single '}' encountered in format string -- item.py:__init__:221

    wenn ich es in klammern oder hochkomma setze

    2014-02-06 12:00:43,605 ERROR Main Item HZ.WF.temp: problem creating: could not convert string to float: '[13] ' -- item.py:__init__:221

    hat jemand eine Idee

    Lg Georg

    #2
    Hallo Georg,

    threshold = 3:4

    die Leerzeichen sind/waren das Problem. Mit dem nächsten Release wird dieser Eingabefehler abgefangen.

    Bis bald

    Marcus

    Kommentar


      #3
      threshold

      Hallo Markus

      Danke für deine AW habe gerade das nochmals probiert ,diese konstellation hatte ich auch schon, selbes problem noch immer
      Fehler gleich beim start
      Vieleicht noch eine Idee ? oder vieleicht neu installieren (ist ja nur mein test system)

      Log:
      2014-02-06 21:53:06,037 INFO Main Start SmartHome.py 1.0-26-gc0281f6+ -- smarthome.py:__init__:231
      2014-02-06 21:53:06,041 DEBUG Main Python 3.2.3 -- smarthome.py:__init__:232
      2014-02-06 21:53:06,047 INFO Main Init Scheduler -- scheduler.py:__init__:86
      2014-02-06 21:53:06,052 INFO Main Init Plugins -- smarthome.py:start:274
      2014-02-06 21:53:06,068 DEBUG Scheduler creating 5 workers -- scheduler.py:run:93
      2014-02-06 21:53:06,074 DEBUG Main Plugin: knx -- plugin.py:__init__:43
      2014-02-06 21:53:06,097 DEBUG Main Plugin: ow -- plugin.py:__init__:43
      2014-02-06 21:53:06,119 DEBUG Main Plugin: cli -- plugin.py:__init__:43
      2014-02-06 21:53:06,134 DEBUG Main Plugin: visu -- plugin.py:__init__:43
      2014-02-06 21:53:06,227 DEBUG Main Plugin: mail -- plugin.py:__init__:43
      2014-02-06 21:53:06,397 INFO Main Init Items -- smarthome.py:start:280
      2014-02-06 21:53:06,717 DEBUG Main Item env.core: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:06,761 DEBUG Main Item env.location: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:06,781 DEBUG Main Item env.system: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:06,784 DEBUG Main Item env: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:06,806 DEBUG Main Item Error.Active: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:06,821 DEBUG Main Item Error.Messages: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:06,825 DEBUG Main Item Error: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:06,849 DEBUG Main Item HZ.HZ: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:06,861 DEBUG Main Item HZ.AS: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:06,928 INFO Main 1-Wire: unknown sensor specified for HZ.WZ.voltage using path: /20.ED2209000000/VD -- __init__.pyarse_item:478
      2014-02-06 21:53:06,937 DEBUG Main Item HZ.WZ: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:07,005 INFO Main 1-Wire: unknown sensor specified for HZ.EZ.voltage using path: /20.ED2209000000/VC -- __init__.pyarse_item:478
      2014-02-06 21:53:07,014 DEBUG Main Item HZ.EZ: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:07,083 INFO Main 1-Wire: unknown sensor specified for HZ.KU.voltage using path: /20.ED2209000000/VB -- __init__.pyarse_item:478
      2014-02-06 21:53:07,091 DEBUG Main Item HZ.KU: no type specified. -- item.py:__init__:241
      2014-02-06 21:53:07,133 ERROR Main Item HZ.WF.temp: problem creating: Single '}' encountered in format string -- item.py:__init__:220


      Danke Georg

      Kommentar


        #4
        Hi Georg,

        drei Dinge:

        Ändere bitte mal in lib/item.py Zeile 221
        Code:
        logger.error("Item {}: problem creating: {}".format(child_path, e))
        in
        Code:
        logger.exception("Item {}: problem creating: {}".format(child_path, e))
        Wie sieht Deine komplettes Configfile aus?

        Was sagt
        Code:
        git diff
        im smarthome-Ordner?

        Bis bald

        Marcus

        Kommentar


          #5
          Hallo Marcus

          Habe logics disabled diverse parameter der items disabled aber noch immer selbes Problem.
          anbei die noch aktiven cobfigs

          Code:
          # smarthome.conf
          lat = 46.6279
          lon = 14.3090
          elev = 454
          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
          [ow]
              class_name = OneWire
              class_path = plugins.onewire
              cycle = 150
          #    host = 127.0.0.1
          #    port = 4304
          [cli]
              class_name = CLI
              class_path = plugins.cli
              ip = 0.0.0.0
              update = True
          [visu]
              class_name = WebSocket
              class_path = plugins.visu
          #   ip=0.0.0.0
          #   port=2424
              smartvisu_dir = /var/www/smartvisu
          [mail]
              class_name = SMTP
              class_path = plugins.mail
              host = smtp.net4you.at
              mail_from = [EMAIL="raspihtr@noreply.com"]raspihtr@noreply.com[/EMAIL]
           
           
          #[sql]
          #    class_name = SQL
          #    class_path = plugins.sqlite
          #[rrd]
          #    class_name = RRD
          #    class_path = plugins.rrd
          #    step = 300
          # conf2-1.0.sh - marker to run conversion script only once
          die items heizung.conf
          Code:
          [HZ]
                  [[HZ]]                                   #switch 1.1.31 GA 1/1/200 Channel A1
                      [[[all]]]
                          type = bool
                          knx_dpt = 1
                          knx_send = 1/1/200
                          enforce_updates = on
                          eval_trigger = HZ.HZ.all.mode()
                              [[[[mode]]]]
                                 type = num
                                 visu_acl = rw
                      [[[active]]]
                          type = num
                          value = 0
                          visu_acl = rw
                  [[AS]]
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.4D4684040000
                          ow_sensor = T12
                  [[WZ]]
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          value = 0
                          visu_acl = rw
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]                         #switch 1.1.31 GA 1/1/201 Channel A2
                          visu_acl = rw
                          type = num
                          ow_addr = 28.7D0684040000
                          ow_sensor = T12
          #           [[[voltage]]]
          #                visu_acl = rw
          #                type = num
          #                ow_addr = 20.ED2209000000
          #                ow_sensor = VD         #volt2.D
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/201
          #
                  [[EZ]]                                 #switch 1.1.31 GA 1/1/202 Channel A3
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          value = 0
                          visu_acl = rw
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.D19684040000
                          ow_sensor = T12
          #            [[[voltage]]]
          #                visu_acl = rw
          #                type = num
          #                ow_addr = 20.ED2209000000
          #                ow_sensor = VC #volt2.C
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/202
          #
                  [[KU]]                                     #switch 1.1.31 GA 1/1/203 Channel A4
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          value = 0
                          visu_acl = rw
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.549784040000
                          ow_sensor = T12
          #            [[[voltage]]]
          #                visu_acl = rw
          #                type = num
          #                ow_addr = 20.ED2209000000
          #                ow_sensor = VB #volt2.B
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/203
          #
                  [[WF]]                                  #switch 1.1.31 GA 1/1/204 Channel A5
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          value = 0
                          visu_acl = rw
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                          value = 0
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                          value = 0
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.FB77AF040000
                          ow_sensor = T12
                          threshold = 13.5:14.0
          #               eval_trigger = HZ.WF.schalten
          #            [[[voltage]]]
          #                visu_acl = rw
          #                type = num
          #                ow_addr = 20.ED2209000000
          #                ow_sensor = VA         #volt2.A
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/204
          #                threshold =14
          #                eval = (sh.HZ.WF.temp() < sh.HZ.WF.setmax() or sh.HZ.WF.setmax() < sh.HZ.WF.temp())  # and HZ.WF.mode() > 0
          #                eval_trigger = HZ.WF.temp | HZ.WF.setmin | HZ.WF.setmax | HZ.WF.mode()
          #                enforce_updates=on
          #
                  [[VRUG]]                                 #switch 1.1.31 GA 1/1/205 Channel A6
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          value = 0
                          visu_acl = rw
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                           type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.2872AF040000
                          ow_sensor = T12
                      [[[voltage]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.F094AF040000
                          ow_sensor = T12                 # Thermosensor 18B20
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/205
          #
                  [[VROG]]                                 #switch 1.1.31 GA 1/1/206 Channel A7
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          value = 0
                          visu_acl = rw
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.6FB883040000
                          ow_sensor = T12
          #            [[[voltage]]]
          #                visu_acl = rw
          #                type = num
          #                ow_addr = 20.3B0C09000000
          #                ow_sensor = VD #volt2.D
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/206
          #
                  [[ZS]]                                 #switch 1.1.31 GA 1/1/207 Channel A8
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          value = 0
                          visu_acl = rw
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.F50884040000
                          ow_sensor = T12
          #            [[[voltage]]]
          #                visu_acl = rw
          #                type = num
          #                ow_addr = 20.3B0C09000000
          #                ow_sensor = VC #volt2.C
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/207
                  [[ZSW]]                             #switch 1.1.31 GA 1/1/208 Channel A9
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          value = 0
                          visu_acl = rw
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.84B884040000
                          ow_sensor = T12
          #            [[[voltage]]]
          #                visu_acl = rw
          #                type = num
          #                ow_addr = 20.3B0C09000000
          #                ow_sensor = VB         #volt2.B
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/208
          #
                  [[ZW]]                                #switch 1.1.31 GA 1/1/209Channel A10
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          visu_acl = rw
                          value = 0
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.0973AF040000
                          ow_sensor = T12
          #            [[[voltage]]]
          #                visu_acl = rw
          #                type = num
          #                ow_addr = 20.3B0C09000000
          #                ow_sensor = VA         #volt2.A
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/209
          #
                  [[ZN]]                                #switch 1.1.31 GA 1/1/210 Channel A11
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          visu_acl = rw
                          value = 0
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.FBB1AF040000
                          ow_sensor = T12
          #            [[[voltage]]]
          #                visu_acl = rw
          #                type = num
          #                ow_addr = 20.8D1F09000000
          #                ow_sensor = VD #volt2.D
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/210
          #
                  [[BZ]]                                       #switch 1.1.31 GA 1/1/211 Channel A12
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          visu_acl = rw
                          value = 0
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.0981AF040000
                          ow_sensor = T12
          #            [[[voltage]]]
          #                visu_acl = rw
          #                type = num
          #                ow_addr = 20.8D1F09000000
          #                ow_sensor = VC         #volt2.C
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/211
          #
                   [[BZZH]]                                   #switch 1.1.31 GA 1/1/212 Channel A13
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.0981AF040000
                          ow_sensor = T
                          enforce_updates=on
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/212
                  [[BO]]                                    #switch 1.1.31 GA 1/1/213 Channel A14
                      [[[mode]]]
                          type = num
                          visu_acl = rw
                      [[[active]]]
                          type = num
                          visu_acl = rw
                          value = 0
                      [[[setmin]]]
                          type = num
                          visu_acl = rw
                      [[[setmax]]]
                          type = num
                          visu_acl = rw
                      [[[set2min]]]
                          type = num
                          visu_acl = rw
                      [[[set2max]]]
                          type = num
                          visu_acl = rw
                      [[[setamax]]]
                          type = num
                          visu_acl = rw
                          value = 60
                      [[[setamax2]]]
                          type = num
                          visu_acl = rw
                          value = 60
                      [[[temp]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.924084040000
                          ow_sensor = T12
          #                enforce_updates=on
                          cycle = 60
                      [[[temp2]]]
                          visu_acl = rw
                          type = num
                          ow_addr = 28.EB9EAF040000
                          ow_sensor = T12
                          cycle = 60
                      [[[schalten]]]
                          type = bool
                          visu_acl = rw
                          knx_dpt = 1
                          knx_send = 1/1/213
          # conf2-1.0.sh - marker to run conversion script only once
          git diff
          Code:
          diff --git a/lib/item.py b/lib/item.py
          index f1f0400..e5e568f 100755
          --- a/lib/item.py
          +++ b/lib/item.py
          @@ -24,7 +24,6 @@ import logging
          import os
          import pickle
          import threading
          -
          logger = logging.getLogger('')
           
          @@ -218,7 +217,8 @@ class Item():
          try:
          child = Item(smarthome, self, child_path, value)
          except Exception as e:
          - logger.error("Item {}: problem creating: {}".format(child_path, e))
          +# logger.error("Item {}: problem creating: {}".format(child_path, e))
          + logger.exception("Item {}: problem creating: {}".format(child_path, e))
          else:
          vars(self)[attr] = child
          smarthome.add_item(child_path, child)
          die error messages
          Code:
          root@smarthome.local:smarthome# cat var/log/smarthome.log |grep ERR
          2014-02-07 13:16:03,571 ERROR Main Item HZ.WF.temp: problem creating: Single '}' encountered in format string -- item.py:__init__:221
          log
          Code:
          2014-02-07 13:16:02,618 INFO Main Start SmartHome.py 1.0-26-gc0281f6+ -- smarthome.py:__init__:231
          2014-02-07 13:16:02,622 DEBUG Main Python 3.2.3 -- smarthome.py:__init__:232
          2014-02-07 13:16:02,636 INFO Main Init Scheduler -- scheduler.py:__init__:86
          2014-02-07 13:16:02,641 INFO Main Init Plugins -- smarthome.py:start:274
          2014-02-07 13:16:02,648 DEBUG Scheduler creating 5 workers -- scheduler.py:run:93
          2014-02-07 13:16:02,666 DEBUG Main Plugin: knx -- plugin.py:__init__:43
          2014-02-07 13:16:02,698 DEBUG Main Plugin: ow -- plugin.py:__init__:43
          2014-02-07 13:16:02,720 DEBUG Main Plugin: cli -- plugin.py:__init__:43
          2014-02-07 13:16:02,732 DEBUG Main Plugin: visu -- plugin.py:__init__:43
          2014-02-07 13:16:02,816 DEBUG Main Plugin: mail -- plugin.py:__init__:43
          2014-02-07 13:16:02,980 INFO Main Init Items -- smarthome.py:start:280
          2014-02-07 13:16:03,246 DEBUG Main Item env.core: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,287 DEBUG Main Item env.location: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,307 DEBUG Main Item env.system: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,310 DEBUG Main Item env: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,329 DEBUG Main Item Error.Active: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,345 DEBUG Main Item Error.Messages: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,348 DEBUG Main Item Error: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,377 DEBUG Main Item HZ.HZ: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,389 DEBUG Main Item HZ.AS: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,434 DEBUG Main Item HZ.WZ: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,479 DEBUG Main Item HZ.EZ: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,525 DEBUG Main Item HZ.KU: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,571 ERROR Main Item HZ.WF.temp: problem creating: Single '}' encountered in format string -- item.py:__init__:221
          Traceback (most recent call last):
          File "/usr/smarthome/lib/item.py", line 218, in __init__
          child = Item(smarthome, self, child_path, value)
          File "/usr/smarthome/lib/item.py", line 208, in __init__
          logger.debug("Item {}: set threshold => low: {} high: {}}".format(self._path, self.__th_low, self.__th_high))
          ValueError: Single '}' encountered in format string
          2014-02-07 13:16:03,589 DEBUG Main Item HZ.WF: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,638 DEBUG Main Item HZ.VRUG: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,683 DEBUG Main Item HZ.VROG: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,728 DEBUG Main Item HZ.ZS: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,777 DEBUG Main Item HZ.ZSW: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,820 DEBUG Main Item HZ.ZW: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,864 DEBUG Main Item HZ.ZN: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,908 DEBUG Main Item HZ.BZ: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:03,947 DEBUG Main Item HZ.BZZH: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:04,023 DEBUG Main HZ.BO.temp next time: 2014-02-07 13:16:15+01:00 -- scheduler.py:_next_time:289
          2014-02-07 13:16:04,033 DEBUG Main HZ.BO.temp2 next time: 2014-02-07 13:16:17+01:00 -- scheduler.py:_next_time:289
          2014-02-07 13:16:04,041 DEBUG Main Item HZ.BO: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:04,045 DEBUG Main Item HZ: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:04,078 DEBUG Main Item IOstate: no type specified. -- item.py:__init__:242
          2014-02-07 13:16:04,098 INFO Main Start Plugins -- plugin.py:start:65
          2014-02-07 13:16:04,108 DEBUG ow 1w-disc next time: 2014-02-07 13:16:06+01:00 -- scheduler.py:_next_time:289
          2014-02-07 13:16:04,126 INFO Main Start Logics -- logic.py:__init__:33
          2014-02-07 13:16:04,129 DEBUG Main Reading Logics from /usr/smarthome/lib/env/logic_conf -- logic.py:_read_logics:64
          2014-02-07 13:16:04,170 DEBUG Main Reading Logics from /usr/smarthome/etc/logic.conf -- logic.py:_read_logics:64
          2014-02-07 13:16:04,174 CRITICAL Main [Errno 2] No such file or directory: '/usr/smarthome/etc/logic.conf' -- logic.py:_read_logics:71
          2014-02-07 13:16:04,179 DEBUG Main Logic: env_init -- logic.py:__init__:44
          2014-02-07 13:16:04,254 DEBUG Main Logic: env_stat -- logic.py:__init__:44
          2014-02-07 13:16:04,309 DEBUG Main env_stat next time: 2014-02-07 13:16:18+01:00 -- scheduler.py:_next_time:289
          2014-02-07 13:16:04,313 DEBUG Main Logic: env_loc -- logic.py:__init__:44
          2014-02-07 13:16:04,405 DEBUG Connections KNX: connected to 127.0.0.1:6720 -- connection.py:connect:386
          2014-02-07 13:16:04,409 DEBUG Connections KNX: enable group monitor -- __init__.py:handle_connect:117
          2014-02-07 13:16:04,415 INFO Connections 1-Wire: connected to 127.0.0.1:4304 -- __init__.py:connect:66
          2014-02-07 13:16:04,423 DEBUG Connections CLI: binding to 0.0.0.0:2323 (TCP) -- connection.py:connect:161
          2014-02-07 13:16:04,428 DEBUG Connections WebSocket: binding to 0.0.0.0:2424 (TCP) -- connection.py:connect:161
          2014-02-07 13:16:06,783 DEBUG Scheduler 1w-disc next time: 2014-02-07 13:26:06+01:00 -- scheduler.py:_next_time:289
          2014-02-07 13:16:07,299 INFO 1w-disc 1-Wire: unknown sensor 20.8D1F09000000 DS2450 -- __init__.py:identify_sensor:224
          2014-02-07 13:16:07,329 INFO 1w-disc 1-Wire: unknown sensor 20.ED2209000000 DS2450 -- __init__.py:identify_sensor:224
          2014-02-07 13:16:07,339 INFO 1w-disc 1-Wire: unknown sensor 20.3B0C09000000 DS2450 -- __init__.py:identify_sensor:224
          2014-02-07 13:16:07,349 INFO 1w-disc 1-Wire: 28.F094AF040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,360 INFO 1w-disc 1-Wire: 28.2872AF040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,370 INFO 1w-disc 1-Wire: 28.84B884040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,381 INFO 1w-disc 1-Wire: 28.549784040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,391 INFO 1w-disc 1-Wire: 28.924084040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,400 INFO 1w-disc 1-Wire: 28.D19684040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,411 INFO 1w-disc 1-Wire: 28.0981AF040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,420 INFO 1w-disc 1-Wire: 28.0973AF040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,430 INFO 1w-disc 1-Wire: 28.F50884040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,440 INFO 1w-disc 1-Wire: 28.4D4684040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,450 INFO 1w-disc 1-Wire: 28.7D0684040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,460 INFO 1w-disc 1-Wire: 28.EB9EAF040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,470 INFO 1w-disc 1-Wire: 28.FBB1AF040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,480 INFO 1w-disc 1-Wire: 28.FB77AF040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,490 INFO 1w-disc 1-Wire: 28.6FB883040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:431
          2014-02-07 13:16:07,617 DEBUG ow 1w-sen next time: 2014-02-07 13:16:07+01:00 -- scheduler.py:_next_time:289
          2014-02-07 13:16:08,299 DEBUG Scheduler 1w-sen next time: 2014-02-07 13:18:38+01:00 -- scheduler.py:_next_time:289
          2014-02-07 13:16:08,548 DEBUG 1w-sen Item HZ.ZSW.temp = 16.5625 via 1-Wire /bus.0/28.84B884040000/temperature12 None -- item.py:__update:363
          2014-02-07 13:16:09,313 DEBUG env_init Item env.core.version = 1.0-26-gc0281f6+ via Logic None None -- item.py:__update:363
          2014-02-07 13:16:09,324 DEBUG env_init Item env.core.start = 2014-02-07 13:16:09.320973+01:00 via Logic None None -- item.py:__update:363
          2014-02-07 13:16:09,317 DEBUG 1w-sen Item HZ.ZW.temp = 16.25 via 1-Wire /bus.0/28.0973AF040000/temperature12 None -- item.py:__update:363
          2014-02-07 13:16:09,338 DEBUG env_init Item env.system.name = smarthome.local via Logic None None -- item.py:__update:363
          2014-02-07 13:16:09,348 DEBUG env_init Item env.system.start = 2014-02-06 22:15:59.345057+01:00 via Logic None None -- item.py:__update:363
          2014-02-07 13:16:09,903 DEBUG sh.gc Garbage collector: collected 0 objects. -- smarthome.py:_garbage_collection:498
          2014-02-07 13:16:09,917 DEBUG env_loc Item env.location.sunrise = 2014-02-08 07:17:14.599543+01:00 via Logic None None -- item.py:__update:363
          2014-02-07 13:16:09,962 DEBUG env_loc Item env.location.sunset = 2014-02-07 17:15:41.346451+01:00 via Logic None None -- item.py:__update:363
          2014-02-07 13:16:10,052 DEBUG env_loc Item env.location.moonrise = 2014-02-08 11:53:05.248043+01:00 via Logic None None -- item.py:__update:363
          2014-02-07 13:16:10,093 DEBUG 1w-sen Item HZ.EZ.temp = 21.1875 via 1-Wire /bus.0/28.D19684040000/temperature12 None -- item.py:__update:363
          2014-02-07 13:16:10,140 DEBUG env_loc Item env.location.moonset = 2014-02-08 02:19:04.061467+01:00 via Logic None None -- item.py:__update:363
          2014-02-07 13:16:10,179 DEBUG env_loc Item env.location.moonphase = 2 via Logic None None -- item.py:__update:363
          2014-02-07 13:16:10,214 DEBUG sh.gc Object references: 9164 -- smarthome.py:_maintenance:490
          2014-02-07 13:16:10,233 DEBUG env_loc Item env.location.day = True via Logic None None -- item.py:__update:363
          2014-02-07 13:16:10,383 DEBUG Scheduler env_loc next time: 2014-02-07 13:46:10+01:00 -- scheduler.py:_next_time:289
          2014-02-07 13:16:10,404 DEBUG Scheduler sh.gc next time: 2014-02-08 02:04:00+01:00 -- scheduler.py:_next_time:289
          2014-02-07 13:16:10,875 DEBUG 1w-sen Item HZ.KU.temp = 21.3125 via 1-Wire /bus.0/28.549784040000/temperature12 None -- item.py:__update:363
          2014-02-07 13:16:11,634 DEBUG 1w-sen Item HZ.BZZH.temp = 20.8125 via 1-Wire /bus.0/28.0981AF040000/temperature None -- item.py:__update:363
          2014-02-07 13:16:12,394 DEBUG 1w-sen Item HZ.BZ.temp = 20.875 via 1-Wire /bus.0/28.0981AF040000/temperature12 None -- item.py:__update:363
          2014-02-07 13:16:13,167 DEBUG 1w-sen Item HZ.VRUG.temp = 19.625 via 1-Wire /bus.0/28.2872AF040000/temperature12 None -- item.py:__update:363
          2014-02-07 13:16:13,929 DEBUG 1w-sen Item HZ.ZS.temp = 17.4375 via 1-Wire /bus.0/28.F50884040000/temperature12 None -- item.py:__update:363
          2014-02-07 13:16:14,691 DEBUG 1w-sen Item HZ.AS.temp = 6.5625 via 1-Wire /bus.0/28.4D4684040000/temperature12 None -- item.py:__update:363
          Nachträglich noch die anderen items disabled nur heizung aktive - keine verbesserung.
          Noch eine Idee ?

          Danke und beste Grüße aus Kärnten
          Georg

          Kommentar


            #6
            Da war im logger Output ein "}" zuviel. Habe es aus'm develop entfernt, sollte jetzt gehen.
            Mit freundlichen Grüßen
            Niko Will

            Logiken und Schnittstelle zu anderen Systemen: smarthome.py - Visualisierung: smartVISU
            - Gira TS3 - iPhone & iPad - Mobotix T24 - ekey - Denon 2313 - Russound C5 (RIO over TCP Plugin) -

            Kommentar


              #7
              Hallo Georg,

              danke für das wertvolle Feedback.

              Es gab einen kleinen Bug, den ich dank Deiner Hilfe gefunden und gefixt habe.

              Einfach mal auf update in smartControl drücken.

              Bis bald

              Marcus

              Kommentar


                #8
                Zitat von 2ndsky Beitrag anzeigen
                Da war im logger Output ein "}" zuviel. Habe es aus'm develop entfernt, sollte jetzt gehen.
                danke. Da warst Du schneller.

                Ich habe es auch im Master gefixt.

                Bis bald

                Marcus

                Kommentar


                  #9
                  Danke einstweilen an alle, werde es später testen muss mich jetzt wieder um meinen Brotberuf kümmern

                  Georg

                  Kommentar


                    #10
                    Hi

                    OK es funktioniert nur noch eine Frage
                    Kann man es auch mit Items - Variablen verwenden ? geht bei mir nicht.

                    Georg

                    Kommentar


                      #11
                      Hi Georg,

                      falls Du mit Deiner Frage meinst, ob man die Wert während der Laufzeit über andere Items manipulieren kann: Nein.

                      Bis bald

                      Marcus

                      Kommentar

                      Lädt...
                      X