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

  • MKempf
    antwortet
    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

    Einen Kommentar schreiben:


  • callidomus
    antwortet
    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

    Einen Kommentar schreiben:


  • MKempf
    antwortet
    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!

    Einen Kommentar schreiben:


  • callidomus
    antwortet
    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

    Einen Kommentar schreiben:


  • gekraft
    antwortet
    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

    Einen Kommentar schreiben:


  • MKempf
    antwortet
    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?

    Einen Kommentar schreiben:


  • callidomus
    antwortet
    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

    Einen Kommentar schreiben:


  • callidomus
    antwortet
    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

    Einen Kommentar schreiben:


  • MKempf
    antwortet
    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.

    Einen Kommentar schreiben:


  • MKempf
    antwortet
    Hi Marcus,
    ich bin mir nicht ganz sicher, ob das mit dem auslesen funktioniert hat.
    Ich habe zwei Sensoren am Bus aber nur eine Adresse rausbekommen. Anschließend habe ich abwechselnd die Fühler mal vom Bus genommen, es blieb aber immer die gleiche Adresse! Jetzt bin ich verwirrt, schließlich ist die Adresse doch einmalig von 1wire Teilnehmern?!

    Im zweiten Part habe ich mit vi die smartvisu.conf geöffnet. Ich habe im entsprechenden Kapitel die Zeile ow_addr nicht gefunden, hab sie einfach mal mit reingeschrieben. In Smartvisu wird aber nur eine konstante Temperatur angezeigt (keine Veränderung bei Berührung).

    Könnte mir jemand da weiterhelfen?

    Ich danke euch!

    Gruß Marco

    Einen Kommentar schreiben:


  • lukluk
    antwortet
    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ß

    Einen Kommentar schreiben:


  • callidomus
    antwortet
    Hi Marco,

    erst mal die Adresse Deines Sensors herausbekommen:

    Code:
    grep '1-Wire' /usr/smarthome/var/log/smarthome.log
    Jetzt solltest Du einen oder mehrere Sensoren angezeigt bekommen.
    z.B.
    Code:
    2013-08-14 18:48:31 1w-disc      INFO     1-Wire: [COLOR="Red"]28.8DEAAA050000[/COLOR] with sensors: T11, T10, T, T12, T9
    Dann editierst Du die z.B. die /usr/smarthome/items/smartvisu.conf und änderst dort bei dem item first.living.temperature die ow_addr in 28.8DEAAA050000 ab.

    Dann startest Du SH.py neu
    Code:
    /etc/init.d/smarthome.py restart
    und in der smartVISU sollte der Wert in dem comfort-Diagramm angezeigt werden.

    Bis bald

    Marcus

    Einen Kommentar schreiben:


  • MKempf
    antwortet
    Hallo Marcus,

    kein Problem.

    So ich habe die Anweisungen befolgt. Danke dir dafür.
    Wie bekomme ich jetzt die Temperatur ins smartvisu bzw erstmal in putty angezeigt?

    Einen Kommentar schreiben:


  • callidomus
    antwortet
    Hallo Marco,

    erst einmal sorry das Dein Thread gekapert wurde. Ich hätte das unterbinden sollen und einen neuen Thread abspalten.

    Zu Deinem eigentlichen Problem.

    Probier mal:

    Code:
    sudo /bin/bash
    echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-1/new_device
    Entweder musst Du den Rechner oder owserver neu starten.
    Code:
    /etc/init.d/owserver restart
    Bis bald

    Marcus

    Einen Kommentar schreiben:


  • MKempf
    antwortet
    wenn ich den Bus auslese erhalte ich
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --

    Einen Kommentar schreiben:

Lädt...
X