Ankündigung

Einklappen
Keine Ankündigung bisher.

- √ - Inbetriebnahme 1wire-Bus

Einklappen
Dieses Thema ist geschlossen.
X
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #61
    OK. Jetzt hab ich die angegebene Adresse mal im Schlafraum eingegeben (Dort war die Zeile vorhanden). Jetzt bekomme ich über die smartvisu ein "error loading page", wenn ich auf schlafraum gehe.

    Kommentar


      #62
      Hi Marco,

      ich kann nur helfen wenn Du mehr Input gibst.

      Also bitte SH.py Debug log und Deine aktuelle smartvisu.conf.

      Bis bald

      Marcus

      Kommentar


        #63
        Hallo Lukas,

        Zitat von lukluk Beitrag anzeigen
        hallo.muss mich mal als absoluter anfänger einklinken. wie bekomme ich dann den wert auf den knx-bus um ihn beispielsweise auf einem infodisplay oder anzeigen zu können?
        gruß
        in dem Du das KNX-Plugin konfigurierst und den Items KNX-GAs zuweist.

        Bitte hier in dem Thread keine weiteren Fragen. Wenn noch Fragen offen sind, dann mach bitte einen neuen Thread auf.

        Bis blad

        Marcus

        Kommentar


          #64
          Ich denke das ich das rcihtige hab. hier mal mein Log-file.
          2013-08-16 11:55:48 hello INFO Hello World!
          2013-08-16 12:09:43 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:54746
          2013-08-16 12:10:03 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:54757
          2013-08-16 12:10:03 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:54758
          2013-08-16 12:10:17 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:54769
          2013-08-16 12:14:02 SmartHome.py INFO Number of Threads: 7
          2013-08-16 12:14:02 SmartHome.py INFO Stop Plugins
          2013-08-16 12:14:02 SmartHome.py INFO KNX: connection to 127.0.0.1:6720 closed
          2013-08-16 12:14:02 SmartHome.py INFO SmartHome.py stopped
          2013-08-16 12:14:05 SmartHome.py INFO Start SmartHome.py 0.9-3-g3d90e39
          2013-08-16 12:14:05 SmartHome.py INFO Init Scheduler
          2013-08-16 12:14:05 SmartHome.py INFO Init Plugins
          2013-08-16 12:14:05 SmartHome.py INFO Onewire: connected to 192.168.0.152:4304
          2013-08-16 12:14:05 SmartHome.py INFO Init Items
          2013-08-16 12:14:05 SmartHome.py WARNING No ow_sensor for %s defined
          2013-08-16 12:14:05 SmartHome.py INFO Start Plugins
          2013-08-16 12:14:05 SmartHome.py INFO Start Logics
          2013-08-16 12:14:05 sh.con INFO KNX: connected to 127.0.0.1:6720
          2013-08-16 12:14:06 1w-disc INFO 1-Wire: 28.CD3AF8040000 with sensors: T11, T10, T, T12, T9
          2013-08-16 12:14:09 hello INFO Hello World!
          2013-08-16 12:14:20 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:54936
          2013-08-16 12:14:37 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:54946
          2013-08-16 12:14:45 SmartHome.py INFO Client 192.168.0.141:54946 requested invalid item: second.sleeping.temperature.avg.1h.0
          2013-08-16 12:15:20 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:54958
          2013-08-16 12:15:47 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:54980
          2013-08-16 12:16:16 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:54993
          2013-08-16 12:16:43 SmartHome.py INFO Client 192.168.0.141:54993 requested invalid item: second.sleeping.temperature.avg.1h.0
          2013-08-16 12:18:01 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:55048
          2013-08-16 12:24:06 1w-disc INFO 1-Wire: 28.5FCCF8040000 with sensors: T11, T10, T, T12, T9
          2013-08-16 12:31:22 SmartHome.py INFO Number of Threads: 7
          2013-08-16 12:31:22 SmartHome.py INFO Stop Plugins
          2013-08-16 12:31:22 SmartHome.py INFO KNX: connection to 127.0.0.1:6720 closed
          2013-08-16 12:31:23 SmartHome.py INFO SmartHome.py stopped
          2013-08-16 12:31:25 SmartHome.py INFO Start SmartHome.py 0.9-3-g3d90e39
          2013-08-16 12:31:25 SmartHome.py INFO Init Scheduler
          2013-08-16 12:31:25 SmartHome.py INFO Init Plugins
          2013-08-16 12:31:25 SmartHome.py INFO Onewire: connected to 192.168.0.152:4304
          2013-08-16 12:31:26 SmartHome.py INFO Init Items
          2013-08-16 12:31:26 SmartHome.py WARNING No ow_sensor for %s defined
          2013-08-16 12:31:26 SmartHome.py INFO Start Plugins
          2013-08-16 12:31:26 SmartHome.py INFO Start Logics
          2013-08-16 12:31:26 sh.con INFO KNX: connected to 127.0.0.1:6720
          2013-08-16 12:31:26 1w-disc INFO 1-Wire: 28.5FCCF8040000 with sensors: T11, T10, T, T12, T9
          2013-08-16 12:31:30 hello INFO Hello World!
          2013-08-16 12:31:41 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:55324
          2013-08-16 12:32:00 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:55335
          2013-08-16 13:35:32 SmartHome.py INFO Number of Threads: 7
          2013-08-16 13:35:32 SmartHome.py INFO Stop Plugins
          2013-08-16 13:35:32 SmartHome.py INFO KNX: connection to 127.0.0.1:6720 closed
          2013-08-16 13:35:32 SmartHome.py INFO SmartHome.py stopped
          2013-08-16 13:35:35 SmartHome.py INFO Start SmartHome.py 0.9-3-g3d90e39
          2013-08-16 13:35:35 SmartHome.py INFO Init Scheduler
          2013-08-16 13:35:35 SmartHome.py INFO Init Plugins
          2013-08-16 13:35:35 SmartHome.py INFO Onewire: connected to 192.168.0.152:4304
          2013-08-16 13:35:35 SmartHome.py INFO Init Items
          2013-08-16 13:35:35 SmartHome.py WARNING No ow_sensor for %s defined
          2013-08-16 13:35:35 SmartHome.py INFO Start Plugins
          2013-08-16 13:35:35 SmartHome.py INFO Start Logics
          2013-08-16 13:35:35 sh.con INFO KNX: connected to 127.0.0.1:6720
          2013-08-16 13:35:36 1w-disc INFO 1-Wire: 28.5FCCF8040000 with sensors: T11, T10, T, T12, T9
          2013-08-16 13:35:40 hello INFO Hello World!
          2013-08-16 13:35:49 SmartHome.py INFO WebSocket: incoming connection from 192.168.0.141:56129

          Und hier meine smartvisu.conf

          [first]
          [[hallway]]
          name = Hallway
          sv_page = room
          sv_img = scene_stairs.png
          [[[light]]]
          name = Light
          type = bool
          visu = yes
          sv_widget = "{{ basic.switch('item', 'item') }}"
          [[[door]]]
          name = Door
          type = bool
          visu = yes
          [[living]]
          name = Living Room
          sv_page = room
          sv_img = scene_livingroom.png
          [[[light]]]
          [[[ceiling]]]
          name = Ceiling Light
          type = bool
          visu = yes
          sv_widget = "{{ device.dimmer('item', 'item.name', 'item', 'item.level') }}"
          [[[[level]]]]
          type = num
          visu = yes
          [[[ambiant]]]
          name = Ambiant Light
          type = bool
          visu = yes
          sv_widget = "{{ basic.colordisc('item', 'item.r', 'item.g', 'item.b') }}"
          [[[[r]]]]
          type = num
          visu = yes
          [[[[g]]]]
          type = num
          visu = yes
          [[[[b]]]]
          type = num
          visu = yes
          [[[temperature]]]
          name = Temperature
          type = num
          value = 21
          history = yes
          visu = yes
          ow_addr = 28.CD3AF8040000
          sv_widget = "{{ device.rtr('item', 'item.name', 'item', 'item.set', 'item.mode', 'item.night', 'item.frost', 'item.state') }}"
          [[[[set]]]]
          type = num
          value = 20.5
          visu = yes
          [[[[mode]]]]
          type = num
          visu = yes
          [[[[night]]]]
          type = num
          visu = yes
          [[[[frost]]]]
          type = num
          visu = yes
          [[[[state]]]]
          type = num
          visu = yes
          [[[humidity]]]
          name = Humidity
          type = num
          value = 50
          history = yes
          visu = yes
          ow_addr = 28.CD3CF8040000
          ow_sensor = H
          sv_widget = "{{ plot.comfortchart('item', 'first.living.temperature', 'item') }}"
          [[[blind]]]
          name = Shutter
          sv_widget = "{{ device.shutter('item', 'item.name', 'item.move', 'item.stop', 'item.pos', '', 'item.tilt') }}"
          [[[[move]]]]
          type = num
          visu = yes
          [[[[stop]]]]
          type = num
          visu = yes
          [[[[pos]]]]
          type = num
          visu = yes
          [[[[tilt]]]]
          type = num
          visu = yes
          [[[window]]]
          name = Window
          type = bool
          visu = yes
          [[[door]]]
          name = Door
          type = bool
          visu = yes

          [second]
          [[sleeping]]
          name = Sleeping Room
          sv_page = room
          sv_img = scene_sleeping.png
          [[[light]]]
          name = Light
          type = bool
          visu = yes
          sv_widget = "{{ device.dimmer('item', 'item.name', 'item', 'item.level') }}"
          knx_dpt = 1
          knx_listen = 3/2/12
          knx_send = 3/2/12
          [[[[level]]]]
          type = num
          visu = yes
          knx_dpt = 5
          knx_listen = 3/2/14
          knx_send = 3/2/14
          [[[scence]]]
          name = Scene
          type = str
          visu = yes
          sv_widget = "{{ basic.button('item', 'item', 'item.name') }}"
          [[[temperature]]]
          name = Temperature
          type = num
          history = yes
          visu = yes
          ow_addr = 28F804000
          ow_sensor = T
          sv_widget = "{{ device.rtr('item', 'item.name', 'item', 'item.set', 'item.mode', 'item.night', 'item.frost', 'item.state') }}", " {{ plot.period('item-plot', 'item', 'avg') }}"
          [[[[set]]]]
          type = num
          visu = yes
          [[[[mode]]]]
          type = num
          visu = yes
          [[[[night]]]]
          type = num
          visu = yes
          [[[[frost]]]]
          type = num
          visu = yes
          [[[[state]]]]
          type = num
          visu = yes

          Hilft dass?

          Kommentar


            #65
            Zitat von MKempf Beitrag anzeigen
            Ich denke das ich das rcihtige hab. hier mal mein Log-file.

            [[[temperature]]]
            name = Temperature
            type = num
            history = yes
            visu = yes
            ow_addr = 28F804000
            ow_sensor = T
            sv_widget = "{{ device.rtr('item', 'item.name', 'item', 'item.set', 'item.mode', 'item.night', 'item.frost', 'item.state') }}", " {{ plot.period('item-plot', 'item', 'avg') }}"
            Wenn das Dein Eintrag ist, dann passt der von der Länge nicht. Müßte ehr
            ow_addr = 28.5FCCF8040000 heißen
            Gruß
            Georg
            Gruß
            Georg

            Kommentar


              #66
              Hi Marcos,

              verschiebe einfach die item Konfigurationen aus dem Ordner items irgendwohin oder lösche sie.

              Lege einfach mal eine neue Datei z.B. marcos.conf darin an:

              Code:
              # items/marcos.conf
              [marcos]
                      name = Marcos Sensoren
                      sv_page = room
                      sv_img = scene_livingroom.png
                  [[sensor1]]
                      name = Sensor: 28.5FCCF8040000
                      type = num
                      ow_sensor = T
                      ow_addr = 28.5FCCF8040000
                      sqlite = yes
                      visu = yes
                      sv_widget = "{{ basic.value('item', 'item') }}", "{{ plot.period('item-plot', 'item', 'avg') }}"
                  [[sensor2]]
                      name = Sensor: 28.CD3AF8040000
                      type = num
                      ow_sensor = T
                      ow_addr = 28.CD3AF8040000
                      sqlite = yes
                      visu = yes
                      sv_widget = "{{ basic.value('item', 'item') }}", "{{ plot.period('item-plot', 'item', 'avg') }}"
              Dann starte SH.py neu und versuche es erneut.

              Bis bald

              Marcus

              Kommentar


                #67
                Super! Danke dir Marcus!

                In der Smartvisu taucht der Raum auf, rechts die Kästen für die Temperaturanzeige auch, aber im Kasten steht eine 0.

                Ich hatte auch eine visu.conf im Verzeichnis. Soll die dort bleiben?

                In den Einstellungen von smartvisu hab ich bei den I/O connections smarthome.py angegeben, dass müsste ja richtig sein.

                @gekraft
                Danke dir für den Hinweis!

                Kommentar


                  #68
                  Hi Marco,



                  ohne Log bin ich blind.
                  Code:
                  /etc/init.d/smarthome.py stop
                  /usr/smarthome/bin/smarthome.py -n
                  Bitte füge das Log als Code-Block an, ist Nachrichtenfenster ein Icon mit #.

                  Ja, das andere conf file kannst Du löschen.

                  Bis bald

                  Marcus

                  Kommentar


                    #69
                    Guten Morgen Marcus!
                    Ich hoffe dass ich das richtig eingefügt habe.

                    Code:
                    2013-08-17 11:06:07,761 SmartHome.py INFO     Start SmartHome.py 0.9-3-g3d90e39+ -- smarthome.py:__init__:192
                    2013-08-17 11:06:07,766 SmartHome.py DEBUG    Python 2.7.3 -- smarthome.py:__init__:193
                    2013-08-17 11:06:07,772 SmartHome.py INFO     Init Scheduler -- scheduler.py:__init__:53
                    2013-08-17 11:06:07,778 SmartHome.py INFO     Init Plugins -- smarthome.py:__init__:208
                    2013-08-17 11:06:07,787 Scheduler    DEBUG    creating 5 workers -- scheduler.py:run:59
                    2013-08-17 11:06:07,800 SmartHome.py DEBUG    Plugin: knx -- plugin.py:__init__:42
                    2013-08-17 11:06:07,840 SmartHome.py DEBUG    Plugin: ow -- plugin.py:__init__:42
                    2013-08-17 11:06:07,858 SmartHome.py INFO     Onewire: connected to 127.0.0.1:4304 -- __init__.py:connect:67
                    2013-08-17 11:06:07,865 SmartHome.py DEBUG    Plugin: cli -- plugin.py:__init__:42
                    2013-08-17 11:06:07,878 SmartHome.py DEBUG    Plugin: visu -- plugin.py:__init__:42
                    2013-08-17 11:06:07,959 SmartHome.py DEBUG    Plugin: sql -- plugin.py:__init__:42
                    2013-08-17 11:06:07,985 SmartHome.py DEBUG    SQLite 3.7.13 -- __init__.py:__init__:60
                    2013-08-17 11:06:08,012 SmartHome.py DEBUG    sqlite next time: 2013-08-18 03:02:00+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:08,016 SmartHome.py DEBUG    Plugin: rrd -- plugin.py:__init__:42
                    2013-08-17 11:06:08,114 SmartHome.py INFO     Init Items -- smarthome.py:__init__:210
                    2013-08-17 11:06:08,140 SmartHome.py INFO     Start Plugins -- plugin.py:start:63
                    2013-08-17 11:06:08,150 ow           DEBUG    1w-disc next time: 2013-08-17 11:06:08+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:08,177 SmartHome.py INFO     Start Logics -- logic.py:__init__:32
                    2013-08-17 11:06:08,185 SmartHome.py DEBUG    reading logics from /usr/smarthome/etc/logic.conf -- logic.py:__init__:38
                    2013-08-17 11:06:08,182 rrd          DEBUG    rrd next time: 2013-08-17 11:07:48+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:08,201 SmartHome.py DEBUG    Logic: hello -- logic.py:__init__:45
                    2013-08-17 11:06:08,206 visu         DEBUG    series next time: 2013-08-17 11:06:17+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:08,253 SmartHome.py DEBUG    Logic: dummy -- logic.py:__init__:45
                    2013-08-17 11:06:08,263 SmartHome.py DEBUG    dummy next time: 2013-08-17 11:06:17+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:08,334 sh.con       DEBUG    knx: enable group monitor -- __init__.py:handle_connect:110
                    2013-08-17 11:06:08,403 sh.con       INFO     KNX: connected to 127.0.0.1:6720 -- my_asynchat.py:connect:69
                    2013-08-17 11:06:08,398 sh.gc        DEBUG    Garbage collector: collected 87 objects. -- smarthome.py:_garbage_collection:345
                    2013-08-17 11:06:08,471 1w-disc      INFO     1-Wire: 28.CD3AF8040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:390
                    2013-08-17 11:06:08,478 1w-disc      INFO     1-Wire: 28.5FCCF8040000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:390
                    2013-08-17 11:06:08,516 Scheduler    DEBUG    1w-disc next time: 2013-08-17 11:16:08+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:08,539 Scheduler    DEBUG    sh.gc next time: 2013-08-18 02:04:00+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:08,660 ow           DEBUG    1w-sen next time: 2013-08-17 11:06:08+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:08,752 1w-sen       DEBUG    1-Wire: no path found for marco.sensor2 -- __init__.py:_sensor_cycle:348
                    2013-08-17 11:06:08,756 1w-sen       DEBUG    1-Wire: no path found for marco.sensor1 -- __init__.py:_sensor_cycle:348
                    2013-08-17 11:06:08,760 1w-sen       DEBUG    cycle takes 0.00837898254395 seconds -- __init__.py:_sensor_cycle:365
                    2013-08-17 11:06:08,949 Scheduler    DEBUG    1w-sen next time: 2013-08-17 11:11:08+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:12,184 hello        INFO     Hello World! -- hello.py:<module>:3
                    2013-08-17 11:06:17,036 dummy        WARNING  Logic: dummy, File: dummy_series.py, Line: 2, Method: <module>, Exception: SmartHome instance has no attribute 'first' -- scheduler.py:_task:281
                    2013-08-17 11:06:17,224 Scheduler    DEBUG    dummy next time: 2013-08-17 11:11:17+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:17,231 Scheduler    DEBUG    series next time: 2013-08-17 11:06:27+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:27,322 Scheduler    DEBUG    series next time: 2013-08-17 11:06:37+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:37,211 Scheduler    DEBUG    series next time: 2013-08-17 11:06:47+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:47,304 Scheduler    DEBUG    series next time: 2013-08-17 11:06:57+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:06:57,397 Scheduler    DEBUG    series next time: 2013-08-17 11:07:07+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:07:07,289 Scheduler    DEBUG    series next time: 2013-08-17 11:07:17+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:07:17,383 Scheduler    DEBUG    series next time: 2013-08-17 11:07:27+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:07:27,275 Scheduler    DEBUG    series next time: 2013-08-17 11:07:37+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:07:37,368 Scheduler    DEBUG    series next time: 2013-08-17 11:07:47+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:07:47,259 Scheduler    DEBUG    series next time: 2013-08-17 11:07:57+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:07:48,274 Scheduler    DEBUG    rrd next time: 2013-08-17 11:12:48+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:07:57,360 Scheduler    DEBUG    series next time: 2013-08-17 11:08:07+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:08:07,251 Scheduler    DEBUG    series next time: 2013-08-17 11:08:17+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:08:17,347 Scheduler    DEBUG    series next time: 2013-08-17 11:08:27+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:08:27,238 Scheduler    DEBUG    series next time: 2013-08-17 11:08:37+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:08:37,332 Scheduler    DEBUG    series next time: 2013-08-17 11:08:47+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:08:47,225 Scheduler    DEBUG    series next time: 2013-08-17 11:08:57+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:08:57,321 Scheduler    DEBUG    series next time: 2013-08-17 11:09:07+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:09:07,212 Scheduler    DEBUG    series next time: 2013-08-17 11:09:17+02:00 -- scheduler.py:_next_time:238
                    2013-08-17 11:09:17,304 Scheduler    DEBUG    series next time: 2013-08-17 11:09:27+02:00 -- scheduler.py:_next_time:238
                    ^C2013-08-17 11:09:24,668 SmartHome.py INFO     Number of Threads: 7 -- smarthome.py:stop:318
                    2013-08-17 11:09:24,675 SmartHome.py INFO     Stop Plugins -- plugin.py:stop:68
                    2013-08-17 11:09:24,679 SmartHome.py INFO     KNX: connection to 127.0.0.1:6720 closed -- my_asynchat.py:handle_close:103
                    2013-08-17 11:09:24,683 SmartHome.py DEBUG    Closing listen -- __init__.py:stop:147
                    2013-08-17 11:09:25,188 SmartHome.py INFO     SmartHome.py stopped -- smarthome.py:stop:339

                    Kommentar


                      #70
                      Hi Marco,

                      ok also das Plugin kann die Sensoren nicht auslesen. Ich habe den Verdacht Dein Bus ist nicht stabil. Irgend etwas mit der Spannung oder der Verkabelung.

                      Siehe auch https://knx-user-forum.de/332466-post36.html
                      oder Informationen über den 1-Wire-Bus, Einsatzbereich, Nutzen, Installation

                      Du kannst auch mal sehen was so in dem owhttpd steht.
                      Code:
                      /etc/init.d/owhttpd start
                      http://smarthome.local:3001

                      Solange die HW nicht stabil läuft, brauchen wir mit der SW nicht weiter machen.

                      Bis bald

                      Marcus

                      Kommentar


                        #71
                        Hallo mknx,

                        ich bekomme leider die Temperaturwerte auch nicht angezeigt. Anbei meine Log, kannst du bitte drüber schauen, evtl. fällt Dir was auf.

                        Code:
                        admin@smarthome:/usr/smarthome/bin$ sudo /usr/smarthome/bin/smarthome.py -n
                        2013-08-19 10:33:30,695 SmartHome.py INFO     Start SmartHome.py 0.9-10-g63eb637 -- smarthome.py:__init__:192
                        2013-08-19 10:33:30,701 SmartHome.py DEBUG    Python 2.7.3 -- smarthome.py:__init__:193
                        2013-08-19 10:33:30,709 SmartHome.py INFO     Init Scheduler -- scheduler.py:__init__:53
                        2013-08-19 10:33:30,715 SmartHome.py INFO     Init Plugins -- smarthome.py:__init__:208
                        2013-08-19 10:33:30,727 Scheduler    DEBUG    creating 5 workers -- scheduler.py:run:59
                        2013-08-19 10:33:30,742 SmartHome.py DEBUG    Plugin: knx -- plugin.py:__init__:42
                        2013-08-19 10:33:30,791 SmartHome.py DEBUG    Plugin: ow -- plugin.py:__init__:42
                        2013-08-19 10:33:30,812 SmartHome.py INFO     Onewire: connected to 127.0.0.1:4304 -- __init__.py:connect:67
                        2013-08-19 10:33:30,821 SmartHome.py DEBUG    Plugin: cli -- plugin.py:__init__:42
                        2013-08-19 10:33:30,837 SmartHome.py DEBUG    Plugin: visu -- plugin.py:__init__:42
                        2013-08-19 10:33:30,936 SmartHome.py DEBUG    Plugin: sql -- plugin.py:__init__:42
                        2013-08-19 10:33:30,967 SmartHome.py DEBUG    SQLite 3.7.13 -- __init__.py:__init__:60
                        2013-08-19 10:33:31,003 SmartHome.py DEBUG    sqlite next time: 2013-08-20 03:02:00+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:31,009 SmartHome.py DEBUG    Plugin: rrd -- plugin.py:__init__:42
                        2013-08-19 10:33:31,123 SmartHome.py INFO     Init Items -- smarthome.py:__init__:210
                        2013-08-19 10:33:31,367 SmartHome.py INFO     Start Plugins -- plugin.py:start:63
                        2013-08-19 10:33:31,379 ow           DEBUG    1w-disc next time: 2013-08-19 10:33:31+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:31,407 SmartHome.py INFO     Start Logics -- logic.py:__init__:32
                        2013-08-19 10:33:31,425 SmartHome.py DEBUG    reading logics from /usr/smarthome/etc/logic.conf -- logic.py:__init__:38
                        2013-08-19 10:33:31,443 sh.con       DEBUG    knx: enable group monitor -- __init__.py:handle_connect:110
                        2013-08-19 10:33:31,450 rrd          DEBUG    rrd next time: 2013-08-19 10:35:11+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:31,492 sh.con       INFO     KNX: connected to 127.0.0.1:6720 -- my_asynchat.py:connect:69
                        2013-08-19 10:33:31,520 SmartHome.py DEBUG    Logic: hello -- logic.py:__init__:45
                        2013-08-19 10:33:31,512 1w-disc      INFO     1-Wire: 28.568CAA020000 with sensors: T11, T10, T, T12, T9 -- __init__.py:_discovery:390
                        2013-08-19 10:33:31,583 1w-disc      INFO     1-Wire: 81.FBB631000000 with sensors: BM -- __init__.py:_discovery:390
                        2013-08-19 10:33:31,605 SmartHome.py DEBUG    Logic: dummy -- logic.py:__init__:45
                        2013-08-19 10:33:31,630 visu         DEBUG    series next time: 2013-08-19 10:33:43+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:31,638 Scheduler    DEBUG    1w-disc next time: 2013-08-19 10:43:31+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:31,650 SmartHome.py DEBUG    dummy next time: 2013-08-19 10:33:40+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:31,656 SmartHome.py DEBUG    Logic: System -- logic.py:__init__:45
                        2013-08-19 10:33:31,684 SmartHome.py DEBUG    System next time: 2013-08-19 10:33:37+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:31,948 ow           DEBUG    1w-sen next time: 2013-08-19 10:33:31+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:31,943 sh.gc        DEBUG    Garbage collector: collected 207 objects. -- smarthome.py:_garbage_collection:345
                        2013-08-19 10:33:32,077 Scheduler    DEBUG    sh.gc next time: 2013-08-20 02:04:00+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:32,288 Scheduler    DEBUG    1w-sen next time: 2013-08-19 10:38:32+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:34,302 1w-sen       DEBUG    maxims.sensor2 = 23.875 via 1-Wire /bus.0/28.568CAA020000/temperature -- item.py:_update:219
                        2013-08-19 10:33:34,903 1w-sen       DEBUG    cycle takes 2.80497694016 seconds -- __init__.py:_sensor_cycle:365
                        2013-08-19 10:33:35,147 hello        INFO     Hello World! -- hello.py:<module>:3
                        2013-08-19 10:33:37,156 System       DEBUG    smarthome.runtime = 0h 0m via Logic None -- item.py:_update:219
                        2013-08-19 10:33:37,165 System       INFO     Threads (7): System: 1, idle: 2, Scheduler: 1, SmartHome.py: 1, Thread-5: 1, Thread-4: 1 -- system.py:<module>:20
                        2013-08-19 10:33:37,170 System       DEBUG    smarthome.threads = 7 via Logic None -- item.py:_update:219
                        2013-08-19 10:33:37,348 Scheduler    DEBUG    System next time: 2013-08-19 10:38:37+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:38,130 System       INFO     Objects (Top 10): Item: 42, WebSocket: 33, SQL: 24, BaseHandler: 16, RRD: 15, SmartHome: 13, _Feature: 10, StreamReader: 8, StreamWriter: 8, addinfourl: 8 -- system.py:<module>:40
                        2013-08-19 10:33:38,186 System       INFO     Garbage: [] -- system.py:<module>:46
                        2013-08-19 10:33:38,193 System       DEBUG    Load: 0.08, 0.23, 0.18 -- system.py:<module>:51
                        2013-08-19 10:33:38,199 System       DEBUG    system.load = 0.23 via Logic None -- item.py:_update:219
                        2013-08-19 10:33:38,931 System       DEBUG    smarthome.memory = 10448896 via Logic None -- item.py:_update:219
                        2013-08-19 10:33:39,659 System       DEBUG    system.memory = 26 via Logic None -- item.py:_update:219
                        2013-08-19 10:33:40,020 dummy        WARNING  Logic: dummy, File: dummy_series.py, Line: 2, Method: <module>, Exception: SmartHome instance has no attribute 'first' -- scheduler.py:_task:281
                        2013-08-19 10:33:40,213 Scheduler    DEBUG    dummy next time: 2013-08-19 10:38:40+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:40,399 System       DEBUG    system.uptime = 0h 10m via Logic None -- item.py:_update:219
                        2013-08-19 10:33:43,229 Scheduler    DEBUG    series next time: 2013-08-19 10:33:53+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:33:53,340 Scheduler    DEBUG    series next time: 2013-08-19 10:34:03+02:00 -- scheduler.py:_next_time:238
                        2013-08-19 10:34:03,253 Scheduler    DEBUG    series next time: 2013-08-19 10:34:13+02:00 -- scheduler.py:_next_time:238

                        Kommentar


                          #72
                          Müsste aber über maxims.sensor2 abfragbar sein ... steht ja auch im log.
                          Umgezogen? Ja! ... Fertig? Nein!
                          Baustelle 2.0 !

                          Kommentar


                            #73
                            Zitat von JuMi2006 Beitrag anzeigen
                            Müsste aber über maxims.sensor2 abfragbar sein ... steht ja auch im log.
                            Code:
                            # items/maxim.conf
                            [maxims]
                                    name = Maxims Sensoren
                                    sv_page = room
                                    sv_img = scene_livingroom.png
                                [[sensor1]]
                                    name = Sensor: 28.568CAA020000
                                    type = num
                                    ow_sensor = T
                                    ow_addr = 28.568CAA020000
                                    sqlite = yes
                                    visu = yes
                                    sv_widget = "{{ basic.value('item', 'item') }}", "{{ plot.period('item-plot', 'item', 'avg') }}"
                                [[sensor2]]
                                    name = Sensor: 28.568CAA020000
                                    type = num
                                    ow_sensor = T
                                    ow_addr = 28.568CAA020000
                                    sqlite = yes
                                    visu = yes
                                    sv_widget = "{{ basic.value('item', 'item') }}", "{{ plot.period('item-plot', 'item', 'avg') }}"
                            Es tut sich tatsächlich was. Jedoch wird nur der zweite Sensorwert angezeigt.
                            Angehängte Dateien

                            Kommentar


                              #74
                              Sensor 1 und Sensor 2 sind ja auch in der config gleich -> haben die gleiche OneWire-ID.
                              Andern !
                              Umgezogen? Ja! ... Fertig? Nein!
                              Baustelle 2.0 !

                              Kommentar


                                #75
                                Zwei mal exakt der gleiche Sensor - wo ist da der Sinn? Evtl. "versagt" da das (zurecht!) Onewire-Plugin (hab ich grad nicht im Kopf). - 90% der Fehler könnten mit Sorgfalt vermieden werden...

                                Kommentar

                                Lädt...
                                X