39_gassistant.pm (Google Assistant, Google Home)

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

Vorheriges Thema - Nächstes Thema

dominik

Ich habe auf die Integrationen nicht vergessen, war nur gerade mit einem Zwischenprojekt, FHEMSync (https://forum.fhem.de/index.php/topic,109308.0.html) beschäftigt um meine Bluetooth Geräte zu integrieren.

Für morgen steht die Integration der Devices dann am Plan, ich melde mich sobald es erledigt ist.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Alle 3 Geraete integriert, bitte testen und Feedback geben:
- SPZB0001: aktueller Temperatur abfragen, Zieltemperatur setzen
- EleroDrive: Auf und zu machen, nur per Sprache. App wird von Google noch nicht unterstuetzt.
- Shelly: on/off und Dimmer

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

SouzA

Zitat von: dominik am 19 März 2020, 20:12:27
- Shelly: on/off und Dimmer

Einfach ein reload machen.
Thx aber nö,
taucht nicht in der App auf.

Brauchst du noch Infos?

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

dominik

Laut Log sollte der Shelly da sein, kann es sein, dass er nur bei den Lichtern gruppiert wurde und daher nicht gleich ersichtlich ist?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

SouzA

Nee,
Is in det Gruppe auch nicht da...

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

dominik

Deine uid ist 106...052, oder? Name "Downlights" sehe ich im Log, vielleicht im nicht zugeordneten Raum?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

SouzA

Zitat von: dominik am 20 März 2020, 07:24:25
Deine uid ist 106...052, oder?
Du kennst mich schon gut... ;)

Zitat von: dominik am 20 März 2020, 07:24:25
Name "Downlights" sehe ich im Log, vielleicht im nicht zugeordneten Raum?
Asche... ich habe das attr gassistantroom anstatt realroom gesetzt.
Frage mich, warum mir letzte Zeit andauernd solche Flüchtigkeitsfehler passieren.

Danke. Ja, funktioniert  alles ganz wunderbar!

Thx und 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

dominik

Ich habe gerade ein Update vom Client gemacht.

gassistant-fhem v3.0.0
- Local Home ist jetzt zu 100% vorbereitet, muss Google nun nur mehr aktivieren
- ReportState Funktionalitaet optimiert

sudo npm install -g gassistant-fhem --unsafe-perm

Bitte um kurzes Feedback wenn ihr aktualisiert habt. Generell empfehle ich nach und nach auf die aktuelle Version umzusteigen, da ich den alten serverseitigen Code langsam entfernen moechte.

Es gibt noch viele User die laufend Fehler generieren (ca. 600 pro Stunde!), bitte prueft eure gassistant-fhem-lastServerError Readings. Gerne unterstuetze ich wenn ihr Fragen habt um die Fehler zu beheben.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

chris050280

Hallo zusammen!

Ich wollte auch gerade GASSISTANT bei mir zum Laufen bringen, hab aber noch ein Problem. Und zwar bringt mir ein "gassistant-fhem" auf der Konsole folgende Fehlermeldung:

Zitat
/usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found

gesamte Meldung sieht folgendermaßen aus:

Zitat

pi@raspberrypi:~ $ sudo gassistant-fhem
Loading cli.js...
Loading version.js...
Loading server.js...
Loading user.js...
Loading logger.js...
Loading fhem.js...
Loading database.js...
/usr/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/main.js:1047
                        throw this._internal.Decontextify.value(e);
                        ^

Error: Failed to load /usr/lib/node_modules/gassistant-fhem/node_modules/grpc/sr                                     c/node/extension_binary/node-v64-linux-arm-glibc/grpc_node.node. /usr/lib/arm-li                                     nux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr                                     /lib/node_modules/gassistant-fhem/node_modules/grpc/src/node/extension_binary/no                                     de-v64-linux-arm-glibc/grpc_node.node)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/usr/lib/node_modules/gassistant-fhem/node_modules/gr                                     pc/src/grpc_extension.js:32:13)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)



Vielen Dank im Voraus für eure Hilfe.

LG Christian
FHEM auf RasbPi ... + RFXTRX433E
div. HomeEasy und Intertechno - Schalter
sowie Somfy - Rolläden

dominik

Welche Node Version hast du am Laufen? Sollte 13.x sein:
https://wiki.fhem.de/wiki/Google_Assistant_FHEM_Connect#Installation

Ansonsten auch nochmals
sudo npm uninstall -g gassistant-fhem --unsafe-perm
sudo npm install -g gassistant-fhem --unsafe-perm
ausprobieren.

Generell wird gassistant-fhem vom gassistant Modul in FHEM gestartet, im Log findest du dann auch die Ausgabe. Selbst auf der Console ausfuehren macht normal wenig Sinn, weil die Parameter dann fehlen.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

SouzA

#1600
Zitat von: dominik am 22 März 2020, 14:01:28
Ich habe gerade ein Update vom Client gemacht.

gassistant-fhem v3.0.0
- Local Home ist jetzt zu 100% vorbereitet, muss Google nun nur mehr aktivieren
- ReportState Funktionalitaet optimiert

sudo npm install -g gassistant-fhem --unsafe-perm

Bitte um kurzes Feedback wenn ihr aktualisiert habt. Generell empfehle ich nach und nach auf die aktuelle Version umzusteigen, da ich den alten serverseitigen Code langsam entfernen moechte.
gassistantFHEM.loginURL Waiting for login url from gassistant-fhem 2020-03-22 17:56:40
Wird nicht generiert. Kann nicht verbinden...

Zitat von: dominik am 22 März 2020, 14:01:28
Es gibt noch viele User die laufend Fehler generieren (ca. 600 pro Stunde!), bitte prueft eure gassistant-fhem-lastServerError Readings. Gerne unterstuetze ich wenn ihr Fragen habt um die Fehler zu beheben.
gassistant-fhem-lastServerError pct value 0 not handled in values 2020-03-22 14:45:29
Was meint es denn?

cya
SouzA

EDIT:
Zitat von: dominik am 22 März 2020, 14:06:52
Welche Node Version hast du am Laufen? Sollte 13.x sein:
https://wiki.fhem.de/wiki/Google_Assistant_FHEM_Connect#Installation

Ansonsten auch nochmals
sudo npm uninstall -g gassistant-fhem --unsafe-perm
sudo npm install -g gassistant-fhem --unsafe-perm
ausprobieren.

Generell wird gassistant-fhem vom gassistant Modul in FHEM gestartet, im Log findest du dann auch die Ausgabe. Selbst auf der Console ausfuehren macht normal wenig Sinn, weil die Parameter dann fehlen.
funktioniert nicht.
Raspi 4, EnOcean TCM310 USB, HM-MOD-UART-USB, Jeelink, hue, AMAD, fully, FRITZBOX, Signalbot, VIERA, Presence BT/Mac, TPLink, Gassistant, Shelly, fhempy, ZigBee

SouzA

[22.3.2020, 18:11:51] ---
[22.3.2020, 18:11:51] Google Assistant FHEM Connect 3.0.0 started
[22.3.2020, 18:11:52] Fetching FHEM connections...

/usr/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/contextify.js:181
throw Decontextify.value(e);
^
TypeError [Error]: a.split is not a function
    at Function.FHEM.auth (/usr/lib/node_modules/gassistant-fhem/lib/remote-fhem.js:44:17)
    at new FHEM (/usr/lib/node_modules/gassistant-fhem/lib/remote-fhem.js:95:10)
    at Object.base.construct (/usr/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/contextify.js:188:33)
    at Object.base.construct (/usr/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/contextify.js:533:31)
    at Server.run (/usr/lib/node_modules/gassistant-fhem/lib/remote-server.js:191:12)
    at Object.base.apply (/usr/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/contextify.js:179:34)
    at Object.base.apply (/usr/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/contextify.js:519:32)
    at module.exports (/usr/lib/node_modules/gassistant-fhem/lib/remote-cli.js:48:10)
    at Object.base.apply (/usr/lib/node_modules/gassistant-fhem/node_modules/vm2/lib/contextify.js:179:34)
    at Object.<anonymous> (/usr/lib/node_modules/gassistant-fhem/bin/gassistant-fhem:17:22)
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...
[22.3.2020, 18:12:14] using ./gassistant-fhem.cfg
[22.3.2020, 18:12:15] ---

danach gassistant-Neutstart und Wiederholung...
Raspi 4, EnOcean TCM310 USB, HM-MOD-UART-USB, Jeelink, hue, AMAD, fully, FRITZBOX, Signalbot, VIERA, Presence BT/Mac, TPLink, Gassistant, Shelly, fhempy, ZigBee

dominik

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

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

dominik

auth in der gassistant-fhem.cfg meinte ich. Ich habe den Fehler schon gefunden :)

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