FHEM Forum

FHEM => Automatisierung => Thema gestartet von: Gabel88 am 26 Dezember 2017, 13:54:08

Titel: PRESENCE mit local-bluetooth timeout
Beitrag von: Gabel88 am 26 Dezember 2017, 13:54:08
Moin Moin zusammen,
ich habe mich die Tage mal an die Ortung meines G-Tag's gemacht. Allerdings bin ich leider nicht sehr weit gekommen.

System:
Raspberry 3
Raspbian GNU/Linux 9 (stretch)
Gigaset G-Tag.

Ich habe die Installation wie im Wiki ausgeführt. Kann den G-Tag auch über sudo hcitool lescan auch finden.
Alternativ habe es auch mit meinem Handy probiert, dabei habe ich leider das gleiche Problem.
Ich habe das verbose schon mal auf 5 gestellt. Hoffentlich kenne jemand das Problem und kann mir helfen.
Bin eher noch Anfänger nerd, alles selber beigebracht nichts richtig gelernt.  ;D

Hier mal mein Log

Das wiederholst sich dann immer wieder.
2017.12.26 13:50:36 5: PRESENCE (G_tag_1) - starting blocking call for mode local-bluetooth
2017.12.26 13:50:36 5: PRESENCE (G_tag_1) - starting bluetooth scan: G_tag_1|7C:2F:80:C3:95:C0|0|
2017.12.26 13:50:36 5: PRESENCE (G_tag_1) - found standard variant of ps command, using "ax" as parameter
2017.12.26 13:50:36 4: PRESENCE (G_tag_1) - executing: which hcitool
2017.12.26 13:50:36 4: PRESENCE (G_tag_1) - 'which hcitool' returns: /usr/bin/hcitool

2017.12.26 13:50:36 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:50:37 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:50:40 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:50:41 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:50:44 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:50:47 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:50:48 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:50:53 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:50:57 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:50:59 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:01 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:02 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:07 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:08 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:11 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:14 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:16 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:16 1: Timeout for PRESENCE_DoLocalBluetoothScan reached, terminated process 3307
2017.12.26 13:51:20 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:23 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:27 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:31 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:33 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:35 5: PRESENCE (G_tag_1) - another hcitool command is running. waiting...
2017.12.26 13:51:36 1: Timeout for PRESENCE_DoLocalBluetoothScan reached, terminated process 3358
2017.12.26 13:51:46 5: PRESENCE (G_tag_1) - stopping timer


Hier meine define aus dem cfg
define G_tag_1 PRESENCE local-bluetooth 7C:2F:80:C3:95:C0
attr G_tag_1 verbose 5
Titel: Antw:PRESENCE mit local-bluetooth timeout
Beitrag von: PatrickR am 26 Dezember 2017, 14:00:55
Hi!

Du brauchst lepresenced. Schau mal im Wiki: https://wiki.fhem.de/wiki/PRESENCE


Gesendet von iPhone mit Tapatalk Pro
Titel: Antw:PRESENCE mit local-bluetooth timeout
Beitrag von: Gabel88 am 26 Dezember 2017, 14:06:20
Danke für die schnelle Antwort.

lepresenced habe ich wie im Wiki auf meinem Pi installiert.

Kann es sein das ich hier Probleme mir zugriffsrechte habe?
Da habe ich glaube ich einige Fehler auf meinem Pi.
Denke das der User Fhem nicht drauf zugreifen darf.

Kann ich das irgendwie herausfinden? Wie gesagt Anfänger. Arbeite mich aber grade in dir User rein und will den Pi dann noch mal vernünftig aufsetzten.