FHEM Forum

FHEM => Sonstiges => Thema gestartet von: Maxl am 18 Dezember 2021, 21:43:51

Titel: Alexa Connector
Beitrag von: Maxl am 18 Dezember 2021, 21:43:51
Hallo,

bei der Installation des FHEM Alexa connectors bekomme ich folgende Warnung.
Ein apt-Update und apt-Upgrade habe ich vorher durchgeführt.

Als node-js war die älteste verfügbare Version v12.22.8

pi@raspberrypi:~ $ sudo npm install -g alexa-fhem
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
/usr/bin/alexa-fhem -> /usr/lib/node_modules/alexa-fhem/bin/alexa
+ alexa-fhem@0.5.61
updated 1 package in 10.674s


Die Abfrage get alexa proxyKey bring nur ein kleines leeres Fenster mit "OK"

Wie muss ich vorgehen damit es funktioniert, Danke.
Titel: Antw:Alexa Connector
Beitrag von: Fashionbye am 09 Januar 2022, 19:23:11
Bei mir dasselbe. Lief einwandfrei, bis ich im Terminal npm updaten ließ. Alles nochmal deinstalliert und wieder neu installiert. Wieder dasselbe. Weiß wirklich keiner Rat?

Status von Alexa in FHEM: stopped; alexa-fhem not installed. install with 'sudo npm install -g alexa-fhem'.
Läuft aber eben nicht durch wegen des u.a. Fehlers.
npm Version 8.3.0
nodejs Version v12.22.5

pi@raspberrypi:~ $ sudo npm install npm -g
added 1 package, and audited 215 packages in 38s
10 packages are looking for funding
  run `npm fund` for details
3 moderate severity vulnerabilities
To address all issues, run:
  npm audit fix
Run `npm audit` for details.
pi@raspberrypi:~ $ sudo npm install -g alexa-fhem
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher
.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

changed 63 packages, and audited 64 packages in 35s

3 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
pi@raspberrypi:~ $


FUUID
61b37399-f33f-9e70-1096-4b056d774f899b32
FVERSION
39_alexa.pm:0.238200/2021-02-24
NAME
alexa
NOTIFYDEV
global,global:npmjs.*alexa-fhem.*
NR
791
NTFY_ORDER
50-alexa
STATE
stopped; alexa-fhem not installed. install with 'sudo npm install -g alexa-fhem'.
TYPE
alexa
logfile
./log/alexa-%Y-%m-%d.log
Titel: Antw:Alexa Connector
Beitrag von: Nic am 10 Januar 2022, 14:17:48
Ich habe einen Raspi 4 neu aufgesetzt mit Debian Bullsey. Habe die selbe Meldung bei der instalation von Alexa-FHEM.
Scheinbar läuft aber Alexa-Fhem.
Titel: Antw:Alexa Connector
Beitrag von: MadMax-FHEM am 10 Januar 2022, 14:21:00
Die Meldungen bei Installation sind doch nur WARNINGS...

Hatte ich kürzlich auch, ebenfalls Bullseye, alexa-fhem läuft aber ebenfalls...

EDIT: siehe auch https://forum.fhem.de/index.php/topic,60244.msg1199476.html#msg1199476

Gruß, Joachim
Titel: Antw:Alexa Connector
Beitrag von: Fashionbye am 12 Januar 2022, 10:42:05
es klappt jetzt. Danke für die Antworten