[37_echodevice] Amazon Echo Modul (nicht Alexa)

Begonnen von michael.winkler, 12 Januar 2018, 18:20:12

Vorheriges Thema - Nächstes Thema

rs

Ciao

Mit der Version des echodevice.pm, die ich beim update am 1.July bekam wird das Reading 'PlayStatus' nicht mehr versorgt, es steht bei  mir immer auf stopped, obwohl alexa Radio spielt. Leider reagiere ich via notify auf dieses Reading, um eine Soundbox zu steuern.

Weiterhin funktionieren set Befehle nicht mehr:
- set ECHO_G09XXXXXXXXXXXXXXX pause
- set ECHO_G09XXXXXXXXXXXXXXX play

andere gehen wie gehabt.

Das ist Schade, den nun ist in meiner Anwesenheitssteuerung hier ein "Loch" und das Radio spielt ggf weiter, wenn Anwesenheit off ist.

Schätze mal das haben andere auch?

Wäre froh um Hilfe/Anregung.

Gruß&Dank
Roland
rpi3+ & RaspBee | Phillips, Osram, IKEA, SIlvercrest Devices | FHEM 6.2 | Echo Show 15 | Yamaha YAS| LG TV | Ubuntu 22.04 - NextCloud 27 - OpemVPN - Wordpress - NAS - ...

TomLee

Diese Dateien, in /opt/fhem/cache/alexa-cookie, .*create-cookie.js, .*refresh-cookie.js, .*result.json, die aus einem neuen Login resultieren, gehe ich davon aus das man die alten problemlos löschen kann, muss jeweils die letzte erhalten bleiben ?

-rw-r--r--   1 fhem dialout   576 Apr  8 22:06 212create-cookie.js
-rw-r--r--   1 fhem dialout  3391 Apr  8 22:03 212refresh-cookie.js
-rw-r--r--   1 fhem dialout     4 Apr  8 22:07 212result.json
-rw-r--r--   1 fhem dialout   578 Apr  9 10:44 71590create-cookie.js
-rw-r--r--   1 fhem dialout     4 Apr  9 11:15 71590result.json
-rw-r--r--   1 fhem dialout  2966 Mär 13 19:59 90result.json
-rw-r--r--   1 fhem dialout  3731 Okt  7  2019 97refresh-cookie.js
-rw-r--r--   1 fhem dialout  3371 Okt  6  2019 97result.json
-rw-r--r--   1 fhem dialout  3373 Sep 30  2019 99result.json
drwxr-xr-x 142 fhem dialout  4096 Aug 26  2020 node_modules
-rw-r--r--   1 fhem dialout 67601 Aug 26  2020 package-lock.json

balli1187

Hallo Michael,

ich hätte einen Wunsch für ein kommendes Modul-update:
ich würde das Modul gern (kurzzeitig) per Set-Befehl deaktivieren (und später wieder aktiveren) können.

Hintergrund:
ab und zu spinnt meine Internetverbindung und das Modul meldet demzufolge login-errors. Ich schalte dann das Modul per attribut disable ab, um die Login-Versuche zu unterbinden. Hauptsächlich damit das Log nicht geflutet wird aber auch, da ich bereits zwei mal mein Amazon-Passwort ändern musste nachdem der Prozess sich irgendwo verschluckt hatte und es dann zu viele Anfrage für den amazon-server waren.

ist nicht super dringend aber durch setzen des Attributes wird immer die "save config" Meldung aktiviert und eigentlich sind die Attribute ja auch anders gedacht.

Danke im Voraus,
Stephan
FHEM auf QNAP im docker, nanoCUL per ser2net an VU+, 2x Echo Dot, 3x HM-ES-PMSw1-Pl, 3x HM-LC-Bl1PBU-FM, 6x Sonoff Basic, div. "Shelly Eigenbauten" von Papa Romeo, ESPRGBWW-Controller, ...
Projekte: Smart Mirror in Spiegelschrank auf RPi Zero

MadMax-FHEM

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)

balli1187

FHEM auf QNAP im docker, nanoCUL per ser2net an VU+, 2x Echo Dot, 3x HM-ES-PMSw1-Pl, 3x HM-LC-Bl1PBU-FM, 6x Sonoff Basic, div. "Shelly Eigenbauten" von Papa Romeo, ESPRGBWW-Controller, ...
Projekte: Smart Mirror in Spiegelschrank auf RPi Zero

MiK77

Ich habe jetzt festgestellt, das mein Account sich wohl nicht mehr verbindet "connected but loginerror".

NPM_login new reagiert eine ganze Weile nicht, bis dann eine Fehlermeldung kommt, der Port wäre belegt. Aber auch mit anderen Ports habe ich das gleiche Problem.

Wenn ich "node 279create-cookie.js" von Hand ausführe erhalte ich am Ende:
Alexa-Cookie: Response (200)
Proxy Init: loaded temp data store ass fallback former data
Proxy Init: reuse frc from former data
Proxy Init: reuse map-md from former data
Proxy Init: reuse deviceId from former data
[HPM] Proxy created: !/cookie-success  -> https://alexa.amazon.com
[HPM] Proxy rewrite rule created: "^/www.amazon.com" ~> ""
[HPM] Proxy rewrite rule created: "^/alexa.amazon.com" ~> ""
Alexa-Cookie: Proxy-Server listening on port 3002
RESULT: Error: Amazon-Login-Error: Wichtige Mitteilung!: Zum besseren Schutz Ihres Kontos geben Sie bitte nochmals Ihr Passwort ein, und geben Sie dann die Zeichen ein, die in der Abbildung unten gezeigt werden. You can try to get the cookie manually by opening http://192.168.77.88:3002/ with your browser. / null
fs.js:114
    throw err;
    ^

Error: ENOENT: no such file or directory, open './cache/alexa-cookie/279result.json'
    at Object.openSync (fs.js:443:3)
    at Object.writeFileSync (fs.js:1194:35)
    at alexaCookie.generateAlexaCookie (/opt/fhem/cache/alexa-cookie/279create-cookie.js:15:8)
    at amazonProxy.initAmazonProxy (/opt/fhem/cache/alexa-cookie/node_modules/alexa-cookie2/alexa-cookie.js:362:57)
    at Server.<anonymous> (/opt/fhem/cache/alexa-cookie/node_modules/alexa-cookie2/lib/proxy.js:368:30)
    at Object.onceWrapper (events.js:286:20)
    at Server.emit (events.js:198:13)
    at emitListeningNT (net.js:1314:10)
    at process._tickCallback (internal/process/next_tick.js:63:19)

duke-f

Zitat von: michael.winkler am 11 Februar 2021, 08:25:30
und was sollen diese Einträge mit dem Modul zu tun haben? Wo ist hier der Zusammenhang?

Ich glaube, dies wurde hier nicht weiter verfolgt. Allerdings hatte ich vor einigen Monaten auch das Problem, dass mein FHEM komplett blockier war und ich auch diese
Too many open files
Meldungen im Log vorfand. Ich hatte hier den Beitrag gefunden (https://forum.fhem.de/index.php/topic,82631.msg1130847.html#msg1130847), keine Abhilfe entdecken können und prompt war der Fehler danach auch einige Stunden später weg.
Jetzt hatte ich seit Samstag Abend bis Sonntag Abend aber wieder das Problem, dass mein FHEM komplett bis zum automatischen Neustart blockiert war. Und wieder sind diese Meldungen da. Daher bin ich nach Recherche wieder genau hier gelandet. Und natürlich wird sich auch hier die Frage nach dem Zusammenhang stellen. Dieser ist genau so wie bei @Tommy82: Deaktiviere ich alle Echodevices ist Ruhe. Und dass es zumindest am Rande einen Zusammenhang geben müsste vermute ich aus den vorangehenden Zeilen des Logs vor dem ersten dieses Wochenende.
Da ich in meiner Konfiguration recht viele Verbindungen offen habe zu unterschiedlichen internen Devices kann natürlich schon der Fehler sonstwo liegen. Als Dummy hatte ich jetzt nur den Verdacht, dass eventuell ein problematischer Zugriff auf den Server durch die Echodevices einfach dazu führt, dass ein Limit gerade erreicht wird. Bin ich jetzt alleine mit dem Problem werde ich die Echodevices erst mal außer Betrieb nehmen, da ich gerade keine Zeit habe das weiter zu verfolgen. Wollte damit aber auch nicht hinter dem Berg halten.


2021.07.24 17:18:33.653 1: 192.168.178.170:2000 reappeared (HMLANGW)
2021.07.24 17:18:48.322 1: [Freezemon] myFreezemon: possible freeze starting at 17:18:31, delay is 17.316 possibly caused by: tmr-echodevice_NPMWaitForCookie(Amazon_Account) tmr-HMLAN_KeepAliveCheck(HMUSB)
2021.07.24 17:18:48.398 1: Timeout for ping_DoPing reached, terminated process 14562
2021.07.24 17:18:48.399 3: BlockingCall for Ping_myUTN was aborted
2021.07.24 17:19:07.271 3: HMLANGW:keepAlive device opened
2021.07.24 17:19:09.658 1: [Freezemon] myFreezemon: possible freeze starting at 17:18:49, delay is 20.648 possibly caused by: tmr-echodevice_NPMWaitForCookie(Amazon_Account) tmr-BlockingKill(N/A) tmr-HMUARTLGW_StartInit(HMLANGW) tmr-HttpUtils_TimeoutErr(N/A) tmr-FHEM::AMADDevice::GetUpdate(Alabama_AMAD) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-RFHEM_GetUpdate(FHEM2CC) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A)
2021.07.24 17:19:10.133 3: [Amazon_Account] [echodevice_SendCommand] [9] IGNORIERE Command=alarmvolume Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:19:10.136 3: [Amazon_Account] [echodevice_SendCommand] [9] IGNORIERE Command=bluetoothstate Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:19:10.139 3: [Amazon_Account] [echodevice_SendCommand] [9] IGNORIERE Command=getdnd Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:19:10.142 3: [Amazon_Account] [echodevice_SendCommand] [9] IGNORIERE Command=wakeword Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:19:10.144 3: [Amazon_Account] [echodevice_SendCommand] [9] IGNORIERE Command=listitems_task Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:19:10.147 3: [Amazon_Account] [echodevice_SendCommand] [9] IGNORIERE Command=listitems_shopping Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:19:10.149 3: [Amazon_Account] [echodevice_SendCommand] [9] IGNORIERE Command=getdevicesettings Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:19:10.151 3: [Amazon_Account] [echodevice_SendCommand] [9] IGNORIERE Command=getisonline Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:19:26.286 3: HMUARTLGW HMLANGW BidCoS-port opened
2021.07.24 17:19:28.194 1: [Freezemon] myFreezemon: possible freeze starting at 17:19:10, delay is 18.182 possibly caused by: tmr-echodevice_NPMWaitForCookie(Amazon_Account) tmr-BlockingStart(N/A) tmr-HMUARTLGW_StartInit(HMLANGW) tmr-RFHEM_GetUpdate(FHEM2FTV) tmr-HMLAN_KeepAlive(HMUSB) tmr-DOIF_TimerTrigger(DI_Leistungsstaende) tmr-FW_closeInactiveClients(N/A) tmr-ping_Start(Ping_myUTN) tmr-echodevice_GetSettings(Amazon_Account) tmr-CUL_HandleWriteQueue(SCC) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-at_Exec(HM_Energie_2_Tag_Set) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-BlockingKill(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HMUARTLGW_StartInit(HMLANGW) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A) tmr-HttpUtils_TimeoutErr(N/A)
2021.07.24 17:19:28.751 1: Timeout for ping_DoPing reached, terminated process 14565
2021.07.24 17:19:28.755 3: BlockingCall for Ping_myUTN was aborted
2021.07.24 17:19:47.232 1: 192.168.178.170:2001 disconnected, waiting to reappear (HMLANGW:keepAlive)
2021.07.24 17:20:22.408 1: [Freezemon] myFreezemon: possible freeze starting at 17:19:29, delay is 53.391 possibly caused by: tmr-echodevice_NPMWaitForCookie(Amazon_Account) tmr-HMUARTLGW_StartInit(HMLANGW) tmr-HMLAN_KeepAliveCheck(HMUSB) tmr-echodevice_LoginStart(Amazon_Account) tmr-SYSMON_Update(Cubie) tmr-BlockingKill(N/A) tmr-echodevice_GetSettings(ECHO_G0911B0592940KLK) tmr-echodevice_GetSettings(ECHO_G070L816942409J7) tmr-echodevice_GetSettings(ECHO_b739e2ab24b04c9a9777924b677b8108) tmr-echodevice_GetSettings(ECHO_G090XG0794152JT6) tmr-echodevice_GetSettings(ECHO_G090XG0793733DWB) tmr-echodevice_GetSettings(ECHO_G090XG0794152JF8) tmr-HMUARTLGW_StartInit(HMLANGW) tmr-FHEM::AMADDevice::GetUpdate(Alabama_AMAD) tmr-CUL_HandleWriteQueue(CUL_0)
2021.07.24 17:21:07.692 3: [Amazon_Account] [echodevice_SendCommand] [12] IGNORIERE Command=getnotifications Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:21:07.694 3: [Amazon_Account] [echodevice_SendCommand] [12] IGNORIERE Command=alarmvolume Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:21:07.695 3: [Amazon_Account] [echodevice_SendCommand] [12] IGNORIERE Command=bluetoothstate Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:21:07.696 3: [Amazon_Account] [echodevice_SendCommand] [12] IGNORIERE Command=getdnd Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:21:07.697 3: [Amazon_Account] [echodevice_SendCommand] [12] IGNORIERE Command=wakeword Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:21:07.698 3: [Amazon_Account] [echodevice_SendCommand] [12] IGNORIERE Command=listitems_task Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:21:07.699 3: [Amazon_Account] [echodevice_SendCommand] [12] IGNORIERE Command=listitems_shopping Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:21:07.700 3: [Amazon_Account] [echodevice_SendCommand] [12] IGNORIERE Command=getdevicesettings Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:21:07.701 3: [Amazon_Account] [echodevice_SendCommand] [12] IGNORIERE Command=getisonline Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:21:07.702 3: [Amazon_Account] [echodevice_SendCommand] [12] IGNORIERE Command=devicesstate Abfrage in CMD_Queue schon vorhanden!
2021.07.24 17:21:07.708 3: [Amazon_Account] [echodevice_LostConnect] connection error = gethostbyname layla.amazon.de failed / set loginerror to 1
2021.07.24 17:21:07.708 3: [Amazon_Account] [echodevice_setState] to connected but loginerror
2021.07.24 17:21:41.928 3: [Amazon_Account] [echodevice_LostConnect] connection error = https://layla.amazon.de/api/bootstrap: empty answer received / set loginerror to 2
2021.07.24 17:21:51.850 1: Accept failed (telnetECMD: Too many open files)
2021.07.24 17:22:18.963 1: Accept failed (telnetPort: Too many open files)
2021.07.24 17:22:19.525 1: Accept failed (AMADBridge: Too many open files)
Cubietruck, 3 Raspberry Pis,
CUL868, RFXtrx433, CUL433, SCC868, HM-USB,
IRTrans, EZcontrol XS1, IguanaWorks USB IR Transceiver
ESPEasy, Fritz!Box, Samsung TV+BD, LMS, Squeezelite

dobiwan

Hallo zusammen,

also ich habe die Installation nach der Anleitung: https://www.mwinklerblog.de/modul-echodevice-npm/
durchgeführt. Ich habe beides ausprobiert die NPM installation über die console und über das Frontend. Beides funktioniert. Und das Alexa Cookies2 ist installiert.
Dann wenn ich auf set NPM_login new gehe und mit set abschicke, kommt ein Timeout, aber der Dialog öffnet sich nicht. Da ich auf FHEM über einen Reverse Proxy aus dem Internet zugreife, habe ich mich per VPN in mein Netzt eingewählt und dann lokal über die IP von fhem versucht das set zu testen. Auch hier öffnet sich der Dialog mit der IP und port 3002 nicht. Das log habe ich mit verbose 5 eingeschaltet, aber hier ist nichts zu erkennen. die einzige Meldung die ich bekomme ist: echodevice Alexa_Echo amazon_refreshtoken: wait for refreshtoken.
Nach einem Versuch muss ich den Server neu starten, weil sonnst die Fehlermeldun, dass der Port schon belegt ist kommt.
Ich hoffe damit könnt hier was anfangen.

michael.winkler

Zitat von: dobiwan am 02 August 2021, 14:44:37
Hallo zusammen,

also ich habe die Installation nach der Anleitung: https://www.mwinklerblog.de/modul-echodevice-npm/
durchgeführt. Ich habe beides ausprobiert die NPM installation über die console und über das Frontend. Beides funktioniert. Und das Alexa Cookies2 ist installiert.
Dann wenn ich auf set NPM_login new gehe und mit set abschicke, kommt ein Timeout, aber der Dialog öffnet sich nicht. Da ich auf FHEM über einen Reverse Proxy aus dem Internet zugreife, habe ich mich per VPN in mein Netzt eingewählt und dann lokal über die IP von fhem versucht das set zu testen. Auch hier öffnet sich der Dialog mit der IP und port 3002 nicht. Das log habe ich mit verbose 5 eingeschaltet, aber hier ist nichts zu erkennen. die einzige Meldung die ich bekomme ist: echodevice Alexa_Echo amazon_refreshtoken: wait for refreshtoken.
Nach einem Versuch muss ich den Server neu starten, weil sonnst die Fehlermeldun, dass der Port schon belegt ist kommt.
Ich hoffe damit könnt hier was anfangen.
schick mal einen get status vom Account Device

dobiwan



dobiwan

Zitat von: michael.winkler am 04 August 2021, 09:37:29
Versuche mal folgendes: https://forum.fhem.de/index.php/topic,82631.msg1151660.html#msg1151660

Wenn es dann immer noch nicht geht, bitte mal das Log entsprechend mitsenden.
Ich habe es mehrfach nach der Anleitung versucht. Immer das selbe Ergebnis. Erst kommt ein Error 404 dann kommt gleich die Meldung Port belegt.
Im Anhang das Log

michael.winkler

Zitat von: dobiwan am 04 August 2021, 12:00:24
Ich habe es mehrfach nach der Anleitung versucht. Immer das selbe Ergebnis. Erst kommt ein Error 404 dann kommt gleich die Meldung Port belegt.
Im Anhang das Log
Das Log bringt leider nichts. Wichtig wäre das LOG vom set NPM_login new.

B.Stromberg

#5023
Hallo!
Habe jetzt die letzten knapp 20 Seiten durch aber nichts zu meinem "Problem" gefunden.

Ich möchte ganz gern an mehrere Echos einen Text schicken. "Die Waschmaschine ist fertig"
Ich habe auch ein Device angelegt, welches überall heißt (ist aber eher für multiroom) Damit funktioniert das Ganze nicht, heißt dann wohl, dass ich alle Echos einzeln per set Befehl ansprechen muss?
Parallel sollte auch noch eine Telegram Nachricht verschickt werden.

Es scheitert bei mir schon damit, 2 set Befehle hintereinander in die DEF zu schreiben.
Dazu findet man hier auch 20 Varianten seit 2012, bisher hat keine bei mir funktioniert.

Könnte mir da bitte jemand unter die Arme greifen?
Danke!

EDIT:
So sieht der DEFMOD für meine Telegram Nachricht aus:

defmod es_wurde_Post_in_den_Briefkasten_geworfen notify Briefkastenschlitz:closed set myTelegramBot message Die Post ist da

Packe ich nun ein set ECHOxxxxx speak die post ist da dahinter geht das leider nicht

Übernächste Frage wäre dann noch, ist es realisierbar, dass diese Nachricht 3 Mal alle 5 Minuten kommt und dann nicht wieder?

MadMax-FHEM

#5024
Hat zwar "hier" nichts "verloren" aber ganz kurz (wenn das nicht reicht: eigenen Thread aufmachen):

Eventmonitor öffnen auf den passenden Event warten, markieren und define/modify -> notify/DOIF anlegen lassen und anpassen.
https://wiki.fhem.de/wiki/Event_monitor

2 fhem Befehle durch Strichpunkt trennen oder wenn in RAWDEF 2 Strichpunkte...
https://wiki.fhem.de/wiki/Notify

Alternativ: poste was du hast...

Wenn du alle Echos sprechen lassen willst:

set ECHO_.* speak die waschmaschine ist fertig

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)