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

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

Vorheriges Thema - Nächstes Thema

Mickey

Servus,

Mathze,  t1me2die hat dafür vermutlich ein Modul geschrieben.
Bitte Frage ihn einmal.

Grüße, Michael
Zu mir:
Ich bin leider fast blind (EU Rentner) und nicht zu "faul" was nachzulesen. Bitte seht mir nach, wenn ich einmal zu viel frage oder auch mal Schreibfehler mache. Danke, Michael

kroonen

Hi,

I use a cleargrass sensor, but only gets values zero

Here the result and also a verbose 5 for the reading


hem> l Slaaptemp2
Internals:
   BTMAC      58:2D:34:10:C8:6B
   DEF        58:2D:34:10:C8:6B
   FUUID      5e406756-f33f-5f49-28fb-396f8b14e8329cb8
   FVERSION   74_XiaomiBTLESens.pm:v2.8.2-s20924/2020-01-10
   INTERVAL   120
   NAME       Slaaptemp2
   NOTIFYDEV  global,Slaaptemp2
   NR         94
   NTFY_ORDER 50-Slaaptemp2
   STATE      T: 0 H: 0
   TYPE       XiaomiBTLESens
   VERSION    v2.8.2
   loglevel   4
   READINGS:
     2020-02-09 21:11:08   firmware        1.1.2_0020
     2020-02-09 21:11:08   state           T: 0 H: 0
   helper:
     CallBattery 0
     CallSensDataCounter 0
Attributes:
   interval   120
   model      clearGrassSens
   room       XiaomiBTLESens


2020.02.09 21:17:16 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,86 77 f7 fb d1 5c e2 08 e6 c5 de bf

2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,86 77 f7 fb d1 5c e2 08 e6 c5 de bf

2020.02.09 21:17:16 5: Cmd: >{BlockingStart('4')}<
2020.02.09 21:17:16 5: Cmd: >{FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x3b|{"gtResult":"86 77 f7 fb d1 5c e2 08 e6 c5 de bf "}')}<
2020.02.09 21:17:16 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Done: gatttool return string: Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x3b|{"gtResult":"86 77 f7 fb d1 5c e2 08 e6 c5 de bf "}
2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - ProcessingNotification
2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - ProcessingNotification: handle 0x3b
2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - Clear Grass Sens Handle0x3b
2020.02.09 21:17:16 5: Starting notify loop for Slaaptemp2, 3 event(s), first is batteryState: low
2020.02.09 21:17:16 5: End notify loop for Slaaptemp2
2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - WriteReadings: Readings were written
2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - Run CreateParamGatttool with mod: read
2020.02.09 21:17:16 4: BlockingCall (FHEM::XiaomiBTLESens::ExecGatttool_Run): created child (19723), uses telnetPort to connect back
2020.02.09 21:17:16 5: Starting notify loop for Slaaptemp2, 1 event(s), first is read sensor data
2020.02.09 21:17:16 5: End notify loop for Slaaptemp2
2020.02.09 21:17:16 5: XiaomiBTLESens (Slaaptemp2) - Read XiaomiBTLESens_ExecGatttool_Run Slaaptemp2|58:2D:34:10:C8:6B|read|0x1e
2020.02.09 21:17:16 4: Connection accepted from telnetPort_127.0.0.1_33226
2020.02.09 21:17:16 5: Cmd: >{BlockingRegisterTelnet($cl,9)}<
2020.02.09 21:17:16 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: Execute Command ps ax | grep -E [g]atttool -i hci0 -b 58:2D:34:10:C8:6B
2020.02.09 21:17:16 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b 58:2D:34:10:C8:6B --char-read -a 0x1e 2>&1 and loop 0
2020.02.09 21:17:17 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,ac

2020.02.09 21:17:17 4: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,ac

2020.02.09 21:17:17 5: Cmd: >{BlockingStart('9')}<
2020.02.09 21:17:17 5: Cmd: >{FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}')}<
2020.02.09 21:17:17 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Done: gatttool return string: Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}
2020.02.09 21:17:17 4: XiaomiBTLESens (Slaaptemp2) - ProcessingNotification
2020.02.09 21:17:17 4: XiaomiBTLESens (Slaaptemp2) - ProcessingNotification: handle 0x1e
2020.02.09 21:17:17 4: XiaomiBTLESens (Slaaptemp2) - Clear Grass Sens Handle0x1e
2020.02.09 21:17:17 1: PERL WARNING: substr outside of string at ./FHEM/74_XiaomiBTLESens.pm line 1140.
2020.02.09 21:17:17 3: eval: {FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}')}
2020.02.09 21:17:17 1: PERL WARNING: Use of uninitialized value in hex at ./FHEM/74_XiaomiBTLESens.pm line 1140.
2020.02.09 21:17:17 3: eval: {FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}')}
2020.02.09 21:17:17 1: PERL WARNING: substr outside of string at ./FHEM/74_XiaomiBTLESens.pm line 1141.
2020.02.09 21:17:17 3: eval: {FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}')}
2020.02.09 21:17:17 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_XiaomiBTLESens.pm line 1141.
2020.02.09 21:17:17 3: eval: {FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}')}
2020.02.09 21:17:17 5: Starting notify loop for Slaaptemp2, 3 event(s), first is temperature: 0
2020.02.09 21:17:17 5: End notify loop for Slaaptemp2
2020.02.09 21:17:17 4: XiaomiBTLESens (Slaaptemp2) - WriteReadings: Readings were written

kroonen


Holger S

Hallo CoolTux

hast du schon was erreichen können bezüglich des Sensors

XIAOMI Mijia
LYWSD03MMC

Hast ihn ja bei Ebay bestellt..

Vielen Dank

CoolTux

Hallo Holger,

Das Teil kam vor 2 Wochen an, leider hatte ich noch keine Zeit weiter gefunden.


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

Holzlenkrad

Zitat von: Pati_Alpha am 14 Januar 2020, 10:49:19
Ich hab mir als Workaround jetzt auch erstmal ein DOIF gebaut, was einfach auf dem RPi das BT resetted sobald der Xiaomi auf ERROR steht. Nicht schön, aber funktioniert. Triggert aber tatsächlich 1x täglich. Das war vor Buster DEFINITIV nicht so!

Kannst du mal genau beschreiben, wie du das gemacht hast? Hab bis jetzt 1x Tag einen Cronjob, aber dann kann es trotzdem sein, dass der Sensor keine Daten mehr liefert.

Ich habe das Problem ähnlich zu deinem übrigens hier schon vor ein paar Monaten beschrieben, aber gab leider keine Reaktion.
Übrigens: Mein Raspberry Pi 3 läuft noch unter Stretch!!

IcedEarth

Hallo zusammen,

ich habe ebenfalls das Problem, dass der SEnsor einfach zuufällig irgendwann auf "Device or resource busy (16)" springt. Wenn ich dann händisch per ssh "sudo hciconfig hci0 down" und
"sudo hciconfig hci0 up" ausführe geht es wieder, bis der Fehler erneut auftritt. Gibt es dafür ebenfalls eine komfortable Lösung?

Viele Grüße

CoolTux

Zitat von: IcedEarth am 01 April 2020, 19:28:11
Hallo zusammen,

ich habe ebenfalls das Problem, dass der SEnsor einfach zuufällig irgendwann auf "Device or resource busy (16)" springt. Wenn ich dann händisch per ssh "sudo hciconfig hci0 down" und
"sudo hciconfig hci0 up" ausführe geht es wieder, bis der Fehler erneut auftritt. Gibt es dafür ebenfalls eine komfortable Lösung?

Viele Grüße

Ein Notify welches auf diese Fehlermeldung triggert.
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

IcedEarth

Zitat von: CoolTux am 01 April 2020, 20:00:14
Ein Notify welches auf diese Fehlermeldung triggert.

Wie soll denn fhem den sudo befehl für das device ausführen? Da musst Du mir nochmal einen Denkanstoß liefern ;-)

Viele Grüße

MadMax-FHEM

#939
Zitat von: IcedEarth am 02 April 2020, 08:22:06
Wie soll denn fhem den sudo befehl für das device ausführen? Da musst Du mir nochmal einen Denkanstoß liefern ;-)

Viele Grüße

"ssh User@RemoteRechner \"sudo hciconfig hci0 down\""

"ssh User@RemoteRechner \"sudo hciconfig hci0 up\""

Beachte die "doppelten und maskierten" Anführungszeichen!

EDIT: die "maskierten" gingen wohl auch indwem man "einfache Hichkommas" nimmt...

Die Doppelten Anführungszeichen am Anfang/Ende sind damit fhem einen "Systemaufruf" non-blocking ausführt...
...die maskierten "innerhalb" sind für den eigentlichen "ssh-Zugriff"...

EDIT: http://heinz-otto.blogspot.com/2018/02/in-fhem-externe-programme-aufrufen.html

Voraussetzung (sollte aber ja sein, wenn das Modul bereits remote kann): fhem muss sich auf dem RemoteRechner OHNE Passwortabfrage einloggen können (sollte aber ja auch schon sein!?) und der User@RemoteRechner muss "sudo" ebenfalls dürfen und das OHNE Passwort (müsste aber ja auch, wenn das Modul bereits remote zugreift)...

EDIT: http://heinz-otto.blogspot.com/2017/01/per-ssh-remote-befehle-direkt-ausfuhren.html

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

IcedEarth

Hallo Joachim,

danke für die Erklärung. Ich hatte zwischenzeitlich das folgende probiert:
- .sh erstellt mit den beiden Befehlen.
- dem User fhem die Ausführung des scriptes als root in der sudoers genehmigt
- script im notify aufgerufen:
FC_1:lastGattError:.*|FC_2:lastGattError:.*
set Telegrambot msg Einer oder beide FC Sensoren nicht erreichbar. (comment ausführen!),
{"sudo /home/pi/XiaomiBluetoothBug.sh"}

Hab aber noch nicht getestet, ob das überhaupt funktioniert. Keine Zeit mehr gehabt ;-)
Kann man ein notify händisch triggern?

Viele Grüße

MadMax-FHEM

#941
Ja, mit trigger...

Du kannst statt dem "Oder" (verm.) auch FC_.*:lastGattError.* schreiben

Bzw. auch (FC_1|FC_2):lastGattError.*

Du kannst auch einfach den EventMonitor das Erzeugen des Notify überlassen...

Ich denke aber, dass der Ausführungsteil so nicht gehen wird bzw. verstehe ich nicht so ganz was du da "willst"...

fhem muss nicht sudo sein, um das tun zu können (das Script muss nur richtig liegen und die Rechte passen)...
...und bzw. wichtig ist, dass fhem sich remote einloggen kann ohne Passwort...

sudo ist erst auf der remote Seite nötig...
...und da ist es ja "der User dort"...
...also der, der sich dort per ssh einlogged...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

IcedEarth

Hallo Joachim,

sorry für die Verwirrung. FHEM läuft bei mir auf dem Raspberry, dessen Bluetooth ich auch nutze. daher ist ein remote ssh gar nicht notwendig (oder?)

Viele Grüße

MadMax-FHEM

Zitat von: IcedEarth am 03 April 2020, 09:18:20
Hallo Joachim,

sorry für die Verwirrung. FHEM läuft bei mir auf dem Raspberry, dessen Bluetooth ich auch nutze. daher ist ein remote ssh gar nicht notwendig (oder?)

Viele Grüße

Das ändert das natürlich...
...klar, dann kein Remote-Login...

Sorry! ;)

War nur wegen dem hier (etwas "unklar" formuliert ;)  ):

Zitat
Wenn ich dann händisch per ssh "sudo hciconfig hci0 down" und
"sudo hciconfig hci0 up" ausführe

Ah: du loggst dich per ssh auf dem PI ein und dann führst du dort das sudo Kommando aus... ;)

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

trabatz

Zitat von: kroonen am 09 Februar 2020, 21:23:13
Hi,

I use a cleargrass sensor, but only gets values zero

Here the result and also a verbose 5 for the reading


hem> l Slaaptemp2
Internals:
   BTMAC      58:2D:34:10:C8:6B
   DEF        58:2D:34:10:C8:6B
   FUUID      5e406756-f33f-5f49-28fb-396f8b14e8329cb8
   FVERSION   74_XiaomiBTLESens.pm:v2.8.2-s20924/2020-01-10
   INTERVAL   120
   NAME       Slaaptemp2
   NOTIFYDEV  global,Slaaptemp2
   NR         94
   NTFY_ORDER 50-Slaaptemp2
   STATE      T: 0 H: 0
   TYPE       XiaomiBTLESens
   VERSION    v2.8.2
   loglevel   4
   READINGS:
     2020-02-09 21:11:08   firmware        1.1.2_0020
     2020-02-09 21:11:08   state           T: 0 H: 0
   helper:
     CallBattery 0
     CallSensDataCounter 0
Attributes:
   interval   120
   model      clearGrassSens
   room       XiaomiBTLESens


2020.02.09 21:17:16 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,86 77 f7 fb d1 5c e2 08 e6 c5 de bf

2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,86 77 f7 fb d1 5c e2 08 e6 c5 de bf

2020.02.09 21:17:16 5: Cmd: >{BlockingStart('4')}<
2020.02.09 21:17:16 5: Cmd: >{FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x3b|{"gtResult":"86 77 f7 fb d1 5c e2 08 e6 c5 de bf "}')}<
2020.02.09 21:17:16 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Done: gatttool return string: Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x3b|{"gtResult":"86 77 f7 fb d1 5c e2 08 e6 c5 de bf "}
2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - ProcessingNotification
2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - ProcessingNotification: handle 0x3b
2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - Clear Grass Sens Handle0x3b
2020.02.09 21:17:16 5: Starting notify loop for Slaaptemp2, 3 event(s), first is batteryState: low
2020.02.09 21:17:16 5: End notify loop for Slaaptemp2
2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - WriteReadings: Readings were written
2020.02.09 21:17:16 4: XiaomiBTLESens (Slaaptemp2) - Run CreateParamGatttool with mod: read
2020.02.09 21:17:16 4: BlockingCall (FHEM::XiaomiBTLESens::ExecGatttool_Run): created child (19723), uses telnetPort to connect back
2020.02.09 21:17:16 5: Starting notify loop for Slaaptemp2, 1 event(s), first is read sensor data
2020.02.09 21:17:16 5: End notify loop for Slaaptemp2
2020.02.09 21:17:16 5: XiaomiBTLESens (Slaaptemp2) - Read XiaomiBTLESens_ExecGatttool_Run Slaaptemp2|58:2D:34:10:C8:6B|read|0x1e
2020.02.09 21:17:16 4: Connection accepted from telnetPort_127.0.0.1_33226
2020.02.09 21:17:16 5: Cmd: >{BlockingRegisterTelnet($cl,9)}<
2020.02.09 21:17:16 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: Execute Command ps ax | grep -E [g]atttool -i hci0 -b 58:2D:34:10:C8:6B
2020.02.09 21:17:16 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b 58:2D:34:10:C8:6B --char-read -a 0x1e 2>&1 and loop 0
2020.02.09 21:17:17 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,ac

2020.02.09 21:17:17 4: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,ac

2020.02.09 21:17:17 5: Cmd: >{BlockingStart('9')}<
2020.02.09 21:17:17 5: Cmd: >{FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}')}<
2020.02.09 21:17:17 5: XiaomiBTLESens (Slaaptemp2) - ExecGatttool_Done: gatttool return string: Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}
2020.02.09 21:17:17 4: XiaomiBTLESens (Slaaptemp2) - ProcessingNotification
2020.02.09 21:17:17 4: XiaomiBTLESens (Slaaptemp2) - ProcessingNotification: handle 0x1e
2020.02.09 21:17:17 4: XiaomiBTLESens (Slaaptemp2) - Clear Grass Sens Handle0x1e
2020.02.09 21:17:17 1: PERL WARNING: substr outside of string at ./FHEM/74_XiaomiBTLESens.pm line 1140.
2020.02.09 21:17:17 3: eval: {FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}')}
2020.02.09 21:17:17 1: PERL WARNING: Use of uninitialized value in hex at ./FHEM/74_XiaomiBTLESens.pm line 1140.
2020.02.09 21:17:17 3: eval: {FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}')}
2020.02.09 21:17:17 1: PERL WARNING: substr outside of string at ./FHEM/74_XiaomiBTLESens.pm line 1141.
2020.02.09 21:17:17 3: eval: {FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}')}
2020.02.09 21:17:17 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_XiaomiBTLESens.pm line 1141.
2020.02.09 21:17:17 3: eval: {FHEM::XiaomiBTLESens::ExecGatttool_Done('Slaaptemp2|58:2D:34:10:C8:6B|ok|read|0x1e|{"gtResult":"ac "}')}
2020.02.09 21:17:17 5: Starting notify loop for Slaaptemp2, 3 event(s), first is temperature: 0
2020.02.09 21:17:17 5: End notify loop for Slaaptemp2
2020.02.09 21:17:17 4: XiaomiBTLESens (Slaaptemp2) - WriteReadings: Readings were written


Hallo

Ich habe das gleiche problemwie mein Vorredner mit meinem Cleargrass Sensor. Kriege leider nur Nullen.
Hier mal verbose 5

2020.04.04 13:25:13 4: XiaomiBTLESens (StuffTemHum) - Run CreateParamGatttool with mod: read
2020.04.04 13:25:13 5: XiaomiBTLESens (StuffTemHum) - Read XiaomiBTLESens_ExecGatttool_Run StuffTemHum|58:2D:34:10:45:30|read|0x1e
2020.04.04 13:25:13 4: XiaomiBTLESens (StuffTemHum) - stateRequestTimer: Call Request Timer
2020.04.04 13:25:13 5: XiaomiBTLESens (StuffTemHum) - ExecGatttool_Run: Execute Command ps ax | grep -E [g]atttool -i hci0 -b 58:2D:34:10:45:30
2020.04.04 13:25:13 5: XiaomiBTLESens (StuffTemHum) - ExecGatttool_Run: call gatttool with command: gatttool -i hci0 -b 58:2D:34:10:45:30 --char-read -a 0x1e 2>&1 and loop 0
2020.04.04 13:25:20 5: XiaomiBTLESens (StuffTemHum) - ExecGatttool_Run: gatttool loop result Characteristic value/descriptor,3d

2020.04.04 13:25:20 4: XiaomiBTLESens (StuffTemHum) - ExecGatttool_Run: gatttool result Characteristic value/descriptor,3d

2020.04.04 13:25:20 5: XiaomiBTLESens (StuffTemHum) - ExecGatttool_Done: gatttool return string: StuffTemHum|58:2D:34:10:45:30|ok|read|0x1e|{"gtResult":"3d "}
2020.04.04 13:25:20 4: XiaomiBTLESens (StuffTemHum) - ProcessingNotification
2020.04.04 13:25:20 4: XiaomiBTLESens (StuffTemHum) - ProcessingNotification: handle 0x1e
2020.04.04 13:25:20 4: XiaomiBTLESens (StuffTemHum) - Clear Grass Sens Handle0x1e
2020.04.04 13:25:20 1: dewpoint_notify: humidity device StuffTemHum (humidity) invalid: 0
2020.04.04 13:25:20 4: XiaomiBTLESens (StuffTemHum) - WriteReadings: Readings were written


Und das list
Internals:
   BTMAC      58:2D:34:10:45:30
   DEF        58:2D:34:10:45:30
   FUUID      5d7a6444-f33f-6911-e514-9a8c304b409d2083
   FVERSION   74_XiaomiBTLESens.pm:v2.8.2-s20924/2020-01-10
   INTERVAL   300
   NAME       StuffTemHum
   NOTIFYDEV  global,StuffTemHum
   NR         296
   NTFY_ORDER 50-StuffTemHum
   STATE      T: 0 H: 0
   TYPE       XiaomiBTLESens
   VERSION    v2.8.2
   loglevel   4
   READINGS:
     2020-04-03 21:55:30   batteryPercent  128
     2020-04-03 21:55:30   batteryState    ok
     2019-09-12 17:29:51   firmware        CGG1
     2020-04-04 13:33:26   humidity        0
     2020-04-03 15:26:54   lastGattError   The BlockingCall Process terminated unexpectedly. Timedout
     2020-04-04 13:33:26   state           T: 0 H: 0
     2020-04-04 13:33:26   temperature     0
   helper:
     CallBattery 0
     CallSensDataCounter 0
     updateTimeCallBattery 1585943730.71768
     updateTimestampCallBattery 2020-04-03 21:55:30
Attributes:
   model      clearGrassSens
   room       XiaomiBTLESens
   verbose    5


Meine 3 alten Sensoren laufen ohne probleme

Danke schonmal