[74_XiaomiBTLESens.pm] Xiaomi Bluetooth Sensoren FlowerSens/Thermometer

Begonnen von CoolTux, 11 Januar 2018, 15:42:45

Vorheriges Thema - Nächstes Thema

HeikoS

Ich hatte nach dem Update ein "shutdown restart" gemacht und dann nachdem mir aufgefallen war, dass keine Daten mehr kommen, den RaspberryPI komplett neu gestartet.
Hab jetzt nochmal neugestartet mit verbose 5 beim Sensor, hoffe ich habe alles erwischt bzw. nicht zuviel aus dem Log gelöscht:
2018.03.19 12:48:03 0: Server shutdown
2018.03.19 12:48:13 1: PERL WARNING: Backslash found where operator expected at ./FHEM/74_XiaomiBTLESens.pm line 852, near "encode_json \"
2018.03.19 12:48:13 1: PERL WARNING: (Do you need to predeclare encode_json?)
2018.03.19 12:48:13 3: XiaomiBTLESens (Wz_Palme) - defined with BTMAC C4:7C:8D:65:C4:46
2018.03.19 12:48:13 3: XiaomiBTLESens (Wz_Palme) - set interval to 7200
2018.03.19 12:48:20 4: XiaomiBTLESens (Wz_Palme) - Run CreateParamGatttool with mod: read
2018.03.19 12:48:20 5: XiaomiBTLESens (Wz_Palme) - Read XiaomiBTLESens_ExecGatttool_Run Wz_Palme|C4:7C:8D:65:C4:46|read|0x38
2018.03.19 12:48:20 4: XiaomiBTLESens (Wz_Palme) - stateRequestTimer: Call Request Timer
2018.03.19 12:48:27 0: Server started with 117 defined entities (fhem.pl:16426/2018-03-17 perl:5.024001 os:linux user:fhem pid:498)
Creating socket: Invalid argument
2018.03.19 12:48:28 5: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:65:C4:46 --char-read -a 0x38 2>&1 /dev/null and loop 0
2018.03.19 12:48:30 5: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,63 27 33 2e 31 2e 38

2018.03.19 12:48:30 4: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,63 27 33 2e 31 2e 38
2018.03.19 12:50:19 1: PERL WARNING: Backslash found where operator expected at ./FHEM/74_XiaomiBTLESens.pm line 852, near "encode_json \"
2018.03.19 12:50:19 1: PERL WARNING: (Do you need to predeclare encode_json?)
2018.03.19 12:50:19 3: XiaomiBTLESens (Wz_Palme) - defined with BTMAC C4:7C:8D:65:C4:46
2018.03.19 12:50:19 3: XiaomiBTLESens (Wz_Palme) - set interval to 7200
2018.03.19 12:50:24 4: XiaomiBTLESens (Wz_Palme) - Run CreateParamGatttool with mod: read
2018.03.19 12:50:24 5: XiaomiBTLESens (Wz_Palme) - Read XiaomiBTLESens_ExecGatttool_Run Wz_Palme|C4:7C:8D:65:C4:46|read|0x38
2018.03.19 12:50:24 4: XiaomiBTLESens (Wz_Palme) - stateRequestTimer: Call Request Timer
2018.03.19 12:50:31 0: Server started with 117 defined entities (fhem.pl:16426/2018-03-17 perl:5.024001 os:linux user:fhem pid:1591)
2018.03.19 12:50:31 5: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:65:C4:46 --char-read -a 0x38 2>&1 /dev/null and loop 0
2018.03.19 12:50:36 5: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,63 27 33 2e 31 2e 38

2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,63 27 33 2e 31 2e 38

2018.03.19 12:50:36 5: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Done: gatttool return string: Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x38|HASH(0x117a2e0)
2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Done: JSON error while request: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "HASH(0x117a2e0)") at ./FHEM/74_XiaomiBTLESens.pm line 554.

2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - ProcessingNotification
2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - ProcessingNotification: handle 0x38
2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - FlowerSens Handle0x38
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $notification in split at ./FHEM/74_XiaomiBTLESens.pm line 655.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x38|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataBatFw[0] in concatenation (.) or string at ./FHEM/74_XiaomiBTLESens.pm line 657.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x38|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataBatFw[0] in concatenation (.) or string at ./FHEM/74_XiaomiBTLESens.pm line 658.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x38|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataBatFw[2] in subtraction (-) at ./FHEM/74_XiaomiBTLESens.pm line 659.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x38|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataBatFw[4] in subtraction (-) at ./FHEM/74_XiaomiBTLESens.pm line 659.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x38|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataBatFw[6] in subtraction (-) at ./FHEM/74_XiaomiBTLESens.pm line 659.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x38|HASH(0x117a2e0)')}
2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - WriteReadings: Readings were written
2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - Run CreateParamGatttool with mod: write
2018.03.19 12:50:36 5: XiaomiBTLESens (Wz_Palme) - Write XiaomiBTLESens_ExecGatttool_Run Wz_Palme|C4:7C:8D:65:C4:46|write|0x33|A01F
2018.03.19 12:50:36 5: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:65:C4:46 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 0
2018.03.19 12:50:36 5: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2018.03.19 12:50:36 5: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Done: gatttool return string: Wz_Palme|C4:7C:8D:65:C4:46|ok|write|0x33|HASH(0x117a2e0)
2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Done: JSON error while request: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "HASH(0x117a2e0)") at ./FHEM/74_XiaomiBTLESens.pm line 554.

2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - Run CreateParamGatttool with mod: read
2018.03.19 12:50:36 5: XiaomiBTLESens (Wz_Palme) - Read XiaomiBTLESens_ExecGatttool_Run Wz_Palme|C4:7C:8D:65:C4:46|read|0x35
2018.03.19 12:50:36 5: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:65:C4:46 --char-read -a 0x35 2>&1 /dev/null and loop 0
2018.03.19 12:50:36 5: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,b0 00 00 ee 00 00 00 10 8a 00 02 3c 00 fb 34 9b

2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,b0 00 00 ee 00 00 00 10 8a 00 02 3c 00 fb 34 9b

2018.03.19 12:50:36 5: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Done: gatttool return string: Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)
2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - ExecGatttool_Done: JSON error while request: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "HASH(0x117a2e0)") at ./FHEM/74_XiaomiBTLESens.pm line 554.

2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - ProcessingNotification
2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - ProcessingNotification: handle 0x35
2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - FlowerSens Handle0x35
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $notification in split at ./FHEM/74_XiaomiBTLESens.pm line 676.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataSensor[0] in string ne at ./FHEM/74_XiaomiBTLESens.pm line 679.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataSensor[1] in string ne at ./FHEM/74_XiaomiBTLESens.pm line 679.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataSensor[2] in string ne at ./FHEM/74_XiaomiBTLESens.pm line 679.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataSensor[3] in string ne at ./FHEM/74_XiaomiBTLESens.pm line 679.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataSensor[4] in string ne at ./FHEM/74_XiaomiBTLESens.pm line 679.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataSensor[5] in string ne at ./FHEM/74_XiaomiBTLESens.pm line 679.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataSensor[1] in string eq at ./FHEM/74_XiaomiBTLESens.pm line 682.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataSensor[1] in concatenation (.) or string at ./FHEM/74_XiaomiBTLESens.pm line 685.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_XiaomiBTLESens.pm line 685.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataSensor[4] in concatenation (.) or string at ./FHEM/74_XiaomiBTLESens.pm line 688.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_XiaomiBTLESens.pm line 688.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataSensor[7] in concatenation (.) or string at ./FHEM/74_XiaomiBTLESens.pm line 689.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value $dataSensor[9] in concatenation (.) or string at ./FHEM/74_XiaomiBTLESens.pm line 690.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_XiaomiBTLESens.pm line 690.
2018.03.19 12:50:36 3: eval: {XiaomiBTLESens_ExecGatttool_Done('Wz_Palme|C4:7C:8D:65:C4:46|ok|read|0x35|HASH(0x117a2e0)')}
2018.03.19 12:50:36 4: XiaomiBTLESens (Wz_Palme) - WriteReadings: Readings were written

CoolTux

Ich habe da was gefunden. Genau wie ich es mir dacht.
Könnt Ihr mir sagen welche Perlversion Ihr habt?



Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

HeikoS

This is perl 5, version 24, subversion 1 (v5.24.1) built for arm-linux-gnueabihf-thread-multi-64int

CoolTux

Verstehe ich nicht. ist bei mir genau die selbe Perlversion.

Habe in meinem Git im master branch eine neue Version. Kannst Du die mal bitte testen?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

HeikoS

Klappt perfekt. Vielen Dank.
Internals:
   BTMAC      C4:7C:8D:65:C4:46
   DEF        C4:7C:8D:65:C4:46
   INTERVAL   7200
   NAME       Wz_Palme
   NOTIFYDEV  global,Wz_Palme
   NR         22
   NTFY_ORDER 50-Wz_Palme
   STATE      active
   TYPE       XiaomiBTLESens
   VERSION    2.0.11
   loglevel   4
   READINGS:
     2018-03-19 13:42:37   battery         ok
     2018-03-19 13:42:37   batteryLevel    99
     2018-03-19 13:43:08   fertility       135
     2018-03-19 13:42:37   firmware        3.1.8
     2018-03-04 03:52:09   lastGattError   charWrite faild
     2018-03-19 13:43:08   lux             285
     2018-03-19 13:43:08   moisture        16
     2018-03-19 13:43:08   state           active
     2018-03-19 13:43:08   temperature     17.7
   helper:
     CallBattery 0
     CallSensDataCounter 0
     updateTimeCallBattery 1521463357.96292
     updateTimestampCallBattery 2018-03-19 13:42:37

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Loki

Hallo,
ich bekomme leider von meinen beiden Sensoren folgenden Fehler:
2018.03.30 12:59:20 1 : Timeout for XiaomiBTLESens_ExecGatttool_Run reached, terminated process 25562
2018-03-30 12:59:20 XiaomiBTLESens Drakena unreachable
2018-03-30 12:59:20 XiaomiBTLESens Drakena lastGattError: The BlockingCall Process terminated unexpectedly. Timedout
2018-03-30 12:59:20 XiaomiBTLESens Drakena error


2018-03-30 13:00:25 XiaomiBTLESens Gummibaum read sensor data
2018-03-30 13:00:25 XiaomiBTLESens Gummibaum lastGattError: Invalid argument (22)
2018-03-30 13:00:25 XiaomiBTLESens Gummibaum error


Bis zur letzten Woche liefen sie eigentlich noch. Allerdings auch mit dem alten Modul...

Hier die Devices:
Internals:
   BTMAC      C4:7C:8D:66:16:30
   CFGFN     
   DEF        C4:7C:8D:66:16:30
   INTERVAL   300
   NAME       Drakena
   NOTIFYDEV  global,Drakena
   NR         44811
   NTFY_ORDER 50-Drakena
   STATE      error
   TYPE       XiaomiBTLESens
   VERSION    2.0.12
   loglevel   4
   READINGS:
     2018-03-30 13:05:16   lastGattError   The BlockingCall Process terminated unexpectedly. Timedout
     2018-03-30 13:05:16   state           error
   helper:
     CallBattery 0
     CallSensDataCounter 0
Attributes:
   model      flowerSens
   room       XiaomiBTLESens


Internals:
   BTMAC      C4:7C:8D:62:42:6F
   CFGFN     
   DEF        C4:7C:8D:62:42:6F
   INTERVAL   300
   NAME       Gummibaum
   NOTIFYDEV  global,Gummibaum
   NR         43149
   NTFY_ORDER 50-Gummibaum
   STATE      error
   TYPE       XiaomiBTLESens
   VERSION    2.0.12
   loglevel   4
   READINGS:
     2018-03-30 13:06:48   lastGattError   Invalid argument (22)
     2018-03-30 13:06:48   state           error
   helper:
     CallBattery 0
     CallSensDataCounter 0
Attributes:
   model      flowerSens
   room       XiaomiBTLESens

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Loki

2018.03.30 20:19:20 4: XiaomiBTLESens (Drakena) - Run CreateParamGatttool with mod: read
2018.03.30 20:19:20 5: XiaomiBTLESens (Drakena) - Read XiaomiBTLESens_ExecGatttool_Run Drakena|C4:7C:8D:66:16:30|read|0x38
2018.03.30 20:19:20 4: XiaomiBTLESens (Drakena) - stateRequestTimer: Call Request Timer
2018.03.30 20:19:21 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-read -a 0x38 2>&1 /dev/null and loop 0
2018.03.30 20:20:01 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Connection refused (111)

2018.03.30 20:20:01 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-read -a 0x38 2>&1 /dev/null and loop 1
2018.03.30 20:20:01 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:20:01 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-read -a 0x38 2>&1 /dev/null and loop 2
2018.03.30 20:20:41 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Connection refused (111)

2018.03.30 20:20:41 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-read -a 0x38 2>&1 /dev/null and loop 3
2018.03.30 20:20:42 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:20:42 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-read -a 0x38 2>&1 /dev/null and loop 4
2018.03.30 20:20:43 4: XiaomiBTLESens (Drakena) - Run CreateParamGatttool with mod: read
2018.03.30 20:20:43 5: XiaomiBTLESens (Drakena) - Read XiaomiBTLESens_ExecGatttool_Run Drakena|C4:7C:8D:66:16:30|read|0x38
2018.03.30 20:20:43 4: XiaomiBTLESens (Drakena) - stateRequestTimer: Call Request Timer
2018.03.30 20:20:50 1: Timeout for XiaomiBTLESens_ExecGatttool_Run reached, terminated process 4163
2018.03.30 20:20:50 4: XiaomiBTLESens (Drakena) - WriteReadings: Readings were written
2018.03.30 20:20:50 4: XiaomiBTLESens (Drakena) - ExecGatttool_Aborted: The BlockingCall Process terminated unexpectedly. Timedout
2018.03.30 20:21:44 4: XiaomiBTLESens (Gummibaum) - Run CreateParamGatttool with mod: read
2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - Read XiaomiBTLESens_ExecGatttool_Run Gummibaum|C4:7C:8D:62:42:6F|read|0x38
2018.03.30 20:21:44 4: XiaomiBTLESens (Gummibaum) - stateRequestTimer: Call Request Timer
2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 0
2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 1
2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 2
2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 3
2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 4
2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:21:44 4: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool result connect error,Invalid argument (22)

2018.03.30 20:21:44 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Done: gatttool return string: Gummibaum|C4:7C:8D:62:42:6F|error|read|0x38|{"gtResult":"Invalid argument (22)"}
2018.03.30 20:21:44 4: XiaomiBTLESens (Gummibaum) - ProcessingErrors
2018.03.30 20:21:44 4: XiaomiBTLESens (Gummibaum) - WriteReadings: Readings were written
2018.03.30 20:22:45 4: XiaomiBTLESens (Gummibaum) - Run CreateParamGatttool with mod: read
2018.03.30 20:22:45 5: XiaomiBTLESens (Gummibaum) - Read XiaomiBTLESens_ExecGatttool_Run Gummibaum|C4:7C:8D:62:42:6F|read|0x38
2018.03.30 20:22:45 4: XiaomiBTLESens (Gummibaum) - stateRequestTimer: Call Request Timer
2018.03.30 20:22:45 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 0
2018.03.30 20:22:45 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:22:45 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 1
2018.03.30 20:22:45 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:22:45 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 2
2018.03.30 20:22:45 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:22:45 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 3
2018.03.30 20:22:45 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:22:45 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 4
2018.03.30 20:22:46 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:22:46 4: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool result connect error,Invalid argument (22)

2018.03.30 20:22:46 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Done: gatttool return string: Gummibaum|C4:7C:8D:62:42:6F|error|read|0x38|{"gtResult":"Invalid argument (22)"}
2018.03.30 20:22:46 4: XiaomiBTLESens (Gummibaum) - ProcessingErrors
2018.03.30 20:22:46 4: XiaomiBTLESens (Gummibaum) - WriteReadings: Readings were written
2018.03.30 20:24:45 4: XiaomiBTLESens (Drakena) - Run CreateParamGatttool with mod: read
2018.03.30 20:24:46 5: XiaomiBTLESens (Drakena) - Read XiaomiBTLESens_ExecGatttool_Run Drakena|C4:7C:8D:66:16:30|read|0x38
2018.03.30 20:24:46 4: XiaomiBTLESens (Drakena) - stateRequestTimer: Call Request Timer
2018.03.30 20:24:46 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-read -a 0x38 2>&1 /dev/null and loop 0

CoolTux

Kannst Du Mal bitte den BT Stack zurück setzen? Also entweder über systemd oder Pi neustarten.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Loki

hab den Raspi neu gestartet, einmal hat der Drakena-Sensor etwas gelesen, dann wieder Error:

2018.03.30 20:49:20 4: XiaomiBTLESens (Gummibaum) - Run CreateParamGatttool with mod: read
2018.03.30 20:49:20 5: XiaomiBTLESens (Gummibaum) - Read XiaomiBTLESens_ExecGatttool_Run Gummibaum|C4:7C:8D:62:42:6F|read|0x38
2018.03.30 20:49:20 4: XiaomiBTLESens (Gummibaum) - stateRequestTimer: Call Request Timer
2018.03.30 20:49:20 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 0
2018.03.30 20:49:47 4: XiaomiBTLESens (Drakena) - Run CreateParamGatttool with mod: write
2018.03.30 20:49:47 5: XiaomiBTLESens (Drakena) - Write XiaomiBTLESens_ExecGatttool_Run Drakena|C4:7C:8D:66:16:30|write|0x33|A01F
2018.03.30 20:49:47 4: XiaomiBTLESens (Drakena) - stateRequestTimer: Call Request Timer
2018.03.30 20:49:47 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 0
2018.03.30 20:49:51 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2018.03.30 20:49:51 4: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2018.03.30 20:49:51 5: XiaomiBTLESens (Drakena) - ExecGatttool_Done: gatttool return string: Drakena|C4:7C:8D:66:16:30|ok|write|0x33|{"gtResult":"no data response"}
2018.03.30 20:49:51 4: XiaomiBTLESens (Drakena) - Run CreateParamGatttool with mod: read
2018.03.30 20:49:51 5: XiaomiBTLESens (Drakena) - Read XiaomiBTLESens_ExecGatttool_Run Drakena|C4:7C:8D:66:16:30|read|0x35
2018.03.30 20:49:51 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-read -a 0x35 2>&1 /dev/null and loop 0
2018.03.30 20:49:51 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,d1 00 00 97 00 00 00 0e 7f 00 02 3c 00 fb 34 9b

2018.03.30 20:49:51 4: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,d1 00 00 97 00 00 00 0e 7f 00 02 3c 00 fb 34 9b

2018.03.30 20:49:51 5: XiaomiBTLESens (Drakena) - ExecGatttool_Done: gatttool return string: Drakena|C4:7C:8D:66:16:30|ok|read|0x35|{"gtResult":"d1 00 00 97 00 00 00 0e 7f 00 02 3c 00 fb 34 9b "}
2018.03.30 20:49:51 4: XiaomiBTLESens (Drakena) - ProcessingNotification
2018.03.30 20:49:51 4: XiaomiBTLESens (Drakena) - ProcessingNotification: handle 0x35
2018.03.30 20:49:51 4: XiaomiBTLESens (Drakena) - FlowerSens Handle0x35
2018.03.30 20:49:51 4: XiaomiBTLESens (Drakena) - WriteReadings: Readings were written
2018.03.30 20:50:01 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Connection refused (111)

2018.03.30 20:50:01 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 1
2018.03.30 20:50:01 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:50:01 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 2
2018.03.30 20:50:01 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:50:01 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 3
2018.03.30 20:50:01 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:50:01 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 4
2018.03.30 20:50:01 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:50:01 4: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool result connect error,Invalid argument (22)

2018.03.30 20:50:01 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Done: gatttool return string: Gummibaum|C4:7C:8D:62:42:6F|error|read|0x38|{"gtResult":"Invalid argument (22)"}
2018.03.30 20:50:01 4: XiaomiBTLESens (Gummibaum) - ProcessingErrors
2018.03.30 20:50:01 4: XiaomiBTLESens (Gummibaum) - WriteReadings: Readings were written
2018.03.30 20:55:25 4: XiaomiBTLESens (Gummibaum) - Run CreateParamGatttool with mod: read
2018.03.30 20:55:25 5: XiaomiBTLESens (Gummibaum) - Read XiaomiBTLESens_ExecGatttool_Run Gummibaum|C4:7C:8D:62:42:6F|read|0x38
2018.03.30 20:55:25 4: XiaomiBTLESens (Gummibaum) - stateRequestTimer: Call Request Timer
2018.03.30 20:55:26 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 0
2018.03.30 20:55:26 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:55:26 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 1
2018.03.30 20:55:26 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:55:26 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 2
2018.03.30 20:55:26 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:55:26 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 3
2018.03.30 20:55:26 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:55:26 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 4
2018.03.30 20:55:26 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:55:26 4: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool result connect error,Invalid argument (22)

2018.03.30 20:55:26 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Done: gatttool return string: Gummibaum|C4:7C:8D:62:42:6F|error|read|0x38|{"gtResult":"Invalid argument (22)"}
2018.03.30 20:55:26 4: XiaomiBTLESens (Gummibaum) - ProcessingErrors
2018.03.30 20:55:26 4: XiaomiBTLESens (Gummibaum) - WriteReadings: Readings were written
2018.03.30 20:55:54 4: XiaomiBTLESens (Drakena) - Run CreateParamGatttool with mod: write
2018.03.30 20:55:54 5: XiaomiBTLESens (Drakena) - Write XiaomiBTLESens_ExecGatttool_Run Drakena|C4:7C:8D:66:16:30|write|0x33|A01F
2018.03.30 20:55:54 4: XiaomiBTLESens (Drakena) - stateRequestTimer: Call Request Timer
2018.03.30 20:55:55 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 0
2018.03.30 20:56:35 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Connection refused (111)

2018.03.30 20:56:35 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 1
2018.03.30 20:56:35 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:56:35 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 2
2018.03.30 20:57:15 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Connection refused (111)

2018.03.30 20:57:15 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 3
2018.03.30 20:57:15 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 20:57:15 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 4
2018.03.30 20:57:24 1: Timeout for XiaomiBTLESens_ExecGatttool_Run reached, terminated process 1297
2018.03.30 20:57:24 4: XiaomiBTLESens (Drakena) - WriteReadings: Readings were written
2018.03.30 20:57:24 4: XiaomiBTLESens (Drakena) - ExecGatttool_Aborted: The BlockingCall Process terminated unexpectedly. Timedout
2018.03.30 21:01:53 4: XiaomiBTLESens (Gummibaum) - Run CreateParamGatttool with mod: read
2018.03.30 21:01:53 5: XiaomiBTLESens (Gummibaum) - Read XiaomiBTLESens_ExecGatttool_Run Gummibaum|C4:7C:8D:62:42:6F|read|0x38
2018.03.30 21:01:53 4: XiaomiBTLESens (Gummibaum) - stateRequestTimer: Call Request Timer
2018.03.30 21:01:54 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 0
2018.03.30 21:01:54 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 21:01:54 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 1
2018.03.30 21:01:54 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 21:01:54 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 2
2018.03.30 21:01:54 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 21:01:54 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 3
2018.03.30 21:01:54 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 21:01:54 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x38 2>&1 /dev/null and loop 4
2018.03.30 21:01:54 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 21:01:54 4: XiaomiBTLESens (Gummibaum) - ExecGatttool_Run: gatttool result connect error,Invalid argument (22)

2018.03.30 21:01:54 5: XiaomiBTLESens (Gummibaum) - ExecGatttool_Done: gatttool return string: Gummibaum|C4:7C:8D:62:42:6F|error|read|0x38|{"gtResult":"Invalid argument (22)"}
2018.03.30 21:01:54 4: XiaomiBTLESens (Gummibaum) - ProcessingErrors
2018.03.30 21:01:54 4: XiaomiBTLESens (Gummibaum) - WriteReadings: Readings were written
2018.03.30 21:02:21 4: XiaomiBTLESens (Drakena) - Run CreateParamGatttool with mod: write
2018.03.30 21:02:21 5: XiaomiBTLESens (Drakena) - Write XiaomiBTLESens_ExecGatttool_Run Drakena|C4:7C:8D:66:16:30|write|0x33|A01F
2018.03.30 21:02:21 4: XiaomiBTLESens (Drakena) - stateRequestTimer: Call Request Timer
2018.03.30 21:02:22 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 0
2018.03.30 21:03:02 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Connection refused (111)

2018.03.30 21:03:02 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 1
2018.03.30 21:03:02 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 21:03:02 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 2
2018.03.30 21:03:42 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Connection refused (111)

2018.03.30 21:03:42 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 3
2018.03.30 21:03:42 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: gatttool loop result connect error,Invalid argument (22)

2018.03.30 21:03:42 5: XiaomiBTLESens (Drakena) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b C4:7C:8D:66:16:30 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null and loop 4
2018.03.30 21:03:51 1: Timeout for XiaomiBTLESens_ExecGatttool_Run reached, terminated process 1774
2018.03.30 21:03:51 4: XiaomiBTLESens (Drakena) - WriteReadings: Readings were written
2018.03.30 21:03:51 4: XiaomiBTLESens (Drakena) - ExecGatttool_Aborted: The BlockingCall Process terminated unexpectedly. Timedout


Evtl noch ein Hinweis - es ist ein neuer Raspi 3B+

CoolTux

Also nicht die selbe Hardware unter der das alte Modul ohne Probleme lief? Hast Du irgendwas verändert bei der Installation oder einfach nur Raspi drauf und FHEM?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Fede

Mit neu Raspberry pi3+  bluetooth nicht stabil. Viele probleme auch fur mich.  Ensculdige fur schlechte Deutsch.

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Fede

In crontab 10min sudo hciconfig hci0 down/up. Ein bischen  gut