Alexa Device rename -> error; Trying to fetch alexadevice failed with SyntaxErro

Begonnen von schnibberle, 08 Dezember 2019, 21:55:22

Vorheriges Thema - Nächstes Thema

schnibberle

Hallo zusammen,

nach einem Rename des Alexa Devices funktioniert selbiges nicht mehr.
Folgende Fehlermeldung taucht auf

error; Trying to fetch alexadevice failed with SyntaxError: Unexpected token B in JSON at position 0



Logging :
[8.12.2019, 21:47:53] Passed config: {"sshproxy":{"description":"FHEM Connector","ssh":"/usr/bin/ssh","options":["-i","/opt/fhem/.ssh/id_rsa","-p",58xxx ,"fhem-va.fhem.de"],"bind-ip":"127.0.0.1","port":60xxx},"connections":[{"name":"FHEM","server":"127.0.0.1","webname":"fhem","uid":999,"filter":"alexaName=..*","port":"8083"}]}
[8.12.2019, 21:47:53] sshautoconf: SSH key seems to exist
[8.12.2019, 21:47:53] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7BFHEM.Alexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20FHEM.Alexa%3B%7B%24defs%7BFHEM.Alexa%7D-%3E%7B%22active%22%7............................
[8.12.2019, 21:47:56] BearerToken '...ne 1.' read from FHEM.Alexa
[8.12.2019, 21:47:56] sshautoconf: aborted with Trying to fetch alexadevice failed with SyntaxError: Unexpected token B in JSON at position 0
[8.12.2019, 21:47:56] *** SSH: proxy configuration failed: Trying to fetch alexadevice failed with SyntaxError: Unexpected token B in JSON at position 0
[8.12.2019, 21:47:57] Reading alexaFHEM.ProxyConnection set to error;; Trying to fetch alexadevice failed with SyntaxError: Unexpected token B in JSON at position 0
[8.12.2019, 21:47:57] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7BFHEM.Alexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20FHEM.Alexa%20alexaFHEM.ProxyConnection%20error%3B%3B%20Trying%20to%20fetch%20alexadevice%20failed%20with%20SyntaxError%3A%20Unexpected%20token%20B%20in%20JSON%20at%20position%200%3B%7B%24defs%7BFHEM.Alexa%.....................................


Jemand eine Idee ?

Viele Grüße

Znaeb

Hallo zusammen,

ich schließe mich hier an. Nach einem Stromausfall habe ich das gleiche Problem. FHEM Connector lief davor ohne Probleme. Jetzt bekomme ich die Fehlermeldung:
error; Trying to fetch alexadevice failed with SyntaxError: Unexpected token B in JSON at position 0

Ich hab schon versucht, auf einem früheren Snapshot (FHEM läuft bei mir in einem Proxmox Container), damals noch ohne Alexa, eine Neuinstallation nach folgender Anleitung aus dem Wiki:
https://wiki.fhem.de/wiki/FHEM_Connector_f%C3%BCr_Amazon_Alexa

--> Problem bleibt bestehen.

Ich bin in der Hinsicht leider nur ein Copy/Paste-Anwender. Mit den Fehlermeldungen kann ich nicht wirklich etwas anfangen.

Hat jemand eine Idee.
Danke schonmal für die Hilfe. Ebenso Danke für die 100 mal davor, bei denen mir (ohne eigenen Beitrag) aus dem Forum geholfen wurde  ;D

Christoph Morrison

Guckt mal nach https://forum.fhem.de/index.php/topic,94817.msg1134988.html#msg1134988 und ff. - dein Problem, schnibberle, ist, dass du als Device-Name FHEM.Alexa gewählt hast und das Modul damit nicht korrekt umgeht.

justme1968

hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968