Eurotronic comet blue Modul Entwicklung

Begonnen von gent, 28 November 2016, 21:45:59

Vorheriges Thema - Nächstes Thema

CoolTux

Hast du überhaupt ein Bluetooth 4 LE. Wie hast du die Mac rausgefunden?
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

Caleus

Ich habe das Raspbarry Pi 3 mit WLAN und Bluetooth und die Mac Adresse habe ich mit einer Android App herausgefunden.

Caleus

CoolTux

Ich schlage vor Du siehst erstmal dafür das Bluetooth an dem Teil geht und dann schauen wir weiter. Im Moment hast du kein Bluetooth.
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

Caleus

Ich habe den Raspberry jetzt mal neu gestartet und dann noch mal hciconfig versucht und siehe da er hat was gefunden

Linux raspberrypi 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun May  6 08:35:27 2018 from 192.168.178.20
root@raspberrypi:~# hciconfig
hci0:   Type: BR/EDR  Bus: UART
        BD Address: B8:27:EB:6C:2B:D3  ACL MTU: 1021:8  SCO MTU: 64:1
        DOWN
        RX bytes:654 acl:0 sco:0 events:33 errors:0
        TX bytes:419 acl:0 sco:0 commands:33 errors:0

root@raspberrypi:~#


leider schreibt mir Fhem aber leider immer noch

T: -100 desired: -100

Caleus

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

Caleus

Nein klappt nicht. Wäre es vielleicht besser den Raspberry komplett neu aufzusetzen? Denn zurzeit ist es ja nur noch ein rum probieren.

Caleus

CoolTux

Kann ich Dir nicht sagen. Ich weiß nicht was man bei einem Pi 3 für BT machen muss.
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

Caleus

So ich habe es geschaft das BT läuft. Leider kommt nun ein error und ein timeout

2018.05.06 13:20:53 4: CometBlueBTLE (Bad) - WriteReadings: Readings were written
2018.05.06 13:20:53 3: CometBlueBTLE (Bad) - ExecGatttool_Aborted: The BlockingCall Process terminated unexpectedly. Timedout
2018.05.06 13:21:15 4: CometBlueBTLE (Bad) - Run CreateParamGatttool with mod: read
2018.05.06 13:21:15 5: CometBlueBTLE (Bad) - Noch in Queue nach pop: 0
2018.05.06 13:21:15 3: CometBlueBTLE (Bad) - CreateParamGatttool erstes if
2018.05.06 13:21:15 4: CometBlueBTLE (Bad) - Read CometBlueBTLE_ExecGatttool_Run Bad|D6:EA:EE:C7:BD:DD|read|0x18
2018.05.06 13:21:15 4: CometBlueBTLE (Bad) - stateRequestTimer: Call Request Timer
2018.05.06 13:21:15 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:17 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:18 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:19 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:20 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:21 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:22 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:23 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:24 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:25 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:27 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:28 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:29 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:30 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:31 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:32 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:33 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:34 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:35 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:36 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:37 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:38 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:39 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:40 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:41 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:42 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:43 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:45 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:46 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:47 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:48 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:49 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:50 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:51 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:52 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:53 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:54 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:55 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:56 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:57 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:58 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:21:59 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:00 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:01 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:02 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:03 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:04 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:06 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:07 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:08 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:09 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:10 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:11 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:12 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:13 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:14 4: CometBlueBTLE (Bad) - ExecGatttool_Run: another gatttool process is running. waiting...
2018.05.06 13:22:15 1: Timeout for CometBlueBTLE_ExecGatttool_Run reached, terminated process 1356
2018.05.06 13:22:15 5: CometBlueBTLE (Bad) - WriteReadings: Reading lastGattError, value The BlockingCall Process terminated unexpectedly. Timedout altes value The BlockingCall Process terminated unexpectedly. Timedout
2018.05.06 13:22:15 4: CometBlueBTLE (Bad) - WriteReadings: Readings were written
2018.05.06 13:22:15 3: CometBlueBTLE (Bad) - ExecGatttool_Aborted: The BlockingCall Process terminated unexpectedly. Timedout


Caleus

CoolTux

Was sagt denn hciconfig jetzt? Und suche mal
sudo hcitool lescan
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

Caleus

Also sudo hcitool lescan findet 4 Geräte unteranderem auch das Thermostat.
Und hciconfig zeigt siehe Bild

Caleus

CoolTux

Was sagt
ps ax | grep gatttool

Sollte eigentlich nichts laufen
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

Caleus

root@raspberrypi:~# ps ax | grep gatttool
1007 ?        S      0:00 sh -c gatttool -i hci0 -b D6:EA:EE:C7:BD:DD --char-read -a 0x18 2>&1 /dev/null
1008 ?        S      0:00 gatttool -i hci0 -b D6:EA:EE:C7:BD:DD --char-read -a 0x18 /dev/null
8951 pts/2    S+     0:00 grep gatttool
root@raspberrypi:~#

CoolTux

Verschwindet das wenn du den Befehl hintereinander eingibst. Also immer wiederholst?

Wenn nicht mit kill mal killen
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

Caleus

Ich gestehe ich habe keine Ahnung wie ?

CoolTux

Mach einfach mal ein Neustart und nach einer Weile machst ein ps | ax
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