[37_echodevice] Amazon Echo Modul (nicht Alexa)

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

Vorheriges Thema - Nächstes Thema

Stephan Labude

Hallo Michael,

besteht die Möglichkeit eine Funktion zum stoppen und deaktivieren des internen Weckers einzubauen?

VG Stephan

Gesendet von meinem SM-G935F mit Tapatalk


TomLee

notifications_delete ist in der Doku erwähnt.
notifications_delete ist während eines aktiven Weckers, Timer, Reminder in der set-Liste vorhanden (das nicht erwähnt)

Bsp. zum stoppen eines Timer:

set <echodevicename> notifications_delete {(sprintf("fw@". ReadingsVal("<echodevicname>","timer_id",0)

Stephan Labude

damit wird aber der komplette Timer gelöscht und muss neu angelegt werden.

Gesendet von meinem SM-G935F mit Tapatalk


TomLee

Ein Timer ist ja immer einmalig von daher das Beispiel praktikabel.

Bezogen auf den Wecker hast du natürlich Recht, das hab ich dann missverstanden.
Der ist aktuell wirklich nicht zu deaktivieren und ihn nach der Methode zu stoppen ist auch nicht praktikabel da man ihn dann ja wieder neu anlegen müsste.

Stephan Labude

Ja, dann bekommt er auch eine neue id. Hab schon alles durchprobiert, um den wecker zu stoppen. Möchte den wecker mit einem taster stoppen, da die morgendliche ausprache mit nem kissen im mund zu undeutlich ist. Momentan erfolgt das wecken über tunein, bei internetausfall oder wlan-problemen kann ich dann ausschlafen. Deshalb die idee mit dem integrierten wecker und einem funktaster.

Gesendet von meinem SM-G935F mit Tapatalk


darkness

Hallo,

ein set speak auf eine Echo-Gruppe funktioniert aber nicht, oder?

cs-online

FHEM auf RPI 4 4GB, HM-WLAN-Gateway, einige HM-Aktoren,2x EBUSD an Heizung+Solar, ESP8266/32 am Strom-,Gas-,Wasserzähler, in WLAN-Steckdosen und Relaisleisten, Sonoff S20+S26,Shelly1/2/2.5, Lacrosse-Gateway und Sensoren,Sduino,Alexa-Fhem,Huawei PV+Speicher, alles auf einem RPI und da geht noch mehr

Raemsna

Hallo zusammen,

ich habe jetzt mal von einer älteren Version auf die aktuelle Version aus dem ersten Post geupdatet.
Danach FHEM neu gestartet wie empfohlen und das Modul ist out of the box auf connected gesprungen.

Vielen Dank für das Modul und die viele Arbeit, die darin steckt.
Ich werde weiter berichten.

Grüße
Raemsna

Mave

Sprachnachrichten als Erinnerungen werden auf dem Echo Show nicht automatisch verworfen und müssen manuell gelöscht werden.

Gibt es dafür einen Workaround?

Vielen Dank.

michael.winkler

Kleine Info von mir noch. Ein Cockie lebt Standardmäßig genau 14 Tage. Danach wird es ungültig (außer ihr verwerft es selber).

Mit der aktuellen Version müsste alles wieder Stabiler laufen. Kann das noch jemand bestätigen?

Mickey Mouse

14 Tage kann ich natürlich noch nicht bestätigen aber auf jeden Fall läuft die aktuelle Version (# 2018.09.03 v0.0.42) schon seit der Installation ohne Probleme.

aber welche Möglichkeit hat man denn um an dieser 14 Tage Galgenfrist herum zu kommen?

ich hatte mal die andere Login Methode versucht. Wenn ich der Anleitung folge, dann bekomme ich eine Meldung, dass mein Konto nicht gültig ist. Ich vermute das beruht auf dem Löschen meines AWS Accounts nachdem das mit dem "anderen" Amazon/Echo/Alexa Modul auch nicht funktioniert hat.

TomLee

Frage an Michael

Kannst du bitte ein default_speak_volume Attribut für speak einbauen, am besten wäre nach der Sprachansage auch noch ein zurück zum zuletzt eingestellten Wert ? Die Sprachansage-Devices werden bei mir immer mehr und die Angabe von volume vor und danach nervt mittlerweile.

Gruß

Thomas

hanswerner1

Zitat von: michael.winkler am 09 September 2018, 19:35:01
Mit der aktuellen Version müsste alles wieder Stabiler laufen. Kann das noch jemand bestätigen?


Bei mir läuft die 0.0.42 auch problemlos.

Marlen

Also, ich hab es jetzt wieder mal ohne Cookie probiert:

Es bewegt sich immer zwischen disconnected und connected und
COOKIE_STATE START

Mit Verbose 4 steht das im Log:
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getnotifications] START
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendURL =https://layla.amazon.de/api/notifications
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendData=
2018.09.10 19:41:59 4: [echo42] [echodevice_HandleCmdQueue] [getnotifications] send command=https://layla.amazon.de/api/notifications
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [alarmvolume] START
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-notification-state?_=1231231231
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendData=
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [bluetoothstate] START
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendURL =https://layla.amazon.de/api/bluetooth?cached=true&_=1231231231
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendData=
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getdnd] START
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendURL =https://layla.amazon.de/api/dnd/device-status-list?_=1231231231
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendData=
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [wakeword] START
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendURL =https://layla.amazon.de/api/wake-word?_=1231231231
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendData=
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [listitems_task] START
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1231231231
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendData=TASK
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [listitems_shopping] START
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1231231231
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendData=SHOPPING_ITEM
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getdevicesettings] START
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-preferences
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendData=
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getisonline] START
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendURL =https://layla.amazon.de/api/devices-v2/device?cached=true&_=1231231231
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendData=
2018.09.10 19:41:59 4: [echo42] [echodevice_SendLoginCommand] [cookielogin6]
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [activities] START
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [activities] PushToCmdQueue SendURL =https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1231231231
2018.09.10 19:41:59 4: [echo42] [echodevice_SendCommand] [activities] PushToCmdQueue SendData=
2018.09.10 19:41:59 4: [echo42] [echodevice_GetSettings] Timer INTERVAL = 60
2018.09.10 19:42:00 4: [echo42] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2018.09.10 19:42:00 4: [echo42] [echodevice_Parse] [getnotifications]
2018.09.10 19:42:00 4: [echo42] [echodevice_HandleCmdQueue] [activities] send command=https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1231231231
2018.09.10 19:42:00 4: [echo42] [echodevice_ParseAuth] [cookielogin6]
2018.09.10 19:42:00 3: [echo42] [echodevice_LostConnect] JSON error = no content / Generate new COOKIE! / set loginerror to 0
2018.09.10 19:42:00 3: [echo42] [echodevice_setState] to disconnected
2018.09.10 19:42:00 4: [echo42] [echodevice_Parse] [activities]
2018.09.10 19:42:00 4: [echo42] [echodevice_HandleCmdQueue] [getisonline] send command=https://layla.amazon.de/api/devices-v2/device?cached=true&_=1231231231
2018.09.10 19:42:00 4: [echo42] [echodevice_Parse] [getisonline]
2018.09.10 19:42:00 4: [echo42] [echodevice_HandleCmdQueue] [getdevicesettings] send command=https://layla.amazon.de/api/device-preferences
2018.09.10 19:42:01 4: [echo42] [echodevice_Parse] [getdevicesettings]
2018.09.10 19:42:01 4: [echo42] [echodevice_HandleCmdQueue] [listitems_shopping] send command=https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1231231231
2018.09.10 19:42:01 4: [echo42] [echodevice_Parse] [listitems_shopping]
2018.09.10 19:42:01 4: [echo42] [echodevice_HandleCmdQueue] [listitems_task] send command=https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1231231231
2018.09.10 19:42:01 4: [echo42] [echodevice_Parse] [listitems_task]
2018.09.10 19:42:01 4: [echo42] [echodevice_HandleCmdQueue] [wakeword] send command=https://layla.amazon.de/api/wake-word?_=1231231231
2018.09.10 19:42:01 4: [echo42] [echodevice_Parse] [wakeword]
2018.09.10 19:42:01 4: [echo42] [echodevice_HandleCmdQueue] [getdnd] send command=https://layla.amazon.de/api/dnd/device-status-list?_=1231231231
2018.09.10 19:42:01 4: [echo42] [echodevice_Parse] [getdnd]
2018.09.10 19:42:01 4: [echo42] [echodevice_HandleCmdQueue] [bluetoothstate] send command=https://layla.amazon.de/api/bluetooth?cached=true&_=1231231231
2018.09.10 19:42:02 4: [echo42] [echodevice_Parse] [bluetoothstate]
2018.09.10 19:42:02 4: [echo42] [echodevice_HandleCmdQueue] [alarmvolume] send command=https://layla.amazon.de/api/device-notification-state?_=1231231231
2018.09.10 19:42:02 4: [echo42] [echodevice_Parse] [alarmvolume]


Ich will das es wieder funktioniert!!  :'(

LG
  Marlen

michael.winkler

dein LOG sieht echt komisch aus. Wäre es möglich bei Dir per Teamviewer sich das Problem mal anzuschauen?