FHEM Forum

FHEM => Frontends => Sprachsteuerung => Thema gestartet von: FlatTV am 08 Januar 2026, 08:54:21

Titel: echodevice: Bluetooth Gerät verbinden funktioniert nicht
Beitrag von: FlatTV am 08 Januar 2026, 08:54:21
Ich möchte meine Bose Boxen via Bluetooth mit einem Echo koppeln.
,,Alexa, verbinde Bluetooth" klappt auch.
Wenn ich aber versuche mit diesem Modul zu koppeln, erwidert Alexa ,,das Gerät wurde nicht verbunden"

Das Reading taucht im Device auch auf
2026-01-07 20:04:56   bluetooth_72386f9e-cd8f-432e-a679-85ab2565dafc disconnectedset ECHO_G0922J06411608TF bluetooth_connect bluetooth_72386f9e-cd8f-432e-a679-85ab2565dafc/wasauchimmer
Im Log
2026.01.07 19:52:08 4: [ECHO_G0922J06411608TF] [echodevice_HandleCmdQueue] [bluetooth_connect] [84991] [0] send command=https://layla.amazon.de/api/bluetooth/pair-sink/A4ZXE0RM7LQ7A/SERIAL Data={"bluetoothDeviceAddress":"bluetooth_72386f9e:cd8f:432e:a679:85ab2565dafc"}
2026.01.07 19:52:08 5: HttpUtils url=https://layla.amazon.de/api/bluetooth/pair-sink/A4ZXE0RM7LQ7A/G0922J06411608TF NonBlocking via https

2026.01.07 19:52:08 4: https://layla.amazon.de/api/bluetooth/pair-sink/A4ZXE0RM7LQ7A/G0922J06411608TF: HTTP response code 200
2026.01.07 19:52:08 5: HttpUtils https://layla.amazon.de/api/bluetooth/pair-sink/A4ZXE0RM7LQ7A/G0922J06411608TF: Got data, length: 0
2026.01.07 19:52:08 5: HttpUtils response header:
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 20
Connection: keep-alive
Server: Server
Date: Wed, 07 Jan 2026 18:52:08 GMT
Strict-Transport-Security: max-age=0; includeSubDomains;
x-amz-rid: WEVWQRN1AVHBWS7HK30T
x-amzn-RequestId: ad984254-ec6d-4538-b9e2-79fd12d7df99
Content-Encoding: gzip
Vary: Content-Type,Accept-Encoding,User-Agent
X-Cache: Miss from cloudfront
Via: 1.1 b6e5215e9cbb193bb12a684806a73004.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: HAM50-P5
X-Amz-Cf-Id: 5BdmAU8y9MMkfsGRCex0tmPRUs2btbar73PgN7I4kREBr8RFFiR1_g==
2026.01.07 19:52:08 4: [ECHO_G0922J06411608TF] [echodevice_Parse] [bluetooth_connect] [84991]
2026.01.07 19:52:08 5: [ECHO_G0922J06411608TF] [echodevice_Parse] [bluetooth_connect] [84991] DATA Dumper=$VAR1 = '';

Ich habe noch vergessen zu erwähnen, dass ich es auch ohne ,,bluetooth_" vorweg probiert habe.
Titel: Aw: echodevice: Bluetooth Gerät verbinden funktioniert nicht
Beitrag von: rabehd am 08 Januar 2026, 09:50:50
Würde ich bestätigen,
verbinden über FHEM wird auch bei mir mit der Fehlermeldung auf den Echo "verweigert".
Verbinden des Handys direkt über das Handy geht, das Trennen über FHEM funktioniert.
Titel: Aw: echodevice: Bluetooth Gerät verbinden funktioniert nicht
Beitrag von: FlatTV am 17 Januar 2026, 19:52:59
Soll denn da nun die MAC Adresse rein oder die UUID?

Edit:
Egal, geht beides nicht.
Amazon sendet jedenfalls die UUID und friendlyName
Titel: Aw: echodevice: Bluetooth Gerät verbinden funktioniert nicht
Beitrag von: FlatTV am 24 Januar 2026, 15:25:19
Keine Ahnung, ob ich jetzt einen Fehler mache oder das Modul oder Alexa.
Als Workaround habe ich in der Alexa-App eine Routine erstellt.
Dort wird mit ,,Alexa, verbinde Bluetooth" die Bose Box gekoppelt.
Diese wiederum wird über FHEM und dem Echodevice-Modul via routine_play aufgerufen.
Aktuell funktioniert es (häufig).