[31_PlayBulbCandle.pm] Modul für MiPow PLAYBULB Candle Bluetooth Lampen

Begonnen von CoolTux, 20 Oktober 2016, 22:06:57

Vorheriges Thema - Nächstes Thema

herrmannj


herrmannj

Bei Euch ist auch die ganze Klasse 1011/13/14/18 neu. Können die irgendwas mehr ? Irgendein Sensor ?

Könnt Ihr mal die handles 33/35/37 und 3a posten ? Mal schaun ob man den Daten irgendwas ansieht

fxstc

klaro doch:

char-read-hnd 33
Characteristic value/descriptor: 01
char-read-hnd 35
Error: Characteristic value/descriptor read failed: Attribute can't be read
char-read-hnd 37
Characteristic value/descriptor:
char-read-hnd 3a
Characteristic value/descriptor: 06

Ma_Bo

gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x0a
Characteristic value/descriptor: 05 00 ff ff

gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x08
Characteristic value/descriptor: 01 18

gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x12
Characteristic value/descriptor: 0a 13 00 f9 ff

gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x3a
Characteristic value/descriptor: 06
NUC mit FHEM, HM Heizungsthermostate, HM Wandthermostate, Intertechno Funksteckdosen, 10" Tablet als Wanddisplay, KeyMatic, Fensterkontakte, Fensterkontakte umgebaut als Wassermelder und Briefkastenmelder, Aussenthermostat, Anwesenheitssteuerung über Fritz Box, Google Home usw. usw.

CoolTux

Zitat von: herrmannj am 31 Oktober 2016, 22:29:48
BTL300_v6

strike ...

Was zu beweisen war. Nun wissen wir wie wir an die Infos kommen. Fehlt uns noch das richtige handle für Color und Effect.
Bin bisschen durch den Wind. Hat schon mal jemand die 0x17 abgerufen.

gatttool -b MAC --char-read -a 0x17
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

fxstc

gatttool -b AE:D5:4B:10:AC:E6 --char-read -a 0x17
Characteristic value/descriptor: 00 00 00 00 ff 00 0a 00

Ma_Bo

gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x17
Characteristic value/descriptor: 00 f9 00 ff 03 00 0a 00
NUC mit FHEM, HM Heizungsthermostate, HM Wandthermostate, Intertechno Funksteckdosen, 10" Tablet als Wanddisplay, KeyMatic, Fensterkontakte, Fensterkontakte umgebaut als Wassermelder und Briefkastenmelder, Aussenthermostat, Anwesenheitssteuerung über Fritz Box, Google Home usw. usw.

herrmannj

@Ma_Bo
Bei Dir haben sich "andere" handles reingemischt

@fxstc
komisch, laut Übersicht gibt es die Handles. Das würde aber auch erklären warum die klassen aufgetaucht sind. Hat wohl jemand Mist in die fw programmiert. ...

Könnt Ihr nochmal bitte das Handle 29 abfragen ? (bei mir nach hex->asci 'Application version 2.3.0.31')

Dazu bitte 11,13,15,17,19,1b,1d,1f

@CoolTux,
das ist die ff.. Klasse. Da die anderen vergeben sind (named) muss es einer dieser 8 handles sein. Den erkennen wir beim sehen.

Wenn wir danach noch Lust haben können wir mal spasseshalber den Pustesensor suchen. Ich könnte wetten (nich viel, aber 'n bonbon) das der per listen/notify geht. Wäre doch geil: Kerze auspusten und in der Wohnung geht alles Licht aus ...  ;D ;D

CoolTux

Schon erkannt. Die 0x17 ist die für die Effekte. Fehlt nur noch Color.
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

fxstc

[AE:D5:4B:10:AC:E6][LE]> char-read-hnd 29
Characteristic value/descriptor: 02 2a 00 26 2a
[AE:D5:4B:10:AC:E6][LE]> char-read-hnd 11
Characteristic value/descriptor: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[AE:D5:4B:10:AC:E6][LE]> char-read-hnd 13
Characteristic value/descriptor: 00 00 00 ff ff ff ff 00 00 00 00 00 00
[AE:D5:4B:10:AC:E6][LE]> char-read-hnd 15
Characteristic value/descriptor: 00
[AE:D5:4B:10:AC:E6][LE]> char-read-hnd 17
Characteristic value/descriptor: 00 00 00 00 ff 00 0a 00
[AE:D5:4B:10:AC:E6][LE]> char-read-hnd 19
Characteristic value/descriptor: 00 00 00 00
[AE:D5:4B:10:AC:E6][LE]> char-read-hnd 1b
Characteristic value/descriptor: e7 08 75 fa
[AE:D5:4B:10:AC:E6][LE]> char-read-hnd 1d
Characteristic value/descriptor: 04 ff ff 04 ff ff 04 ff ff 04 ff ff 00 00
[AE:D5:4B:10:AC:E6][LE]> char-read-hnd 1f
Characteristic value/descriptor: 42 61 6c 6b 6f 6e 20 31

Mit ner Kerze die Wohnung auspusten  ;D ;D
Ich schmeiß mich weg.
Das hat schon was.

fxstc

Also wenn ich puste bekomme ich dies hier
ZitatNotification handle = 0x000e value: 00 ff 00 00 22 00 ff 00

fxstc

und das für auspusten
Notification handle = 0x000e value: 00 00 00 00 22 00 ff 00

CoolTux

[AE:D5:4B:10:AC:E6][LE]> char-read-hnd 19
Characteristic value/descriptor: 00 00 00 00


War Deine Kerze aus?
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

Ma_Bo

gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x29
Characteristic value/descriptor: 02 2a 00 26 2a
gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x11
Characteristic value/descriptor: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x13
Characteristic value/descriptor: 00 00 00 ff ff ff ff 00 00 00 00 00 00
gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x15
Characteristic value/descriptor: 00
gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x17
Characteristic value/descriptor: 00 ee ff 00 03 00 0a 00
gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x19
Characteristic value/descriptor: 00 00 00 00
gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x1b
Characteristic value/descriptor: 59 85 8d f9
gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x1d
Characteristic value/descriptor: 04 ff ff 04 ff ff 04 ff ff 04 ff ff 00 00
gatttool -b 8B:39:4B:0D:AC:E6 --char-read -a 0x1f
Characteristic value/descriptor: 50 4c 41 59 42 55 4c 42 20 43 41 4e 44 4c 45
NUC mit FHEM, HM Heizungsthermostate, HM Wandthermostate, Intertechno Funksteckdosen, 10" Tablet als Wanddisplay, KeyMatic, Fensterkontakte, Fensterkontakte umgebaut als Wassermelder und Briefkastenmelder, Aussenthermostat, Anwesenheitssteuerung über Fritz Box, Google Home usw. usw.

fxstc

Stimmt.
Wenn die an is kommt das hier.
char-read-hnd 19
Characteristic value/descriptor: 00 ff 00 00