39_gassistant.pm (Google Assistant, Google Home)

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

Vorheriges Thema - Nächstes Thema

SouzA

Zitat von: ather am 23 Juli 2021, 13:49:42
OK danke.

Habe dieses Device (LightScene) jetzt im Raum gassistant erstellt und szenen angelegt.
Leider wird das in Google home nicht sichtbar. Habe versucht genericdevicetype scene anzulegen, aber auch ohne Erfolg. Wird von google nicht erkannt?

Was mache ich hier falsch? Dummys werden sofort synchronisiert. Aber lightscene irgendie nicht?

Hier die Raw:

defmod Kino LightScene Lichtwz Standlampe LEDTV LEDStr
attr Kino assistantName Szene
attr Kino genericDeviceType scene
attr Kino realRoom Erdgeschoss
attr Kino room GoogleAssistant

Hast du mal versucht deine Szenen per Sprache zu aktivieren?
Die Szenen werden nicht als Symbol dargestellt, sondern sind nur unter den Abläufen als Ambiente-Einstellungen zu sehen.
Sie sind dennoch direkt per Sprache aktivierbar.

Bis denn
SouzA
Raspi 4, EnOcean TCM310 USB, HM-MOD-UART-USB, Jeelink, hue, AMAD, fully, FRITZBOX, Signalbot, VIERA, Presence BT/Mac, TPLink, Gassistant, Shelly, fhempy, ZigBee

hkspks

#2686
Hallo zusammen,

ich hab einen Xiaomi Staubsauger über fhem in gassistant integriert. Gibt es eine Möglichkeit die Räume ("zones") mit in gassistant zu integrieren? Ich würde den Staubsauger gerne per Sprachbefehl in einen bestimmten Raum schicken. Die Roborock-Verknüpfung mit gHome kann das anscheinend gemäß Kundenreviews - d.h. die Vorbereitungen auf Seiten Google müssten wohl da sein.

Viele Grüße

Sheridan

Hallo zusammen,

zunächst: ich bin begeistert, dass man mit wenigen Kommandos quasi alles, was man in FHEM hat, über den Google Assistant gesteuert bekommt. Tolles Modul!!! Ich habe hier neben dem Assistant auf dem Handy noch ein Nest Hub 2.

Ein bisschen Gefrickel habe ich hier bei meinen Fibaro Rolladenaktoren (fgrm222) und dem RGB Controller von Fibaro (fgrgbwm441):

Der Rolladenaktor wird als dimmbares Licht erkannt. Wenn ich den Typ auf blinds setze, dann geht er hoch und runter, aber nicht zwischen drin. Dazu musste ich das Mapping etwas anpassen, da es dort positionBlinds heisst und nicht position (weil es auch positionSlats gibt). Ist das der richtige Weg oder mache ich was falsch, weil das nicht automatisch erkannt wird? Ferner kann ich in Google Home den Rolladen dann sehen aber nur mit so nem "Zahnrad" und kann ihn nicht steuern (auf dem Nest Hub taucht er nicht mal auf), während das bei der dimmbaren Lampe ging. Per Assistant kann ich ihn aber fahren, auch auf Zwischenpositionen.

Der RGB controller hat bei set "color" ,"rgb" und "wcrgb", letzteres ist eigentlich am besten, da kann man warm/cold white und rgb mit einstellen. Das wird aber gar nicht erkannt, ich bekomme damit nur an/aus hin. Da bei ColorSetting kein Beispiel vom Mapping ist, hab ich auch nicht durchschaut, wie ich da eingreifen könnte.

Ich hoffe, die Fragen sind nicht zu dumm, mit der Suche habe ich bzgl. der eingesetzten Aktoren nicht so recht was gefunden...

Danke für die Hilfe und das tolle Modul.
FHEM auf RasPi 4 mit CUL (MAX), CUL (IT), JeeLink (LaCrosse), JeeLink (EC3000), DuoFern, Razberry (ZWave) sowie Fritz!Box, Enigma2, Squeezebox, Google Assistant (inkl. Nest Hub 2)
FHEM auf RasPi 3 mit CUL (MAX), TUL (KNX), CUBe (MAX), EnOceanPi (EnOcean)

tplus

Hallo,

ich nutze Gassistant an zwei Standorten (Haupt- und Zweitwohnung). Es läuft problemlos bis ich am anderen Standort Gassistant aktiviere, bzw. dort FHEM neu starte. Geräte aus Standort 1 werden dann auch im Standort 2 angezeigt ("nicht verknüpft"), die Verknüpfungen aus 2 dafür aufgehoben und die Geräte sind verschwunden.

Wie richte ich die beiden Standorte korrekt ein?

Besten Dank für Tips.

Gisbert

#2689
Hallo zusammen,

ich bekomme seit gestern, den 20.9. keine Verbindung mehr hin. Ich weiß nicht, wo ich mit der Fehlersuche ansetzen soll (ein Versuch zum Neustart im Modul hat nicht geholfen), anbei ein list meines Devices:


Internals:
   CFGFN      ./FHEM/GoogleAssitant.cfg
   FUUID      6097ed73-f33f-e986-2560-9f726ab2a9b14736
   LAST_START 2021-09-21 07:59:45
   LAST_STOP  2021-09-21 07:59:45
   NAME       gassistant
   NOTIFYDEV  global,global:npmjs.*gassistant-fhem.*
   NR         1139
   NTFY_ORDER 50-gassistant
   STARTS     61
   STATE      starting...
   TYPE       gassistant
   logfile    ./log/gassistant-%Y-%m-%d.log
   CoProcess:
     cmdFn      gassistant_getCMD
     name       gassistant-fhem
     state      stopped
   READINGS:
     2021-09-21 07:59:45   gassistant-fhem stopped
     2021-09-21 07:59:04   gassistant-fhem-connection starting...
     2021-09-19 20:04:59   gassistant-fhem-googleSync Google SYNC finished
     2021-09-19 20:04:47   gassistant-fhem-lastServerError none
     2021-09-19 20:04:58   gassistant-fhem-lasterror none
     2021-09-19 20:04:50   gassistant-fhem-localHome inactive
     2021-05-22 15:39:41   gassistant-fhem-uid google-oauth2|108636248019392775968
     2021-09-19 20:04:59   gassistant-fhem-usedFeatureLevel 3
     2021-09-19 20:04:46   gassistant-fhem-version 3.0.4
     2021-09-19 20:04:48   gassistant-fhem-versionAvailable 3.0.4
     2021-09-21 07:59:04   gassistantFHEM.loginURL Waiting for login url from gassistant-fhem
     2021-05-22 15:39:41   gassistantFHEM.refreshToken crypt:5d524a320b0d713f00015b4f02575e78517603532d5859544003065f715a677e0e7441556d20093c6004677755
   helper:
     bm:
       gassistant_Attr:
         cnt        13
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        20.09. 12:51:33
         max        0.00499486923217773
         tot        0.0066068172454834
         mAr:
           set
           gassistant
           gassistantFHEM-log
           ./log/gassistant-%Y-%m-%d.log
       gassistant_Define:
         cnt        1
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        20.09. 12:51:33
         max        0.0071558952331543
         tot        0.0071558952331543
         mAr:
           HASH(0x557a0898ebf8)
           gassistant gassistant
       gassistant_Get:
         cnt        21
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        21.09. 07:57:09
         max        0.00589299201965332
         tot        0.00710535049438477
         mAr:
           HASH(0x557a0898ebf8)
           gassistant
           ?
       gassistant_Notify:
         cnt        27
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        20.09. 13:00:00
         max        0.00643610954284668
         tot        0.00834202766418457
         mAr:
           HASH(0x557a0898ebf8)
           HASH(0x557a06ececa8)
       gassistant_Read:
         cnt        207
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        21.09. 07:44:07
         max        0.149307012557983
         tot        2.30667495727539
         mAr:
           HASH(0x557a0898ebf8)
       gassistant_Set:
         cnt        200
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        21.09. 07:42:06
         max        0.209962844848633
         tot        2.16885375976562
         mAr:
           HASH(0x557a0898ebf8)
           gassistant
           start
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";;"
".FW_makeImage($error)." ".FW_makeImage($reload, "reload")."  ".FW_makeImage($onoff, "restart")."
"}
   gassistantFHEM-auth crypt:51514a57015c42005a524b0702
   gassistantFHEM-config ./gassistant-fhem.cfg
   gassistantFHEM-log ./log/gassistant-%Y-%m-%d.log
   icon       gassistant
   nrarchive  10
   room       GoogleAssistant
   stateFormat gassistant-fhem-connection
   verbose    5


edit:
Im logfile steht mehrfach:
Another gassistant-fhem process is running!
PID: 1634806, COMMAND: /usr/bin/node, ARGUMENTS: [
  '/usr/lib/node_modules/gassistant-fhem/node_modules/sync-rpc/lib/worker.js',
  '35305'
]


edit2: Nachdem ich Fhem neu gestartet hatte, läuft wieder alles wie geplant.

Viele​ Grüße​ Gisbert​
Aktuelles FHEM | PROXMOX | Fujitsu Futro S740 | Debian 12 | UniFi | Homematic, VCCU, HMUART | ESP8266 | ATtiny85 | Wasser-, Stromzähler | Wlan-Kamera | SIGNALduino, Flamingo Rauchmelder FA21/22RF | RHASSPY

NePheus

Meine Rollläden (Homematic FROLL) werden über Google Assistant immer mit invertiertem Prozentwert gesteuert. Bei 0% fährt er komplett auf und 100% komplett zu. Wenn ich im FHEM Device bin, kann ich ein 'set' auf 'control' oder 'pct' aufrufen und dort werden sie korrekt gesteuert, also 0% zu und 100% auf. Liegt das am hinterlegten vordefinierten Binding im Plugin oder könnte das noch eine falsche Einstellung irgendwo im Device sein?

Adimarantis

Hi NePheus,

da wäre ein list vom Device hilfreich. Sowas kann man in der "eventmap" einstellen. Die schaut für meine Homematic Rollos (allerdings HM_LC_Bl1PBU_FM) so aus:
/datapoint 1.STOP true:stop/datapoint 1.LEVEL 0:down/datapoint 1.LEVEL 100:up/datapoint 1.LEVEL 0:closes/datapoint 1.LEVEL 100:opens
Ich habe z.B. auch eine Markise über so ein Device gesteuert bei der die Logik genau anders herum ist, da hab ich das einfach umgedreht:
/datapoint 1.STOP true:stop/datapoint 1.LEVEL 0:down/datapoint 1.LEVEL 100:up/datapoint 1.LEVEL 100:closes/datapoint 1.LEVEL 0:opens

Damit funktioniert dann "Rollo öffnen / hoch" und "Rollo schliessen / runter" wie man es erwartet.

Gruß,
Jörg
Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

NePheus

#2692
Ich habe gerade mal diese Datei untersucht: https://github.com/dominikkarall/gassistant-fhem-firebase/blob/master/functions/clientapi.js

Wenn ich den Code richtig verstehe, würde er für mein "HmIP-FROLL" durch die Zeilen ab 585 laufen (hat kein 'set' 'position' aber ein 'pct') und dort 'invert: true' setzen. In die Bedingung in 594 geht er dann aber nicht, um 'invert' wieder auf false zu setzen. Mein Device hat auch garkein Attribut 'param' das ich auf 'inverted' setzen könnte, da es kein HMCUL, sondern ein HMCCUDEV Device ist.

Meine eventmap sieht so aus:

/datapoint 4.STOP true:stop/datapoint 4.LEVEL 0:down/datapoint 4.LEVEL 100:up/datapoint 3.SELF_CALIBRATION 0:stopCalibration/datapoint 3.SELF_CALIBRATION 1:startCalibration/


Das sind aber alles Standardkonfigurationen und das Device an sich funktioniert in FHEM ja so wie es soll. Nur der Google Befehl macht was anderes. Vermute fast das liegt an oben angesprochenem Binding, welches nicht auf invert gestellt werden darf.

NePheus

Mit diesem eigenen homebridgeMapping klappts dann:

{
  "OpenClose": {
    "reading": "state",
    "values": ["/^closed/:CLOSED", "/.*/:OPEN"],
    "cmdOpen": "pct 100",
    "cmdClose": "pct 0"
  },
  "TargetPosition": {
    "reading": "pct",
    "cmd": "pct",
    "invert": false
  },
  "CurrentPosition": {
    "reading": "pct",
    "invert": false
  }
}

Tabularasa

Zitat von: hkspks am 26 August 2021, 13:31:06
Hallo zusammen,

ich hab einen Xiaomi Staubsauger über fhem in gassistant integriert. Gibt es eine Möglichkeit die Räume ("zones") mit in gassistant zu integrieren? Ich würde den Staubsauger gerne per Sprachbefehl in einen bestimmten Raum schicken. Die Roborock-Verknüpfung mit gHome kann das anscheinend gemäß Kundenreviews - d.h. die Vorbereitungen auf Seiten Google müssten wohl da sein.

Viele Grüße
Hallo,

ich habe das über homebrigdeMapping eingebunden. Sieht bei mir so aus
{
  "StartStopZones": {
          "cmds": ["Küche:segment 16",
  "Wohnzimmer:segment 17",
  "Esszimmer:segment 18",
  "Flur:segment 19",
  "Bad:segment 20",
  "Treppenhaus:segment 21"],
          "availableZones": ["Küche",
  "Wohnzimmer",
  "Esszimmer",
  "Flur",
  "Bad",
  "Treppenhaus"
  ]
        }
}

vielleicht hilft dir das etwas weiter

reacend

#2695
Hey bekomme folgende meldung nach dem setzen des auth codes:
typeError: Method Promise.prototype.then called on incompatible receiver [object Object]

GAssitant lässt nicht starten plz help

hier der log:
[10/13/2021, 4:54:03 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20disconnected&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...
[10/13/2021, 4:54:12 PM] using ./gassistant-fhem.cfg
[10/13/2021, 4:54:12 PM] ---
[10/13/2021, 4:54:12 PM] config:
{"gassistant":{"description":"FHEM Connect"},"connections":[{"port":"8083","webname":"fhem","server":"127.0.0.1","filter":"room=GoogleAssistant","name":"FHEM"}]}
[10/13/2021, 4:54:12 PM] ---
[10/13/2021, 4:54:12 PM] Google Assistant FHEM Connect 3.0.4 started
[10/13/2021, 4:54:13 PM] Fetching FHEM connections...
[10/13/2021, 4:54:13 PM] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1634136853107
(node:23532) Warning: Accessing non-existent property '_system' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
[10/13/2021, 4:54:14 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dgassistant&XHR=1
[10/13/2021, 4:54:14 PM] [FHEM] FHEM Google Assistant device detected: gassistant
[10/13/2021, 4:54:14 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-version%203.0.4&XHR=1
[10/13/2021, 4:54:14 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lastServerError%20none&XHR=1
[10/13/2021, 4:54:14 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%3DWJHgCN8aebzWgKEqAJ0fJGOMlTw3cFzw20ZuekXOY3Q%26code_challenge_method%3DS256%26redirect_uri%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2Fcodelanding%2Fstart&XHR=1
[10/13/2021, 4:54:14 PM] [FHEM] Get refresh token...
[10/13/2021, 4:54:14 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=get%20gassistant%20refreshToken&XHR=1
[10/13/2021, 4:54:14 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%3D-U_Hu8giO72A8-Vw3PFB30JlSV-6dZytn0ZwQUoIgys%26code_challenge_method%3DS256%26redirect_uri%3Dhttps%3A%2F%2Feurope-west1-fhem-ga-connector.cloudfunctions.net%2Fcodelanding%2Fstart&XHR=1
[10/13/2021, 4:54:14 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lasterror%20none&XHR=1
[10/13/2021, 4:54:25 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20connecting...&XHR=1
[10/13/2021, 4:54:25 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20login%20failed%2C%20please%20retry&XHR=1
[10/13/2021, 4:54:25 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lasterror%20TypeError%3A%20Method%20Promise.prototype.then%20called%20on%20incompatible%20receiver%20%5Bobject%20Object%5D&XHR=1
(node:23532) UnhandledPromiseRejectionWarning: TypeError: Method Promise.prototype.then called on incompatible receiver [object Object]
(node:23532) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:23532) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[10/13/2021, 4:54:29 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-connection%20reloading...&XHR=1
[10/13/2021, 4:54:29 PM] [FHEM] Reload and SYNC to Google
[10/13/2021, 4:54:29 PM] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=setreading%20gassistant%20gassistant-fhem-lastServerError%20none&XHR=1
[10/13/2021, 4:54:29 PM] [FHEM] Realtime Database deletion failed: TypeError: Method Promise.prototype.then called on incompatible receiver [object Object]
[10/13/2021, 4:54:29 PM] [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
[10/13/2021, 4:54:29 PM] [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
[10/13/2021, 4:54:30 PM] [FHEM]   error in longpoll connection: TypeError: Method Promise.prototype.then called on incompatible receiver [object Object]
[10/13/2021, 4:54:30 PM] [FHEM] longpoll ended, reconnect in: 4700msec
[2021-10-13T14:54:30.682Z]  @firebase/database: FIREBASE WARNING: set at /users/undefined/devices failed: permission_denied
(node:23532) UnhandledPromiseRejectionWarning: Error: PERMISSION_DENIED: Permission denied
    at /usr/local/lib/node_modules/gassistant-fhem/node_modules/@firebase/database/dist/index.node.cjs.js:12880:33
    at exceptionGuard (/usr/local/lib/node_modules/gassistant-fhem/node_modules/@firebase/database/dist/index.node.cjs.js:698:9)
    at Repo.callOnCompleteCallback (/usr/local/lib/node_modules/gassistant-fhem/node_modules/@firebase/database/dist/index.node.cjs.js:12870:13)
    at /usr/local/lib/node_modules/gassistant-fhem/node_modules/@firebase/database/dist/index.node.cjs.js:12683:19
    at /usr/local/lib/node_modules/gassistant-fhem/node_modules/@firebase/database/dist/index.node.cjs.js:11900:17
    at PersistentConnection.onDataMessage_ (/usr/local/lib/node_modules/gassistant-fhem/node_modules/@firebase/database/dist/index.node.cjs.js:11930:17)
    at Connection.onDataMessage_ (/usr/local/lib/node_modules/gassistant-fhem/node_modules/@firebase/database/dist/index.node.cjs.js:11247:14)
    at Connection.onPrimaryMessageReceived_ (/usr/local/lib/node_modules/gassistant-fhem/node_modules/@firebase/database/dist/index.node.cjs.js:11241:18)
    at WebSocketConnection.onMessage (/usr/local/lib/node_modules/gassistant-fhem/node_modules/@firebase/database/dist/index.node.cjs.js:11142:27)
    at WebSocketConnection.appendFrame_ (/usr/local/lib/node_modules/gassistant-fhem/node_modules/@firebase/database/dist/index.node.cjs.js:10728:18)
(node:23532) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
[10/13/2021, 4:54:35 PM] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1634136875279

reacend


dominik

Das sieht sehr eigenartig aus. Was für eine Node Version verwendest du? Hast du den Google Account zur Verknüpfung verwendet, oder einen auth0 Account angelegt?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

reacend

#2698
Hey ich nutze node Version 14 und nen Google Account. Es ist aber noch Debian Buster.

Ich habe nodeJS gepurged und auch das verzeihcniss /usr/lib/node-modules gelöscht.
Immernoch die gleiche Meldung.

Kann es mit dem Update zusammenhängen auf 3.04 ? Eventuell ist die Datenbank noch alt und muss gepurged werden auf europe-west1-fhem-ga-connector ?

RoBra81

Hallo,

ich habe (hatte) nach dem Update die gleiche Fehlermeldung. Da ich zunächst dachte, es liegt an mir, habe ich verschiedene Dinge probiert (kann nicht mehr genau sagen, was alles, aber unter anderem clearCredentials und neuer authcode (Anmeldung mit Google)). Nun habe ich folgende Fehlermeldung im Log:

   
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), :1:1)
    at eval ()
    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)