Hauptmenü

Alexa Connector

Begonnen von Maxl, 18 Dezember 2021, 21:43:51

Vorheriges Thema - Nächstes Thema

Maxl

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.
FHEM auf Raspberry mit HM, HMC und AVR Netios.

Fashionbye

#1
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
FHEM 5.6 auf Raspberry Pi 2 Model B (2015), davor FritzBox 7390 (2012-2014), dann Beaglebone Black (Anf. 2015). CUL mit 2 GP-Ant.. Einige Dutzend FS20 Geräte, Bel. 100% LED 1-10V Dim., Multiroom Audio. 3 PV-Anlagen. Nächste Projekte: Zählerdatenerfassung, Heizungstemp./Solar, Jal.-St.

Nic

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.

MadMax-FHEM

#3
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
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Fashionbye

es klappt jetzt. Danke für die Antworten
FHEM 5.6 auf Raspberry Pi 2 Model B (2015), davor FritzBox 7390 (2012-2014), dann Beaglebone Black (Anf. 2015). CUL mit 2 GP-Ant.. Einige Dutzend FS20 Geräte, Bel. 100% LED 1-10V Dim., Multiroom Audio. 3 PV-Anlagen. Nächste Projekte: Zählerdatenerfassung, Heizungstemp./Solar, Jal.-St.