Ich habe es endlich geschafft mein Google Assistant-Device wieder online zu bekommen.
Leider zeigt mir der STATE nur "login failed, please retry" an.
Ich bekomme es trotz aller probierter Varianten nicht hin und finde nicht auf welcher seite das Problem liegt.
Habe mit der gassistantFHEM.loginURL den Authcode anzeigen lassen und eingetragen.
In Google Assistant auf dem Handy ist Fhem Connect verbunden, gibt aber beim verbinden (nicht immer) die Meldung aus, dass keine Geräte vorhanden wäre, obwohl in der Geräteliste 14 Devices angezeigt werden.
Hier das List des Assistant-Devices:
Internals:
FD 51
FUUID 61521ae6-f33f-6c14-42d3-217a19a4c7e5a58b
FVERSION 39_gassistant.pm:0.182830/2019-01-16
LAST_START 2021-10-19 08:44:14
NAME gassistant
NOTIFYDEV global,global:npmjs.*gassistant-fhem.*
NR 248
NTFY_ORDER 50-gassistant
PID 13696
STARTS 1
STATE login failed, please retry
TYPE gassistant
currentlogfile ./log/gassistant-2021-10-19.log
logfile ./log/gassistant-%Y-%m-%d.log
CoProcess:
cmdFn gassistant_getCMD
name gassistant-fhem
state running /usr/bin/gassistant-fhem
READINGS:
2021-10-19 08:44:14 gassistant-fhem running /usr/bin/gassistant-fhem
2021-10-19 08:44:19 gassistant-fhem-connection login failed, please retry
2021-10-19 08:44:17 gassistant-fhem-lastServerError none
2021-10-19 08:44:19 gassistant-fhem-lasterror ReferenceError: exports is not defined
2021-10-19 08:44:19 gassistant-fhem-localHome inactive
2021-10-19 08:40:33 gassistant-fhem-uid google-oauth2|100673568922433100803
2021-10-19 08:44:17 gassistant-fhem-version 3.0.4
2021-10-19 08:44:17 gassistant-fhem-versionAvailable 3.0.4
2021-10-19 08:44:17 gassistantFHEM.loginURL <html><a href="https://fhemconnector.eu.auth0.com/authorize?audience=https://europe-west1-fhem-ga-connector.cloudfunctions.net/&scope=offline_access%20openid%20profile&response_type=code&client_id=EI0TI2Y0W1743Ico53Nvsg1FsmoZniCC&code_challenge=ZQ5BTQ_DUffhc_RO1rZNLtCyQwCpc0goupOo8TLsA9Q&code_challenge_method=S256&redirect_uri=https://europe-west1-fhem-ga-connector.cloudfunctions.net/codelanding/start" target="_blank">Click here to login (new window/tab)</a><br></html>
2021-10-19 08:40:33 gassistantFHEM.refreshToken crypt:03791759510f397411292d46256b7e274967757d0442510f203600430200090b0352136625252f410c3b206710
Attributes:
devStateIcon { my $error = ReadingsVal($name,"gassistant-fhem-lastServerError","none") eq "none"?"10px-kreis-gruen":"10px-kreis-rot";; my $onoff = substr(ReadingsVal($name, "gassistant-fhem", "running"),0,7) eq "running"?"control_on_off\@green":"control_on_off\@red";; my $reload = ReadingsVal($name, "gassistant-fhem-connection", "connected") eq "connected"?"audio_repeat\@green":"audio_repeat\@orange";;"<div><a>".FW_makeImage($error)."</a> <a href=\"/fhem?cmd.dummy=set $name reload&XHR=1\">".FW_makeImage($reload, "reload")."</a><a href=\"/fhem?cmd.dummy=set $name restart&XHR=1\"> ".FW_makeImage($onoff, "restart")."</a></div>"}
gassistantFHEM-config ./gassistant-fhem.cfg
gassistantFHEM-log ./log/gassistant-%Y-%m-%d.log
group Bridges
icon mqtt_bridge_2
nrarchive 10
room GoogleAssistant,System
stateFormat gassistant-fhem-connection