[37_echodevice] Amazon Echo Modul (nicht Alexa)

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

Vorheriges Thema - Nächstes Thema

misux

#3975
Hat sich erledigt... Hab mal das Echo Modul geupdatet... ::)


HIer ein List... Ich würde es gerne schnell mal eben selbst einfügen, keine Ahnung aber wo...


IcedEarth

Guten Tag zusammen,
ich habe seit einiger Zeit das Problem, dass dein Modul 6000 Sekunden gut funktioniert. Wenn dann der Token Refresht werden soll, dann entstehen da Fehler und er bricht ab. Ich hab leider gar keine Ahnung woran das liegen könnte. Kannst Du vielleicht mal einenn Blick in den Log werfen?
Es scheint so, als ob das ganze Problem hier startet:
[echodevice_Parse] [getdevicesettings] connection error getdevicesettings https://layla.amazon.de/api/device-preferences: Too many redirects
Würde mich über Deine Hilfe freuen!

2020.04.25 22:14:55 3: [EchoDevices] [echodevice_LoginStart] Alter COOKIE=6035/6000 Refresh Cookie!
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendURL =https://layla.amazon.de/api/notifications
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_HandleCmdQueue] [getnotifications] send command=https://layla.amazon.de/api/notifications Data=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-notification-state?_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendURL =https://layla.amazon.de/api/bluetooth?cached=true&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdnd] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendURL =https://layla.amazon.de/api/dnd/device-status-list?_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [wakeword] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendURL =https://layla.amazon.de/api/wake-word?_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendData=TASK
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendData=SHOPPING_ITEM
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-preferences
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getisonline] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendURL =https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] PushToCmdQueue SendURL =https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [activities] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [activities] PushToCmdQueue SendURL =https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [activities] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] PushToCmdQueue SendURL =https://layla.amazon.de/api/behaviors/automations?limit=100
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] PushToCmdQueue SendURL =https://layla.amazon.de/api/traffic/settings
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_GetSettings] Timer INTERVAL = 60
2020.04.25 22:14:57 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:14:57 4: [EchoDevices] [echodevice_ParseAuth] JSON OK = {authentication}{authenticated}
2020.04.25 22:14:57 4: [EchoDevices] [echodevice_NPMWaitForCookie] [NPM Login Refresh Sat Apr 25 22:14:55 2020] wait for refreshtoken exist 361refresh-cookie.js = true
2020.04.25 22:14:57 4: [EchoDevices] [echodevice_Parse] [getnotifications]
2020.04.25 22:14:57 4: [EchoDevices] [echodevice_HandleCmdQueue] [getsettingstraffic] send command=https://layla.amazon.de/api/traffic/settings Data=
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_NPMWaitForCookie] [NPM Login Refresh Sat Apr 25 22:14:55 2020] wait for refreshtoken exist 361refresh-cookie.js = true
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_Parse] [getsettingstraffic]
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [getbehavior] send command=https://layla.amazon.de/api/behaviors/automations?limit=100 Data=
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_Parse] [getbehavior]
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [activities] send command=https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1587845696 Data=
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_Parse] [activities]
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [devicesstate] send command=https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845696 Data=
2020.04.25 22:14:59 4: [EchoDevices] [echodevice_Parse] [devicesstate]
2020.04.25 22:14:59 4: [EchoDevices] [echodevice_HandleCmdQueue] [getisonline] send command=https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845696 Data=
2020.04.25 22:14:59 3: [EchoDevices] [echodevice_NPMWaitForCookie] [NPM Login Refresh Sat Apr 25 22:14:55 2020] write new refreshtoken
2020.04.25 22:14:59 4: [EchoDevices] [echodevice_Parse] [getisonline]
2020.04.25 22:15:00 4: [EchoDevices] [echodevice_HandleCmdQueue] [getdevicesettings] send command=https://layla.amazon.de/api/device-preferences Data=
2020.04.25 22:15:00 4: [EchoDevices] [echodevice_Parse] [getdevicesettings]
2020.04.25 22:15:00 4: [EchoDevices] [echodevice_Parse] [getdevicesettings] connection error getdevicesettings https://layla.amazon.de/api/device-preferences: Too many redirects
2020.04.25 22:15:00 4: [EchoDevices] [echodevice_HandleCmdQueue] [listitems_shopping] send command=https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1587845696 Data=
2020.04.25 22:15:10 4: [EchoDevices] [echodevice_Parse] [listitems_shopping]
2020.04.25 22:15:10 4: [EchoDevices] [echodevice_Parse] [listitems_shopping] connection error listitems_shopping read from https://layla.amazon.de:443 timed out
2020.04.25 22:15:10 4: [EchoDevices] [echodevice_HandleCmdQueue] [listitems_task] send command=https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1587845696 Data=
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [listitems_task]
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [listitems_task] connection error listitems_task read from https://layla.amazon.de:443 timed out
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_HandleCmdQueue] [wakeword] send command=https://layla.amazon.de/api/wake-word?_=1587845696 Data=
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [wakeword]
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [wakeword] connection error wakeword https://layla.amazon.de/api/wake-word?_=1587845696: Too many redirects
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_HandleCmdQueue] [getdnd] send command=https://layla.amazon.de/api/dnd/device-status-list?_=1587845696 Data=
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [getdnd]
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [getdnd] connection error getdnd https://layla.amazon.de/api/dnd/device-status-list?_=1587845696: Too many redirects
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_HandleCmdQueue] [bluetoothstate] send command=https://layla.amazon.de/api/bluetooth?cached=true&_=1587845696 Data=
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [bluetoothstate]
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [bluetoothstate] connection error bluetoothstate https://layla.amazon.de/api/bluetooth?cached=true&_=1587845696: Too many redirects
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_HandleCmdQueue] [alarmvolume] send command=https://layla.amazon.de/api/device-notification-state?_=1587845696 Data=
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [alarmvolume]
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [alarmvolume] connection error alarmvolume https://layla.amazon.de/api/device-notification-state?_=1587845696: Too many redirects
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendURL =https://layla.amazon.de/api/notifications
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [getnotifications] send command=https://layla.amazon.de/api/notifications Data=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-notification-state?_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendURL =https://layla.amazon.de/api/bluetooth?cached=true&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdnd] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendURL =https://layla.amazon.de/api/dnd/device-status-list?_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [wakeword] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendURL =https://layla.amazon.de/api/wake-word?_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendData=TASK
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendData=SHOPPING_ITEM
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-preferences
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getisonline] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendURL =https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] PushToCmdQueue SendURL =https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [activities] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [activities] PushToCmdQueue SendURL =https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [activities] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] PushToCmdQueue SendURL =https://layla.amazon.de/api/behaviors/automations?limit=100
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] PushToCmdQueue SendURL =https://layla.amazon.de/api/traffic/settings
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_GetSettings] Timer INTERVAL = 60
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_Parse] [getnotifications]
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_Parse] [getnotifications] connection error getnotifications https://layla.amazon.de/api/notifications: Too many redirects
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [getsettingstraffic] send command=https://layla.amazon.de/api/traffic/settings Data=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_Parse] [getsettingstraffic]
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_Parse] [getsettingstraffic] connection error getsettingstraffic https://layla.amazon.de/api/traffic/settings: Too many redirects
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [getbehavior] send command=https://layla.amazon.de/api/behaviors/automations?limit=100 Data=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_Parse] [getbehavior]
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:15:58 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / set loginerror to 1
2020.04.25 22:15:58 3: [EchoDevices] [echodevice_setState] to connected but loginerror
2020.04.25 22:17:01 3: [EchoDevices] [echodevice_LoginStart] connected but loginerror
2020.04.25 22:17:01 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:17:01 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:17:01 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:17:01 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:17:01 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / set loginerror to 2
2020.04.25 22:17:44 2: Can't find string terminator '"' anywhere before EOF at (eval 400396) line 1.

2020.04.25 22:18:04 3: [EchoDevices] [echodevice_LoginStart] connected but loginerror
2020.04.25 22:18:04 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:18:04 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:18:04 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:18:04 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:18:04 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / set loginerror to 3
2020.04.25 22:19:07 3: [EchoDevices] [echodevice_LoginStart] connected but loginerror
2020.04.25 22:19:07 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:19:07 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:19:08 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:19:08 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:19:08 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / set loginerror to 4
2020.04.25 22:20:10 3: [EchoDevices] [echodevice_LoginStart] connected but loginerror
2020.04.25 22:20:10 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:20:10 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:20:11 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:20:11 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:20:11 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / set loginerror to 5
2020.04.25 22:20:37 2: Can't find string terminator '"' anywhere before EOF at (eval 400604) line 1.

2020.04.25 22:21:13 3: [EchoDevices] [echodevice_LoginStart] connected but loginerror
2020.04.25 22:21:13 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:21:13 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:21:13 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:21:13 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:21:13 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / Generate new COOKIE! / set loginerror to 0
2020.04.25 22:21:13 3: [EchoDevices] [echodevice_setState] to disconnected
2020.04.25 22:22:16 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.

michael.winkler

Zitat von: IcedEarth am 26 April 2020, 08:59:17
Guten Tag zusammen,
ich habe seit einiger Zeit das Problem, dass dein Modul 6000 Sekunden gut funktioniert. Wenn dann der Token Refresht werden soll, dann entstehen da Fehler und er bricht ab. Ich hab leider gar keine Ahnung woran das liegen könnte. Kannst Du vielleicht mal einenn Blick in den Log werfen?
Es scheint so, als ob das ganze Problem hier startet:
[echodevice_Parse] [getdevicesettings] connection error getdevicesettings https://layla.amazon.de/api/device-preferences: Too many redirects
Würde mich über Deine Hilfe freuen!

2020.04.25 22:14:55 3: [EchoDevices] [echodevice_LoginStart] Alter COOKIE=6035/6000 Refresh Cookie!
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendURL =https://layla.amazon.de/api/notifications
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_HandleCmdQueue] [getnotifications] send command=https://layla.amazon.de/api/notifications Data=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-notification-state?_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendURL =https://layla.amazon.de/api/bluetooth?cached=true&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdnd] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendURL =https://layla.amazon.de/api/dnd/device-status-list?_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [wakeword] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendURL =https://layla.amazon.de/api/wake-word?_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendData=TASK
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendData=SHOPPING_ITEM
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-preferences
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getisonline] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendURL =https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] PushToCmdQueue SendURL =https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [activities] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [activities] PushToCmdQueue SendURL =https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1587845696
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [activities] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] PushToCmdQueue SendURL =https://layla.amazon.de/api/behaviors/automations?limit=100
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] START
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] PushToCmdQueue SendURL =https://layla.amazon.de/api/traffic/settings
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] PushToCmdQueue SendData=
2020.04.25 22:14:56 4: [EchoDevices] [echodevice_GetSettings] Timer INTERVAL = 60
2020.04.25 22:14:57 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:14:57 4: [EchoDevices] [echodevice_ParseAuth] JSON OK = {authentication}{authenticated}
2020.04.25 22:14:57 4: [EchoDevices] [echodevice_NPMWaitForCookie] [NPM Login Refresh Sat Apr 25 22:14:55 2020] wait for refreshtoken exist 361refresh-cookie.js = true
2020.04.25 22:14:57 4: [EchoDevices] [echodevice_Parse] [getnotifications]
2020.04.25 22:14:57 4: [EchoDevices] [echodevice_HandleCmdQueue] [getsettingstraffic] send command=https://layla.amazon.de/api/traffic/settings Data=
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_NPMWaitForCookie] [NPM Login Refresh Sat Apr 25 22:14:55 2020] wait for refreshtoken exist 361refresh-cookie.js = true
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_Parse] [getsettingstraffic]
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [getbehavior] send command=https://layla.amazon.de/api/behaviors/automations?limit=100 Data=
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_Parse] [getbehavior]
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [activities] send command=https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1587845696 Data=
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_Parse] [activities]
2020.04.25 22:14:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [devicesstate] send command=https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845696 Data=
2020.04.25 22:14:59 4: [EchoDevices] [echodevice_Parse] [devicesstate]
2020.04.25 22:14:59 4: [EchoDevices] [echodevice_HandleCmdQueue] [getisonline] send command=https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845696 Data=
2020.04.25 22:14:59 3: [EchoDevices] [echodevice_NPMWaitForCookie] [NPM Login Refresh Sat Apr 25 22:14:55 2020] write new refreshtoken
2020.04.25 22:14:59 4: [EchoDevices] [echodevice_Parse] [getisonline]
2020.04.25 22:15:00 4: [EchoDevices] [echodevice_HandleCmdQueue] [getdevicesettings] send command=https://layla.amazon.de/api/device-preferences Data=
2020.04.25 22:15:00 4: [EchoDevices] [echodevice_Parse] [getdevicesettings]
2020.04.25 22:15:00 4: [EchoDevices] [echodevice_Parse] [getdevicesettings] connection error getdevicesettings https://layla.amazon.de/api/device-preferences: Too many redirects
2020.04.25 22:15:00 4: [EchoDevices] [echodevice_HandleCmdQueue] [listitems_shopping] send command=https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1587845696 Data=
2020.04.25 22:15:10 4: [EchoDevices] [echodevice_Parse] [listitems_shopping]
2020.04.25 22:15:10 4: [EchoDevices] [echodevice_Parse] [listitems_shopping] connection error listitems_shopping read from https://layla.amazon.de:443 timed out
2020.04.25 22:15:10 4: [EchoDevices] [echodevice_HandleCmdQueue] [listitems_task] send command=https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1587845696 Data=
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [listitems_task]
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [listitems_task] connection error listitems_task read from https://layla.amazon.de:443 timed out
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_HandleCmdQueue] [wakeword] send command=https://layla.amazon.de/api/wake-word?_=1587845696 Data=
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [wakeword]
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [wakeword] connection error wakeword https://layla.amazon.de/api/wake-word?_=1587845696: Too many redirects
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_HandleCmdQueue] [getdnd] send command=https://layla.amazon.de/api/dnd/device-status-list?_=1587845696 Data=
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [getdnd]
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [getdnd] connection error getdnd https://layla.amazon.de/api/dnd/device-status-list?_=1587845696: Too many redirects
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_HandleCmdQueue] [bluetoothstate] send command=https://layla.amazon.de/api/bluetooth?cached=true&_=1587845696 Data=
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [bluetoothstate]
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [bluetoothstate] connection error bluetoothstate https://layla.amazon.de/api/bluetooth?cached=true&_=1587845696: Too many redirects
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_HandleCmdQueue] [alarmvolume] send command=https://layla.amazon.de/api/device-notification-state?_=1587845696 Data=
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [alarmvolume]
2020.04.25 22:15:20 4: [EchoDevices] [echodevice_Parse] [alarmvolume] connection error alarmvolume https://layla.amazon.de/api/device-notification-state?_=1587845696: Too many redirects
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendURL =https://layla.amazon.de/api/notifications
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [getnotifications] send command=https://layla.amazon.de/api/notifications Data=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-notification-state?_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendURL =https://layla.amazon.de/api/bluetooth?cached=true&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdnd] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendURL =https://layla.amazon.de/api/dnd/device-status-list?_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [wakeword] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendURL =https://layla.amazon.de/api/wake-word?_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendData=TASK
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendData=SHOPPING_ITEM
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-preferences
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getisonline] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendURL =https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] PushToCmdQueue SendURL =https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [activities] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [activities] PushToCmdQueue SendURL =https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1587845758
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [activities] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] PushToCmdQueue SendURL =https://layla.amazon.de/api/behaviors/automations?limit=100
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] START
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] PushToCmdQueue SendURL =https://layla.amazon.de/api/traffic/settings
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] PushToCmdQueue SendData=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_GetSettings] Timer INTERVAL = 60
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_Parse] [getnotifications]
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_Parse] [getnotifications] connection error getnotifications https://layla.amazon.de/api/notifications: Too many redirects
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [getsettingstraffic] send command=https://layla.amazon.de/api/traffic/settings Data=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_Parse] [getsettingstraffic]
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_Parse] [getsettingstraffic] connection error getsettingstraffic https://layla.amazon.de/api/traffic/settings: Too many redirects
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_HandleCmdQueue] [getbehavior] send command=https://layla.amazon.de/api/behaviors/automations?limit=100 Data=
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_Parse] [getbehavior]
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:15:58 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:15:58 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / set loginerror to 1
2020.04.25 22:15:58 3: [EchoDevices] [echodevice_setState] to connected but loginerror
2020.04.25 22:17:01 3: [EchoDevices] [echodevice_LoginStart] connected but loginerror
2020.04.25 22:17:01 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:17:01 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:17:01 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:17:01 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:17:01 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / set loginerror to 2
2020.04.25 22:17:44 2: Can't find string terminator '"' anywhere before EOF at (eval 400396) line 1.

2020.04.25 22:18:04 3: [EchoDevices] [echodevice_LoginStart] connected but loginerror
2020.04.25 22:18:04 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:18:04 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:18:04 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:18:04 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:18:04 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / set loginerror to 3
2020.04.25 22:19:07 3: [EchoDevices] [echodevice_LoginStart] connected but loginerror
2020.04.25 22:19:07 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:19:07 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:19:08 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:19:08 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:19:08 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / set loginerror to 4
2020.04.25 22:20:10 3: [EchoDevices] [echodevice_LoginStart] connected but loginerror
2020.04.25 22:20:10 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:20:10 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:20:11 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:20:11 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:20:11 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / set loginerror to 5
2020.04.25 22:20:37 2: Can't find string terminator '"' anywhere before EOF at (eval 400604) line 1.

2020.04.25 22:21:13 3: [EchoDevices] [echodevice_LoginStart] connected but loginerror
2020.04.25 22:21:13 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.25 22:21:13 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.25 22:21:13 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.25 22:21:13 4: [EchoDevices] [echodevice_LostConnect] clear CMD_QUEUE
2020.04.25 22:21:13 3: [EchoDevices] [echodevice_LostConnect] JSON error = no content / Generate new COOKIE! / set loginerror to 0
2020.04.25 22:21:13 3: [EchoDevices] [echodevice_setState] to disconnected
2020.04.25 22:22:16 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.

Schicke mal ein get Status vom Account Device


Gesendet von iPad mit Tapatalk

neyzen

Hallo,

ich möchte den speak_sslm nutzen.
Folgendes funktioniert:
set ECHO_G2A0P3088333058E speak_ssml <speak><voice name='Filiz'><lang xml:lang="tr-TR">Gültencim, çamaşırların yıkanmaya başladı.</lang>.</voice>.</speak>

Jetzt möchte ich das aber in einem doif einsetzen.
Folgendes habe ich versucht, das funktioniert aber nicht. Nur ein Teil Ausschnitt aus meinem DOIF

([Waschmaschine:state] eq "Calisiyor")  { fhem "set ECHO_G2A0P3088333058E speak_ssml <speak><voice name='Filiz'><lang xml:lang="tr-TR">Gültencim, çamaşırların yıkanmaya başladı.</lang>.</voice>.</speak>"}

balli1187

Probier mal einfache Anführungszeichen statt doppelter. Wahrscheinlich werden ein paar Zeichen als Perl-steuerzeichen interpretiert. Alternativ können diese dann auch escaped werden.


Gesendet von iPhone mit Tapatalk
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

volschin

Intel NUC+Ubuntu 22.04+Docker+FHEM6
HomeMatic: HM-MOD-RPI-PCB+HM-USB-CFG2+hmland+diverse, HUE: Hue-Bridge, RaspBee+deCONZ+diverse
Amzn Dash-Buttons, Siro Rollos
4xRPi, 4xCO20, OWL+USB, HarmonyHub, FRITZ!Box 7590, Echo Dots+Show8, Logi Circle 2, HomeBridge
TIG Stack (Telegraf, InfluxDB, Grafana)

neyzen

Zitat von: balli1187 am 26 April 2020, 15:29:30
Probier mal einfache Anführungszeichen statt doppelter. Wahrscheinlich werden ein paar Zeichen als Perl-steuerzeichen interpretiert. Alternativ können diese dann auch escaped werden.


Gesendet von iPhone mit Tapatalk

funktioniert leider auch nicht

neyzen

Zitat von: volschin am 26 April 2020, 16:12:05
Die ,," um TR-tr sind das Problem.

Wie kann ich das beheben?
als normaler set befehl funktioniert das aber

neyzen

So funktioniert es, danke

([Waschmaschine:state] eq "Calisiyor")  { fhem "set ECHO_G2A0P3088333058E speak_ssml <speak><voice name='Filiz'><lang xml:lang='tr-TR'>Gültencim, çamaşırların yıkanmaya başladı.</lang>.</voice>.</speak>"}

neyzen

Hallo,

ich hab neu ganze Reihe von bluetooth disconnected, so wie hier ein Teil. Wie kann ich die auf einem Schlag löschen?

bluetooth_108369668697
disconnected
2019-03-10 21:49:29
bluetooth_1123265356376734
disconnected
2019-02-14 23:45:25
bluetooth_1124414019017358
disconnected
2019-03-12 14:26:04
bluetooth_1125012513387008
disconnected
2019-03-12 14:50:05
bluetooth_1126457746064014
disconnected
2019-03-12 16:16:09

neyzen

Zitat von: neyzen am 26 April 2020, 16:44:37
Hallo,

ich hab neu ganze Reihe von bluetooth disconnected, so wie hier ein Teil. Wie kann ich die auf einem Schlag löschen?

bluetooth_108369668697
disconnected
2019-03-10 21:49:29
bluetooth_1123265356376734
disconnected
2019-02-14 23:45:25
bluetooth_1124414019017358
disconnected
2019-03-12 14:26:04
bluetooth_1125012513387008
disconnected
2019-03-12 14:50:05
bluetooth_1126457746064014
disconnected
2019-03-12 16:16:09


Lösung

deletereading ECHO_G2A0P3088333058E bluetooth_\d+

IcedEarth

#3986
Hallo Michael,
hier der get status, wenn es nicht läuft:
Modul Infos:

Beschreibung    Bereich    Wert
STATE    Reading disconnected
Version    Reading 0.1.4
COOKIE_STATE    Reading OK
COOKIE_TYPE    Reading NPM_Login
COOKIE_MODE    Reading NPM
amazon_refreshtoken    Reading vorhanden
verbose    Attribut 4
devStateStyle    Attribut style="text-align:right"
npm_proxy_ip    Attribut 192.168.178.74
npm_proxy_listen_ip    Attribut 192.168.178.74
icon    Attribut alexa
devStateIcon    Attribut connected:10px-kreis-gruen disconnected:10px-kreis-rot
group    Attribut Steuergeräte
room    Attribut Netzwerktechnik

Amazon Cookie:

Beschreibung    Bereich    Wert
.COOKIE    Reading default/10px-kreis-g....
COOKIE_STATE    Reading OK
COOKIE_TYPE    Reading NPM_Login
amazon_refreshtoken    Reading vorhanden
.COOKIE    Helper session-id=....
.COMMSID    Helper amzn1.comms.id.perso....
.CSRF    Helper ....
.DIRECTID    Helper amzn1.account.AFGP5H....
RUNLOGIN    Helper 0
RUNNING_REQUEST    Helper 0
LOGINERROR    Helper 0



und hier ein get status, wenn ich einen frischen NPMlogin new gemacht habe und es läuft:
Modul Infos:

Beschreibung    Bereich    Wert
STATE    Reading connected
Version    Reading 0.1.5
COOKIE_STATE    Reading OK
COOKIE_TYPE    Reading NPM_Login
COOKIE_MODE    Reading NPM
amazon_refreshtoken    Reading vorhanden
npm_proxy_ip    Attribut 192.168.178.74
verbose    Attribut 4
room    Attribut Netzwerktechnik
devStateStyle    Attribut style="text-align:right"
icon    Attribut alexa
group    Attribut Steuergeräte
devStateIcon    Attribut connected:10px-kreis-gruen disconnected:10px-kreis-rot
npm_proxy_listen_ip    Attribut 192.168.178.74

Amazon Cookie:

Beschreibung    Bereich    Wert
.COOKIE    Reading {"loginCookie":"sess....
COOKIE_STATE    Reading OK
COOKIE_TYPE    Reading NPM_Login
amazon_refreshtoken    Reading vorhanden
.COOKIE    Helper session-id=257-95161....
.COMMSID    Helper amzn1.comms.id.perso....
.CSRF    Helper 117....
.DIRECTID    Helper amzn1.account.AFGP5H....
RUNLOGIN    Helper 0
RUNNING_REQUEST    Helper 0
LOGINERROR    Helper 0


Mal kurz als Erklärung: Ich hatte eine Zeit lang die NPM proxy Adressen so einstellen müssen,. damit ich den Link xxxx.3002 zum login anklicken konnte... Ist das das Problem?

amenomade

Version    Reading 0.1.4 wenn es nicht läuft, und
Version    Reading 0.1.5wenn es läuft?
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

IcedEarth

Ne, musste ein update machen und offensichtlich war meine Version noch ein paar Tage hinterher. Das Problem hatte ich aber schon seit vielen Versionen.

Viele Grüße

IcedEarth

So, nach dem letzten NPM_login new ist das Devide jetzt wieder auf unauthorizes:
2020.04.26 19:59:41 3: [EchoDevices] [echodevice_LoginStart] Alter COOKIE=6061/6000 Refresh Cookie!
2020.04.26 19:59:41 4: [EchoDevices] [echodevice_NPMLoginRefresh] check /usr/bin/node
2020.04.26 19:59:41 4: [EchoDevices] [echodevice_NPMLoginRefresh] check alexa-cookie.js
2020.04.26 19:59:41 4: [EchoDevices] [echodevice_NPMLoginRefresh] check Refresh Cookie String
2020.04.26 19:59:41 4: [EchoDevices] [echodevice_NPMLoginRefresh] build 361refresh-cookie.js
2020.04.26 19:59:41 4: [EchoDevices] [echodevice_NPMLoginRefresh] check 361refresh-cookie.js
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_NPMLoginRefresh] start /usr/bin/node cache/alexa-cookie/361refresh-cookie.js
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_NPMLoginRefresh] start InternalTimer echodevice_NPMWaitForCookie
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendURL =https://layla.amazon.de/api/notifications
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getnotifications] PushToCmdQueue SendData=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_HandleCmdQueue] [getnotifications] send command=https://layla.amazon.de/api/notifications Data=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-notification-state?_=1587923982
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [alarmvolume] PushToCmdQueue SendData=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendURL =https://layla.amazon.de/api/bluetooth?cached=true&_=1587923982
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [bluetoothstate] PushToCmdQueue SendData=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getdnd] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendURL =https://layla.amazon.de/api/dnd/device-status-list?_=1587923982
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getdnd] PushToCmdQueue SendData=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [wakeword] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendURL =https://layla.amazon.de/api/wake-word?_=1587923982
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [wakeword] PushToCmdQueue SendData=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1587923982
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [listitems_task] PushToCmdQueue SendData=TASK
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendURL =https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1587923982
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [listitems_shopping] PushToCmdQueue SendData=SHOPPING_ITEM
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendURL =https://layla.amazon.de/api/device-preferences
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getdevicesettings] PushToCmdQueue SendData=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getisonline] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendURL =https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587923982
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getisonline] PushToCmdQueue SendData=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] PushToCmdQueue SendURL =https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587923982
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [devicesstate] PushToCmdQueue SendData=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendLoginCommand] [cookielogin6]
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [activities] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [activities] PushToCmdQueue SendURL =https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1587923982
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [activities] PushToCmdQueue SendData=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] PushToCmdQueue SendURL =https://layla.amazon.de/api/behaviors/automations?limit=100
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getbehavior] PushToCmdQueue SendData=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] START
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] PushToCmdQueue SendURL =https://layla.amazon.de/api/traffic/settings
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_SendCommand] [getsettingstraffic] PushToCmdQueue SendData=
2020.04.26 19:59:42 4: [EchoDevices] [echodevice_GetSettings] Timer INTERVAL = 60
2020.04.26 19:59:43 4: [EchoDevices] [echodevice_NPMWaitForCookie] [NPM Login Refresh Sun Apr 26 19:59:41 2020] wait for refreshtoken exist 361refresh-cookie.js = true
2020.04.26 19:59:43 4: [EchoDevices] [echodevice_ParseAuth] [cookielogin6]
2020.04.26 19:59:43 4: [EchoDevices] [echodevice_ParseAuth] JSON OK = {authentication}{authenticated}
2020.04.26 19:59:44 4: [EchoDevices] [echodevice_Parse] [getnotifications]
2020.04.26 19:59:44 4: [EchoDevices] [echodevice_HandleCmdQueue] [getsettingstraffic] send command=https://layla.amazon.de/api/traffic/settings Data=
2020.04.26 19:59:44 4: [EchoDevices] [echodevice_NPMWaitForCookie] [NPM Login Refresh Sun Apr 26 19:59:41 2020] wait for refreshtoken exist 361refresh-cookie.js = true
2020.04.26 19:59:44 4: [EchoDevices] [echodevice_Parse] [getsettingstraffic]
2020.04.26 19:59:44 4: [EchoDevices] [echodevice_HandleCmdQueue] [getbehavior] send command=https://layla.amazon.de/api/behaviors/automations?limit=100 Data=
2020.04.26 19:59:45 4: [EchoDevices] [echodevice_Parse] [getbehavior]
2020.04.26 19:59:45 4: [EchoDevices] [echodevice_HandleCmdQueue] [activities] send command=https://layla.amazon.de/api/activities?startTime=&size=50&offset=1&_=1587923982 Data=
2020.04.26 19:59:45 4: [EchoDevices] [echodevice_Parse] [activities]
2020.04.26 19:59:45 4: [EchoDevices] [echodevice_HandleCmdQueue] [devicesstate] send command=https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587923982 Data=
2020.04.26 19:59:45 4: [EchoDevices] [echodevice_NPMWaitForCookie] [NPM Login Refresh Sun Apr 26 19:59:41 2020] wait for refreshtoken exist 361refresh-cookie.js = true
2020.04.26 19:59:45 4: [EchoDevices] [echodevice_Parse] [devicesstate]
2020.04.26 19:59:46 4: [EchoDevices] [echodevice_HandleCmdQueue] [getisonline] send command=https://layla.amazon.de/api/devices-v2/device?cached=true&_=1587923982 Data=
2020.04.26 19:59:46 3: [EchoDevices] [echodevice_NPMWaitForCookie] [NPM Login Refresh Sun Apr 26 19:59:41 2020] write new refreshtoken
2020.04.26 19:59:46 4: [EchoDevices] [echodevice_Parse] [getisonline]
2020.04.26 19:59:46 4: [EchoDevices] [echodevice_HandleCmdQueue] [getdevicesettings] send command=https://layla.amazon.de/api/device-preferences Data=
2020.04.26 19:59:46 4: [EchoDevices] [echodevice_Parse] [getdevicesettings]
2020.04.26 19:59:46 4: [EchoDevices] [echodevice_Parse] [getdevicesettings] Invalid cookie
2020.04.26 19:59:46 4: [EchoDevices] [echodevice_HandleCmdQueue] [listitems_shopping] send command=https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=SHOPPING_ITEM&deviceSerialNumber=&deviceType=&_=1587923982 Data=
2020.04.26 19:59:56 4: [EchoDevices] [echodevice_Parse] [listitems_shopping]
2020.04.26 19:59:56 4: [EchoDevices] [echodevice_Parse] [listitems_shopping] connection error listitems_shopping read from https://layla.amazon.de:443 timed out
2020.04.26 19:59:56 4: [EchoDevices] [echodevice_HandleCmdQueue] [listitems_task] send command=https://layla.amazon.de/api/todos?size=100&startTime=&endTime=&completed=false&type=TASK&deviceSerialNumber=&deviceType=&_=1587923982 Data=
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_Parse] [listitems_task]
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_Parse] [listitems_task] connection error listitems_task read from https://layla.amazon.de:443 timed out
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_HandleCmdQueue] [wakeword] send command=https://layla.amazon.de/api/wake-word?_=1587923982 Data=
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_Parse] [wakeword]
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_Parse] [wakeword] Invalid cookie
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_HandleCmdQueue] [getdnd] send command=https://layla.amazon.de/api/dnd/device-status-list?_=1587923982 Data=
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_Parse] [getdnd]
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_Parse] [getdnd] Invalid cookie
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_HandleCmdQueue] [bluetoothstate] send command=https://layla.amazon.de/api/bluetooth?cached=true&_=1587923982 Data=
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_Parse] [bluetoothstate]
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_Parse] [bluetoothstate] Invalid cookie
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_HandleCmdQueue] [alarmvolume] send command=https://layla.amazon.de/api/device-notification-state?_=1587923982 Data=
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_Parse] [alarmvolume]
2020.04.26 20:00:07 4: [EchoDevices] [echodevice_Parse] [alarmvolume] connection error alarmvolume https://layla.amazon.de/api/device-notification-state?_=1587923982: Too many redirects
2020.04.26 20:00:44 4: [EchoDevices] [echodevice_LoginStart] [enable] set next internal timer start in 60 seconds.


und das get status:
Modul Infos:

Beschreibung    Bereich    Wert
STATE    Reading unauthorized
Version    Reading 0.1.5
COOKIE_STATE    Reading OK
COOKIE_TYPE    Reading NPM_Login
COOKIE_MODE    Reading NPM
amazon_refreshtoken    Reading vorhanden
npm_proxy_ip    Attribut 192.168.178.74
verbose    Attribut 4
room    Attribut Netzwerktechnik
devStateStyle    Attribut style="text-align:right"
icon    Attribut alexa
group    Attribut Steuergeräte
devStateIcon    Attribut connected:10px-kreis-gruen disconnected:10px-kreis-rot
npm_proxy_listen_ip    Attribut 192.168.178.74

Amazon Cookie:

Beschreibung    Bereich    Wert
.COOKIE    Reading default/10px-kreis-g....
COOKIE_STATE    Reading OK
COOKIE_TYPE    Reading NPM_Login
amazon_refreshtoken    Reading vorhanden
.COOKIE    Helper session-id=....
.COMMSID    Helper amzn1.comms.id.perso....
.CSRF    Helper ....
.DIRECTID    Helper amzn1.account.AFGP5H....
RUNLOGIN    Helper 0
RUNNING_REQUEST    Helper 0
LOGINERROR    Helper 0


Viele Grüße