Autor Thema: 1-Wire-Interface mit ESP8266-WLAN-Funkmodul funktioniert nicht mehr richtig.  (Gelesen 4168 mal)

Offline Prof. Dr. Peter Henning

  • Developer
  • Hero Member
  • ****
  • Beiträge: 6638
Mein Tipp an alle, die OWX_ASYNC verwenden wollen: Schön brav bei den alten Dateien bleiben, und diese vom Update ausschließen.

LG

pah

Offline Jewe

  • Full Member
  • ***
  • Beiträge: 463
Hi,

OWX_ASYNC hab ich vom Update ausgeschlossen und es hatte wieder funktioniert. Nun habe ich heute ein update gemacht und nun habe ich mal wieder keine One Wire Temperaturen...

2017.10.31 20:20:03 1: reload: Error:Modul 21_OWTHERM deactivated:
 Not enough arguments for main::OWX_Verify at ./FHEM/21_OWTHERM.pm line 491, near "})"

2017.10.31 20:20:03 0: Not enough arguments for main::OWX_Verify at ./FHEM/21_OWTHERM.pm line 491, near "})"

2017.10.31 20:20:08 1: PERL WARNING: Subroutine OWTHERM_Initialize redefined at ./FHEM/21_OWTHERM.pm line 134, <$fh> line 2046.
2017.10.31 20:20:08 1: PERL WARNING: Subroutine OWTHERM_Define redefined at ./FHEM/21_OWTHERM.pm line 162, <$fh> line 2046.
2017.10.31 20:20:08 1: PERL WARNING: Subroutine OWTHERM_Notify redefined at ./FHEM/21_OWTHERM.pm line 277, <$fh> line 2046.
2017.10.31 20:20:08 1: PERL WARNING: Subroutine OWTHERM_Init redefined at ./FHEM/21_OWTHERM.pm line 295, <$fh> line 2046.
2017.10.31 20:20:08 1: PERL WARNING: Subroutine OWTHERM_Attr redefined at ./FHEM/21_OWTHERM.pm line 312, <$fh> line 2046.
2017.10.31 20:20:08 1: PERL WARNING: Subroutine OWTHERM_FormatValues redefined at ./FHEM/21_OWTHERM.pm line 369, <$fh> line 2046.
2017.10.31 20:20:08 1: reload: Error:Modul 21_OWTHERM deactivated:

Was soll ich jetzt machen ??

Jens

Offline Prof. Dr. Peter Henning

  • Developer
  • Hero Member
  • ****
  • Beiträge: 6638
Die Version von OWX installieren (also > 7.0), die zum Modul OWTHERM passt (auch > 7.0).

LG

pah

Offline Jewe

  • Full Member
  • ***
  • Beiträge: 463
Wie bekomme ich raus welche Version ich installiert habe ?
Und wie installiere ich die richtige Version ? Das mache ich doch
durch das update in Fhem.

Jens


Offline Prof. Dr. Peter Henning

  • Developer
  • Hero Member
  • ****
  • Beiträge: 6638
get ... version. Bitte Commandref lesen.

Offline Jewe

  • Full Member
  • ***
  • Beiträge: 463
Ähm, sorry aber ich blicks ned.

Früher hatte ich meine Sensoren so definiert :
define Temp_Lueftung_Aussenluft OWTHERM DS18B20 FF375C501501Da bekomme ich nun folgende Meldung :
Cannot load module OWTHERM
Das geht nicht mehr. Muss ich nun doch das Modul OWX_ASYNC updaten ?
Geht das dann mit dem Modul 1W-WLAN GW von locutus ? Da hatt ich ja schonmal so meine Probleme.



Offline Jewe

  • Full Member
  • ***
  • Beiträge: 463
So. Habe es geschafft, dass ich die Module aktuell habe. Dann habe ich wie eigentlich immer die Commandref gelesen.

Das Gateway habe ich definiert
define 1W_USB OWX /dev/ttyUSB1

Aber wie bekomme ich nun Fhem bzw. das Gateway dazu auch die Sensoren zu finden ?

get 1W_USB devices
OWX_Discover: 1-Wire devices found on bus 1W_USB
List von einem Sensor:
Internals:
   ALARM      0
   ASYNC      0
   CFGFN
   DEF        DS18B20 970529070000
   ERRCOUNT   0
   INTERVAL   300
   IODev      1W_USB
   NAME       Temp_Zirkulation
   NOTIFYDEV  global
   NR         557
   NTFY_ORDER 50-Temp_Zirkulation
   OW_FAMILY  28
   OW_ID      970529070000
   PRESENT    0
   ROM_ID     28.970529070000.61
   STATE      initialized
   TYPE       OWTHERM
   owg_temp
   owg_th     75
   owg_tl     70
   READINGS:
     2017-11-03 00:40:11   state           initialized
     2017-11-03 00:40:32   temperature     0
   tempf:
     factor     1
     offset     0
Attributes:
   DbLogExclude .*
   IODev      1W_USB
   model      DS18B20
   room       OWX
   tempHigh   75
   tempLow    70

List vom Gateway :
Internals:
   ALARMED    0
   ASYNCHRONOUS 1
   BUSY       0
   DEF        /dev/ttyUSB1
   DeviceName /dev/ttyUSB1
   INITDONE   0
   INTERFACE
   LASTSEND   1509726684.08226
   NAME       1W_USB
   NEXT_OPEN  1509666847.93612
   NR         495
   PARTIAL
   PRESENT    0
   ROM_ID     FF
   STATE      opened
   TYPE       OWX
   interval   300
   timeout    2
   version    7.01
   DEVHASH:
     1W_USB     Busmaster
   DEVS:
   QUEUE:
   READINGS:
     2017-11-03 17:30:16   queue           34
     2017-11-03 00:55:01   state           opened
Attributes:
   DbLogExclude .*
   asynchronous 1
   room       OWX

Offline Jewe

  • Full Member
  • ***
  • Beiträge: 463
1-Wire-Interface mit ESP8266-WLAN-Funkmodul funktioniert nicht mehr richtig.
« Antwort #22 am: 03 November 2017, 23:40:21 »
Da ich keine Temperaturen bekomme, habe ich nochmal alles gelöscht und dann habe ich einen OneWire
Interface neu definiert. Aber es bleibt dabei, keine Sensoren werden erkannt.

Log:
2017.11.03 22:25:27 3: Opening 1W_1_WIFI device 192.168.6.24:9010
2017.11.03 22:25:27 3: 1W_1_WIFI device opened
2017.11.03 22:26:27 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:26:35 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:26:35 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:26:35 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:26:35 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:26:35 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:26:35 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:26:35 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:26:35 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:26:35 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:26:35 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:26:43 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:26:43 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:26:43 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:26:43 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:26:43 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:26:43 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:26:43 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:26:43 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:26:43 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:26:43 1: OWX_TCP::Search reset failed on bus 1W_1_WIFI
2017.11.03 22:26:43 1: OWX_Discover: 1-Wire devices found on bus 1W_1_WIFI ()
2017.11.03 22:27:36 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:27:44 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:27:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:27:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:27:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:27:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:27:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:27:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:27:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:27:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:28:36 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:28:44 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:28:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:28:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:28:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:28:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:28:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:28:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:28:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:28:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:29:36 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:29:44 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:29:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:29:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:29:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:29:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:29:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:29:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:29:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:29:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:30:36 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:30:44 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:30:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:30:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:30:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:30:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:30:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:30:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:30:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:30:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:31:36 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:31:44 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:31:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:31:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:31:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:31:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:31:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:31:44 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:31:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:31:44 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:32:36 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:32:44 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:32:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:32:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:32:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:32:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:32:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:32:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:32:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:32:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:33:36 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:33:45 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:33:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:33:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:33:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:33:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:33:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:33:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:33:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:33:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:34:36 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:34:45 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:34:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:34:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:34:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:34:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:34:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:34:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:34:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:34:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:35:36 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:35:45 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:35:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:35:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:35:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:35:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:35:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:35:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:35:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:35:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:36:36 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:36:45 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:36:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:36:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:36:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:36:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:36:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:36:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:36:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:36:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:37:26 1: ====> REOPENING DEVICE
2017.11.03 22:37:26 3: OWX_Set 1W_1_WIFI reopen => 0
2017.11.03 22:37:32 1: OWX_TCP::Search reset failed on bus 1W_1_WIFI
2017.11.03 22:37:32 1: OWX_Discover: 1-Wire devices found on bus 1W_1_WIFI ()
2017.11.03 22:37:32 3: OWX_Set 1W_1_WIFI discover => 0
2017.11.03 22:37:36 1: OWX_Init called for bus 1W_1_WIFI with interface state opened, now going for detect
2017.11.03 22:37:45 1: 192.168.6.24:9010 disconnected, waiting to reappear (1W_1_WIFI)
2017.11.03 22:37:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:37:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:37:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:37:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:37:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:37:45 1: OWX_TCP::Query attempted to write to disconnected device 1W_1_WIFI
2017.11.03 22:37:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not found, answer was
2017.11.03 22:37:45 1: OWX_TCP::Detect 1-Wire bus 1W_1_WIFI: interface not detected, answer was
2017.11.03 22:39:27 3: Opening 1W_1_WIFI device 192.168.6.24:9010
2017.11.03 22:39:27 3: 1W_1_WIFI device opened
2017.11.03 22:39:27 1: ====> OPENING DEVICE
2017.11.03 22:39:27 3: OWX_Set 1W_1_WIFI open => 0