[37_echodevice] Amazon Echo Modul (nicht Alexa)

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

Vorheriges Thema - Nächstes Thema

awel

Hey, die neue Radiowecker-Funktion wird ja auch schon angezeigt! (Alexa, wecke mich um ... mit <Musik/TuneIn-Station>).
Es gibt dann Readings vom Typ musicalarm_xx_id etc.

Allerdings steht der Status immer auf on und dieser Wecker wird noch nicht unter notifications_delete gelistet.

Michale, Dein Tempo ist irre!  ;) Danke!

michael.winkler

Zitat von: awel am 20 Januar 2018, 10:24:47
Hey, die neue Radiowecker-Funktion wird ja auch schon angezeigt! (Alexa, wecke mich um ... mit <Musik/TuneIn-Station>).
Es gibt dann Readings vom Typ musicalarm_xx_id etc.

Allerdings steht der Status immer auf on und dieser Wecker wird noch nicht unter notifications_delete gelistet.

Michale, Dein Tempo ist irre!  ;) Danke!
Dass es Musikwecker gibt, hatte ich so nicht auf dem Radar.

Neues Modul kann, wie immer, auf Seite 1 heruntergeladen werden.


# 2018-01-20, v0.0.12
#
# v0.0.12
# - FEATURE: Support Musicalarm
#

Mathea

#137
Hi Michael,
vielen Dank für die vielen Updates!
Ich habe leider immer noch ein Problem mit dem Modul. Ich konnte bisher keine Befehle an die Echo-Devices schicken und seit dem neusten Update zeigen diese "COOKIE ERROR" an und "unauthorized" im state. Das Haupt-Device zeigt lediglich "error" im state.

Stelle ich verbose auf 5 und setze einen "set ECHO Login" Befehl für das Haupt-Device ab, kommen folgende Fehlermeldungen im Log:

2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type getnotifications
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/notifications
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/notifications
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type alarmvolume
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/device-notification-state?_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type bluetoothstate
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/bluetooth?cached=true&_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type getdnd
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/dnd/device-status-list?_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type wakeword
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/wake-word?_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type activities
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type listitems_task
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type listitems_shopping
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type getdevicesettings
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/device-preferences
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type getisonline
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_GetSettings] Timer INTERVAL = 60
2018.01.20 13:21:07 5: [ECHO] ''

2018.01.20 13:21:07 4: ECHO: connection error getnotifications https://layla.amazon.de/api/notifications: Too many redirects
2018.01.20 13:21:07 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450867
2018.01.20 13:21:08 5: [ECHO] ''

2018.01.20 13:21:08 4: ECHO: connection error getisonline https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450867: Too many redirects
2018.01.20 13:21:08 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/device-preferences
2018.01.20 13:21:08 5: [ECHO] ''

2018.01.20 13:21:08 4: ECHO: connection error getdevicesettings https://layla.amazon.de/api/device-preferences: Too many redirects
2018.01.20 13:21:08 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1516450867
2018.01.20 13:21:08 5: [ECHO] ''

2018.01.20 13:21:08 4: ECHO: connection error listitems_shopping https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1516450867: Too many redirects
2018.01.20 13:21:08 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1516450867
2018.01.20 13:21:08 5: [ECHO] ''

2018.01.20 13:21:08 4: ECHO: connection error listitems_task https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1516450867: Too many redirects
2018.01.20 13:21:08 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1516450867
2018.01.20 13:21:09 5: [ECHO] ''

2018.01.20 13:21:09 4: ECHO: connection error activities https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1516450867: Too many redirects
2018.01.20 13:21:09 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/wake-word?_=1516450867
2018.01.20 13:21:09 5: [ECHO] ''

2018.01.20 13:21:09 4: ECHO: connection error wakeword https://layla.amazon.de/api/wake-word?_=1516450867: Too many redirects
2018.01.20 13:21:09 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/dnd/device-status-list?_=1516450867
2018.01.20 13:21:09 5: [ECHO] ''

2018.01.20 13:21:09 4: ECHO: connection error getdnd https://layla.amazon.de/api/dnd/device-status-list?_=1516450867: Too many redirects
2018.01.20 13:21:09 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/bluetooth?cached=true&_=1516450867
2018.01.20 13:21:09 5: [ECHO] ''

2018.01.20 13:21:09 4: ECHO: connection error bluetoothstate https://layla.amazon.de/api/bluetooth?cached=true&_=1516450867: Too many redirects
2018.01.20 13:21:09 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/device-notification-state?_=1516450867
2018.01.20 13:21:10 5: [ECHO] ''

2018.01.20 13:21:10 4: ECHO: connection error alarmvolume https://layla.amazon.de/api/device-notification-state?_=1516450867: Too many redirects
2018.01.20 13:21:12 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:13 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:13 3: Cookie: string  = session-id=257-8674212-5341303; session-id-time=2147170873l;
2018.01.20 13:21:13 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:14 5: Cookie: session-id=257-8674212-5341303; session-id-time=2147170873l; ubid-acbde=260-3781200-6429647; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:14 GMT; 
2018.01.20 13:21:14 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450874
2018.01.20 13:21:14 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:15 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:15 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:15 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:17 3: Cookie: string  = session-id=258-0531338-1954318; session-id-time=2147170877l;
2018.01.20 13:21:17 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:17 5: Cookie: session-id=258-0531338-1954318; session-id-time=2147170877l; ubid-acbde=258-4342358-1373948; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:17 GMT; 
2018.01.20 13:21:18 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450878
2018.01.20 13:21:18 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:19 3: Cookie: string  = session-id=258-0090115-3392868; session-id-time=2147170879l;
2018.01.20 13:21:19 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:19 5: Cookie: session-id=258-0090115-3392868; session-id-time=2147170879l; ubid-acbde=258-6010789-4529165; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:19 GMT; 
2018.01.20 13:21:19 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450879
2018.01.20 13:21:19 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:20 3: Cookie: string  = session-id=257-4592544-8593132; session-id-time=2147170880l;
2018.01.20 13:21:20 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:20 5: Cookie: session-id=257-4592544-8593132; session-id-time=2147170880l; ubid-acbde=261-6833548-7238245; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:20 GMT; 
2018.01.20 13:21:20 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450880
2018.01.20 13:21:20 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:21 3: Cookie: string  = session-id=262-6055377-8928852; session-id-time=2147170881l;
2018.01.20 13:21:21 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:22 5: Cookie: session-id=262-6055377-8928852; session-id-time=2147170881l; ubid-acbde=259-0748969-3988747; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:22 GMT; 
2018.01.20 13:21:22 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450882
2018.01.20 13:21:22 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:22 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:22 3: Cookie: string  = session-id=257-6622237-1400507; session-id-time=2147170882l;
2018.01.20 13:21:22 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:23 5: Cookie: session-id=257-6622237-1400507; session-id-time=2147170882l; ubid-acbde=259-9348509-9876223; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:23 GMT; 
2018.01.20 13:21:23 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450883
2018.01.20 13:21:23 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:23 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:24 3: Cookie: string  = session-id=262-6950578-8363308; session-id-time=2147170884l;
2018.01.20 13:21:24 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:24 5: Cookie: session-id=262-6950578-8363308; session-id-time=2147170884l; ubid-acbde=258-3177910-2568523; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:24 GMT; 
2018.01.20 13:21:24 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450884
2018.01.20 13:21:24 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:24 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:25 3: Cookie: string  = session-id=257-4865256-3906869; session-id-time=2147170885l;
2018.01.20 13:21:25 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:25 5: Cookie: session-id=257-4865256-3906869; session-id-time=2147170885l; ubid-acbde=258-0182127-8296833; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:25 GMT; 
2018.01.20 13:21:25 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450885
2018.01.20 13:21:25 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:25 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:26 3: Cookie: string  = session-id=258-0162528-7252711; session-id-time=2147170886l;
2018.01.20 13:21:26 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:27 5: Cookie: session-id=258-0162528-7252711; session-id-time=2147170886l; ubid-acbde=258-6005642-6393713; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:27 GMT; 
2018.01.20 13:21:27 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450887
2018.01.20 13:21:27 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:27 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:27 3: Cookie: string  = session-id=258-5257710-4514229; session-id-time=2147170887l;
2018.01.20 13:21:27 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:28 5: Cookie: session-id=258-5257710-4514229; session-id-time=2147170887l; ubid-acbde=260-7597138-7406311; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:28 GMT; 
2018.01.20 13:21:28 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450888
2018.01.20 13:21:28 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:28 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:28 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:28 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:30 3: Cookie: string  = session-id=258-6294969-7746902; session-id-time=2147170890l;
2018.01.20 13:21:30 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:31 5: Cookie: session-id=258-6294969-7746902; session-id-time=2147170890l; ubid-acbde=260-3503276-7241944; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:31 GMT; 
2018.01.20 13:21:31 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450891
2018.01.20 13:21:31 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:31 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:31 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:31 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:31 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:31 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:31 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:31 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:31 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:31 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:31 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:32 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:32 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:32 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:32 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:32 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:32 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:32 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:32 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'


Ich habe den Session-Token mal lieber rausgelöscht. Kann man daraus erkennen wo das Problem liegt?

Danke!
Martin

Thyraz

Habe mit dem neusten Modul auch das Problem, dass sich das Modul nicht einloggt und auf error geht.
Fehler im Log sehen aus wie bei dir.

Nach Rückspielen der Version von gestern funktioniert alles wieder wie gewohnt.

Gibts weitere Infos die man zur Fehlersuche beisteuern kann?
Fhem und MariaDB auf NUC6i5SYH in Proxmox Container (Ubuntu)
Zwave, Conbee II, Hue, Harmony, Solo4k, LaMetric, Echo, Sonos, Roborock S5, Nuki, Prusa Mini, Doorbird, ...

michael.winkler

Zitat von: Mathea am 20 Januar 2018, 13:43:59
Hi Michael,
vielen Dank für die vielen Updates!
Ich habe leider immer noch ein Problem mit dem Modul. Ich konnte bisher keine Befehle an die Echo-Devices schicken und seit dem neusten Update zeigen diese "COOKIE ERROR" an und "unauthorized" im state. Das Haupt-Device zeigt lediglich "error" im state.

Stelle ich verbose auf 5 und setze einen "set ECHO Login" Befehl für das Haupt-Device ab, kommen folgende Fehlermeldungen im Log:

2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type getnotifications
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/notifications
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/notifications
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type alarmvolume
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/device-notification-state?_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type bluetoothstate
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/bluetooth?cached=true&_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type getdnd
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/dnd/device-status-list?_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type wakeword
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/wake-word?_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type activities
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type listitems_task
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type listitems_shopping
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type getdevicesettings
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/device-preferences
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - type getisonline
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450867
2018.01.20 13:21:07 4: [ECHO] [echodevice_SendCommand]    - PushToCmdQueue
2018.01.20 13:21:07 4: [ECHO] [echodevice_GetSettings] Timer INTERVAL = 60
2018.01.20 13:21:07 5: [ECHO] ''

2018.01.20 13:21:07 4: ECHO: connection error getnotifications https://layla.amazon.de/api/notifications: Too many redirects
2018.01.20 13:21:07 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450867
2018.01.20 13:21:08 5: [ECHO] ''

2018.01.20 13:21:08 4: ECHO: connection error getisonline https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450867: Too many redirects
2018.01.20 13:21:08 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/device-preferences
2018.01.20 13:21:08 5: [ECHO] ''

2018.01.20 13:21:08 4: ECHO: connection error getdevicesettings https://layla.amazon.de/api/device-preferences: Too many redirects
2018.01.20 13:21:08 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1516450867
2018.01.20 13:21:08 5: [ECHO] ''

2018.01.20 13:21:08 4: ECHO: connection error listitems_shopping https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1516450867: Too many redirects
2018.01.20 13:21:08 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1516450867
2018.01.20 13:21:08 5: [ECHO] ''

2018.01.20 13:21:08 4: ECHO: connection error listitems_task https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1516450867: Too many redirects
2018.01.20 13:21:08 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1516450867
2018.01.20 13:21:09 5: [ECHO] ''

2018.01.20 13:21:09 4: ECHO: connection error activities https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1516450867: Too many redirects
2018.01.20 13:21:09 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/wake-word?_=1516450867
2018.01.20 13:21:09 5: [ECHO] ''

2018.01.20 13:21:09 4: ECHO: connection error wakeword https://layla.amazon.de/api/wake-word?_=1516450867: Too many redirects
2018.01.20 13:21:09 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/dnd/device-status-list?_=1516450867
2018.01.20 13:21:09 5: [ECHO] ''

2018.01.20 13:21:09 4: ECHO: connection error getdnd https://layla.amazon.de/api/dnd/device-status-list?_=1516450867: Too many redirects
2018.01.20 13:21:09 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/bluetooth?cached=true&_=1516450867
2018.01.20 13:21:09 5: [ECHO] ''

2018.01.20 13:21:09 4: ECHO: connection error bluetoothstate https://layla.amazon.de/api/bluetooth?cached=true&_=1516450867: Too many redirects
2018.01.20 13:21:09 4: [ECHO] [echodevice_HandleCmdQueue] - send command https://layla.amazon.de/api/device-notification-state?_=1516450867
2018.01.20 13:21:10 5: [ECHO] ''

2018.01.20 13:21:10 4: ECHO: connection error alarmvolume https://layla.amazon.de/api/device-notification-state?_=1516450867: Too many redirects
2018.01.20 13:21:12 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:13 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:13 3: Cookie: string  = session-id=257-8674212-5341303; session-id-time=2147170873l;
2018.01.20 13:21:13 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:14 5: Cookie: session-id=257-8674212-5341303; session-id-time=2147170873l; ubid-acbde=260-3781200-6429647; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:14 GMT; 
2018.01.20 13:21:14 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450874
2018.01.20 13:21:14 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:14 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:15 4: Getting auth URL https://layla.amazon.de/api/bootstrap
2018.01.20 13:21:15 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:15 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:17 3: Cookie: string  = session-id=258-0531338-1954318; session-id-time=2147170877l;
2018.01.20 13:21:17 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:17 5: Cookie: session-id=258-0531338-1954318; session-id-time=2147170877l; ubid-acbde=258-4342358-1373948; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:17 GMT; 
2018.01.20 13:21:18 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450878
2018.01.20 13:21:18 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:19 3: Cookie: string  = session-id=258-0090115-3392868; session-id-time=2147170879l;
2018.01.20 13:21:19 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:19 5: Cookie: session-id=258-0090115-3392868; session-id-time=2147170879l; ubid-acbde=258-6010789-4529165; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:19 GMT; 
2018.01.20 13:21:19 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450879
2018.01.20 13:21:19 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:20 3: Cookie: string  = session-id=257-4592544-8593132; session-id-time=2147170880l;
2018.01.20 13:21:20 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:20 5: Cookie: session-id=257-4592544-8593132; session-id-time=2147170880l; ubid-acbde=261-6833548-7238245; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:20 GMT; 
2018.01.20 13:21:20 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450880
2018.01.20 13:21:20 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:21 3: Cookie: string  = session-id=262-6055377-8928852; session-id-time=2147170881l;
2018.01.20 13:21:21 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:22 5: Cookie: session-id=262-6055377-8928852; session-id-time=2147170881l; ubid-acbde=259-0748969-3988747; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:22 GMT; 
2018.01.20 13:21:22 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450882
2018.01.20 13:21:22 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:22 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:22 3: Cookie: string  = session-id=257-6622237-1400507; session-id-time=2147170882l;
2018.01.20 13:21:22 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:23 5: Cookie: session-id=257-6622237-1400507; session-id-time=2147170882l; ubid-acbde=259-9348509-9876223; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:23 GMT; 
2018.01.20 13:21:23 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450883
2018.01.20 13:21:23 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:23 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:24 3: Cookie: string  = session-id=262-6950578-8363308; session-id-time=2147170884l;
2018.01.20 13:21:24 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:24 5: Cookie: session-id=262-6950578-8363308; session-id-time=2147170884l; ubid-acbde=258-3177910-2568523; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:24 GMT; 
2018.01.20 13:21:24 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450884
2018.01.20 13:21:24 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:24 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:25 3: Cookie: string  = session-id=257-4865256-3906869; session-id-time=2147170885l;
2018.01.20 13:21:25 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:25 5: Cookie: session-id=257-4865256-3906869; session-id-time=2147170885l; ubid-acbde=258-0182127-8296833; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:25 GMT; 
2018.01.20 13:21:25 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450885
2018.01.20 13:21:25 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:25 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:26 3: Cookie: string  = session-id=258-0162528-7252711; session-id-time=2147170886l;
2018.01.20 13:21:26 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:27 5: Cookie: session-id=258-0162528-7252711; session-id-time=2147170886l; ubid-acbde=258-6005642-6393713; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:27 GMT; 
2018.01.20 13:21:27 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450887
2018.01.20 13:21:27 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:27 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:27 3: Cookie: string  = session-id=258-5257710-4514229; session-id-time=2147170887l;
2018.01.20 13:21:27 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:28 5: Cookie: session-id=258-5257710-4514229; session-id-time=2147170887l; ubid-acbde=260-7597138-7406311; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:28 GMT; 
2018.01.20 13:21:28 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450888
2018.01.20 13:21:28 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:28 2: [echodevice_ParseAuth] ECHO: connection error read from https://www.amazon.de:443 timed out
2018.01.20 13:21:28 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:28 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:30 3: Cookie: string  = session-id=258-6294969-7746902; session-id-time=2147170890l;
2018.01.20 13:21:30 3: Cookie: location= https://www.amazon.de/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Flayla.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&
2018.01.20 13:21:31 5: Cookie: session-id=258-6294969-7746902; session-id-time=2147170890l; ubid-acbde=260-3503276-7241944; session-token="XXXXXX"; Version=1; Domain=.amazon.de; Max-Age=630720000; Expires=Fri, 15-Jan-2038 12:21:31 GMT; 
2018.01.20 13:21:31 4: Getting devices URL nonblocking https://layla.amazon.de/api/devices-v2/device?cached=true&_=1516450891
2018.01.20 13:21:31 4: Getting accounts URL https://alexa-comms-mobile-service.amazon.com/accounts
2018.01.20 13:21:31 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:31 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:31 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:31 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:31 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:31 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:31 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:31 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:31 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:31 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:32 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:32 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:32 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:32 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:32 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:32 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'

2018.01.20 13:21:32 5: [ECHO] 'Unknown auth failure'

2018.01.20 13:21:32 1: ECHO: json evaluation error malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Unknown auth failure") at ./FHEM/37_echodevice.pm line 1184.

'Unknown auth failure'


Ich habe den Session-Token mal lieber rausgelöscht. Kann man daraus erkennen wo das Problem liegt?

Danke!
Martin
Leider scheint diese Problem öfters zu kommen. Ich hatte das auf meinem Testsystem, nach dem ich etwas für einen anderen Benutzer nachgestellt hatte, auch. Einzige abhilfe schafte bei mir eine komplette reinstallation!

Der zweite Workaround der hier zum Erfolg führe war das Cookie auszulesen und über das Attribut einzufügen.

Anleitung findest du hier:
https://mwinkler.jimdo.com/smarthome/eigene-module/echodevice/#Cookie_ermitteln

Gib mir bitte bescheid ob es funktioniert.

michael.winkler

Zitat von: Thyraz am 20 Januar 2018, 13:49:36
Habe mit dem neusten Modul auch das Problem, dass sich das Modul nicht einloggt und auf error geht.
Fehler im Log sehen aus wie bei dir.

Nach Rückspielen der Version von gestern funktioniert alles wieder wie gewohnt.

Gibts weitere Infos die man zur Fehlersuche beisteuern kann?
hmmm, ok. Komisch.


Chris8888

FHEM 6.0 auf einem PI4 mit div. Homematic-Komponenten, Alexa, Tablet-UI und Homebridge...und läuft einfach. Erweitert mit CCU3 und Homematic-IP...und läuft immer noch.

pc1246

Hallo Michael
Mit der Eingabe des Cookies funktioniert es sofort! Die Frage bleibt jetzt, muss ich das regelmaessig aktualisieren?
Trotzdem schon mal danke!
Gruss Christoph
HP T610
Onkyo_AVR;3 Enigma2; SB_Server ; SB_Player; HM-USB mit 15 HM-CC-RT-DN, 3 HM_WDS10_TH_O, 6 HM-Sec-SCo, 4 HM-Sec-MDIR-2, 1 HM-Sen-MDIR-O-2, 8 Ferion 5000 OW ; PhilipsTV; 4 harmony hub; Jeelink mit 9 PCA301; Somfy; S7-300; 3 LGW; HUE; HM-IP auf Charly

michael.winkler

Zitat von: pc1246 am 20 Januar 2018, 14:57:19
Hallo Michael
Mit der Eingabe des Cookies funktioniert es sofort! Die Frage bleibt jetzt, muss ich das regelmaessig aktualisieren?
Trotzdem schon mal danke!
Gruss Christoph
Wenn das Cookie abläuft bzw. wenn Du Dich an dem Rechner, wo du es erzeugt hast, die Alxea App wieder abmeldest musst du es wieder aktualisieren. Ich würde das Cookie an einem Rechner erzeugen mit dem du in der Regel die Alexa Webapp nicht erzeugst.

Was auch helfen würde, wäre eventuell eine komplette Neuinstallation deines FHEM Servers. Meine Vermutung ist dass Amazon deinen Rechner als nicht mehr vertrauenswürdig Einstuft und Dich dann per Webseite aufforder eine sogenannten Captcha Code einzugeben. Das funktioniert natürlich nicht mit dem Echo Modul. Du kannst ja Testweise mal versuchen auf einem anderen FHEM Server das Echo Modul einzurichten.

@ALL
Weiß jemand zufällig Anhang welcher Informationen Amazon hier die PC-Zuordnung macht?

TomLee

Hallo,

das neue Modul hab ich jetzt mal auf eine entfernte Instanz gepackt auf die ich Zugriff habe und auch schon das alte Modul lief. Für Funktionstests nehm ich da immer die App Reverb. Hier hab ich jetzt festgestellt das die gemachten Sprachansagen über Reverb nicht mehr im Reading voice landen. Das gleiche auch auf meiner Installation. Auch ein extra anlegen eines reverb-echodevice ändert nichts, es kommt hier kein voice-Reading rein.. Das ging die ganze Zeit, hab das mehrfach genutzt. Lässt sich das wieder einrichten ?

awel

Zitat von: TomLee am 20 Januar 2018, 16:02:38
... es kommt hier kein voice-Reading rein.

Das kann ich so pauschal nicht bestätigen; bei meinen Dots erscheinen nach wie vor die richtigen voice-Readings. Liegt es vielleicht an Reverb?

TomLee

Sprachansagen über die Echo's kommen rein, aber die über Reverb nicht mehr. Wie gesagt, mit dem alten Modul (Markus.M) kamen auch die Reverb-Sprachansagen rein.

michael.winkler

Hi,

ich bin gerade dabei die DeviceTypen in Klartext zu übersetzen. Folgende konnte ich schon zuordnen

AB72C64C86AW2  = "Echo Plus
A3S5BH2HU6VAYF =Echo Dot
A1NL4BVLQ4L3N3 = Echo Show
AILBSA2LNTOYL = Reverb

Laut https://fhem.de/stats/statistics.html gibt es noch weitere.

A2M35JJZWCQOMZ
A3C9PE6TNYLTCH
A7WXQPH584YP   6

Leider weiß ich hier nicht welche Amazon Geräte sich dahinter verbergen. Wäre super wenn hier noch jemand weitere Infos liefern kann. Dann würde ich das in das nächste Update mit einbauen.

Gruß
Michael

TomLee

#149
A15ERDAKK5HQQG=Sonos(Play 3)