39_gassistant.pm (Google Assistant, Google Home)

Begonnen von dominik, 29 Januar 2019, 21:59:53

Vorheriges Thema - Nächstes Thema

Henno

Ich habe plötzlich Probleme mit meinen Gassistant

Bei jedem Befehl kommt in der log
error in longpoll connection: TypeError: localQUERY.processQUERY is not a function

Ich habe node.js aktualisiert sowie das gesamte System.
Rebuild von Gassistant und x-reboots haben leider nicht geholfen.

Jemand eine Idee?

Henno

Nachdem ich heute testweise Linux und FHEM komplett neu aufgesetzt habe ende ich mit den gleichen Problemen.
Irgendwas schein nicht mehr kompatibel zu sein.



root@server:/home/henno# npm -v
8.1.2
root@server:/home/henno# nodejs -v
14.18.1

[31.10.2021, 10:02:29] [FHEM] update reading: Wohnzimmer:pct = 0
[31.10.2021, 10:02:29] [FHEM] update reading: Zirkulationspumpe:state = off
[31.10.2021, 10:02:30] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20connected&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 10:02:30] [FHEM]   error in longpoll connection: ReferenceError: exports is not defined
[31.10.2021, 10:02:30] [FHEM]   error in longpoll connection: TypeError: localQUERY.processQUERY is not a function
[31.10.2021, 10:02:33] [FHEM]   error in longpoll connection: TypeError: localQUERY.processQUERY is not a function
[31.10.2021, 10:02:34] [FHEM]   error in longpoll connection: TypeError: localQUERY.processQUERY is not a function
[31.10.2021, 10:02:34] [FHEM] update reading: Garage:state = on
[31.10.2021, 10:02:34] [FHEM]   error in longpoll connection: TypeError: localQUERY.processQUERY is not a function

dominik

Hi,
kannst du bitte das gesamte Log posten? Kommen davor noch irgendwelche Fehler?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Henno

Hier der komplette Log direkt nach einem Neustart von gassistant

31.10.2021, 20:05:22] Got SIGTERM, shutting down...
[31.10.2021, 20:05:22] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20disconnected&fwcsrf=csrf_183183104512287&XHR=1
Loading cli.js...
Loading version.js...
Loading server.js...
Loading user.js...
Loading logger.js...
Loading fhem.js...
Loading database.js...
Loading localhandleQUERY.js...
Loading utils.js...
Loading localserver.js...
Loading localhandleEXECUTE.js...
[31.10.2021, 20:05:24] using ./gassistant-fhem.cfg
[31.10.2021, 20:05:24] ---
[31.10.2021, 20:05:24] conf{"description":"FHEM Connect"}}
[31.10.2021, 20:05:24] ---
[31.10.2021, 20:05:24] Google Assistant FHEM Connect 3.0.4 started
[31.10.2021, 20:05:24] Fetching FHEM connections...
[31.10.2021, 20:05:24] [FHEM] starting longpoll: http://127.0.0.1:8084/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1635707124766
(node:29886) Warning: Accessing non-existent property '_system' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
[31.10.2021, 20:05:25] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=jsonlist2%20TYPE%3Dgassistant&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:26] [FHEM] FHEM Google Assistant device detected: gassistant
[31.10.2021, 20:05:26] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-version%203.0.4&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:26] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lastServerError%20none&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:26] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=set%20gassistant%20loginURL%20https%3A%2F%2Ffhemconnector.eu.auth0.com%2Fauthorize%3Faudience%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2F%26scope%3Doffline_access%2520openid%2520profile%26response_type%3Dcode%26client_id%3DEI0TI2Y0W1743Ico53Nvsg1FsmoZniCC%26code_challenge%3DQUu6QH_XFaYyafpQXC3Iqj1Zhkhh4ZXlrVtqdNOs3OY%26code_challenge_method%3DS256%26redirect_uri%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2Fcodelanding%2Fstart&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:26] [FHEM] Get refresh token...
[31.10.2021, 20:05:26] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=get%20gassistant%20refreshToken&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:26] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20connecting...&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:26] [FHEM] Found refresh token in reading
[31.10.2021, 20:05:26] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-versionAvailable%203.0.4&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:26] Refresh tokens finished. Next refresh in 86400 seconds.
[31.10.2021, 20:05:26] [FHEM] refreshAllTokens executed
[31.10.2021, 20:05:27] Start Connection and listen for Firebase
[31.10.2021, 20:05:27] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-localHome%20inactive&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:27] [LOCAL] FHEM Connect Google local home server running on port 37000
ReferenceError [Error]: exports is not defined
    at eval (eval at apply (/usr/local/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/fixasync.js:21:10), <anonymous>:1:1)
    at eval (<anonymous>)
    at Object.apply (/usr/local/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/fixasync.js:21:10)
    at Object.FHEM_getClientFunctions (/usr/local/lib/node_modules/gassistant-fhem/lib/remote-localhandleEXECUTE.js:18:5)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
[31.10.2021, 20:05:27] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20login%20failed%2C%20please%20retry&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:27] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lasterror%20ReferenceError%3A%20exports%20is%20not%20defined&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:28] [LOCAL] Bonjour successfully published
[31.10.2021, 20:05:28] [LOCAL] Local Home ready
[31.10.2021, 20:05:35] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20reloading...&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:35] [FHEM] Reload and SYNC to Google
[31.10.2021, 20:05:35] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lastServerError%20none&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:35] [FHEM] longpoll ended, reconnect in: 4700msec
[31.10.2021, 20:05:36] [FHEM] Fetching FHEM devices...
[31.10.2021, 20:05:36] [FHEM] fetching: http://127.0.0.1:8084/fhem?cmd=jsonlist2%20room=GoogleHome&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:36] [FHEM] got: 31 results
[31.10.2021, 20:05:36] [FHEM] update reading: Aussentemperatur:battery = ok
[31.10.2021, 20:05:36] [FHEM] update reading: Aussentemperatur:humidity = 82
[31.10.2021, 20:05:36] [FHEM] update reading: Aussentemperatur:temperature = 15.4
[31.10.2021, 20:05:36] [FHEM] update reading: Dimmer_KZ:pct = 0
[31.10.2021, 20:05:36] [FHEM] update reading: Dimmer_SZ:pct = 0
[31.10.2021, 20:05:36] [FHEM] update reading: Garage:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: GoogleAssistant_dummy:state = on
[31.10.2021, 20:05:36] [FHEM] update reading: Gosund:state = set_off
[31.10.2021, 20:05:36] [FHEM] update reading: KZ_Clima:desired-temp = 21.5
[31.10.2021, 20:05:36] [FHEM] update reading: KZ_Clima:measured-temp = 20.7
[31.10.2021, 20:05:36] [FHEM] update reading: Kompressor:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Licht_EZ:pct = 0
[31.10.2021, 20:05:36] [FHEM] update reading: Licht_Hof:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Licht_Kueche_Dim:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Lichterkette:state = on
[31.10.2021, 20:05:36] [FHEM] update reading: Omlopp:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Bad:pct = 0
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Bad:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Buero:pct = 0
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Buero:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Buero_Tuer:pct = 0
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Buero_Tuer:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Esszimmer:pct = 100
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Esszimmer:state = on
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_KZ:pct = 0
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_KZ:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Kueche:pct = 0
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Kueche:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_SZ:pct = 0
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_SZ:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Wohnzimmer:pct = 0
[31.10.2021, 20:05:36] [FHEM] update reading: Rolladen_Wohnzimmer:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Sawyer:desired-temp = 21.5
[31.10.2021, 20:05:36] [FHEM] update reading: Sawyer:humidity = 58
[31.10.2021, 20:05:36] [FHEM] update reading: Sawyer:measured-temp = 20.7
[31.10.2021, 20:05:36] [FHEM] update reading: Schrank:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Steckdose_Hof_1:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Steckdose_Hof_2:state = off
[31.10.2021, 20:05:36] [FHEM] update reading: Thermometer_Bad_Climate:desired-temp = 19.5
[31.10.2021, 20:05:36] [FHEM] update reading: Thermometer_Bad_Climate:humidity = 62
[31.10.2021, 20:05:36] [FHEM] update reading: Thermometer_Bad_Climate:measured-temp = 19.5
[31.10.2021, 20:05:36] [FHEM] update reading: Thermometer_Schlafzimmer_Climate:desired-temp = 20.0
[31.10.2021, 20:05:36] [FHEM] update reading: Thermometer_Schlafzimmer_Climate:humidity = 63
[31.10.2021, 20:05:36] [FHEM] update reading: Thermometer_Schlafzimmer_Climate:measured-temp = 19.4
[31.10.2021, 20:05:36] [FHEM] update reading: Thermometer_Wohnzimmer_Climate:desired-temp = 21.5
[31.10.2021, 20:05:36] [FHEM] update reading: Thermometer_Wohnzimmer_Climate:humidity = 59
[31.10.2021, 20:05:36] [FHEM] update reading: Thermometer_Wohnzimmer_Climate:measured-temp = 19.9
[31.10.2021, 20:05:36] [FHEM] update reading: Wohnzimmer:pct = 0
[31.10.2021, 20:05:36] [FHEM] update reading: Zirkulationspumpe:state = on
[31.10.2021, 20:05:36] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20connected&fwcsrf=csrf_183183104512287&XHR=1
[31.10.2021, 20:05:36] [FHEM]   error in longpoll connection: ReferenceError: exports is not defined
[31.10.2021, 20:05:40] [FHEM] starting longpoll: http://127.0.0.1:8084/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1635707140289
[31.10.2021, 20:05:40] [FHEM]   error in longpoll connection: TypeError: localQUERY.processQUERY is not a function
[31.10.2021, 20:05:41] [FHEM]   error in longpoll connection: TypeError: localQUERY.processQUERY is not a function
[31.10.2021, 20:05:44] [FHEM]   error in longpoll connection: TypeError: localQUERY.processQUERY is not a function

jump to the top

dominik

Kannst du bitte nochmals testen? Habe gerade etwas geändert.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Henno

Nach FHEM reboot noch immer der Fehler.
Sowie keine Steuerung aus Google möglich

Was eben im Log fehlte, bei jedem request über Google kommt das


[31.10.2021, 22:01:17] [LOCAL] Error in Local Home: TypeError: localEXECUTE.handleEXECUTE is not a function
[31.10.2021, 22:01:24] [FHEM]   error in longpoll connection: TypeError: localQUERY.processQUERY is not a function
[31.10.2021, 22:01:25] [FHEM]   error in longpoll connection: TypeError: localQUERY.processQUERY is not a function
[31.10.2021, 22:01:25] [FHEM]   error in longpoll connection: TypeError: localQUERY.processQUERY is not a function
[31.10.2021, 22:01:26] [FHEM]   

dominik

fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Henno

Neuer Log, direkt nach system reboot und Gassistant Update


[31.10.2021, 22:47:50] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20disconnected&fwcsrf=csrf_159011175935741&XHR=1
Loading cli.js...
Loading version.js...
Loading server.js...
Loading user.js...
Loading logger.js...
Loading fhem.js...
Loading database.js...
Loading localhandleQUERY.js...
Loading utils.js...
Loading localserver.js...
Loading localhandleEXECUTE.js...
[31.10.2021, 22:47:52] using ./gassistant-fhem.cfg
[31.10.2021, 22:47:52] ---
[31.10.2021, 22:47:52] config:
{"connections":[{"filter":"room=GoogleHome","port":"8084","webname":"fhem","server":"127.0.0.1","name":"FHEM"}],"gassistant":{"description":"FHEM Connect"}}
[31.10.2021, 22:47:52] ---
[31.10.2021, 22:47:52] Google Assistant FHEM Connect 3.0.4 started
[31.10.2021, 22:47:52] Fetching FHEM connections...
[31.10.2021, 22:47:52] [FHEM] starting longpoll: http://127.0.0.1:8084/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1635716872801
(node:38259) Warning: Accessing non-existent property '_system' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
[31.10.2021, 22:47:53] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=jsonlist2%20TYPE%3Dgassistant&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:53] [FHEM] FHEM Google Assistant device detected: gassistant
[31.10.2021, 22:47:53] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-version%203.0.4&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:53] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lastServerError%20none&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:53] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=set%20gassistant%20loginURL%20https%3A%2F%2Ffhemconnector.eu.auth0.com%2Fauthorize%3Faudience%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2F%26scope%3Doffline_access%2520openid%2520profile%26response_type%3Dcode%26client_id%3DEI0TI2Y0W1743Ico53Nvsg1FsmoZniCC%26code_challenge%3DEQhyNmcqpXt6xiHZEIkNB9VKysmEGR21Gz-M8LThej0%26code_challenge_method%3DS256%26redirect_uri%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2Fcodelanding%2Fstart&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:53] [FHEM] Get refresh token...
[31.10.2021, 22:47:53] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=get%20gassistant%20refreshToken&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:53] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20connecting...&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:53] [FHEM] Found refresh token in reading
[31.10.2021, 22:47:53] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-versionAvailable%203.0.4&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:53] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20reloading...&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:53] [FHEM] Reload and SYNC to Google
[31.10.2021, 22:47:53] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lastServerError%20none&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:53] [FHEM] longpoll ended, reconnect in: 4700msec
[2021-10-31T21:47:54.060Z]  @firebase/database: FIREBASE WARNING: set at /users/undefined/devices failed: permission_denied
[31.10.2021, 22:47:54] [FHEM] Realtime Database deletion failed: Error: PERMISSION_DENIED: Permission denied
[31.10.2021, 22:47:54] [FHEM] Device deletion failed: FirebaseError: [code=invalid-argument]: Function Firestore.collection() requires its first argument to be of type non-empty string, but it was: undefined
[31.10.2021, 22:47:54] [FHEM] Attribute deletion failed: FirebaseError: [code=invalid-argument]: Function Firestore.collection() requires its first argument to be of type non-empty string, but it was: undefined
[31.10.2021, 22:47:54] [FHEM] Fetching FHEM devices...
[31.10.2021, 22:47:54] [FHEM] fetching: http://127.0.0.1:8084/fhem?cmd=jsonlist2%20room=GoogleHome&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:54] Refresh tokens finished. Next refresh in 86400 seconds.
[31.10.2021, 22:47:54] [FHEM] refreshAllTokens executed
[31.10.2021, 22:47:54] [FHEM] got: 31 results
[31.10.2021, 22:47:54] [FHEM] update reading: Aussentemperatur:battery = ok
[31.10.2021, 22:47:54] Start Connection and listen for Firebase
[31.10.2021, 22:47:54] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-localHome%20inactive&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:54] [LOCAL] FHEM Connect Google local home server running on port 37000
[31.10.2021, 22:47:54] [FHEM] update reading: Aussentemperatur:humidity = 83
[31.10.2021, 22:47:54] [FHEM] update reading: Aussentemperatur:temperature = 12.8
[31.10.2021, 22:47:54] [FHEM] update reading: Dimmer_KZ:pct = 100
[31.10.2021, 22:47:54] [FHEM] update reading: Dimmer_SZ:pct = 100
[31.10.2021, 22:47:54] [FHEM] update reading: Garage:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: GoogleAssistant_dummy:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Gosund:state = set_off
[31.10.2021, 22:47:54] [FHEM] update reading: KZ_Clima:desired-temp = 21.5
[31.10.2021, 22:47:54] [FHEM] update reading: KZ_Clima:measured-temp = 21.4
[31.10.2021, 22:47:54] [FHEM] update reading: Kompressor:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Licht_EZ:pct = 0
[31.10.2021, 22:47:54] [FHEM] update reading: Licht_Hof:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Licht_Kueche_Dim:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Lichterkette:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Omlopp:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Bad:pct = 0
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Bad:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Buero:pct = 0
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Buero:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Buero_Tuer:pct = 0
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Buero_Tuer:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Esszimmer:pct = 0
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Esszimmer:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_KZ:pct = 0
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_KZ:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Kueche:pct = 0
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Kueche:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_SZ:pct = 0
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_SZ:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Wohnzimmer:pct = 0
[31.10.2021, 22:47:54] [FHEM] update reading: Rolladen_Wohnzimmer:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Sawyer:desired-temp = 21.5
[31.10.2021, 22:47:54] [FHEM] update reading: Sawyer:humidity = 57
[31.10.2021, 22:47:54] [FHEM] update reading: Sawyer:measured-temp = 21.4
[31.10.2021, 22:47:54] [FHEM] update reading: Schrank:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Steckdose_Hof_1:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Steckdose_Hof_2:state = off
[31.10.2021, 22:47:54] [FHEM] update reading: Thermometer_Bad_Climate:desired-temp = 19.5
[31.10.2021, 22:47:54] [FHEM] update reading: Thermometer_Bad_Climate:humidity = 64
[31.10.2021, 22:47:54] [FHEM] update reading: Thermometer_Bad_Climate:measured-temp = 20.2
[31.10.2021, 22:47:54] [FHEM] update reading: Thermometer_Schlafzimmer_Climate:desired-temp = 19.0
[31.10.2021, 22:47:54] [FHEM] update reading: Thermometer_Schlafzimmer_Climate:humidity = 62
[31.10.2021, 22:47:54] [FHEM] update reading: Thermometer_Schlafzimmer_Climate:measured-temp = 20.7
ReferenceError [Error]: exports is not defined
    at eval (eval at apply (/usr/local/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/fixasync.js:21:10), <anonymous>:1:1)
    at eval (<anonymous>)
    at Object.apply (/usr/local/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/fixasync.js:21:10)
    at Object.FHEM_getClientFunctions (/usr/local/lib/node_modules/gassistant-fhem/lib/remote-localhandleEXECUTE.js:18:5)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
[31.10.2021, 22:47:54] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20login%20failed%2C%20please%20retry&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:54] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lasterror%20ReferenceError%3A%20exports%20is%20not%20defined&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:54] [FHEM] update reading: Thermometer_Wohnzimmer_Climate:desired-temp = 21.5
[31.10.2021, 22:47:54] [FHEM] update reading: Thermometer_Wohnzimmer_Climate:humidity = 59
[31.10.2021, 22:47:54] [FHEM] update reading: Thermometer_Wohnzimmer_Climate:measured-temp = 20.0
[31.10.2021, 22:47:54] [FHEM] update reading: Wohnzimmer:pct = 0
[31.10.2021, 22:47:54] [FHEM] update reading: Zirkulationspumpe:state = off
[31.10.2021, 22:47:54] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20connected&fwcsrf=csrf_159011175935741&XHR=1
[31.10.2021, 22:47:55] [FHEM]   error in longpoll connection: ReferenceError: exports is not defined
[31.10.2021, 22:47:55] [LOCAL] Bonjour successfully published
[31.10.2021, 22:47:55] [LOCAL] Local Home ready
[31.10.2021, 22:47:58] [FHEM] starting longpoll: http://127.0.0.1:8084/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1635716878529


dominik

fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Und setze bitte auch den authcode neu, du dürftest nicht eingeloggt sein.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Henno

Nodejs wurde mittels apt installiert.

Authentifizierung klappt, aber immer erst beim zweiten Versuch.
Beim starten werden auch die aktuellen Zustände an Google übermittelt

dominik

Was passiert beim 1. Versuch der Authentifizierung?

Folgende Log Meldung zeig nämlich, dass die Authentifizierung nicht gegeben ist:
Zitat[2021-10-31T21:47:54.060Z]  @firebase/database: FIREBASE WARNING: set at /users/undefined/devices failed: permission_denied
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Henno

Das passiert nach ein reconnect
Verbindung Scheint ok



1.11.2021, 13:12:57] [FHEM] Reload and SYNC to Google
[1.11.2021, 13:12:57] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lastServerError%20none&fwcsrf=csrf_159011175935741&XHR=1
[1.11.2021, 13:12:57] [FHEM] longpoll ended, reconnect in: 4700msec
[1.11.2021, 13:12:57] [FHEM] Fetching FHEM devices...
[1.11.2021, 13:12:57] [FHEM] fetching: http://127.0.0.1:8084/fhem?cmd=jsonlist2%20room=GoogleHome&fwcsrf=csrf_159011175935741&XHR=1
[1.11.2021, 13:12:57] [FHEM] got: 31 results
[1.11.2021, 13:12:58] [FHEM] update reading: Aussentemperatur:battery = ok
[1.11.2021, 13:12:58] [FHEM] update reading: Aussentemperatur:humidity = 72
[1.11.2021, 13:12:58] [FHEM] update reading: Aussentemperatur:temperature = 12.5
[1.11.2021, 13:12:58] [FHEM] update reading: Dimmer_KZ:pct = 0
[1.11.2021, 13:12:58] [FHEM] update reading: Dimmer_SZ:pct = 0
[1.11.2021, 13:12:58] [FHEM] update reading: Garage:state = off
[1.11.2021, 13:12:58] [FHEM] update reading: GoogleAssistant_dummy:state = off
[1.11.2021, 13:12:58] [FHEM] update reading: Gosund:state = set_off
[1.11.2021, 13:12:58] [FHEM] update reading: KZ_Clima:desired-temp = 19.0
[1.11.2021, 13:12:58] [FHEM] update reading: KZ_Clima:measured-temp = 20.3
[1.11.2021, 13:12:58] [FHEM] update reading: Kompressor:state = off
[1.11.2021, 13:12:58] [FHEM] update reading: Licht_EZ:pct = 0
[1.11.2021, 13:12:58] [FHEM] update reading: Licht_Hof:state = off
[1.11.2021, 13:12:58] [FHEM] update reading: Licht_Kueche_Dim:state = off
[1.11.2021, 13:12:58] [FHEM] update reading: Lichterkette:state = off
[1.11.2021, 13:12:58] [FHEM] update reading: Omlopp:state = off
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Bad:pct = 100
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Bad:state = on
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Buero:pct = 100
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Buero:state = on
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Buero_Tuer:pct = 100
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Buero_Tuer:state = on
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Esszimmer:pct = 100
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Esszimmer:state = on
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_KZ:pct = 100
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_KZ:state = on
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Kueche:pct = 100
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Kueche:state = on
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_SZ:pct = 100
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_SZ:state = on
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Wohnzimmer:pct = 100
[1.11.2021, 13:12:58] [FHEM] update reading: Rolladen_Wohnzimmer:state = on
[1.11.2021, 13:12:58] [FHEM] update reading: Sawyer:desired-temp = 19.0
[1.11.2021, 13:12:58] [FHEM] update reading: Sawyer:humidity = 58
[1.11.2021, 13:12:58] [FHEM] update reading: Sawyer:measured-temp = 20.3
[1.11.2021, 13:12:58] [FHEM] update reading: Schrank:state = off
[1.11.2021, 13:12:58] [FHEM] update reading: Steckdose_Hof_1:state = off
[1.11.2021, 13:12:58] [FHEM] update reading: Steckdose_Hof_2:state = off
[1.11.2021, 13:12:58] [FHEM] update reading: Thermometer_Bad_Climate:desired-temp = 19.5
[1.11.2021, 13:12:58] [FHEM] update reading: Thermometer_Bad_Climate:humidity = 71
[1.11.2021, 13:12:58] [FHEM] update reading: Thermometer_Bad_Climate:measured-temp = 20.1
[1.11.2021, 13:12:58] [FHEM] update reading: Thermometer_Schlafzimmer_Climate:desired-temp = 18.0
[1.11.2021, 13:12:58] [FHEM] update reading: Thermometer_Schlafzimmer_Climate:humidity = 52
[1.11.2021, 13:12:58] [FHEM] update reading: Thermometer_Schlafzimmer_Climate:measured-temp = 17.8
[1.11.2021, 13:12:58] [FHEM] update reading: Thermometer_Wohnzimmer_Climate:desired-temp = 21.5
[1.11.2021, 13:12:58] [FHEM] update reading: Thermometer_Wohnzimmer_Climate:humidity = 57
[1.11.2021, 13:12:58] [FHEM] update reading: Thermometer_Wohnzimmer_Climate:measured-temp = 19.6
[1.11.2021, 13:12:58] [FHEM] update reading: Wohnzimmer:pct = 0
[1.11.2021, 13:12:58] [FHEM] update reading: Zirkulationspumpe:state = off
[1.11.2021, 13:12:58] [FHEM]   executing: http://127.0.0.1:8084/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20connected&fwcsrf=csrf_159011175935741&XHR=1
[1.11.2021, 13:12:58] [FHEM]   error in longpoll connection: ReferenceError: exports is not defined
[1.11.2021, 13:13:02] [FHEM] starting longpoll: http://127.0.0.1:8084/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1635768782092

jump to the top


dominik

Mach bitte eine neue Authentifizierung und dann einen Restart von gassistant. Poste dann bitte das gesamte Log.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

kadettilac89

Hi  Dominik, hier etwas Input von mir ...

DAs Problem haben etliche hier, siehe die letzten Seiten. Superposchi hatte es im Docker gemeldet. Es scheint als würde existierende Docker (und nativ Installationen?) weiterhin funktioknieren. Neue Installationen geben Fehler. Ich habe in Docker auf neueste node + npm aktuallisiert und es läuft weiter. Neu aufgesetzt geht nicht.

Komisch ist auch, dass Wechsel des Docker Containers (von fhem Original zu DEV von CoolTux) auch gassistand "bricht".

Komplett neues Fhem nativ. INstallation nach Wiki

Log direkt nach der Installation.


npm -v
6.14.15
node -v
v14.18.1



<<< neu installiert - define gassistant gassistant >>>
Loading cli.js...
Loading version.js...
Loading server.js...
Loading user.js...
Loading logger.js...
Loading fhem.js...
Loading database.js...
Loading localhandleQUERY.js...
Loading utils.js...
Loading localserver.js...
Loading localhandleEXECUTE.js...
[11/1/2021, 1:01:42 PM] using ./gassistant-fhem.cfg
[11/1/2021, 1:01:42 PM] ---
[11/1/2021, 1:01:42 PM] config:
{"gassistant":{"description":"FHEM Connect"},"connections":[{"webname":"fhem","server":"127.0.0.1","port":"8083","filter":"room=GoogleAssistant","name":"FHEM"}]}
[11/1/2021, 1:01:42 PM] ---
[11/1/2021, 1:01:42 PM] Google Assistant FHEM Connect 3.0.4 started
[11/1/2021, 1:01:42 PM] Fetching FHEM connections...
[11/1/2021, 1:01:42 PM] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1635771702837
(node:1171) Warning: Accessing non-existent property '_system' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
[11/1/2021, 1:01:43 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dgassistant&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:01:43 PM] [FHEM] FHEM Google Assistant device detected: gassistant
[11/1/2021, 1:01:43 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-version%203.0.4&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:01:43 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lastServerError%20none&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:01:43 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=set%20gassistant%20loginURL%20https%3A%2F%2Ffhemconnector.eu.auth0.com%2Fauthorize%3Faudience%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2F%26scope%3Doffline_access%2520openid%2520profile%26response_type%3Dcode%26client_id%3DEI0TI2Y0W1743Ico53Nvsg1FsmoZniCC%26code_challenge%3DCaZk98iEbJSzY_ar6lQJWxr5Yp6S3NnnbFROZgyjRRI%26code_challenge_method%3DS256%26redirect_uri%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2Fcodelanding%2Fstart&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:01:43 PM] [FHEM] Get refresh token...
[11/1/2021, 1:01:43 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=get%20gassistant%20refreshToken&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:01:43 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20login%20required%3B%20set%20gassistant%20loginURL%20https%3A%2F%2Ffhemconnector.eu.auth0.com%2Fauthorize%3Faudience%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2F%26scope%3Doffline_access%2520openid%2520profile%26response_type%3Dcode%26client_id%3DEI0TI2Y0W1743Ico53Nvsg1FsmoZniCC%26code_challenge%3DebAOVj9kLL6QfE0wwjXT8sU6-oIdB848wTpCYEyDoBg%26code_challenge_method%3DS256%26redirect_uri%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2Fcodelanding%2Fstart&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:01:43 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lasterror%20none&fwcsrf=csrf_664801664148702&XHR=1


Log nach get login-Url (keine neuen Einträge) + set auth key

<<< get login + set auth key >>>
[11/1/2021, 1:05:37 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20connecting...&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:05:37 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=set%20gassistant%20refreshToken%205YZaKVk4di7z5ztOhZhMcfxk32kN55JuTZ-p0ad4KLv7H&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:05:37 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-uid%20google-oauth2%7C100018623537520537581&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:05:38 PM] Start Connection and listen for Firebase
[11/1/2021, 1:05:38 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-localHome%20inactive&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:05:38 PM] [LOCAL] FHEM Connect Google local home server running on port 37000
[11/1/2021, 1:05:38 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20login%20failed%2C%20please%20retry&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:05:38 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lasterror%20ReferenceError%3A%20exports%20is%20not%20defined&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:05:39 PM] [LOCAL] Bonjour successfully published
[11/1/2021, 1:05:39 PM] [LOCAL] Local Home ready
[11/1/2021, 1:05:40 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-localHome%20active&fwcsrf=csrf_664801664148702&XHR=1



Log gassistant restart

[11/1/2021, 1:06:59 PM] Got SIGTERM, shutting down...
[11/1/2021, 1:06:59 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20disconnected&fwcsrf=csrf_664801664148702&XHR=1
Loading cli.js...
Loading version.js...
Loading server.js...
Loading user.js...
Loading logger.js...
Loading fhem.js...
Loading database.js...
Loading localhandleQUERY.js...
Loading utils.js...
Loading localserver.js...
Loading localhandleEXECUTE.js...
[11/1/2021, 1:07:02 PM] using ./gassistant-fhem.cfg
[11/1/2021, 1:07:02 PM] ---
[11/1/2021, 1:07:02 PM] config:
{"gassistant":{"description":"FHEM Connect"},"connections":[{"webname":"fhem","server":"127.0.0.1","port":"8083","filter":"room=GoogleAssistant","name":"FHEM"}]}
[11/1/2021, 1:07:02 PM] ---
[11/1/2021, 1:07:02 PM] Google Assistant FHEM Connect 3.0.4 started
[11/1/2021, 1:07:02 PM] Fetching FHEM connections...
[11/1/2021, 1:07:02 PM] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1635772022583
(node:1311) Warning: Accessing non-existent property '_system' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
[11/1/2021, 1:07:02 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dgassistant&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:07:02 PM] [FHEM] FHEM Google Assistant device detected: gassistant
[11/1/2021, 1:07:02 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-version%203.0.4&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:07:02 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lastServerError%20none&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:07:02 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=set%20gassistant%20loginURL%20https%3A%2F%2Ffhemconnector.eu.auth0.com%2Fauthorize%3Faudience%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2F%26scope%3Doffline_access%2520openid%2520profile%26response_type%3Dcode%26client_id%3DEI0TI2Y0W1743Ico53Nvsg1FsmoZniCC%26code_challenge%3DiU3CzCDlT-HH7YgAfuSCmznC4MpDJfCUX8GRPtv65d0%26code_challenge_method%3DS256%26redirect_uri%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2Fcodelanding%2Fstart&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:07:02 PM] [FHEM] Get refresh token...
[11/1/2021, 1:07:02 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=get%20gassistant%20refreshToken&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:07:02 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20connecting...&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:07:02 PM] [FHEM] Found refresh token in reading
[11/1/2021, 1:07:03 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-versionAvailable%203.0.4&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:07:03 PM] Refresh tokens finished. Next refresh in 86400 seconds.
[11/1/2021, 1:07:03 PM] [FHEM] refreshAllTokens executed
[11/1/2021, 1:07:04 PM] Start Connection and listen for Firebase
[11/1/2021, 1:07:04 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-localHome%20inactive&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:07:04 PM] [LOCAL] FHEM Connect Google local home server running on port 37000
ReferenceError [Error]: exports is not defined
    at eval (eval at apply (/usr/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/fixasync.js:21:10), <anonymous>:1:1)
    at eval (<anonymous>)
    at Object.apply (/usr/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/fixasync.js:21:10)
    at Object.FHEM_getClientFunctions (/usr/lib/node_modules/gassistant-fhem/lib/remote-localhandleEXECUTE.js:18:5)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
[11/1/2021, 1:07:05 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20login%20failed%2C%20please%20retry&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:07:05 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lasterror%20ReferenceError%3A%20exports%20is%20not%20defined&fwcsrf=csrf_664801664148702&XHR=1
[11/1/2021, 1:07:05 PM] [LOCAL] Bonjour successfully published
[11/1/2021, 1:07:05 PM] [LOCAL] Local Home ready



List direkt nach der Anlage:

Internals:
   CFGFN     
   FD         10
   FUUID      617fe533-f33f-db2b-471d-e54f50b7357617c5
   LAST_START 2021-11-01 13:01:39
   NAME       gassistant
   NOTIFYDEV  global,global:npmjs.*gassistant-fhem.*
   NR         19
   NTFY_ORDER 50-gassistant
   PID        1171
   STARTS     1
   STATE      login required
   TYPE       gassistant
   currentlogfile ./log/gassistant-2021-11-01.log
   logfile    ./log/gassistant-%Y-%m-%d.log
   CoProcess:
     cmdFn      gassistant_getCMD
     name       gassistant-fhem
     state      running /usr/bin/gassistant-fhem
   READINGS:
     2021-11-01 13:01:39   gassistant-fhem running /usr/bin/gassistant-fhem
     2021-11-01 13:01:43   gassistant-fhem-connection login required
     2021-11-01 13:01:43   gassistant-fhem-lastServerError none
     2021-11-01 13:01:43   gassistant-fhem-lasterror none
     2021-11-01 13:01:43   gassistant-fhem-version 3.0.4
     2021-11-01 13:01:43   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=ebAOVj9kLL6QfE0wwjXT8sU6-oIdB848wTpCYEyDoBg&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>
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\">&nbsp;&nbsp;".FW_makeImage($onoff, "restart")."</a></div>"}
   gassistantFHEM-config ./gassistant-fhem.cfg
   gassistantFHEM-log ./log/gassistant-%Y-%m-%d.log
   icon       gassistant
   nrarchive  10
   room       GoogleAssistant
   stateFormat gassistant-fhem-connection


List nach get login Url + set auth code

Internals:
   CFGFN     
   FD         10
   FUUID      617fe533-f33f-db2b-471d-e54f50b7357617c5
   LAST_START 2021-11-01 13:01:39
   NAME       gassistant
   NOTIFYDEV  global,global:npmjs.*gassistant-fhem.*
   NR         19
   NTFY_ORDER 50-gassistant
   PID        1171
   STARTS     1
   STATE      login failed, please retry
   TYPE       gassistant
   currentlogfile ./log/gassistant-2021-11-01.log
   logfile    ./log/gassistant-%Y-%m-%d.log
   CoProcess:
     cmdFn      gassistant_getCMD
     name       gassistant-fhem
     state      running /usr/bin/gassistant-fhem
   READINGS:
     2021-11-01 13:01:39   gassistant-fhem running /usr/bin/gassistant-fhem
     2021-11-01 13:05:38   gassistant-fhem-connection login failed, please retry
     2021-11-01 13:01:43   gassistant-fhem-lastServerError none
     2021-11-01 13:05:38   gassistant-fhem-lasterror ReferenceError: exports is not defined
     2021-11-01 13:05:40   gassistant-fhem-localHome active
     2021-11-01 13:05:37   gassistant-fhem-uid google-oauth2|100018623537520537581
     2021-11-01 13:01:43   gassistant-fhem-version 3.0.4
     2021-11-01 13:01:43   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=ebAOVj9kLL6QfE0wwjXT8sU6-oIdB848wTpCYEyDoBg&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-11-01 13:05:37   gassistantFHEM.refreshToken crypt:576b38057b635201555d5619564847785b380c7857534d0a55545f2a01037e4236684f1400545d017a7817542b
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\">&nbsp;&nbsp;".FW_makeImage($onoff, "restart")."</a></div>"}
   gassistantFHEM-config ./gassistant-fhem.cfg
   gassistantFHEM-log ./log/gassistant-%Y-%m-%d.log
   icon       gassistant
   nrarchive  10
   room       GoogleAssistant
   stateFormat gassistant-fhem-connection


List nach restart

Internals:
   CFGFN     
   FD         10
   FUUID      617fe533-f33f-db2b-471d-e54f50b7357617c5
   LAST_START 2021-11-01 13:06:59
   LAST_STOP  2021-11-01 13:06:59
   NAME       gassistant
   NOTIFYDEV  global,global:npmjs.*gassistant-fhem.*
   NR         19
   NTFY_ORDER 50-gassistant
   PID        1311
   STARTS     2
   STATE      login failed, please retry
   TYPE       gassistant
   currentlogfile ./log/gassistant-2021-11-01.log
   logfile    ./log/gassistant-%Y-%m-%d.log
   CoProcess:
     cmdFn      gassistant_getCMD
     name       gassistant-fhem
     state      running /usr/bin/gassistant-fhem
   READINGS:
     2021-11-01 13:06:59   gassistant-fhem running /usr/bin/gassistant-fhem
     2021-11-01 13:07:05   gassistant-fhem-connection login failed, please retry
     2021-11-01 13:07:02   gassistant-fhem-lastServerError none
     2021-11-01 13:07:05   gassistant-fhem-lasterror ReferenceError: exports is not defined
     2021-11-01 13:07:09   gassistant-fhem-localHome active
     2021-11-01 13:05:37   gassistant-fhem-uid google-oauth2|100018623537520537581
     2021-11-01 13:07:02   gassistant-fhem-version 3.0.4
     2021-11-01 13:07:03   gassistant-fhem-versionAvailable 3.0.4
     2021-11-01 13:07:02   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=iU3CzCDlT-HH7YgAfuSCmznC4MpDJfCUX8GRPtv65d0&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-11-01 13:05:37   gassistantFHEM.refreshToken crypt:576b38057b635201555d5619564847785b380c7857534d0a55545f2a01037e4236684f1400545d017a7817542b
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\">&nbsp;&nbsp;".FW_makeImage($onoff, "restart")."</a></div>"}
   gassistantFHEM-config ./gassistant-fhem.cfg
   gassistantFHEM-log ./log/gassistant-%Y-%m-%d.log
   icon       gassistant
   nrarchive  10
   room       GoogleAssistant
   stateFormat gassistant-fhem-connection