!!!ABGELÖST!!! [74_XiaomiFlowerSens.pm] Xiaomi Flower Monitor

Begonnen von CoolTux, 17 November 2016, 13:25:06

Vorheriges Thema - Nächstes Thema

Jamo

Hi Leon,
ich habe dein neue Version 1.1.51 in Erprobung, ich bekomme aber immer ein
grep: AA:BB:CC:DD:EE:FF: No such file or directory
für alle meine Flowermonitoren.
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/Conbee III, FB7690, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack, Sonos, ESPresence

CoolTux

Zitat von: inoma am 02 Oktober 2017, 21:31:49
Hi Leon,
ich habe dein neue Version 1.1.51 in Erprobung, ich bekomme aber immer ein
grep: AA:BB:CC:DD:EE:FF: No such file or directory
für alle meine Flowermonitoren.

Zeig mal bitte ein list.
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

Jamo

So siehts aus:

Internals:
   BTMAC      C4:7C:8D:61:B4:D9
   DEF        C4:7C:8D:61:B4:D9
   INTERVAL   902
   NAME       Blume2
   NR         4056
   STATE      M[20]: 23 &nbsp T: 20.2°C &nbsp L: 12 Lux &nbsp Ft: 118 &nbsp 10-02 21:58
   TYPE       XiaomiFlowerSens
   VERSION    1.1.51
   READINGS:
     2017-07-13 21:47:38   BatterieWechsel 05.07.2017
     2017-10-02 21:58:43   OldMoist        23
     2017-10-02 21:58:43   battery         ok
     2017-10-02 21:58:43   batteryLevel    98
     2017-10-02 21:58:43   fertility       118
     2017-10-02 21:58:43   firmware        3.1.8
     2017-10-02 21:23:10   lastGattError   Function not implemented (38)

     2017-10-02 21:58:43   lux             120
     2017-10-02 21:58:43   lux10           12
     2017-10-02 21:58:43   moisture        23
     2017-10-02 21:58:43   state           active
     2017-10-02 21:58:43   temperature     20.2
     2017-10-02 21:58:43   timestamp       10-02 21:58
   helper:
     updateTimeCallBatteryFirmware 0
Attributes:
   alias      Dracaena Marginata S
   comment    Sparsam alle 5 Tage gießen;
   event-on-change-reading lux,moisture,battery,batteryLevel
   event-on-update-reading moisture
   group      BLUMEN
   interval   902
   minMoisture 20
   minTemp    19
   room       Favourites,Schlafzimmer,Wohnung
   sortby     12
   sshHost    pizero
   stateFormat M[20]: moisture &nbsp T: temperature°C &nbsp L: lux10 Lux &nbsp Ft: fertility &nbsp timestamp
   userReadings timestamp:moisture.* {sprintf("%s",substr(ReadingsTimestamp("Blume2","moisture","nA"),5,11))},
lux10:lux.* {sprintf("%d",((ReadingsVal("Blume2","lux","nA")+5)/10))}
   verbose    0
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/Conbee III, FB7690, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack, Sonos, ESPresence

CoolTux

Wie hast Du das Modul installiert? Neustart schon probiert?
Gehe mal bitte in die Detailansicht eines Devices und mache dann ein DEF und ein modify
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

Jamo

Hallo Leon,
ich habe das modul bei Dir aus dem Devel kopiert, dann ins /opt/fhem/FHEM kopiert, dann
sudo chmod 644 74_XiaomiFlowerSens.pm
sudo chown -R root:dialout 74_XiaomiFlowerSens.pm

Neustart und DEF und ein modify habe ich gerade auch probiert, keine Änderung.

Ich glaube es liegt am sshHost, wenn ich das Attribut sshHost lösche, dann ein 'save' mache, dann bekomme ich die Meldung nicht.
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/Conbee III, FB7690, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack, Sonos, ESPresence

CoolTux

Das ist durchaus Möglich, wobei ich eigentlich dachte für ssh Host alles mitgenommen zu haben. Ich muss da selber erst noch mal schauen.

Danke fürs 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

Jamo

Hab das sshHost gerade nochmal bei allen 8 Blumen rausgenommen, ohne sshHost habe ich keine Meldung im Logfile.
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/Conbee III, FB7690, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack, Sonos, ESPresence

CoolTux

Liegt definitiv am ssh. So ein misst und ich weiß noch nicht wo das her kommt. Schaue ich mir die Tage dann mal an.
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

CoolTux

Also ich konnte den SSH reparieren. Würde mich freuen wenn das mal einer testen kann, da er bei mir zu lange braucht zwischen cen charwrite und dem charread. Da bekomme ich dann korrupte Daten.

Bitte mit verbose 5 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

Jamo

#819
Hallo Leon,
das hats bei mir ziemlich zerschossen, das genze endet mit "Cannot fork: Cannot allocate memory", und FHEM hängt sich dann auf.

2017.10.04 08:06:53 1: Timeout for XiaomiFlowerSens_ExecGatttool_Run reached, terminated process 22782
2017.10.04 08:08:14 1: Timeout for XiaomiFlowerSens_ExecGatttool_Run reached, terminated process 23433
2017.10.04 08:08:21 1: Timeout for XiaomiFlowerSens_ExecGatttool_Run reached, terminated process 23489
2017.10.04 08:08:23 1: Timeout for XiaomiFlowerSens_ExecGatttool_Run reached, terminated process 23523
2017.10.04 08:08:25 1: Timeout for XiaomiFlowerSens_ExecGatttool_Run reached, terminated process 23538
2017.10.04 08:09:01 1: Timeout for XiaomiFlowerSens_ExecGatttool_Run reached, terminated process 23817
ssh_exchange_identification: read: Connection reset by peer
2017.10.04 08:09:21 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:09:21 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|error|read|0x35|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:09:21 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:09:21 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|error|read|0x35|{"gtResult":"Device or resource busy (16)\n"}')}
ssh_exchange_identification: Connection closed by remote host
2017.10.04 08:09:21 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:09:21 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: Connection closed by remote host
2017.10.04 08:09:40 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:09:40 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|ok|write|0x33|{"gtResult":"no data response"}')}
2017.10.04 08:09:40 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:09:40 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:09:40 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:09:40 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|ok|write|0x33|{"gtResult":"no data response"}')}
2017.10.04 08:09:40 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:09:40 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
ssh_exchange_identification: Connection closed by remote host
2017.10.04 08:09:40 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:09:40 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:09:40 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:09:40 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
2017.10.04 08:09:51 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:09:51 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|error|read|0x35|{"gtResult":"no data response"}')}
2017.10.04 08:09:51 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:09:51 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|error|read|0x35|{"gtResult":"no data response"}')}
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
2017.10.04 08:09:54 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:09:54 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:09:54 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:09:54 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|read|0x35|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:09:54 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:09:54 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume3|C4:7C:8D:63:49:16|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:09:54 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:09:54 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|read|0x35|{"gtResult":"Device or resource busy (16)\n"}')}
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
2017.10.04 08:10:09 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:10:09 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|ok|write|0x33|{"gtResult":"no data response"}')}
2017.10.04 08:10:09 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:10:09 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|ok|write|0x33|{"gtResult":"no data response"}')}
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: Connection closed by remote host
2017.10.04 08:10:28 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:10:28 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:10:28 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:10:28 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
ssh_exchange_identification: Connection closed by remote host
2017.10.04 08:10:28 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:10:28 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|read|0x35|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:10:28 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:10:28 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|read|0x35|{"gtResult":"Device or resource busy (16)\n"}')}
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: Connection closed by remote host
2017.10.04 08:10:29 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:10:29 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:10:29 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|write|0x33|no gatttool binary found. Please check if bluez-package is properly installed')}
2017.10.04 08:10:29 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|write|0x33|no gatttool binary found. Please check if bluez-package is properly installed')}
2017.10.04 08:10:29 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:10:29 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:10:29 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|write|0x33|no gatttool binary found. Please check if bluez-package is properly installed')}
2017.10.04 08:10:29 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|write|0x33|no gatttool binary found. Please check if bluez-package is properly installed')}
ssh_exchange_identification: read: Connection reset by peer
2017.10.04 08:10:30 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:10:30 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|ok|write|0x33|{"gtResult":"no data response"}')}
2017.10.04 08:10:30 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:10:30 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|ok|write|0x33|{"gtResult":"no data response"}')}
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
2017.10.04 08:10:37 1: Timeout for XiaomiFlowerSens_ExecGatttool_Run reached, terminated process 24490
2017.10.04 08:10:44 1: Timeout for XiaomiFlowerSens_ExecGatttool_Run reached, terminated process 24568
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: read: Connection reset by peer
2017.10.04 08:10:48 1: PERL WARNING: Use of uninitialized value $gatttool in scalar chomp at ./FHEM/74_XiaomiFlowerSens.pm line 367.
ssh_exchange_identification: Connection closed by remote host
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gatttool in -x at ./FHEM/74_XiaomiFlowerSens.pm line 369.
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:10:48 1: PERL WARNING: Use of uninitialized value $gatttool in scalar chomp at ./FHEM/74_XiaomiFlowerSens.pm line 367.
2017.10.04 08:10:48 1: PERL WARNING: Use of uninitialized value $grepGatttool in pattern match (m//) at ./FHEM/74_XiaomiFlowerSens.pm line 384.
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|read|0x35|no gatttool binary found. Please check if bluez-package is properly installed')}
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gatttool in -x at ./FHEM/74_XiaomiFlowerSens.pm line 369.
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|ok|write|0x33|{"gtResult":"Device or resource busy (16)\n"}')}
2017.10.04 08:10:49 1: PERL WARNING: Use of uninitialized value $gatttool in scalar chomp at ./FHEM/74_XiaomiFlowerSens.pm line 367.
2017.10.04 08:10:49 1: PERL WARNING: Use of uninitialized value $grepGatttool in pattern match (m//) at ./FHEM/74_XiaomiFlowerSens.pm line 384.
2017.10.04 08:10:49 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:49 1: PERL WARNING: Use of uninitialized value $grepGatttool in pattern match (m//) at ./FHEM/74_XiaomiFlowerSens.pm line 384.
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|write|0x33|no gatttool binary found. Please check if bluez-package is properly installed')}
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|read|0x35|no gatttool binary found. Please check if bluez-package is properly installed')}
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: Connection closed by remote host
ssh_exchange_identification: Connection closed by remote host
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|write|0x33|no gatttool binary found. Please check if bluez-package is properly installed')}
ssh_exchange_identification: Connection closed by remote host
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gatttool in -x at ./FHEM/74_XiaomiFlowerSens.pm line 369.
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|write|0x33|no gatttool binary found. Please check if bluez-package is properly installed')}
ssh_exchange_identification: Connection closed by remote host
2017.10.04 08:10:56 1: Timeout for XiaomiFlowerSens_ExecGatttool_Run reached, terminated process 24618
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|read|0x35|no gatttool binary found. Please check if bluez-package is properly installed')}
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|read|0x35|no gatttool binary found. Please check if bluez-package is properly installed')}
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string eq at ./FHEM/74_XiaomiFlowerSens.pm line 400.
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|read|0x35|no gatttool binary found. Please check if bluez-package is properly installed')}
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gtResult[0] in string ne at ./FHEM/74_XiaomiFlowerSens.pm line 418.
2017.10.04 08:10:56 3: eval: {XiaomiFlowerSens_ExecGatttool_Done('Blume8|C4:7C:8D:63:89:AA|error|read|0x35|no gatttool binary found. Please check if bluez-package is properly installed')}
ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gatttool in scalar chomp at ./FHEM/74_XiaomiFlowerSens.pm line 367.
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gatttool in -x at ./FHEM/74_XiaomiFlowerSens.pm line 369.
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gatttool in scalar chomp at ./FHEM/74_XiaomiFlowerSens.pm line 367.
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gatttool in -x at ./FHEM/74_XiaomiFlowerSens.pm line 369.
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
ssh_exchange_identification: read: Connection reset by peer
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gatttool in scalar chomp at ./FHEM/74_XiaomiFlowerSens.pm line 367.
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gatttool in -x at ./FHEM/74_XiaomiFlowerSens.pm line 369.
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gatttool in scalar chomp at ./FHEM/74_XiaomiFlowerSens.pm line 367.
2017.10.04 08:10:56 1: PERL WARNING: Use of uninitialized value $gatttool in -x at ./FHEM/74_XiaomiFlowerSens.pm line 369.
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
2017.10.04 08:10:56 1: Cannot fork: Cannot allocate memory
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/Conbee III, FB7690, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack, Sonos, ESPresence

CoolTux

Hast du versucht alle 8 auf einmal ab zu rufen? Deaktiviere Mal bitte 7 und mach mal bitte ein Neustart von FHEM. Danach schauen wir mal
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

Jamo

Hallo Leon,
aktiv habe ich nicht versucht, alle 8 Blumen auf einmal abzurufen. Ich habe alles so gelassen wie vorher auch. Ich habe einfach deine Developer Version von 74_XiaomiFlowerSens.pm eingespielt, und eine re-load und dann Neustart gemacht. Wann der Aufruf erfolgt steuere ich nicht, das kann man ja auch nicht einzeln einstellen, oder?

Ich werde es heute Abend mal probieren.
Gruss!
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/Conbee III, FB7690, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack, Sonos, ESPresence

CoolTux

Klar kannst das. Einfach ein set statusRequest bei einer machen.  ;D
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

Jamo

Hallo Leon,
die devel version mit dem SSH funktioniert irgendwie nicht. Die Readings werden nicht aktualisiert.
Hier der LOG mit level 5.
Ab 20:08 habe ich den alten 74_XiaomiFlowerSens.pm zurückkopiert, und ein re-load gemacht. Das hat dann funktioniert, readings wurden aktualisiert.
2017.10.04 22:04:13 2: Presence_GTag_RED_collect: Event: present
2017.10.04 22:04:24 4: XiaomiFlowerSens (Blume1) - WriteSensData: call function ExecGatttool_Run
2017.10.04 22:04:59 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|read|0x35|{"gtResult":"aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00 \n"}
2017.10.04 22:04:59 5: XiaomiFlowerSens (Blume1) - ProcessingNotification
2017.10.04 22:04:59 4: XiaomiFlowerSens (Blume1) - ProcessingNotification: handle 0x35
2017.10.04 22:04:59 5: XiaomiFlowerSens (Blume1) - Handle0x35
2017.10.04 22:04:59 4: XiaomiFlowerSens (Blume1) - WriteReadings: Readings were written
2017.10.04 22:04:59 4: XiaomiFlowerSens (Blume1) - WriteSensData: call function ExecGatttool_Run
2017.10.04 22:05:02 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null' and loop 0
2017.10.04 22:05:07 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2017.10.04 22:05:07 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2017.10.04 22:05:07 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|write|0x33|{"gtResult":"no data response"}
2017.10.04 22:05:07 4: XiaomiFlowerSens (Blume1) - CallSensData: call function ExecGatttool_Run
2017.10.04 22:05:09 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-read -a 0x35 2>&1 /dev/null' and loop 0
2017.10.04 22:05:11 4: XiaomiFlowerSens (Blume1) - WriteSensData: call function ExecGatttool_Run
2017.10.04 22:05:20 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:05:20 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:05:20 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|read|0x35|{"gtResult":"aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00 \n"}
2017.10.04 22:05:20 5: XiaomiFlowerSens (Blume1) - ProcessingNotification
2017.10.04 22:05:20 4: XiaomiFlowerSens (Blume1) - ProcessingNotification: handle 0x35
2017.10.04 22:05:20 5: XiaomiFlowerSens (Blume1) - Handle0x35
2017.10.04 22:05:20 4: XiaomiFlowerSens (Blume1) - WriteReadings: Readings were written
2017.10.04 22:05:20 4: XiaomiFlowerSens (Blume1) - WriteSensData: call function ExecGatttool_Run
2017.10.04 22:05:22 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null' and loop 0
2017.10.04 22:05:45 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2017.10.04 22:05:45 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2017.10.04 22:05:45 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|write|0x33|{"gtResult":"no data response"}
2017.10.04 22:05:45 4: XiaomiFlowerSens (Blume1) - CallSensData: call function ExecGatttool_Run
2017.10.04 22:05:47 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-read -a 0x35 2>&1 /dev/null' and loop 0
2017.10.04 22:05:52 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:05:52 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:05:52 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|read|0x35|{"gtResult":"aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00 \n"}
2017.10.04 22:05:52 5: XiaomiFlowerSens (Blume1) - ProcessingNotification
2017.10.04 22:05:52 4: XiaomiFlowerSens (Blume1) - ProcessingNotification: handle 0x35
2017.10.04 22:05:52 5: XiaomiFlowerSens (Blume1) - Handle0x35
2017.10.04 22:05:52 4: XiaomiFlowerSens (Blume1) - WriteSensData: call function ExecGatttool_Run
2017.10.04 22:05:54 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null' and loop 0
2017.10.04 22:06:01 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2017.10.04 22:06:01 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2017.10.04 22:06:01 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|write|0x33|{"gtResult":"no data response"}
2017.10.04 22:06:01 4: XiaomiFlowerSens (Blume1) - CallSensData: call function ExecGatttool_Run
2017.10.04 22:06:03 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-read -a 0x35 2>&1 /dev/null' and loop 0
2017.10.04 22:06:06 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:06:06 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:06:06 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|read|0x35|{"gtResult":"aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00 \n"}
2017.10.04 22:06:06 5: XiaomiFlowerSens (Blume1) - ProcessingNotification
2017.10.04 22:06:06 4: XiaomiFlowerSens (Blume1) - ProcessingNotification: handle 0x35
2017.10.04 22:06:06 5: XiaomiFlowerSens (Blume1) - Handle0x35
2017.10.04 22:06:06 4: XiaomiFlowerSens (Blume1) - WriteReadings: Readings were written
2017.10.04 22:06:06 4: XiaomiFlowerSens (Blume1) - WriteSensData: call function ExecGatttool_Run
2017.10.04 22:06:09 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null' and loop 0
2017.10.04 22:06:20 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2017.10.04 22:06:20 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2017.10.04 22:06:20 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|write|0x33|{"gtResult":"no data response"}
2017.10.04 22:06:20 4: XiaomiFlowerSens (Blume1) - CallSensData: call function ExecGatttool_Run
2017.10.04 22:06:22 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-read -a 0x35 2>&1 /dev/null' and loop 0
2017.10.04 22:06:35 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result connect error,Function not implemented (38)

2017.10.04 22:06:35 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-read -a 0x35 2>&1 /dev/null' and loop 1
2017.10.04 22:06:42 3: Watchdog Presence_Bernd_iBTon_collect_a triggered
2017.10.04 22:06:42 2: iBTon Absent
2017.10.04 22:06:46 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result connect error,Transport endpoint is not connected (107)

2017.10.04 22:06:46 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-read -a 0x35 2>&1 /dev/null' and loop 2
2017.10.04 22:06:51 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:06:51 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:06:51 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|read|0x35|{"gtResult":"aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00 \n"}
2017.10.04 22:06:51 5: XiaomiFlowerSens (Blume1) - ProcessingNotification
2017.10.04 22:06:51 4: XiaomiFlowerSens (Blume1) - ProcessingNotification: handle 0x35
2017.10.04 22:06:51 5: XiaomiFlowerSens (Blume1) - Handle0x35
2017.10.04 22:06:51 4: XiaomiFlowerSens (Blume1) - WriteSensData: call function ExecGatttool_Run
2017.10.04 22:06:53 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null' and loop 0
2017.10.04 22:07:00 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result connect error,Transport endpoint is not connected (107)

2017.10.04 22:07:00 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null' and loop 1
2017.10.04 22:07:07 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2017.10.04 22:07:07 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2017.10.04 22:07:07 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|write|0x33|{"gtResult":"no data response"}
2017.10.04 22:07:07 4: XiaomiFlowerSens (Blume1) - CallSensData: call function ExecGatttool_Run
2017.10.04 22:07:10 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-read -a 0x35 2>&1 /dev/null' and loop 0
2017.10.04 22:07:21 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:07:21 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:07:21 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|read|0x35|{"gtResult":"aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00 \n"}
2017.10.04 22:07:21 5: XiaomiFlowerSens (Blume1) - ProcessingNotification
2017.10.04 22:07:21 4: XiaomiFlowerSens (Blume1) - ProcessingNotification: handle 0x35
2017.10.04 22:07:21 5: XiaomiFlowerSens (Blume1) - Handle0x35
2017.10.04 22:07:21 4: XiaomiFlowerSens (Blume1) - WriteReadings: Readings were written
2017.10.04 22:07:21 4: XiaomiFlowerSens (Blume1) - WriteSensData: call function ExecGatttool_Run
2017.10.04 22:07:23 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null' and loop 0
2017.10.04 22:07:26 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2017.10.04 22:07:26 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2017.10.04 22:07:26 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|write|0x33|{"gtResult":"no data response"}
2017.10.04 22:07:26 4: XiaomiFlowerSens (Blume1) - CallSensData: call function ExecGatttool_Run
2017.10.04 22:07:29 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-read -a 0x35 2>&1 /dev/null' and loop 0
2017.10.04 22:07:41 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result connect error,Function not implemented (38)

2017.10.04 22:07:41 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-read -a 0x35 2>&1 /dev/null' and loop 1
2017.10.04 22:07:48 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:07:48 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:07:48 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|read|0x35|{"gtResult":"aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00 \n"}
2017.10.04 22:07:48 5: XiaomiFlowerSens (Blume1) - ProcessingNotification
2017.10.04 22:07:48 4: XiaomiFlowerSens (Blume1) - ProcessingNotification: handle 0x35
2017.10.04 22:07:48 5: XiaomiFlowerSens (Blume1) - Handle0x35
2017.10.04 22:07:48 4: XiaomiFlowerSens (Blume1) - WriteSensData: call function ExecGatttool_Run
2017.10.04 22:07:50 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null' and loop 0
2017.10.04 22:07:58 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result connect error,Transport endpoint is not connected (107)

2017.10.04 22:07:58 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-write-req -a 0x33 -n A01F 2>&1 /dev/null' and loop 1
2017.10.04 22:08:04 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value was written successfully

2017.10.04 22:08:04 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value was written successfully

2017.10.04 22:08:04 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|write|0x33|{"gtResult":"no data response"}
2017.10.04 22:08:04 4: XiaomiFlowerSens (Blume1) - CallSensData: call function ExecGatttool_Run
2017.10.04 22:08:07 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-read -a 0x35 2>&1 /dev/null' and loop 0
2017.10.04 22:08:08 1: PERL WARNING: Subroutine XiaomiFlowerSens_Initialize redefined at ./FHEM/74_XiaomiFlowerSens.pm line 63.
2017.10.04 22:08:08 1: PERL WARNING: Subroutine XiaomiFlowerSens_Define redefined at ./FHEM/74_XiaomiFlowerSens.pm line 94.
2017.10.04 22:08:08 1: PERL WARNING: Subroutine XiaomiFlowerSens_Undef redefined at ./FHEM/74_XiaomiFlowerSens.pm line 129.
2017.10.04 22:08:08 1: PERL WARNING: Subroutine XiaomiFlowerSens_Attr redefined at ./FHEM/74_XiaomiFlowerSens.pm line 145.
2017.10.04 22:08:08 1: PERL WARNING: Subroutine XiaomiFlowerSens_stateRequest redefined at ./FHEM/74_XiaomiFlowerSens.pm line 199.
2017.10.04 22:08:08 1: PERL WARNING: Subroutine XiaomiFlowerSens_stateRequestTimer redefined at ./FHEM/74_XiaomiFlowerSens.pm line 217.
2017.10.04 22:08:08 1: PERL WARNING: Subroutine XiaomiFlowerSens_Set redefined at ./FHEM/74_XiaomiFlowerSens.pm line 239.
2017.10.04 22:08:13 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result connect error,Transport endpoint is not connected (107)

2017.10.04 22:08:13 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: call gatttool with command ssh pizero 'gatttool -i hci0 -b C4:7C:8D:61:B9:A2 --char-read -a 0x35 2>&1 /dev/null' and loop 1
2017.10.04 22:08:17 5: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:08:17 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00

2017.10.04 22:08:17 4: XiaomiFlowerSens (Blume1) - ExecGatttool_Done: gatttool return string: Blume1|C4:7C:8D:61:B9:A2|ok|read|0x35|{"gtResult":"aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00 \n"}
2017.10.04 22:08:17 5: XiaomiFlowerSens (Blume1) - ProcessingNotification
2017.10.04 22:08:17 4: XiaomiFlowerSens (Blume1) - ProcessingNotification: handle 0x35
2017.10.04 22:08:17 5: XiaomiFlowerSens (Blume1) - Handle0x35
2017.10.04 22:08:17 4: Sub XiaomiFlowerSens_Run (Blume1) - start blocking call
2017.10.04 22:08:17 4: Sub XiaomiFlowerSens_BlockingRun (Blume1) - Running nonBlocking
2017.10.04 22:08:20 5: Sub XiaomiFlowerSens_callGatttool (Blume1) - WFR: 1
2017.10.04 22:08:23 4: Sub XiaomiFlowerSens_Run (Blume1) - start blocking call
2017.10.04 22:08:29 4: Sub XiaomiFlowerSens_callGatttool (Blume1) - write data to host pizero
2017.10.04 22:08:29 4: Sub XiaomiFlowerSens_callGatttool (Blume1) - call gatttool charWrite loop 1
2017.10.04 22:08:29 4: Sub XiaomiFlowerSens_callGatttool (Blume1) - charWrite wresp: Characteristic value was written successfully

2017.10.04 22:08:29 4: Sub XiaomiFlowerSens_callGatttool (Blume1) - run gatttool
2017.10.04 22:08:30 4: Sub XiaomiFlowerSens_callGatttool (Blume1) - call data from host pizero
2017.10.04 22:08:30 4: Sub XiaomiFlowerSens_callGatttool (Blume1) - call gatttool charRead loop 1
2017.10.04 22:08:30 4: Sub XiaomiFlowerSens_callGatttool (Blume1) - processing gatttool response. sensData[0]: Characteristic value/descriptor
2017.10.04 22:08:30 4: Sub XiaomiFlowerSens_callGatttool (Blume1) - processing gatttool response. sensData: c0 00 00 a4 00 00 00 1a 60 02 02 3c 00 fb 34 9b

2017.10.04 22:08:31 4: Sub XiaomiFlowerSens_callGatttool (Blume1) - call firm/batt data from host pizero
2017.10.04 22:08:31 4: Sub XiaomiFlowerSens (Blume1) - call gatttool readBatFw loop 1
2017.10.04 22:08:31 4: Sub XiaomiFlowerSens_callGatttool (Blume1) - processing gatttool response. batFwData: 61 27 33 2e 31 2e 38

2017.10.04 22:08:31 4: Sub XiaomiFlowerSens_BlockingRun (Blume1) - Processing response data: c0 00 00 a4 00 00 00 1a 60 02 02 3c 00 fb 34 9b

2017.10.04 22:08:31 4: Sub XiaomiFlowerSens_BlockingRun (Blume1) - no dataerror, create encode json: {"fertility":608,"firmware":"3.1.8","temp":192,"blevel":97,"moisture":26,"lux":164}
2017.10.04 22:08:32 4: Sub XiaomiFlowerSens_BlockingDone (Blume1) - Abschluss!
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/Conbee III, FB7690, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack, Sonos, ESPresence

CoolTux

Vielen Dank fürs testen.
Ich habe auch bemerkt das es mit SSH große Probleme auf einmal gibt. Was ich nicht ganz verstehe ist das selbst wenn ich es normal auf der Konsole ausführe es nicht geht.


ssh webapp01 'gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-write-req -a 0x33 -n A01F 2>&1 /dev/null'
und dann
ssh webapp01 'gatttool -i hci0 -b C4:7C:8D:62:42:6F --char-read -a 0x35 2>&1 /dev/null'


Und dennoch kommt nur Mist bei raus.
Kannst Du das mal bitte bei Dir testen?



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