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

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

Vorheriges Thema - Nächstes Thema

CoolTux

Nicht schlimm, wir nehmen das erstmal so.

Jetzt

0x34
Kann sein das die Daten auf die 0x37 kommt wir aber vorher was schreiben müssen. Wir schauen mal.

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

t1me2die


root@raspberrypi:~# gatttool -b 58:2D:34:10:4C:FA --char-read -a 0x34
Characteristic value/descriptor read failed: Attribute can't be read

CoolTux

ok was bekommst Du bei

gatttool -b MAC --char-write-req -a 0x32 -n A01F

oder

gatttool -b MAC --char-write-req -a 0x34 -n A01F
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

t1me2die


root@raspberrypi:~# gatttool -b 58:2D:34:10:4C:FA --char-write-req -a 0x32 -n A01F
Characteristic Write Request failed: Attribute can't be written
root@raspberrypi:~# gatttool -b 58:2D:34:10:4C:FA --char-write-req -a 0x34 -n A01F
Characteristic value was written successfully

CoolTux

So jetzt wird es lustig.

gatttool -b MAC --char-write-req -a 0x34 -n A01F && gatttool -b MAC --char-read -a 0x37
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

t1me2die


root@raspberrypi:~# gatttool -b 58:2D:34:10:4C:FA --char-write-req -a 0x34 -n A01F && gatttool -b 58:2D:34:10:4C:FA --char-read -a 0x37
Characteristic value was written successfully
Characteristic value/descriptor read failed: Attribute can't be read

CoolTux

gatttool -b 58:2D:34:10:4C:FA --char-write-req -a 0x34 -n A01F && gatttool -b 58:2D:34:10:4C:FA --char-read -a 0x32
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

t1me2die


root@raspberrypi:~# gatttool -b 58:2D:34:10:4C:FA --char-write-req -a 0x34 -n A01F && gatttool -b 58:2D:34:10:4C:FA --char-read -a 0x32
Characteristic value was written successfully
Characteristic value/descriptor: 0a 58 c4 7c d3 b7 2a 2b f1 13

CoolTux

Schon mal nicht schlecht. Und jetzt versuche mal bitte die 32 zu lesen ohne vorher das write zu machen.
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

t1me2die


root@raspberrypi:~# gatttool -b 58:2D:34:10:4C:FA --char-read -a 0x32
Characteristic value/descriptor: 0a 58 c4 7c d3 b7 2a 2b f1 13

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

t1me2die

18,4Grad
60,0% Luftfeuchtigkeit


root@raspberrypi:~#  gatttool -b 58:2D:34:10:4C:FA --char-read -a 0x32
Characteristic value/descriptor: 0a 58 c4 7c d3 b7 2a 2b f1 13

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

t1me2die


root@raspberrypi:~#  gatttool -b 58:2D:34:10:4C:FA --char-read -a 0x36
Characteristic value/descriptor: 08 37 00 10 00
root@raspberrypi:~#  gatttool -b 58:2D:34:10:4C:FA --char-read -a 0x38
Characteristic value/descriptor: 0a 39 00 13 00

CoolTux

Zitat von: t1me2die am 07 Oktober 2019, 20:05:50

root@raspberrypi:~#  gatttool -b 58:2D:34:10:4C:FA --char-read -a 0x36
Characteristic value/descriptor: 08 37 00 10 00
root@raspberrypi:~#  gatttool -b 58:2D:34:10:4C:FA --char-read -a 0x38
Characteristic value/descriptor: 0a 39 00 13 00


Kannst Du mir bitte das noch mal machen und dann gleich dazu schreiben was Dein Display sagt?
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