Ankündigung

Einklappen
Keine Ankündigung bisher.

- √ - comfoair-Plugin: Zuluft wird nicht ausgelesen?

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

    - √ - comfoair-Plugin: Zuluft wird nicht ausgelesen?

    Ich hab das comfoair-Plugin von develop in ein frisches 2.7er RPI-Image kopiert und konfiguriert. Meine comfoair 350 hängt mit einem RS232-USB-Converter an diesem Pi.

    Es wird soweit alles erkannt und ich kann die aktuellen Zahlen auslesen, klasse!

    Aktuell lasse ich mir die vier Temperaturen und den Zustand des Bypass in eine SQLite-DB eintragen. Ich erhalte für drei Temperaturen plausible Werte (exhaustair, freshair, extractair), leider ist die Zuluft (intakeair) immer 0.

    Die Config hab ich von der Plugin-Beschreibung übernommen:

    etc/plugin.conf
    Code:
    [comfoair]
        class_name = ComfoAir
        class_path = plugins.comfoair
        kwltype = comfoair350       # Currently supported: comfoair350 and comfoair500
        #host = 192.168.123.6        # Provide host and port if you want to use TCP connection (for a TCP to serial converter)
        #port = 5555                 # Port
        serialport = /dev/ttyUSB0  # Enable this if you want to use a serial connection
    items/kwl.conf
    Code:
    [kwl]        
          [[temp]]
            [[[comfort]]]
                type = num
                comfoair_read = ReadComfortTemperature
                comfoair_read_cycle = 60 # seconds
                comfoair_init = true
            [[[freshair]]]
                type = num
                comfoair_read = ReadFreshAirTemperature
                comfoair_read_cycle = 60 # seconds
                comfoair_init = true
                sqlite = yes
            [[[intakeair]]]
                type = num
                comfoair_read = ReadIntakeAirTemperature
                comfoair_read_cycle = 60 # seconds
                comfoair_init = true
                sqlite = yes
            [[[extractair]]]
                type = num
                comfoair_read = ReadExtractAirTemperature
                comfoair_read_cycle = 60 # seconds
                comfoair_init = true
                sqlite = yes
            [[[exhaustair]]]
                type = num
                comfoair_read = ReadExhaustAirTemperature
                comfoair_read_cycle = 60 # seconds
                comfoair_init = true
                sqlite = yes
        
        [[extractair]]
            [[[rpm]]]
                type = num
                comfoair_read = ReadExtractAirRPM
                comfoair_read_cycle = 60 # seconds
                comfoair_init = true
            [[[level]]]
                type = num
                comfoair_read = ReadExtractAirPercentage
                comfoair_read_cycle = 60 # seconds
                comfoair_init = true
        
        [[supplyair]]
            [[[rpm]]]
                type = num
                comfoair_read = ReadSupplyAirRPM
                comfoair_read_cycle = 60 # seconds
                comfoair_init = true
            [[[level]]]
                type = num
                comfoair_read = ReadSupplyAirPercentage
                comfoair_read_cycle = 60 # seconds
                comfoair_init = true
              
        [[bypass]]
            type = num
            comfoair_read = ReadBypassPercentage
            comfoair_read_cycle = 60 # seconds
            comfoair_init = true     
            sqlite = yes


    smarthome.db

    Code:
    time    item    avg    vmin    vmax    power
    1412629724511    kwl.temp.intakeair    0    0    0    0
    1412629725338    kwl.temp.exhaustair    13,5    13,5    13,5    1
    1412629726087    kwl.temp.freshair    12,5    12,5    12,5    1
    1412629726911    kwl.temp.extractair    22    22    22    1
    1412629729210    kwl.bypass    0    0    0    0
    smarthome.log
    Code:
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Triggering cyclic read command: ReadComfortTemperature
    2014-10-06  23:21:58 INFO     ComfoAir-cyclic ComfoAir: Preparing command  ReadComfortTemperature with value None (transformed to value byte '') to  be sent.
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Successfully sent packet: 07:f0:00:d1:00:7e:07:0f
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Received 5 bytes chunk of response part 1: 07:f3:07:f0:00
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Received 2 bytes chunk of response part 1: 9c:01
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Received 4 bytes chunk of response part 2: 02:4c:07:0f
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Successfully received response: 07:f0:00:9c:01:02:4c:07:0f
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Triggering cyclic read command: ReadExtractAirRPM
    2014-10-06  23:21:58 INFO     ComfoAir-cyclic ComfoAir: Preparing command  ReadExtractAirRPM with value None (transformed to value byte '') to be  sent.
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Successfully sent packet: 07:f0:00:0b:00:b8:07:0f
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Received 5 bytes chunk of response part 1: 07:f3:07:f0:00
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Received 2 bytes chunk of response part 1: 3c:0a
    2014-10-06  23:21:58 INFO     ComfoAir-cyclic ComfoAir: Received 13 bytes chunk of  response part 2: 88:13:86:66:66:06:00:00:00:e0:c6:07:0f
    2014-10-06  23:21:58 INFO     ComfoAir-cyclic ComfoAir: Successfully received  response: 07:f0:00:3c:0a:88:13:86:66:66:06:00:00:00:e0:c6:07:0f
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Triggering cyclic read command: ReadBypassPercentage
    2014-10-06  23:21:58 INFO     ComfoAir-cyclic ComfoAir: Preparing command  ReadBypassPercentage with value None (transformed to value byte '') to  be sent.
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Successfully sent packet: 07:f0:00:0d:00:ba:07:0f
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Received 5 bytes chunk of response part 1: 07:f3:07:f0:00
    2014-10-06 23:21:58 INFO     ComfoAir-cyclic ComfoAir: Received 2 bytes chunk of response part 1: aa:08
    2014-10-06  23:21:58 INFO     ComfoAir-cyclic ComfoAir: Received 11 bytes chunk of  response part 2: 00:00:00:00:00:00:00:00:5f:07:0f
    2014-10-06 23:21:58  INFO     ComfoAir-cyclic ComfoAir: Successfully received response:  07:f0:00:aa:08:00:00:00:00:00:00:00:00:5f:07:0f
    Was mir noch auffällt:
    1. im smarthome.log erscheinen alle 60 Sekunden wirklich diverse Aufrufe (aber nicht diejenigen für die SQLite)
    2. in smarthome.db erscheinen nur alle 5 Minuten die Daten

    Danke für Eure Hilfe!

    Gruß,
    Thomas.

    #2
    Update:
    Hab mal das log und die Datenbank gelöscht. Beim Hochfahren von smarthome.py tauchen jetzt folgende Fehler auf:

    smarthome.log
    Code:
    Init SmartHome.py 1.0-5-g5300605
    2014-10-07 10:51:59 INFO     Main         Start SmartHome.py 1.0-5-g5300605
    2014-10-07 10:51:59 INFO     Main         Init Scheduler
    2014-10-07 10:51:59 INFO     Main         Init Plugins
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Loaded commands for KWL type 'comfoair350'
    2014-10-07 10:52:01 INFO     Main         Init Items
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.comfort reads by using command 'ReadComfortTemperature'.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.comfort is initialized on startup.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.comfort should read cyclic every 60 seconds.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.freshair reads by using command 'ReadFreshAirTemperature'.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.freshair is initialized on startup.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.freshair should read cyclic every 60 seconds.
    [COLOR=Red]2014-10-07 10:52:01 ERROR    Main         ComfoAir: Item kwl.temp.intakeair contains invalid read command 'ReadIntakeAirTemperature'![/COLOR]
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.extractair reads by using command 'ReadExtractAirTemperature'.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.extractair is initialized on startup.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.extractair should read cyclic every 60 seconds.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.exhaustair reads by using command 'ReadExhaustAirTemperature'.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.exhaustair is initialized on startup.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.temp.exhaustair should read cyclic every 60 seconds.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.extractair.rpm reads by using command 'ReadExtractAirRPM'.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.extractair.rpm is initialized on startup.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.extractair.rpm should read cyclic every 60 seconds.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.extractair.level reads by using command 'ReadExtractAirPercentage'.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.extractair.level is initialized on startup.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.extractair.level should read cyclic every 60 seconds.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.supplyair.rpm reads by using command 'ReadSupplyAirRPM'.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.supplyair.rpm is initialized on startup.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.supplyair.rpm should read cyclic every 60 seconds.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.supplyair.level reads by using command 'ReadSupplyAirPercentage'.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.supplyair.level is initialized on startup.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.supplyair.level should read cyclic every 60 seconds.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.bypass reads by using command 'ReadBypassPercentage'.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.bypass is initialized on startup.
    2014-10-07 10:52:01 INFO     Main         ComfoAir: Item kwl.bypass should read cyclic every 60 seconds.
    2014-10-07 10:52:02 INFO     Main         Start Plugins
    2014-10-07 10:52:02 INFO     Main         Start Logics
    2014-10-07 10:52:02 INFO     Connections  ComfoAir: connected to /dev/ttyUSB0
    2014-10-07 10:52:04 INFO     ComfoAir-init ComfoAir: Added cyclic worker thread (30 sec cycle). Shortest item update cycle found: 60 sec.
    2014-10-07 10:52:04 INFO     ComfoAir-cyclic ComfoAir: Triggering cyclic read command: ReadComfortTemperature
    2014-10-07 10:52:04 INFO     ComfoAir-cyclic ComfoAir: Preparing command ReadComfortTemperature with value None (transformed to value byte '') to be sent.
    2014-10-07 10:52:04 INFO     ComfoAir-cyclic ComfoAir: Successfully sent packet: 07:f0:00:d1:00:7e:07:0f
    2014-10-07 10:52:04 INFO     ComfoAir-cyclic ComfoAir: Received 5 bytes chunk of response part 1: 07:07:f3:07:f0
    2014-10-07 10:52:04 INFO     ComfoAir-cyclic ComfoAir: Received 243 bytes chunk of response part 2: 00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:d2:09:4e:46:48:54:52:0f:28:28:28:91:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:e0:07:00:00:05:64:05:00:01:03:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:e2:06:02:00:00:00:00:03:9a:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:ec:08:07:07:17:00:0a:00:00:12:05:e0:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:d2:09:4e:46:48:54:52:0f:28:28:28:91:07:0f:07:f3:07:f0:00:3e:04:f1:42:2f:c8:19:07:0f:07:f3:07
    2014-10-07 10:52:04 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: f0
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 00
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 3c
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 0a
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 90
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 10
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: ef
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 66
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 7f
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 06
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 00
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 00
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 00
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: e2
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 4f
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 07
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 0f
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Successfully received response: 07:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:d2:09:4e:46:48:54:52:0f:28:28:28:91:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:e0:07:00:00:05:64:05:00:01:03:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:e2:06:02:00:00:00:00:03:9a:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:ec:08:07:07:17:00:0a:00:00:12:05:e0:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f:07:f3:07:f0:00:d2:09:4e:46:48:54:52:0f:28:28:28:91:07:0f:07:f3:07:f0:00:3e:04:f1:42:2f:c8:19:07:0f:07:f3:07:f0:00:3c:0a:90:10:ef:66:7f:06:00:00:00:e2:4f:07:0f
    [COLOR=Red]2014-10-07 10:52:05 ERROR    ComfoAir-cyclic ComfoAir: Calculated checksum of 141 does not match received checksum of 79! Ignoring reponse.[/COLOR]
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Triggering cyclic read command: ReadExtractAirRPM
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Preparing command ReadExtractAirRPM with value None (transformed to value byte '') to be sent.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Successfully sent packet: 07:f0:00:0b:00:b8:07:0f
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 5 bytes chunk of response part 1: 07:f3:07:f0:00
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 2 bytes chunk of response part 1: 98:14
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 23 bytes chunk of response part 2: 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:59:07:0f
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Successfully received response: 07:f0:00:98:14:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:59:07:0f
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Triggering cyclic read command: ReadBypassPercentage
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Preparing command ReadBypassPercentage with value None (transformed to value byte '') to be sent.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Successfully sent packet: 07:f0:00:0d:00:ba:07:0f
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 5 bytes chunk of response part 1: 07:f3:07:f0:00
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 2 bytes chunk of response part 1: 0c:06
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 9 bytes chunk of response part 2: 28:1c:05:88:07:07:a0:37:07
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Extended packet length because of encoded characters.
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Received 1 bytes chunk of response part 2: 0f
    2014-10-07 10:52:05 INFO     ComfoAir-cyclic ComfoAir: Successfully received response: 07:f0:00:0c:06:28:1c:05:88:07:07:a0:37:07:0f
    Ich hab außerdem das Gefühl, dass die Daten in der SQLite nur fortgeschrieben werden. Die Temperaturen heute nacht wurden bis eben fortgeschrieben und in der neuen DB sind wohl die aktuellen drin.

    Code:
    time    item    avg    vmin    vmax    power
    1412671921539    kwl.temp.freshair    0,00    0,00    0,00    0,00
    1412671921590    kwl.temp.exhaustair    0,00    0,00    0,00    0,00
    1412671921556    kwl.temp.intakeair    0,00    0,00    0,00    0,00
    1412671921681    kwl.bypass    0,00    0,00    0,00    0,00
    1412671921570    kwl.temp.extractair    0,00    0,00    0,00    0,00
    1412671936520    kwl.temp.freshair    3,56    0,00    15,00    0,24
    1412671936563    kwl.temp.exhaustair    4,98    0,00    21,00    0,24
    1412671936653    kwl.temp.intakeair    0,00    0,00    0,00    0,00
    1412671936785    kwl.bypass    83,80    0,00    100,00    0,84
    1412671936828    kwl.temp.extractair    5,24    0,00    22,00    0,24
    1412672236166    kwl.temp.freshair    15,00    15,00    15,00    1,00
    1412672236207    kwl.temp.exhaustair    21,00    21,00    21,00    1,00
    1412672236294    kwl.temp.intakeair    0,00    0,00    0,00    0,00
    1412672236422    kwl.bypass    100,00    100,00    100,00    1,00
    1412672236465    kwl.temp.extractair    22,00    22,00    22,00    1,00
    1412672536292    kwl.temp.freshair    15,00    15,00    15,00    1,00
    1412672536338    kwl.temp.exhaustair    21,00    21,00    21,00    1,00
    1412672536435    kwl.temp.intakeair    0,00    0,00    0,00    0,00
    1412672536579    kwl.bypass    100,00    100,00    100,00    1,00
    1412672536632    kwl.temp.extractair    22,00    22,00    22,00    1,00
    1412672836551    kwl.temp.freshair    15,00    15,00    15,00    1,00
    1412672836597    kwl.temp.exhaustair    21,00    21,00    21,00    1,00
    1412672836694    kwl.temp.intakeair    0,00    0,00    0,00    0,00
    1412672836847    kwl.bypass    100,00    100,00    100,00    1,00
    1412672836895    kwl.temp.extractair    22,00    22,00    22,00    1,00
    Klappt die Verbindung nicht, hab ich was falsch konfiguriert?
    Kann ich die Verbindung irgendwie testen?

    Danke für Eure Hilfe.
    Thomas.

    Kommentar


      #3
      Hi,

      freut mich, dass dir das Plugin gefällt. :-)
      Du musst als Command "ReadSupplyAirTemperature" und nicht Intake verwenden. Die möglichen Commands findest du auch in dem commands.py File.

      LG Stefan

      Kommentar


        #4
        Zitat von SvStefan Beitrag anzeigen
        Hi,

        freut mich, dass dir das Plugin gefällt. :-)
        Du musst als Command "ReadSupplyAirTemperature" und nicht Intake verwenden. Die möglichen Commands findest du auch in dem commands.py File.

        LG Stefan
        ok. SupplyAir hats nun gebracht, danke! Irgendwoher hatte ich die IntakeAir... egal.
        Ich lass das jetzt mal ne Runde laufen, um zu sehen, ob sich die Werte in der SQLite ändern.

        Gruß,
        Thomas.

        Kommentar


          #5
          Zuluft geht => Datenbank wird nicht aktualisiert.

          also die Zuluft wird nun gelesen, das passt!

          Allerdings sind die Werte in der Datenbank immer nur diejenigen, die beim Neustart von smarthome.py ermittelt wurden.
          An der o.g. Config habe ich nichts angepasst (außer IntakeAir durch SupplyAir ersetzt), in der DB werden allerdings wie gesagt nur jeweils die Startwerte angzeigt - aber auch hier erst beim zweiten Zyklus:

          erster Zyklus (rot): alle Werte sind 0
          zweiter Zyklus (orange): es werden die richtigen Werte gelesen
          weitere Zyklen (grau): die Werte des zweiten Zyklus werden wiederholt

          smarthome.db
          Code:
          time    item    avg    vmin    vmax
          [COLOR=Red]1412675904705    kwl.temp.exhaustair    0,00    0,00    0,00
          1412675904654    kwl.temp.freshair    0,00    0,00    0,00
          1412675904671    kwl.temp.supplyair    0,00    0,00    0,00
          1412675904793    kwl.bypass    0,00    0,00    0,00
          1412675904688    kwl.temp.extractair    0,00    0,00    0,00
          [/COLOR][COLOR=DarkOrange]1412675918921    kwl.temp.exhaustair    0,71    0,00    21,50
          1412675919010    kwl.temp.freshair    0,58    0,00    17,50
          1412675919053    kwl.temp.supplyair    0,60    0,00    18,00
          1412675919181    kwl.bypass    23,57    0,00    100,00
          1412675919226    kwl.temp.extractair    0,75    0,00    22,00
          [/COLOR][COLOR=Gray]1412676218445    kwl.temp.exhaustair    21,50    21,50    21,50
          1412676218538    kwl.temp.freshair    17,50    17,50    17,50
          1412676218582    kwl.temp.supplyair    18,00    18,00    18,00
          1412676218711    kwl.bypass    100,00    100,00    100,00
          1412676218755    kwl.temp.extractair    22,00    22,00    22,00
          1412676518454    kwl.temp.exhaustair    21,50    21,50    21,50
          1412676518553    kwl.temp.freshair    17,50    17,50    17,50
          1412676518601    kwl.temp.supplyair    18,00    18,00    18,00
          1412676518744    kwl.bypass    100,00    100,00    100,00
          1412676518792    kwl.temp.extractair    22,00    22,00    22,00
          1412676818349    kwl.temp.exhaustair    21,50    21,50    21,50
          1412676818444    kwl.temp.freshair    17,50    17,50    17,50
          1412676818492    kwl.temp.supplyair    18,00    18,00    18,00
          1412676818656    kwl.bypass    100,00    100,00    100,00
          [/COLOR]

          Kommentar


            #6
            Ich glaube, ich habe es lösen können.
            in der kwl.conf hatte ich noch einen Fehler (ich muss mal schaun, wo ich die config her hab und dort die Fehler ausbessern) gefunden:

            kwl.conf
            Code:
                    [[[freshair]]]
                        type = num
                        comfoair_read = ReadFreshAirTemperature
                        comfoair_read_cycle = 60 # seconds
                        [COLOR=Red]# comfoair_init = true[/COLOR]
                        sqlite = yes
            diese zeile muss raus, siehe kommentar im
            __init__.py
            Code:
                        # Allow items to be automatically initiated on startup
                        if ('comfoair_init' in item.conf and item.conf['comfoair_init'] == 'true'):
                            self.log_info('Item {} is initialized on startup.'.format(item))
                            [COLOR=Red]# Only add the item to the initial commands if it is not cyclic. Cyclic commands get called on init because this is the first cycle...
            [COLOR=Black]                 if not commandcode in self._init_cmds and 'comfoair_read_cycle' not in item.conf:[/COLOR][/COLOR]
                                self._init_cmds.append(commandcode)
            zumindest kommen bei mir jetzt aktuell andere Temperaturen rein. ich lass das mal über Nacht laufen und morgen sehen wir weiter.

            edit:
            ok. inzwischen erhalte ich jeweils geänderte Werte und die sind plausibel. Speziell die Zuluft-Temperatur stimmt mit meinem provisorischem Temperatursensor überein.
            Die kwl.conf habe ich aus diesem Thread (https://knx-user-forum.de/smarthome-...tml#post357010) und habe übersehen, dass das eine für die comfoair 500 gültige config ist. scheinbar läuft hier einiges anders.
            ich denke, ich kann das als gelöst kennzeichnen.

            Kommentar

            Lädt...
            X