[37_echodevice] Amazon Echo Modul (nicht Alexa)

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

Vorheriges Thema - Nächstes Thema

KölnSolar

Hi Wolfgang,
der volume-Befehl geht nur bis 12:43:13. Und hat, wie Du schon schriebst, funktioniert.
Danach kommt vermutlich das zyklische "refresh". Hat auch funktioniert.
Ich spekuliere, dass etwas anderes das volume wieder verändert hat.
Setz doch mal das intervalsettings für das zyklische "refresh" sehr hoch(z.B. 1800). Dann wird das Log nur mit den "settings" übersichtlicher.
Grüße Markus
RPi3/2 buster/stretch-SamsungAV_E/N-RFXTRX-IT-RSL-NC5462-Oregon-CUL433-GT-TMBBQ-01e-CUL868-FS20-EMGZ-1W(GPIO)-DS18B20-CO2-USBRS232-USBRS422-Betty_Boop-EchoDot-OBIS(Easymeter-Q3/EMH-KW8)-PCA301(S'duino)-Deebot(mqtt2)-zigbee2mqtt

michael.winkler

@All

ich bin noch da, nur halt nicht jeden Tag im Forum. Was geht den aktuell nicht?

swsc911

#6002
Hallo Michael,
erstmal vielen Dank für Dein Modul echodevice.
Bei mir taucht öfters "2024.04.16 21:43:53 3: [Meister] [echodevice_Parse] [getsmarthome] [199642] Too many requests
2024.04.16 21:44:53 3: [Meister] [echodevice_Parse] [getsmarthome] [199696] Too many requests
2024.04.16 21:45:53 3: [Meister] [echodevice_Parse] [getsmarthome] [199750] Too many requests" ilm FHEM Log auf  :o . Wie bei anderen auch. Und einige haben auch weitere Auffälligkeiten u.a. Volume.

Servus Sigi

Talkabout

Zitat von: Talkabout am 16 März 2024, 15:17:23Hallo zusammen,

die Playlist-Funktionalität scheint schon seit einiger Zeit nicht mehr richtig zu funktionieren. Ich habe mal versucht mich durchzudebuggen, hier das entsprechende Log:

Du darfst diesen Dateianhang nicht ansehen.

Bei der Anfrage nach Playlisten kommt ein HTML Header zurück, kein Json. Vermutlich ist die API nicht mehr richtig. Ist das etwas, was zukünftig behoben werden wird oder kann man davon ausgehen, dass die Playlisten-Logik deprecated ist?

Danke!

Gruss

Borkk

Hallo Michael,

ich habe den Fehler mit den "too many requests" auch in meinem Log gesehen. Ich habe allerdings keine Einschränkungen bemerkt.

2024.04.23 22:21:47 3: [echo_login] [echodevice_LoginStart] Alter COOKIE=16805732/6000 Refresh Cookie!
2024.04.23 22:21:47 3: [echo_login] [echodevice_NPMLoginRefresh] /usr/bin/node not found
2024.04.23 22:22:38 3: [br_echo] [echodevice_Parse] [getsmarthome] [6097] Too many requests
2024.04.23 22:22:38 3: [fl_echo] [echodevice_Parse] [getsmarthome] [6101] Too many requests
2024.04.23 22:22:38 3: [ECHO_8f6d02f371f2442e916b5105e093bc12] [echodevice_Parse] [getsmarthome] [6106] Too many requests
2024.04.23 22:22:38 3: [sz_echo_l] [echodevice_Parse] [getsmarthome] [6102] Too many requests
2024.04.23 22:22:38 3: [ku_echo] [echodevice_Parse] [getsmarthome] [6109] Too many requests
2024.04.23 22:22:38 3: [bd_echo] [echodevice_Parse] [getsmarthome] [6108] Too many requests
2024.04.23 22:22:38 3: [wz_echo] [echodevice_Parse] [getsmarthome] [6111] Too many requests
2024.04.23 22:22:38 3: [ds_echo] [echodevice_Parse] [getsmarthome] [6112] Too many requests
2024.04.23 22:22:38 3: [sz_echo_r] [echodevice_Parse] [getsmarthome] [6113] Too many requests
2024.04.23 22:22:38 3: [sz_echo] [echodevice_Parse] [getsmarthome] [6124] Too many requests
Docker@DS220+ FHEM, ConBeeII, Homebridge, Nginx ReverseProxy, ConfigDB, MQTT, NodeRed, InfluxDB, Grafana,
Raspberrymatic@Raspi3: HmIP Akt- /Sensoren, Shelly´s, Tibber Puls, Alexa, ASC, Gardena, Netatmo, E-Paper, FritzBox; Tado°, HOMEMODE, iBeacon, OLED ; ESP32/8266, SwitchBot ...

hyper2910

#6005
hi zusammen,

funktioniert die Einrichtung noch?

Bei einem neu aufgesetztem System bekomme ich keine Verbindung mehr!

Bei der NPM Anmeldung auch per SSH bekommen ich folgendes:

npm WARN deprecated querystring@0.2.1:
The querystring API is considered Legacy. new code should use the URLSearchParams API instead.



npm --version
10.5.1
node --version
v22.0.0
Cubietruck mit FHEM, CUL V3 443MHz, 2 x CULV3 868MHz, Milights, Max Heizungssteuerung, Homematic, IT,

hyper2910

Ich bin nach deinstallation und neuinstallation von Node etwas weiter.

Der NPM install zeigt erfolgreich aber beim Login kommt
 
Das Skript zum Amazon Login konnte nicht gefunden werden!


ERGEBNIS ls -l /opt/fhem/cache


insgesamt 4
drwxr-xr-x 3 root root 4096 26. Apr 14:37 alexa-cookie
ERGEBNIS ls -l /opt/fhem/cache/alexa-cookie


insgesamt 48
drwxr-xr-x 96 root root 4096 26. Apr 14:37 node_modules
-rw-r--r-- 1 root root 58 26. Apr 14:37 package.json
-rw-r--r-- 1 root root 37596 27. Apr 10:22 package-lock.json
Cubietruck mit FHEM, CUL V3 443MHz, 2 x CULV3 868MHz, Milights, Max Heizungssteuerung, Homematic, IT,

mrb

so dann auch mal hier die frage.

wie kann ich meine Alexa(s) dazu bewegen kommandos im Fhem auszuführen? In der laut google "Anleitung" https://www.mwinklerblog.de/smarthome/eigene-module/echodevice/#Get fehlen Beispiele komplett. Ich möchte gerne per Alexa mein Fhem vernsteuern und meine Solaranlage abfragen wieviel Watt gerade erzeugt werden. Kann mir da einer Helfen?

MadMax-FHEM

#6008
Zitat von: mrb am 27 April 2024, 15:39:47o dann auch mal hier die frage.

wie kann ich meine Alexa(s) dazu bewegen kommandos im Fhem auszuführen? In der laut google "Anleitung" https://www.mwinklerblog.de/smarthome/eigene-module/echodevice/#Get fehlen Beispiele komplett. Ich möchte gerne per Alexa mein Fhem vernsteuern und meine Solaranlage abfragen wieviel Watt gerade erzeugt werden. Kann mir da einer Helfen?
Warum DOPPELTHREADS bzw. "Doppel-Posts"!!?

Und: das hat nichts mit dem echodevice zu tun, außer, dass du zur Ausgabe das speak nutzt...

Bleib doch einfach in dem anderen Thread (https://forum.fhem.de/index.php?topic=137587.msg1307794#msg1307794)...
...weil dort steht alles wie es geht.

Was dir fehlt ist fhem Know How (nicht zwingend nur echodevice)...

EDIT: hier kannst du suchen, wo Beispiele für Reaktion auf das voice Reading sind... Aber auch das wird dir nicht sehr viel weiterhelfen... Weil wie es geht, steht im anderen Thread. Jetzt nur noch lernen, wie man das in fhem umsetzt (fhem Know How) und dann läuft das...

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)

hyper2910

#6009
Hi zusammen,

Ich komme einfach nicht weiter.

Neues Device Angelegt.

NPM install successfully
NPM log in
Kommt eine IP Welche sich nicht öffnet. 

Login Ergebnis


Bitte den Link anklicken und die Amazonanmeldung durchfuehren.
http://172.18.0.1:3002

Im Log dieses hier.
npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.


Und nach Neustart dann das



[Echo] [echodevice_FirstStart] COOKIE      =
2024.04.28 09:48:34.906 4: [Echo] [echodevice_FirstStart] COOKIE_TYPE = NEW
2024.04.28 09:48:38.511 5: [Echo] [echodevice_GetSettings] start refresh settings
2024.04.28 09:48:38.512 5: [Echo] [echodevice_GetSettings] unknown state / state = INITIALIZED
2024.04.28 09:48:44.960 4: [Echo] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.

Habe keine Ahnung mehr was ich machen soll



Auch bei der manuellen Installation bekomme ich folgendes

sudo npm install --prefix /opt/fhem/cache/alexa-cookie alexa-cookie2
npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.

added 97 packages in 9s

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

Cubietruck mit FHEM, CUL V3 443MHz, 2 x CULV3 868MHz, Milights, Max Heizungssteuerung, Homematic, IT,

hyper2910

Cubietruck mit FHEM, CUL V3 443MHz, 2 x CULV3 868MHz, Milights, Max Heizungssteuerung, Homematic, IT,

misux

Zitat von: Borkk am 23 April 2024, 22:30:30Hallo Michael,

ich habe den Fehler mit den "too many requests" auch in meinem Log gesehen. Ich habe allerdings keine Einschränkungen bemerkt.

2024.04.23 22:21:47 3: [echo_login] [echodevice_LoginStart] Alter COOKIE=16805732/6000 Refresh Cookie!
2024.04.23 22:21:47 3: [echo_login] [echodevice_NPMLoginRefresh] /usr/bin/node not found
2024.04.23 22:22:38 3: [br_echo] [echodevice_Parse] [getsmarthome] [6097] Too many requests
2024.04.23 22:22:38 3: [fl_echo] [echodevice_Parse] [getsmarthome] [6101] Too many requests
2024.04.23 22:22:38 3: [ECHO_8f6d02f371f2442e916b5105e093bc12] [echodevice_Parse] [getsmarthome] [6106] Too many requests
2024.04.23 22:22:38 3: [sz_echo_l] [echodevice_Parse] [getsmarthome] [6102] Too many requests
2024.04.23 22:22:38 3: [ku_echo] [echodevice_Parse] [getsmarthome] [6109] Too many requests
2024.04.23 22:22:38 3: [bd_echo] [echodevice_Parse] [getsmarthome] [6108] Too many requests
2024.04.23 22:22:38 3: [wz_echo] [echodevice_Parse] [getsmarthome] [6111] Too many requests
2024.04.23 22:22:38 3: [ds_echo] [echodevice_Parse] [getsmarthome] [6112] Too many requests
2024.04.23 22:22:38 3: [sz_echo_r] [echodevice_Parse] [getsmarthome] [6113] Too many requests
2024.04.23 22:22:38 3: [sz_echo] [echodevice_Parse] [getsmarthome] [6124] Too many requests

GUten Morgen!
Ja, auch leider bei mir sind massig Log Einträge jede Minute drin...

Gibt es dafür eine Lösung?

2024.04.30 04:48:09 3: [ECHO_8a56a1fb94bd40a9a5eeb95c7be988b7] [echodevice_Parse] [getsmarthome] [358150] Too many requests
2024.04.30 04:48:09 3: [ECHO_G090XG12218304A4] [echodevice_Parse] [getsmarthome] [358152] Too many requests
2024.04.30 04:48:09 3: [OG_Dominic_WZ_ECHO] [echodevice_Parse] [getsmarthome] [358155] Too many requests
2024.04.30 04:48:09 3: [ECHO_6e027204ddf2436ca37e97599e538bbb] [echodevice_Parse] [getsmarthome] [358158] Too many requests
2024.04.30 04:48:09 3: [OG_Dominic_SZ_ECHO] [echodevice_Parse] [getsmarthome] [358159] Too many requests
2024.04.30 04:48:10 3: [KE_Garten_ECHO] [echodevice_Parse] [getsmarthome] [358161] Too many requests
2024.04.30 04:48:10 3: [ECHO_1e97ee4b88aa4dfc9433ba4bd5bbeded] [echodevice_Parse] [getsmarthome] [358181] Too many requests
2024.04.30 04:49:09 3: [KE_HOLZWerkstatt_ECHO] [echodevice_Parse] [getsmarthome] [358298] Too many requests
2024.04.30 04:49:09 3: [OG_Fitnessraum_ECHO] [echodevice_Parse] [getsmarthome] [358299] Too many requests
2024.04.30 04:49:09 3: [KE_ELOWerkstatt_ECHO] [echodevice_Parse] [getsmarthome] [358302] Too many requests
2024.04.30 04:49:09 3: [EG_Kueche_ECHO] [echodevice_Parse] [getsmarthome] [358301] Too many requests
2024.04.30 04:49:09 3: [ECHO_G070VM1190830LWU] [echodevice_Parse] [getsmarthome] [358304] Too many requests
2024.04.30 04:49:09 3: [ECHO_3fc3541c1b98434f9aa372467ddfcc66] [echodevice_Parse] [getsmarthome] [358303] Too many requests
2024.04.30 04:49:09 3: [ECHO_G2A0XL0700150KLM] [echodevice_Parse] [getsmarthome] [358305] Too many requests
2024.04.30 04:49:09 3: [ECHO_G070VM139305196W] [echodevice_Parse] [getsmarthome] [358306] Too many requests
2024.04.30 04:49:09 3: [ECHO_G090P3087435074P] [echodevice_Parse] [getsmarthome] [358307] Too many requests
2024.04.30 04:49:09 3: [ECHO_303b9b11db434d29bab70ddbd899cdad] [echodevice_Parse] [getsmarthome] [358323] Too many requests
2024.04.30 04:49:09 3: [ECHO_8a56a1fb94bd40a9a5eeb95c7be988b7] [echodevice_Parse] [getsmarthome] [358325] Too many requests
2024.04.30 04:49:10 3: [KE_Garten_ECHO] [echodevice_Parse] [getsmarthome] [358332] Too many requests
2024.04.30 04:49:10 3: [ECHO_6e027204ddf2436ca37e97599e538bbb] [echodevice_Parse] [getsmarthome] [358333] Too many requests
2024.04.30 04:49:10 3: [ECHO_G090U61091870A1J] [echodevice_Parse] [getsmarthome] [358297] Too many requests
2024.04.30 04:49:10 3: [ECHO_G090XG12218304A4] [echodevice_Parse] [getsmarthome] [358324] Too many requests
2024.04.30 04:49:10 3: [OG_Dominic_SZ_ECHO] [echodevice_Parse] [getsmarthome] [358328] Too many requests
2024.04.30 04:49:10 3: [OG_Schlafzimmer_ECHO] [echodevice_Parse] [getsmarthome] [358300] Too many requests
2024.04.30 04:49:10 3: [OG_Dominic_WZ_ECHO] [echodevice_Parse] [getsmarthome] [358329] Too many requests
2024.04.30 04:49:10 3: [ECHO_1e97ee4b88aa4dfc9433ba4bd5bbeded] [echodevice_Parse] [getsmarthome] [358351] Too many requests
2024.04.30 04:50:09 3: [KE_ELOWerkstatt_ECHO] [echodevice_Parse] [getsmarthome] [358471] Too many requests
2024.04.30 04:50:10 3: [ECHO_G070VM1190830LWU] [echodevice_Parse] [getsmarthome] [358488] Too many requests
2024.04.30 04:50:10 3: [EG_Kueche_ECHO] [echodevice_Parse] [getsmarthome] [358489] Too many requests
2024.04.30 04:50:10 3: [ECHO_G090U61091870A1J] [echodevice_Parse] [getsmarthome] [358490] Too many requests
2024.04.30 04:50:10 3: [ECHO_G2A0XL0700150KLM] [echodevice_Parse] [getsmarthome] [358491] Too many requests
2024.04.30 04:50:10 3: [ECHO_G070VM139305196W] [echodevice_Parse] [getsmarthome] [358494] Too many requests
2024.04.30 04:50:10 3: [KE_HOLZWerkstatt_ECHO] [echodevice_Parse] [getsmarthome] [358493] Too many requests
2024.04.30 04:50:10 3: [OG_Fitnessraum_ECHO] [echodevice_Parse] [getsmarthome] [358492] Too many requests
2024.04.30 04:50:10 3: [OG_Schlafzimmer_ECHO] [echodevice_Parse] [getsmarthome] [358487] Too many requests
2024.04.30 04:50:10 3: [OG_Dominic_WZ_ECHO] [echodevice_Parse] [getsmarthome] [358500] Too many requests
2024.04.30 04:50:10 3: [ECHO_3fc3541c1b98434f9aa372467ddfcc66] [echodevice_Parse] [getsmarthome] [358501] Too many requests
2024.04.30 04:50:10 3: [ECHO_G090P3087435074P] [echodevice_Parse] [getsmarthome] [358499] Too many requests
2024.04.30 04:50:10 3: [ECHO_8a56a1fb94bd40a9a5eeb95c7be988b7] [echodevice_Parse] [getsmarthome] [358498] Too many requests
2024.04.30 04:50:10 3: [ECHO_6e027204ddf2436ca37e97599e538bbb] [echodevice_Parse] [getsmarthome] [358497] Too many requests
2024.04.30 04:50:10 3: [ECHO_G090XG12218304A4] [echodevice_Parse] [getsmarthome] [358496] Too many requests
2024.04.30 04:50:10 3: [ECHO_303b9b11db434d29bab70ddbd899cdad] [echodevice_Parse] [getsmarthome] [358495] Too many requests
2024.04.30 04:50:10 3: [KE_Garten_ECHO] [echodevice_Parse] [getsmarthome] [358520] Too many requests
2024.04.30 04:50:10 3: [ECHO_1e97ee4b88aa4dfc9433ba4bd5bbeded] [echodevice_Parse] [getsmarthome] [358519] Too many requests
2024.04.30 04:50:10 3: [OG_Dominic_SZ_ECHO] [echodevice_Parse] [getsmarthome] [358518] Too many requests
2024.04.30 04:50:34 1: RMDIR: ./restoreDir/save/2024-04-19
2024.04.30 04:51:09 3: [KE_ELOWerkstatt_ECHO] [echodevice_Parse] [getsmarthome] [358648] Too many requests
2024.04.30 04:51:09 3: [ECHO_G090U61091870A1J] [echodevice_Parse] [getsmarthome] [358647] Too many requests
2024.04.30 04:51:09 3: [KE_HOLZWerkstatt_ECHO] [echodevice_Parse] [getsmarthome] [358645] Too many requests
2024.04.30 04:51:09 3: [OG_Fitnessraum_ECHO] [echodevice_Parse] [getsmarthome] [358646] Too many requests
2024.04.30 04:51:09 3: [ECHO_G2A0XL0700150KLM] [echodevice_Parse] [getsmarthome] [358649] Too many requests
2024.04.30 04:51:10 3: [ECHO_G070VM139305196W] [echodevice_Parse] [getsmarthome] [358650] Too many requests
2024.04.30 04:51:10 3: [OG_Schlafzimmer_ECHO] [echodevice_Parse] [getsmarthome] [358651] Too many requests
2024.04.30 04:51:10 3: [ECHO_3fc3541c1b98434f9aa372467ddfcc66] [echodevice_Parse] [getsmarthome] [358673] Too many requests
2024.04.30 04:51:10 3: [ECHO_8a56a1fb94bd40a9a5eeb95c7be988b7] [echodevice_Parse] [getsmarthome] [358671] Too many requests
2024.04.30 04:51:10 3: [ECHO_G090P3087435074P] [echodevice_Parse] [getsmarthome] [358670] Too many requests
2024.04.30 04:51:10 3: [ECHO_G090XG12218304A4] [echodevice_Parse] [getsmarthome] [358672] Too many requests
2024.04.30 04:51:10 3: [ECHO_G070VM1190830LWU] [echodevice_Parse] [getsmarthome] [358669] Too many requests
2024.04.30 04:51:10 3: [OG_Dominic_SZ_ECHO] [echodevice_Parse] [getsmarthome] [358676] Too many requests
2024.04.30 04:51:10 3: [OG_Dominic_WZ_ECHO] [echodevice_Parse] [getsmarthome] [358675] Too many requests
2024.04.30 04:51:10 3: [ECHO_303b9b11db434d29bab70ddbd899cdad] [echodevice_Parse] [getsmarthome] [358668] Too many requests
2024.04.30 04:51:10 3: [EG_Kueche_ECHO] [echodevice_Parse] [getsmarthome] [358667] Too many requests
2024.04.30 04:51:10 3: [ECHO_6e027204ddf2436ca37e97599e538bbb] [echodevice_Parse] [getsmarthome] [358679] Too many requests
2024.04.30 04:51:10 3: [KE_Garten_ECHO] [echodevice_Parse] [getsmarthome] [358681] Too many requests
2024.04.30 04:51:10 3: [ECHO_1e97ee4b88aa4dfc9433ba4bd5bbeded] [echodevice_Parse] [getsmarthome] [358699] Too many requests
2024.04.30 04:52:09 3: [ECHO_G090U61091870A1J] [echodevice_Parse] [getsmarthome] [358819] Too many requests
2024.04.30 04:52:09 3: [KE_HOLZWerkstatt_ECHO] [echodevice_Parse] [getsmarthome] [358820] Too many requests
2024.04.30 04:52:09 3: [OG_Fitnessraum_ECHO] [echodevice_Parse] [getsmarthome] [358821] Too many requests
2024.04.30 04:52:10 3: [ECHO_G2A0XL0700150KLM] [echodevice_Parse] [getsmarthome] [358824] Too many requests
2024.04.30 04:52:10 3: [KE_ELOWerkstatt_ECHO] [echodevice_Parse] [getsmarthome] [358823] Too many requests
2024.04.30 04:52:10 3: [OG_Schlafzimmer_ECHO] [echodevice_Parse] [getsmarthome] [358822] Too many requests
2024.04.30 04:52:10 3: [ECHO_8a56a1fb94bd40a9a5eeb95c7be988b7] [echodevice_Parse] [getsmarthome] [358841] Too many requests
2024.04.30 04:52:10 3: [ECHO_G070VM139305196W] [echodevice_Parse] [getsmarthome] [358843] Too many requests
2024.04.30 04:52:10 3: [ECHO_G070VM1190830LWU] [echodevice_Parse] [getsmarthome] [358844] Too many requests
2024.04.30 04:52:10 3: [ECHO_3fc3541c1b98434f9aa372467ddfcc66] [echodevice_Parse] [getsmarthome] [358847] Too many requests
2024.04.30 04:52:10 3: [ECHO_303b9b11db434d29bab70ddbd899cdad] [echodevice_Parse] [getsmarthome] [358846] Too many requests
2024.04.30 04:52:10 3: [EG_Kueche_ECHO] [echodevice_Parse] [getsmarthome] [358845] Too many requests
2024.04.30 04:52:10 3: [ECHO_G090XG12218304A4] [echodevice_Parse] [getsmarthome] [358848] Too many requests
2024.04.30 04:52:10 3: [ECHO_6e027204ddf2436ca37e97599e538bbb] [echodevice_Parse] [getsmarthome] [358849] Too many requests
2024.04.30 04:52:10 3: [ECHO_G090P3087435074P] [echodevice_Parse] [getsmarthome] [358851] Too many requests
2024.04.30 04:52:10 3: [ECHO_1e97ee4b88aa4dfc9433ba4bd5bbeded] [echodevice_Parse] [getsmarthome] [358872] Too many requests
2024.04.30 04:52:10 3: [OG_Dominic_SZ_ECHO] [echodevice_Parse] [getsmarthome] [358853] Too many requests
2024.04.30 04:52:10 3: [OG_Dominic_WZ_ECHO] [echodevice_Parse] [getsmarthome] [358852] Too many requests
2024.04.30 04:52:10 3: [KE_Garten_ECHO] [echodevice_Parse] [getsmarthome] [358855] Too many requests