39_gassistant.pm (Google Assistant, Google Home)

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

Vorheriges Thema - Nächstes Thema

dominik

Zitat von: Badflex am 08 Februar 2019, 14:15:26
Hallo, habe alles eingerichtet und sehe auch keine Fehler.
Allerdings findet er keine Geräte. Habe sie auch in den Raum verschoben.
Den Raum habe ich in der cfg in GoogleHome umbenannt.
Ist das ein Problem?

Was mir aufgefallen ist, wenn ich https://console.actions.google.com/project/fhem-connector-beta/simulatorcreate?isDeepLink

Ausführe, kommt:

Mit FHEM Connector Beta sprechen
mic
We're sorry, but something went wrong. Please try again.
'FHEM Connector Beta' hat die Unterhaltung verlassen

Ist das so in Ordnung?
Macht es was wen Alex skill parallel läuft?

Posted bitte die Log Ausgabe vom gassistant-fhem. Erreichbar über das gassistant Device I'm FHEM Web.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Badflex

#196


[2019-2-8 14:00:11] ---
[2019-2-8 14:00:11] Google Assistant FHEM Connect 1.0.15 started
[2019-2-8 14:00:11] Fetching FHEM connections...
[2019-2-8 14:00:11] [FHEM] starting longpoll: https://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1549630811210
[2019-2-8 14:00:25] [FHEM] Checking devices and attributes...
  executing: https://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=csrf_672478233795184&XHR=1
  executing: https://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dgassistant&fwcsrf=csrf_672478233795184&XHR=1
[2019-2-8 14:00:27] [FHEM] FHEM Google Assistant device detected: gassistant
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-version%201.0.15&fwcsrf=csrf_672478233795184&XHR=1
[2019-2-8 14:00:27] [FHEM] Get refresh token...
  executing: https://127.0.0.1:8083/fhem?cmd=get%20gassistant%20refreshToken&fwcsrf=csrf_672478233795184&XHR=1
  executing: https://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%3Dopenid%252520profile%252520offline_access%26response_type%3Dcode%26client_id%3DEI0TI2Y0W1743Ico53Nvsg1FsmoZniCC%26code_challenge%3DxBQT0oWFPKg67lcoz2AzF0J8x5ixX8eNzMeYDzx8QNM%26code_challenge_method%3DS256%26redirect_uri%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2Fcodelanding%2Fstart&fwcsrf=csrf_672478233795184&XHR=1
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lasterror%20none&fwcsrf=csrf_672478233795184&XHR=1
[2019-2-8 14:23:55] Got SIGTERM, shutting down...
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20disconnected&fwcsrf=csrf_672478233795184&XHR=1
[2019-2-8 14:24:51] using ./gassistant-fhem.cfg
[2019-2-8 14:24:51] ---
[2019-2-8 14:24:51] config:
{"gassistant":{"description":"FHEM Connect"},"connections":[{"webname":"fhem","server":"127.0.0.1","auth":{"user":"xxx","pass":"pass!?"},"ssl":true,"filter":"room=GoogleHome","port":"8083","name":"FHEM"}]}

[2019-2-8 14:24:51] ---
[2019-2-8 14:24:51] Google Assistant FHEM Connect 1.0.15 started
[2019-2-8 14:24:51] Fetching FHEM connections...
[2019-2-8 14:24:51] [FHEM] starting longpoll: https://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1549632291413
[2019-2-8 14:24:52] [FHEM] Checking devices and attributes...
  executing: https://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=csrf_672478233795184&XHR=1
  executing: https://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dgassistant&fwcsrf=csrf_672478233795184&XHR=1
[2019-2-8 14:24:52] [FHEM] FHEM Google Assistant device detected: gassistant
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-version%201.0.15&fwcsrf=csrf_672478233795184&XHR=1
[2019-2-8 14:24:52] [FHEM] Get refresh token...
Raspberry Pi, CUL868(SlowRF), FB 7490, SmartVisu, fast nur HomeMatic wenig FS20, Netatmo

dominik

#197
Das ist alles? Starte bitte nochmals gassistant neu und mach nochmals ein Log.

Hast du dich über die URL angemeldet?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

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

eisenhauer1987

Zitat von: dominik am 08 Februar 2019, 14:46:04
siehe Wiki unterstützte Geräte

Ok, also leider weder Rollladen (als an aus Schalter möglich) noch Thermometer und Luftfeuchtigkeit möglich.

dominik

Genau, was möglich ist:
- Rolladen über OnOff und Brightness
- Thermometer also Thermostat, Luftfeuchtigkeit geht dann auch abfragen
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

eisenhauer1987

Ich nutze den genericdevicetype "Thermometer" schon für HomeKit. Thermostat gibt es dort aber auch und sorgt für ein anderen Devicetype. Für mich ist Thermostat damit leider keine Option

dominik

Ja, wobei, da fällt mir ein, ich könnte Thermometer auf Thermostat mappen. Werde das später einbauen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik


Tabu

Hallo,

ich konnte alles erfolgreich installieren, bekomme aber leider laufend im Log diese Meldung:

ReferenceError: a is not defined
    at /usr/local/lib/node_modules/gassistant-fhem/lib/cli.js:18:98
    at Command.<anonymous> (/usr/local/lib/node_modules/gassistant-fhem/node_modules/commander/index.js:412:13)
    at Command.emit (events.js:189:13)
    at Command.parseOptions (/usr/local/lib/node_modules/gassistant-fhem/node_modules/commander/index.js:742:14)
    at Command.parse (/usr/local/lib/node_modules/gassistant-fhem/node_modules/commander/index.js:471:21)
    at module.exports (/usr/local/lib/node_modules/gassistant-fhem/lib/cli.js:20:6)
    at Object.<anonymous> (/usr/local/lib/node_modules/gassistant-fhem/bin/gassistant-fhem:17:22)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
/usr/local/lib/node_modules/gassistant-fhem/lib/cli.js:18
    .option('-a, --auth [auth]', 'user:password for FHEM connection', function(auth) { FHEM.auth(a) })
                                                                                                 ^


Das Reading "gassistant-fhem-connection" meldet login required. Den Code aus dem Reading "gassistantFHEM.loginURL" habe ich mit set authcode eingetragen.

Hier die List vom Device

Internals:
   FUUID      5c5c6e03-f33f-be04-0683-49e15a6965bcfb3c
   LAST_START 2019-02-08 20:31:09
   LAST_STOP  2019-02-08 20:31:10
   NAME       gassistant
   NOTIFYDEV  global
   NR         294
   NTFY_ORDER 50-gassistant
   STARTS     985
   STATE      stopped
   TYPE       gassistant
   logfile    ./log/gassistant-%Y-%m-%d.log
   CoProcess:
     cmdFn      gassistant_getCMD
     name       gassistant-fhem
     state      stopped
   READINGS:
     2019-02-08 20:31:10   gassistant-fhem stopped
     2019-02-08 09:27:09   gassistant-fhem-connection login required
     2019-02-08 09:27:09   gassistant-fhem-lasterror none
     2019-02-08 09:27:09   gassistant-fhem-version 1.0.15
     2019-02-08 09:27:09   gassistantFHEM.loginURL <html><a href="https://fhemconnector.eu.auth0.com/authorize?audience=https://europe-west1-fhem-ga-connector.cloudfunctions.net/&scope=openid%2520profile%2520offline_access&response_type=code&client_id=EI0TI2Y0W1743Ico53Nvsg1FsmoZniCC&code_challenge=TxFVVeFIUeMUPLP3eovCpJuwDYcLHHb6rMaUlRlgwr8&code_challenge_method=S256&redirect_uri=https://europe-west1-fhem-ga-connector.cloudfunctions.net/codelanding/start">https://fhemconnector.eu.auth0.com/authorize?audience=https://europe-west1-fhem-ga-connector.cloudfunctions.net/&scope=openid%2520profile%2520offline_access&response_type=code&client_id=EI0TI2Y0W1743Ico53Nvsg1FsmoZniCC&code_challenge=TxFVVeFIUeMUPLP3eovCpJuwDYcLHHb6rMaUlRlgwr8&code_challenge_method=S256&redirect_uri=https://europe-west1-fhem-ga-connector.cloudfunctions.net/codelanding/start</a><br></html>
Attributes:
   devStateIcon stopped:control_home@red:start stopping:control_on_off@orange running.*:control_on_off@green:stop
   gassistantFHEM-auth crypt:42772801394302487d796b52053b012f
   gassistantFHEM-config ./gassistant-fhem.cfg
   gassistantFHEM-log ./log/gassistant-%Y-%m-%d.log
   stateFormat gassistant-fhem


Im Fhemlog kommt im Sekundentakt:
2019.02.08 20:31:09 3: gassistant: starting
2019.02.08 20:31:09 3: gassistant: using logfile: ./log/gassistant-2019-02-08.log
2019.02.08 20:31:10 3: gassistant: read: end of file reached while sysread
2019.02.08 20:31:10 3: gassistant: stopped
2019.02.08 20:31:30 2: gassistant: starting gassistant-fhem: /usr/local/bin/gassistant-fhem -c ./gassistant-fhem.cfg -a vGMc_r5xNI_07X1I -s
2019.02.08 20:31:30 3: gassistant: starting
2019.02.08 20:31:30 3: gassistant: using logfile: ./log/gassistant-2019-02-08.log
2019.02.08 20:31:31 3: gassistant: read: end of file reached while sysread
2019.02.08 20:31:31 3: gassistant: stopped
2019.02.08 20:31:51 2: gassistant: starting gassistant-fhem: /usr/local/bin/gassistant-fhem -c ./gassistant-fhem.cfg -a vGMc_r5xNI_07X1I -s
2019.02.08 20:31:51 3: gassistant: starting
2019.02.08 20:31:51 3: gassistant: using logfile: ./log/gassistant-2019-02-08.log


Bin ich zu doof?

Vielen Dank
Tabu

dominik

Nein, bist du nicht.  8) Kleiner Tippfehler im Code sehe ich. Werde ich noch heute beheben.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Bug behoben (Version 1.0.16):
sudo npm install -g gassistant-fhem --unsafe-perm
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Zitat von: eisenhauer1987 am 08 Februar 2019, 19:24:12
Ich nutze den genericdevicetype "Thermometer" schon für HomeKit. Thermostat gibt es dort aber auch und sorgt für ein anderen Devicetype. Für mich ist Thermostat damit leider keine Option

genericDeviceType=thermometer wird nun bei Google auf thermostat gemapped, da der Typ thermometer noch nicht existiert.

Einfach ein 'reload' machen, dann solltest du das Device sehen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Zitat von: Det20 am 08 Februar 2019, 08:34:54
Ich habe leide nur die RTS, die melden den Status bzw die Position nicht zurück. Es gibt die besseren, die das können, die gab es 2007 aber leider noch nicht. Leider  :'(

Mach bitte mal ein 'reload', danach solltest du das tahoma Device mit on/off steuern koennen. Status bleibt natuerlich unveraendert, da der nicht zurueck geliefert wird.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Tabu

Zitat von: dominik am 08 Februar 2019, 21:11:09
Nein, bist du nicht.  8)

Wohl doch...
Das Update hat geklappt, die Fehler sind verschwunden. Vielen Dank für den schnellen Support. Leider kann ich weder den Dienst auf dem Assistant verknüpfen.  [test] FHEM Connector Beta wird zwar angezeigt, aber steht auch nach dem Verknüpfen nicht unter meine verknüpfte Dienste. Im gassistant Modul steht im Reading noch login required. Den Code aus dem Link habe ich mit set authcode eingetragen. In der Configdatei sowie im Attribut gassistantFHEM-AUTH habe ich meine FHEM Zugangsdaten eingetragen (die für den Port 8083)

gassistant-fhem.cfg:

{
   "connections" : [
      {
         "port" : "8083",
         "webname" : "fhem",
         "name" : "FHEM",
         "filter" : "room=GoogleAssistant",
         "server" : "127.0.0.1",
         "auth": {"user": "XXXXXXXXX", "pass": "XXXXXXXXXXXXXX"},
         "ssl": true
      }
   ],
   "gassistant" : {
      "description" : "FHEM Connect"
   }
}



List gassistant Modul:

Internals:
   FD         43
   FUUID      5c5c6e03-f33f-be04-0683-49e15a6965bcfb3c
   LAST_START 2019-02-09 10:30:24
   LAST_STOP  2019-02-09 10:30:22
   NAME       gassistant
   NOTIFYDEV  global
   NR         294
   NTFY_ORDER 50-gassistant
   PID        3619
   STARTS     10
   STATE      running /usr/local/bin/gassistant-fhem
   TYPE       gassistant
   currentlogfile ./log/gassistant-2019-02-09.log
   logfile    ./log/gassistant-%Y-%m-%d.log
   CoProcess:
     cmdFn      gassistant_getCMD
     name       gassistant-fhem
     state      running /usr/local/bin/gassistant-fhem
   READINGS:
     2019-02-09 10:30:24   gassistant-fhem running /usr/local/bin/gassistant-fhem
     2019-02-09 10:30:28   gassistant-fhem-connection login required
     2019-02-09 10:30:28   gassistant-fhem-lasterror none
     2019-02-09 10:30:28   gassistant-fhem-version 1.0.16
     2019-02-09 10:30:28   gassistantFHEM.loginURL <html><a href="https://fhemconnector.eu.auth0.com/authorize?audience=https://europe-west1-fhem-ga-connector.cloudfunctions.net/&scope=openid%2520profile%2520offline_access&response_type=code&client_id=EI0TI2Y0W1743Ico53Nvsg1FsmoZniCC&code_challenge=WfIACIhLtQjql5DjU5uf4TIGelmVx5KoWAdmswTed8U&code_challenge_method=S256&redirect_uri=https://europe-west1-fhem-ga-connector.cloudfunctions.net/codelanding/start">https://fhemconnector.eu.auth0.com/authorize?audience=https://europe-west1-fhem-ga-connector.cloudfunctions.net/&scope=openid%2520profile%2520offline_access&response_type=code&client_id=EI0TI2Y0W1743Ico53Nvsg1FsmoZniCC&code_challenge=WfIACIhLtQjql5DjU5uf4TIGelmVx5KoWAdmswTed8U&code_challenge_method=S256&redirect_uri=https://europe-west1-fhem-ga-connector.cloudfunctions.net/codelanding/start</a><br></html>
Attributes:
   devStateIcon stopped:control_home@red:start stopping:control_on_off@orange running.*:control_on_off@green:stop
   gassistantFHEM-auth crypt:5f510c58510002040700035603510157070a
   gassistantFHEM-config ./gassistant-fhem.cfg
   gassistantFHEM-log ./log/gassistant-%Y-%m-%d.log
   stateFormat gassistant-fhem



und hier der Log, sieht meines Erachtens gut aus:

[2/9/2019, 10:28:57 AM] Got SIGTERM, shutting down...
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20disconnected&fwcsrf=csrf_263242751996937&XHR=1
[2/9/2019, 10:28:58 AM] using ./gassistant-fhem.cfg
[2/9/2019, 10:28:58 AM] ---
[2/9/2019, 10:28:58 AM] config:
{"connections":[{"port":"8083","webname":"fhem","name":"FHEM","filter":"room=GoogleAssistant","server":"127.0.0.1","auth":{"user":"xxxxxx","pass":"xxxxxxxxx"},"ssl":true}],"gassistant":{"description":"FHEM Connect"}}

[2/9/2019, 10:28:58 AM] ---
[2/9/2019, 10:28:58 AM] Google Assistant FHEM Connect 1.0.16 started
[2/9/2019, 10:28:58 AM] Fetching FHEM connections...
[2/9/2019, 10:28:58 AM] [FHEM] starting longpoll: https://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1549704538991
[2/9/2019, 10:28:59 AM] [FHEM] Checking devices and attributes...
  executing: https://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=csrf_263242751996937&XHR=1
  executing: https://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dgassistant&fwcsrf=csrf_263242751996937&XHR=1
[2/9/2019, 10:29:00 AM] [FHEM] FHEM Google Assistant device detected: gassistant
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-version%201.0.16&fwcsrf=csrf_263242751996937&XHR=1
[2/9/2019, 10:29:00 AM] [FHEM] Get refresh token...
  executing: https://127.0.0.1:8083/fhem?cmd=get%20gassistant%20refreshToken&fwcsrf=csrf_263242751996937&XHR=1
  executing: https://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%3Dopenid%252520profile%252520offline_access%26response_type%3Dcode%26client_id%3DEI0TI2Y0W1743Ico53Nvsg1FsmoZniCC%26code_challenge%3DTFjiFjOeghdbxzi1eZN6KTRPKmClKcL8Cd8nyuMp57c%26code_challenge_method%3DS256%26redirect_uri%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2Fcodelanding%2Fstart&fwcsrf=csrf_263242751996937&XHR=1
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lasterror%20none&fwcsrf=csrf_263242751996937&XHR=1
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20connecting...&fwcsrf=csrf_263242751996937&XHR=1
{"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik0wRkNRa0ZCUXpCQk5UWkRRVFF3TlROQlJEZEVPRFkyUWpnME1FUkVSRFV3UlRNM056UkNOZyJ9.eyJpc3MiOiJodHRwczovL2ZoZW1jb25uZWN0b3IuZXUuYXV0aDAuY29tLyIsInN1YiI6Imdvb2dsZS1vYXV0aDJ8MTEwMzk3NjQ2OTA3OTA3MjU0MzYwIiwiYXVkIjoiaHR0cHM6Ly9ldXJvcGUtd2VzdDEtZmhlbS1nYS1jb25uZWN0b3IuY2xvdWRmdW5jdGlvbnMubmV0LyIsImlhdCI6MTU0OTcwNDU5OSwiZXhwIjoxNTQ5NzkwOTk5LCJhenAiOiJFSTBUSTJZMFcxNzQzSWNvNTNOdnNnMUZzbW9abmlDQyJ9.B4WwQ7JMCIXo-iY0ivdXnQCx9iuZUwKiEeglFygzr9eLWTPsVlvPPslEGfurS_4U4avtI0fjDu6npTZy-B_JE7y5FQhNpVEMRASOcAQk8Q_ZaKVnCovOLTIT1GURmSwwYiJFfTqQdyxvbyb1mEsvSb5T9gFfNj0pce1f06fkMrKG6HSqTQV0ADsdinet0AGWb0MOX8bKFXqJXh7UD3SpLzqqczxh2jPlsM6hfUWxO7XLqEPWugdFvYr6Vs8Dq5Rnswplg66XRbbchB1zGI3cddILwTR94SX6SmkyChJdBc1JZQy7uXekH6f6e5YPPwOOoasltnTgW31inrakauVkfA","expires_in":86400,"token_type":"Bearer"}
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20login%20failed%2C%20please%20retry&fwcsrf=csrf_263242751996937&XHR=1
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lasterror%20Error%3A%20No%20refresh%20token%20available%2C%20please%20login%20again&fwcsrf=csrf_263242751996937&XHR=1
  executing: https://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%3Dopenid%2520profile%2520offline_access%26response_type%3Dcode%26client_id%3DEI0TI2Y0W1743Ico53Nvsg1FsmoZniCC%26code_challenge%3D2zKz8npM24BPsN3oXaE76Q0fomlvvgodEiq8xwum464%26code_challenge_method%3DS256%26redirect_uri%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2Fcodelanding%2Fstart&fwcsrf=csrf_263242751996937&XHR=1
[2/9/2019, 10:30:22 AM] Got SIGTERM, shutting down...
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20disconnected&fwcsrf=csrf_263242751996937&XHR=1
[2/9/2019, 10:30:26 AM] using ./gassistant-fhem.cfg
[2/9/2019, 10:30:26 AM] ---
[2/9/2019, 10:30:26 AM] config:
{"connections":[{"port":"8083","webname":"fhem","name":"FHEM","filter":"room=GoogleAssistant","server":"127.0.0.1","auth":{"user":"xxxxxx","pass":"xxxxxxxxxxxxxxxxxx"},"ssl":true}],"gassistant":{"description":"FHEM Connect"}}

[2/9/2019, 10:30:26 AM] ---
[2/9/2019, 10:30:26 AM] Google Assistant FHEM Connect 1.0.16 started
[2/9/2019, 10:30:26 AM] Fetching FHEM connections...
[2/9/2019, 10:30:26 AM] [FHEM] starting longpoll: https://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1549704626657
[2/9/2019, 10:30:27 AM] [FHEM] Checking devices and attributes...
  executing: https://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=csrf_263242751996937&XHR=1
  executing: https://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dgassistant&fwcsrf=csrf_263242751996937&XHR=1
[2/9/2019, 10:30:27 AM] [FHEM] FHEM Google Assistant device detected: gassistant
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-version%201.0.16&fwcsrf=csrf_263242751996937&XHR=1
[2/9/2019, 10:30:27 AM] [FHEM] Get refresh token...
  executing: https://127.0.0.1:8083/fhem?cmd=get%20gassistant%20refreshToken&fwcsrf=csrf_263242751996937&XHR=1
  executing: https://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%3Dopenid%252520profile%252520offline_access%26response_type%3Dcode%26client_id%3DEI0TI2Y0W1743Ico53Nvsg1FsmoZniCC%26code_challenge%3DWfIACIhLtQjql5DjU5uf4TIGelmVx5KoWAdmswTed8U%26code_challenge_method%3DS256%26redirect_uri%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2Fcodelanding%2Fstart&fwcsrf=csrf_263242751996937&XHR=1
  executing: https://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lasterror%20none&fwcsrf=csrf_263242751996937&XHR=1


Hier noch das Fhem-Log:

2019.02.09 10:28:57 2: gassistant: starting gassistant-fhem: /usr/local/bin/gassistant-fhem -c ./gassistant-fhem.cfg -a xx:xx -s
2019.02.09 10:28:57 3: gassistant: read: end of file reached while sysread
2019.02.09 10:28:57 3: gassistant: stopped
2019.02.09 10:28:57 2: gassistant: starting gassistant-fhem: /usr/local/bin/gassistant-fhem -c ./gassistant-fhem.cfg -a xx:xx -s
2019.02.09 10:28:57 3: gassistant: starting
2019.02.09 10:28:57 3: gassistant: using logfile: ./log/gassistant-2019-02-09.log
2019.02.09 10:30:22 3: gassistant: read: end of file reached while sysread
2019.02.09 10:30:22 3: gassistant: stopped
2019.02.09 10:30:24 2: gassistant: starting gassistant-fhem: /usr/local/bin/gassistant-fhem -c ./gassistant-fhem.cfg -a xx:xx -s
2019.02.09 10:30:24 3: gassistant: starting
2019.02.09 10:30:24 3: gassistant: using logfile: ./log/gassistant-2019-02-09.log



Kann mir da jemand auf die Sprünge helfen?


Danke
Tabu