Ankündigung

Einklappen
Keine Ankündigung bisher.

LBS19000809 - Alexa Control

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Ich hab Stündlich den Memory CleanUp E6-9 sind leer, E38 ist auto.
    E1 wird per IKO2 getriggert.
    Gruß
    Michael

    Kommentar


      Hi,
      Memory cleanup mache ich mit 21 (stundenimpuls) auf E37.
      E1 bleibt dauerhaft auf 1
      E6-E9 sind leer
      E38 steht auf auto
      Alle im country code DE

      Bei sind es derzeit 4 Bausteine: 1x echo neu, 2x DOT, 1x SPOT.
      Auf dem Amazon account sind noch ein paar mehr Echos/Dots und FireTVs connected ... sollte aber davon unabhängig sein (auf denen passiert nichts).

      Gruß
      Thorsten

      Kommentar


        Zitat von jonofe Beitrag anzeigen
        Ich kann den Fehler leider noch nicht nachstellen. Benutzt ihr das Memory CleanUp oder regelmäßiges Neustarten via E1?
        E6 - E9 sind bei allen Instanzen leer, oder? Und E38 steht auf 'auto', richtig?
        E1 Zeitverzögert Ausschalten bei Präsenzerkennung
        E6-E9 leer
        E37 stündlich getriggert
        E38 auto
        ...and I thought my jokes were bad!

        Kommentar


          Ich vermute, dass es ein Problem gibt das CSRF aus dem Cooie File zu extrahieren.
          Wenn der Fehler nochmal auftritt, bitte dann mal ein

          Code:
          cat /tmp/.alexa.cookie | grep csrf
          machen und den Output posten.

          Wenn das CSRF nicht extrahiert werden kann, dann liefert die Funktion search_devices() kein Ergebnis und das könnte das obige Fehlerbild erzeugen.

          Kommentar


            Nichts einfacher als dass... der fehler tritt ja immernoch auf :-)
            Die Daten schicke ich gleich er PM - ich glaube nicht das es gut ist diese im Forum zu posten...

            Nachtrag: PMs sind bei dir deaktiviert... daher hier nochmal öffentlich aber zahlen verfälscht:

            [root@edomi ~]# cat /tmp/.alexa.cookie | grep csrf
            .amazon.de TRUE / FALSE 1821487590 csrf -1045330446
            [root@edomi ~]#

            Ist das minus-Zeichen vor dem csrf vielleicht auslöser? (oder ist das normal?)

            Gruß
            Thorsten
            Zuletzt geändert von ThorstenGehrig; 07.05.2018, 10:11. Grund: nachtrag

            Kommentar


              Zitat von ThorstenGehrig Beitrag anzeigen
              Anfangen tut das ganze mit einem "Fehlercode: 2 | Zeile: 848 | Invalid argument supplied for foreach() ERROR"
              Sicher, dass es mit diesem Fehler anfängt und nicht mit dem CSRF Fehler? Der foreach Fehler sollte eigentlich ein Folgefehler des CSRF Fehlers sein.

              Zitat von ThorstenGehrig Beitrag anzeigen
              Ist das minus-Zeichen vor dem csrf vielleicht auslöser? (oder ist das normal?)
              Nein das Minuszeichen ist schon okay und auch der Rest sieht auch gut aus.

              Wie lange dauert es denn bis der Fehler nach Projektaktivierung auftritt?
              Welchen Wert verwendest du für das Update Intervall an E36? Ggf. ist die Last zu hoch, wenn 4 Alexa Control Prozess je Sekunde bei Amazon die Devices und deren Status abfragen.

              Kommentar


                Ich habe jetzt mal eine neue Version mit mehr Debug Info und Umleitung der Fehlermeldungen ins Customlogfile hochgeladen. Dann sieht man insbesondere bei den Fehlern besser, von welcher Instanz sie erzeugt werden.

                Kommentar


                  Hier das Ergebniss:
                  Code:
                  2018-05-07 16:44:51    040512    6740    debug      EXE19000809 [v1.4.1]:    ERROR: CSRF NOT FOUND
                  2018-05-07 16:44:51    429287    6740    debug      EXE19000809 [v1.4.1]:    Devices JSON: [LF][LF][LF][LF][LF][LF][LF]<!doctype html><html class="a-no-js a-touch a-mobile" data-19ax5a9jf="mongoose">[LF]  <head>[LF]<script type='text/javascript'>var ue_t0=ue_t0||+new Date();</script>[LF]<script type='text/javascript'>[LF]var ue_csm = window,[LF]    ue_hob = +new Date();[LF](function(d){var e=d.ue=d.ue||{},f=Date.now||function(){return+new Date};e.d=function(b){return f()-(b?0:d.ue_t0)};e.stub=function(b,a){if(!b[a]){var c=[];b[a]=function(){c.push([c.slice.call(arguments),e.d(),d.ue_id])};b[a].replay=function(b){for(var a;a=c.shift();)b(a[0],a[1],a[2])};b[a].isStub=1}};e.exec=function(b,a){return function(){if(1==window.ueinit)try{return b.apply(this,arguments)}catch(c){ueLogError(c,{attribution:a||"undefined",logLevel:"WARN"})}}}})(ue_csm);[LF][LF][LF]    var ue_err_chan = 'jserr-rw';[LF](function(d,e){function h(f,b){if(!(a.ec>a.mxe)&&f){a.ter.push(f);b=b||{};var c=f.logLevel||b.logLevel;c&&c!==k&&c!==m&&c!==n&&c!==p||a.ec++;c&&c!=k||a.ecf++;b.pageURL=""+(e.location?e.location.href:"");b.logLevel=c;b.attribution=f.attribution||b.attribution;a.erl.push({ex:f,info:b})}}function l(a,b,c,e,g){d.ueLogError({m:a,f:b,l:c,c:""+e,err:g,fromOnError:1,args:arguments},g?{attribution:g.attribution,logLevel:g.logLevel}:void 0);return!1}var k="FATAL",m="ERROR",n="WARN",p="DOWNGRADED",a={ec:0,ecf:0,[LF]pec:0,ts:0,erl:[],ter:[],mxe:50,startTimer:function(){a.ts++;setInterval(function(){d.ue&&a.pec<a.ec&&d.uex("at");a.pec=a.ec},1E4)}};l.skipTrace=1;h.skipTrace=1;h.isStub=1;d.ueLogError=h;d.ue_err=a;e.onerror=l})(ue_csm,window);[LF][LF][LF]var ue_id = 'M9FQMQXM37V50P1SPBNG',[LF]    ue_url = '/ap/uedata',[LF]    ue_navtiming = 1,[LF]    ue_mid = 'A1PA6795UKMFR9',[LF]    ue_sid = '262-6369846-0176815',[LF]    ue_sn = 'www.amazon.de',[LF]    ue_furl = 'fls-eu.amazon.com',[LF]    ue_surl = '//unagi-eu.amazon.com/1/events/com.amazon.csm.nexusclient.prod',[LF]    ue_fcsn = 1,[LF]    ue_urt = 3,[LF]    ue_rpl_ns = 'cel-rpl',[LF]    ue_fpf = '//fls-eu.amazon.com/1/batch/1/OP/A1PA6795UKMFR9:262-6369846-0176815:M9FQMQXM37V50P1SPBNG$uedata=s:',[LF][LF]    ue_swi = 1;[LF]function ue_viz(){(function(c,e,a){function k(b){if(c.ue.viz.length<p&&!l){var a=b.type;b=b.originalEvent;/^focus./.test(a)&&b&&(b.toElement||b.fromElement||b.relatedTarget)||(a=e[m]||("blur"==a||"focusout"==a?"hidden":"visible"),c.ue.viz.push(a+":"+(+new Date-c.ue.t0)),"visible"==a&&(ue.isl&&uex("at"),l=1))}}for(var l=0,f,g,m,n=["","webkit","o","ms","moz"],d=0,p=20,h=0;h<n.length&&!d;h++)if(a=n[h],f=(a?a+"H":"h")+"idden",d="boolean"==typeof e[f])g=a+"visibilitychange",m=(a?a+"V":"v")+"isibilityState";[LF]k({});d&&e.addEventListener(g,k,0);c.ue&&d&&(c.ue.pageViz={event:g,propHid:f})})(ue_csm,document,window)};[LF][LF](function(a,g){function v(a){return a&&a.replace&&a.replace(/^\s+|\s+$/g,"")}function p(a){return"undefined"===typeof a}function t(d,c,e,h){var g=h||+new Date,m;a.ueam&&a.ueam(c,d,h);if(c||p(e)){if(d)for(m in h=c?f("t",c)||f("t",c,{}):a.ue.t,h[d]=g,e)e.hasOwnProperty(m)&&f(m,c,e[m]);return g}}function f(d,c,e){var f=a.ue,g=c&&c!=f.id?f.sc[c]:f;g||(g=f.sc[c]={});"id"==d&&e&&(f.cfa2=1);return g[d]=e||g[d]}function w(d,c,e,f,g){e="on"+e;var m=c[e];"function"===typeof m?d&&(a.ue.h[d]=m):m=function(){};[LF]c[e]=g?function(a){f(a);m(a)}:function(a){m(a);f(a)};c[e]&&(c[e].isUeh=1)}function A(d,c,e){function h(c,e){var b=[c],D=0,g={},m,h;e?(b.push("m=1"),g[e]=1):g=a.ue.sc;for(h in g)if(g.hasOwnProperty(h)){var k=f("wb",h),l=f("t",h)||{},q=f("t0",h)||a.ue.t0,n;if(e||2==k){k=k?D++:"";b.push("sc"+k+"="+h);for(n in l)3>=n.length&&!p(l[n])&&null!==l[n]&&b.push(n+k+"="+(l[n]-q));b.push("t"+k+"="+l[d]);if(f("ctb",h)||f("wb",h))m=1}}!x&&m&&b.push("ctb=1");return b.join("&")}function z(c,b,e,d){if(c){var f=a.ue_err,[LF]h;d&&a.ue.log||(h=new Image,a.ue.iel.push(h),h.src=c);E?a.ue_fpf&&g.encodeURIComponent&&c&&(d=new Image,c=""+a.ue_fpf+g.encodeURIComponent(c)+":"+(+new Date-a.ue_t0),a.ue.iel.push(d),d.src=c):a.ue.log&&(h=g.chrome&&"ul"==b,a.ue.log(c,"uedata",a.ue_svi?{n:1,img:!d&&h?1:0}:{n:1}),a.ue.ielf.push(c));f&&!f.ts&&f.startTimer();a.ue.b&&(f=a.ue.b,a.ue.b="",z(f,b,e,1))}}function m(c){if(!ue.collected){var b=c.timing,e=c.navigation,d=ue.t;b&&(d.na_=b.navigationStart,d.ul_=b.unloadEventStart,d._ul=b.unloadEventEnd,[LF]d.rd_=b.redirectStart,d._rd=b.redirectEnd,d.fe_=b.fetchStart,d.lk_=b.domainLookupStart,d._lk=b.domainLookupEnd,d.co_=b.connectStart,d._co=b.connectEnd,d.sc_=b.secureConnectionStart,d.rq_=b.requestStart,d.rs_=b.responseStart,d._rs=b.responseEnd,d.dl_=b.domLoading,d.di_=b.domInteractive,d.de_=b.domContentLoadedEventStart,d._de=b.domContentLoadedEventEnd,d._dc=b.domComplete,d.ld_=b.loadEventStart,d._ld=b.loadEventEnd,b=d.na_,c="function"!==typeof c.now||p(b)?0:new Date(b+c.now())-new Date,d.ntd=c+a.ue.t0);[LF]e&&(d.ty=e.type+a.ue.t0,d.rc=e.redirectCount+a.ue.t0);ue.collected=1}}function s(b){var c=n&&n.navigation?n.navigation.type:y,d=c&&2!=c,e=a.ue.bfini;a.ue.cfa2||(e&&1<e&&(b+="&bfform=1",d||(a.ue.isBFT=e-1)),2==c&&(b+="&bfnt=1",a.ue.isBFT=a.ue.isBFT||1),a.ue.ssw&&a.ue.isBFT&&(p(a.ue.isNRBF)&&(c=a.ue.ssw(a.ue.oid),c.e||p(c.val)||(a.ue.isNRBF=1<c.val?0:1)),p(a.ue.isNRBF)||(b+="&nrbf="+a.ue.isNRBF)),a.ue.isBFT&&!a.ue.isNRBF&&(b+="&bft="+a.ue.isBFT));return b}if(c||p(e)){for(var q in e)e.hasOwnProperty(q)&&[LF]f(q,c,e[q]);t("pc",c,e);q=f("id",c)||a.ue.id;var b=a.ue.url+"?"+d+"&v="+a.ue.v+"&id="+q,x=f("ctb",c)||f("wb",c),n=g.performance||g.webkitPerformance,k,l;x&&(b+="&ctb="+x);1<a.ueinit&&(b+="&ic="+a.ueinit);!a.ue._fi||"at"!=d||c&&c!=q||(b+=a.ue._fi());if(!("ld"!=d&&"ul"!=d||c&&c!=q)){if("ld"==d){try{g.onbeforeunload&&g.onbeforeunload.isUeh&&(g.onbeforeunload=null)}catch(w){}if(g.chrome)for(l=0;l<ue.ulh.length;l++)B("beforeunload",ue.ulh[l]);(l=document.ue_backdetect)&&l.ue_back&&l.ue_back.value++;a._uess&&[LF](k=a._uess());a.ue.isl=1}ue._bf&&(b+="&bf="+ue._bf());a.ue_navtiming&&n&&n.timing&&(f("ctb",q,"1"),1==a.ue_navtiming&&t("tc",y,y,n.timing.navigationStart));n&&m(n);a.ue.t.hob=a.ue_hob;a.ue.t.hoe=a.ue_hoe;a.ue.ifr&&(b+="&ifr=1")}t(d,c,e);e="ld"==d&&c&&f("wb",c);var u;e||q==a.ue.oid||F((f("t",c)||{}).tc||+f("t0",c),+f("t0",c));a.ue_mbl&&a.ue_mbl.cnt&&!e&&(b+=a.ue_mbl.cnt());e?f("wb",c,2):"ld"==d&&(r.lid=v(q));for(u in a.ue.sc)if(1==f("wb",u))break;if(e){if(a.ue.s)return;b=h(b,null)}else l=h(b,null),[LF]l!=b&&(l=s(l),a.ue.b=l),k&&(b+=k),b=h(b,c||a.ue.id);b=s(b);if(a.ue.b||e)for(u in a.ue.sc)2==f("wb",u)&&delete a.ue.sc[u];k=0;ue._rt&&(b+="&rt="+ue._rt());e||(a.ue.s=0,(k=a.ue_err)&&0<k.ec&&k.pec<k.ec&&(k.pec=k.ec,b+="&ec="+k.ec+"&ecf="+k.ecf),k=f("ctb",c),f("t",c,{}));b&&a.ue.tag&&0<a.ue.tag().length&&(b+="&csmtags="+a.ue.tag().join("|"),a.ue.tag=a.ue.tagC());b&&a.ue.viz&&0<a.ue.viz.length&&(b+="&viz="+a.ue.viz.join("|"),a.ue.viz=[]);b&&!p(a.ue_pty)&&(b+="&pty="+a.ue_pty+"&spty="+a.ue_spty+"&pti="+[LF]a.ue_pti);b&&a.ue.tabid&&(b+="&tid="+a.ue.tabid);b&&a.ue.aftb&&(b+="&aftb=1");b&&a.ue.sbf&&(b+="&sbf=1");!a.ue._ui||c&&c!=q||(b+=a.ue._ui());a.ue.a=b;z(b,d,k,e)}}function s(a,c,e){e=e||g;e.addEventListener?e.addEventListener(a,c,!!window.ue_clf):e.attachEvent&&e.attachEvent("on"+a,c)}function B(a,c,e){e=e||g;e.removeEventListener?e.removeEventListener(a,c,!!window.ue_clf):e.detachEvent&&e.detachEvent("on"+a,c)}function C(){function d(){a.onUl()}function c(a){return function(){e[a]||(e[a]=1,A(a))}}[LF]var e=a.ue.r,f,p;a.onLd=c("ld");a.onLdEnd=c("ld");a.onUl=c("ul");f={stop:c("os")};g.chrome?(s("beforeunload",d),ue.ulh.push(d)):f[G]=a.onUl;for(p in f)f.hasOwnProperty(p)&&w(0,g,p,f[p]);a.ue_viz&&ue_viz();s("load",a.onLd);t("ue")}function F(d,c){a.ue_mbl&&a.ue_mbl.ajax&&a.ue_mbl.ajax(d,c);a.ue.tag("ajax-transition")}a.ueinit=(a.ueinit||0)+1;var r={t0:g.aPageStart||a.ue_t0,id:a.ue_id,url:a.ue_url,rid:a.ue_id,a:"",b:"",h:{},r:{ld:0,oe:0,ul:0},s:1,t:{},sc:{},iel:[],ielf:[],fc_idx:{},viz:[],v:"0.1546.0",[LF]d:a.ue&&a.ue.d,log:a.ue&&a.ue.log,clog:a.ue&&a.ue.clog,onflush:a.ue&&a.ue.onflush,onunload:a.ue&&a.ue.onunload,stub:a.ue&&a.ue.stub,lr:a.ue&&a.ue.lr,exec:a.ue&&a.ue.exec,event:a.ue&&a.ue.event,onSushiUnload:a.ue&&a.ue.onSushiUnload,onSushiFlush:a.ue&&a.ue.onSushiFlush,ulh:[],cfa2:0},E=a.ue_fpf?1:0,G="beforeunload",y;r.oid=v(r.id);r.lid=v(r.id);a.ue=r;a.ue._t0=a.ue.t0;a.ue.tagC=function(){var a={};return function(c){c&&(a[c]=1);c=[];for(var e in a)a.hasOwnProperty(e)&&c.push(e);return c}};a.ue.tag=[LF]a.ue.tagC();a.ue.ifr=g.top!==g.self||g.frameElement?1:0;ue.attach=s;ue.detach=B;ue.reset=function(d,c){d&&(a.ue_cel&&a.ue_cel.reset(),a.ue.t0=+new Date,a.ue.rid=d,a.ue.id=d,a.ue.fc_idx={},a.ue.viz=[])};a.uei=C;a.ueh=w;a.ues=f;a.uet=t;a.uex=A;C()})(ue_csm,window);[LF][LF][LF]ue.stub(ue,"log");ue.stub(ue,"onunload");ue.stub(ue,"onflush");[LF](function(b){var a=b.ue;a.cv={};a.cv.scopes={};a.count=function(c,b,d){var e={},f=a.cv;e.counter=c;e.value=b;e.t=a.d();d&&d.scope&&(f=a.cv.scopes[d.scope]=a.cv.scopes[d.scope]||{},e.scope=d.scope);if(void 0===b)return f[c];f[c]=b;c=0;d&&d.bf&&(c=1);a.clog&&0===c?a.clog(e,"csmcount",{bf:c}):a.log&&a.log(e,"csmcount",{c:1,bf:c})};a.count("baselineCounter2",1);a&&a.event&&(a.event({requestId:b.ue_id||"rid",server:b.ue_sn||"sn",obfuscatedMarketplaceId:b.ue_mid||"mid"},"csm","csm.CSMBaselineEvent.4"),[LF]a.count("nexusBaselineCounter",1,{bf:1}))})(ue_csm);[LF][LF][LF]var ue_hoe = +new Date();[LF]</script>[LF][LF]<!-- 1rdgls7jxst5u6ce14uj75rcineug098 --><script>var aPageStart = (new Date()).getTime();</script><meta name="viewport" content="width=device-width, maximum-scale=1, minimum-scale=1, initial-scale=1, user-scalable=no, shrink-to-fit=no"><meta charset="utf-8">[LF]    <title dir="ltr">Amazon Anmelden</title>[LF]    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />[LF][LF]    [LF]      [LF]        <link rel="stylesheet" href="https://images-na.ssl-images-amazon.com/images/G/01/AUIClients/AuthenticationPortalAlexaSkin-c4ded2ae98d55d0c903a85316db66fa58d24144b._V2_.css#AUIClients/AuthenticationPortalAlexaSkin.device_type-mobile.us.rendering_engine-not-trident.secure.min" />[LF]<link rel="stylesheet" href="https://images-na.ssl-images-amazon.com/images/G/01/AUIClients/AuthenticationPortalAssets-d4fd5fbdd290721e3fd697fb54a12b8611adbc6f._V2_.css#AUIClients/AuthenticationPortalAssets.device_type-mobile.secure.min" />[LF]<link rel="stylesheet" href="https://images-na.ssl-images-amazon.com/images/G/01/AUIClients/CVFAssets-807886b3afc932f042672cf115a85b51c30a5ed4._V2_.css#AUIClients/CVFAssets.device_type-mobile.secure.min" />[LF][LF]        <script>[LF](function(f,h,I,ka){function u(a,b){r&&r.count&&r.count("aui:"+a,0===b?0:b||(r.count("aui:"+a)||0)+1)}function m(a){try{return a.test(navigator.userAgent)}catch(b){return!1}}function v(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c)}function q(a,b,c,e){b=b&&c?b+a+c:b||c;return e?q(a,b,e):b}function A(a,b,c){try{Object.defineProperty(a,b,{value:c,writable:!1})}catch(e){a[b]=c}return c}function J(){return setTimeout(U,0)}function la(a,b){var c=a.length,e=[LF]c,g=function(){e--||(K.push(b),L||(J(),L=!0))};for(g();c--;)V[a[c]]?g():(w[a[c]]=w[a[c]]||[]).push(g)}function ma(a,b,c,e,g){var d=h.createElement(a?"script":"link");v(d,"error",e);g&&v(d,"load",g);if(a){d.type="text/javascript";d.async=!0;if(a=c)a=-1!==b.indexOf("images/I")||/AUIClients/.test(b);a&&d.setAttribute("crossorigin","anonymous");d.src=b}else d.rel="stylesheet",d.href=b;h.getElementsByTagName("head")[0].appendChild(d)}function W(a,b){return function(c,e){function g(){ma(b,c,d,function(b){M?[LF]u("resource_unload"):d?(d=!1,u("resource_retry"),g()):(u("resource_error"),a.log("Asset failed to load: "+c));b&&b.stopPropagation?b.stopPropagation():f.event&&(f.event.cancelBubble=!0)},e)}if(X[c])return!1;X[c]=!0;u("resource_count");var d=!0;return!g()}}function na(a,b,c){for(var e={name:a,guard:function(c){return b.guardFatal(a,c)},logError:function(c,d,e){b.logError(c,d,e,a)}},g=[],d=0;d<c.length;d++)B.hasOwnProperty(c[d])&&(g[d]=N.hasOwnProperty(c[d])?N[c[d]](B[c[d]],e):B[c[d]]);return g}function x(a,[LF]b,c,e,g){return function(d,h){function l(){var a=null;e?a=h:"function"===typeof h&&(p.start=y(),a=h.apply(f,na(d,k,m)),p.end=y());if(b){B[d]=a;a=d;for(V[a]=!0;(w[a]||[]).length;)w[a].shift()();delete w[a]}p.done=!0}var k=g||this;"function"===typeof d&&(h=d,d=void 0);b&&(d=(d||"__NONAME__").replace(/^prv:/,""),O.hasOwnProperty(d)&&k.error(q(", reregistered by ",q(" by ",d+" already registered",O[d]),k.attribution),d),O[d]=k.attribution);for(var m=[],n=0;n<a.length;n++)m[n]=a[n].replace(/^prv:/,"");[LF]var p=Y[d||"anon"+ ++oa]={depend:m,registered:y(),namespace:k.namespace};c?l():la(m,k.guardFatal(d,l));return{decorate:function(a){N[d]=k.guardFatal(d,a)}}}}function Z(a){return function(){return{execute:x(arguments,!1,a,!1,this),register:x(arguments,!0,a,!1,this)}}}function aa(a){return function(b,c){c||(c=b,b=void 0);var e=this.attribution;return function(){C.push({attribution:e,name:b,logLevel:a});var g=c.apply(this,arguments);C.pop();return g}}}function D(a,b){this.load={js:W(this,!0),css:W(this)};[LF]A(this,"namespace",b);A(this,"attribution",a)}function ba(){h.body?n.trigger("a-bodyBegin"):setTimeout(ba,20)}function z(a,b){if(b){for(var c=a.className.split(" "),e=c.length;e--;)if(c[e]===b)return;a.className+=" "+b}}function ca(a,b){for(var c=a.className.split(" "),e=[],g;void 0!==(g=c.pop());)g&&g!==b&&e.push(g);a.className=e.join(" ")}function da(a){try{return a()}catch(b){return!1}}function E(){if(F){var a=f.innerWidth?{w:f.innerWidth,h:f.innerHeight}:{w:k.clientWidth,h:k.clientHeight};5<Math.abs(a.w-[LF]P.w)||50<a.h-P.h?(P=a,Q=4,(a=l.mobile||l.tablet?450<a.w&&a.w>a.h:1250<=a.w)?z(k,"a-ws"):ca(k,"a-ws")):Q--&&(ea=setTimeout(E,16))}}function pa(a){(F=void 0===a?!F:!!a)&&E()}function qa(){return F}"use strict";var G=I.now=I.now||function(){return+new I},y=function(a){return a&&a.now?a.now.bind(a):G}(f.performance);ka=y();var p=f.AmazonUIPageJS||f.P;if(p&&p.when&&p.register)throw Error("A copy of P has already been loaded on this page.");var r=f.ue;r&&r.tag&&(r.tag("aui"),r.tag("aui:aui_build_date:3.17.8.3-2018-02-08"));[LF]var K=[],L=!1,U;U=function(){for(var a=J(),b=G();K.length;)if(K.shift()(),50<G()-b)return;clearTimeout(a);L=!1};m(/OS 6_[0-9]+ like Mac OS X/i)&&v(f,"scroll",J);var V={},w={},X={},M=!1;v(f,"beforeunload",function(){M=!0;setTimeout(function(){M=!1},1E4)});var O={},B={},N={},Y={},oa=0,R,C=[],fa=f.onerror;f.onerror=function(a,b,c,e,g){g&&"object"===typeof g||(g=Error(a,b,c),g.columnNumber=e,g.stack=b||c||e?q(String.fromCharCode(92),g.message,"at "+q(":",b,c,e)):void 0);var d=C.pop()||{};g.attribution=[LF]q(":",g.attribution||d.attribution,d.name);g.logLevel=d.logLevel;g.attribution&&console&&console.log&&console.log([g.logLevel||"ERROR",a,"thrown by",g.attribution].join(" "));C=[];fa&&(d=[].slice.call(arguments),d[4]=g,fa.apply(f,d))};D.prototype={logError:function(a,b,c,e){b={message:b,logLevel:c||"ERROR",attribution:q(":",this.attribution,e)};if(f.ueLogError)return f.ueLogError(a||b,a?b:null),!0;console&&console.error&&(console.log(b),console.error(a));return!1},error:function(a,b,c,e){a=Error(q(":",[LF]e,a,c));a.attribution=q(":",this.attribution,b);throw a;},guardError:aa(),guardFatal:aa("FATAL"),log:function(a,b,c){return this.logError(null,a,b,c)},declare:x([],!0,!0,!0),register:x([],!0),execute:x([]),AUI_BUILD_DATE:"3.17.8.3-2018-02-08",when:Z(),now:Z(!0),trigger:function(a,b,c){var e=G();this.declare(a,{data:b,pageElapsedTime:e-(f.aPageStart||NaN),triggerTime:e});c&&c.instrument&&R.when("prv:a-logTrigger").execute(function(b){b(a)})},handleTriggers:function(){this.log("handleTriggers deprecated")},[LF]attributeErrors:function(a){return new D(a)},_namespace:function(a,b){return new D(a,b)}};var n=A(f,"AmazonUIPageJS",new D);R=n._namespace("PageJS","AmazonUI");R.declare("prv:p-debug",Y);n.declare("p-recorder-events",[]);n.declare("p-recorder-stop",function(){});A(f,"P",n);ba();if(h.addEventListener){var ga;h.addEventListener("DOMContentLoaded",ga=function(){n.trigger("a-domready");h.removeEventListener("DOMContentLoaded",ga,!1)},!1)}var k=h.documentElement,S=function(){var a=["O","ms","Moz","Webkit"],[LF]b=h.createElement("div");return{testGradients:function(){b.style.cssText=("background-image:-webkit-gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:"+a.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);return-1<b.style.backgroundImage.indexOf("gradient")},test:function(c){var e=c.charAt(0).toUpperCase()+c.substr(1);c=(a.join(e+" ")+e+" "+c).split(" ");for(e=c.length;e--;)if(""===b.style[c[e]])return!0;return!1},testTransform3d:function(){var a=[LF]!1;f.matchMedia&&(a=f.matchMedia("(-webkit-transform-3d)").matches);return a}}}(),p=k.className,ha=/(^| )a-mobile( |$)/.test(p),ia=/(^| )a-tablet( |$)/.test(p),l={audio:function(){return!!h.createElement("audio").canPlayType},video:function(){return!!h.createElement("video").canPlayType},canvas:function(){return!!h.createElement("canvas").getContext},svg:function(){return!!h.createElementNS&&!!h.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect},offline:function(){return navigator.hasOwnProperty&&[LF]navigator.hasOwnProperty("onLine")&&navigator.onLine},dragDrop:function(){return"draggable"in h.createElement("span")},geolocation:function(){return!!navigator.geolocation},history:function(){return!(!f.history||!f.history.pushState)},webworker:function(){return!!f.Worker},autofocus:function(){return"autofocus"in h.createElement("input")},inputPlaceholder:function(){return"placeholder"in h.createElement("input")},textareaPlaceholder:function(){return"placeholder"in h.createElement("textarea")},localStorage:function(){return"localStorage"in[LF]f&&null!==f.localStorage},orientation:function(){return"orientation"in f},touch:function(){return"ontouchend"in h},gradients:function(){return S.testGradients()},hires:function(){var a=f.devicePixelRatio&&1.5<=f.devicePixelRatio||f.matchMedia&&f.matchMedia("(min-resolution:144dpi)").matches;u("hiRes"+(ha?"Mobile":ia?"Tablet":"Desktop"),a?1:0);return a},transform3d:function(){return S.testTransform3d()},touchScrolling:function(){return m(/Windowshop|android.([3-9]|[L-Z])|OS ([5-9]|[1-9][0-9]+)(_[0-9]{1,2})+ like Mac OS X|Chrome|Silk|Firefox|Trident.+?; Touch/i)},[LF]ios:function(){return m(/OS [1-9][0-9]*(_[0-9]*)+ like Mac OS X/i)&&!m(/trident|Edge/i)},android:function(){return m(/android.([1-9]|[L-Z])/i)&&!m(/trident|Edge/i)},mobile:function(){return ha},tablet:function(){return ia}},t;for(t in l)l.hasOwnProperty(t)&&(l[t]=da(l[t]));for(var T="textShadow textStroke boxShadow borderRadius borderImage opacity transform transition".split(" "),H=0;H<T.length;H++)l[T[H]]=da(function(){return S.test(T[H])});var F=!0,ea=0,P={w:0,h:0},Q=4;E();v(f,"resize",function(){clearTimeout(ea);[LF]Q=4;E()});var ja={getItem:function(a){try{return f.localStorage.getItem(a)}catch(b){}},setItem:function(a,b){try{return f.localStorage.setItem(a,b)}catch(c){}}};ca(k,"a-no-js");z(k,"a-js");!m(/OS [1-8](_[0-9]*)+ like Mac OS X/i)||f.navigator.standalone||m(/safari/i)||z(k,"a-ember");p=[];for(t in l)l.hasOwnProperty(t)&&l[t]&&p.push("a-"+t.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()}));z(k,p.join(" "));k.setAttribute("data-aui-build-date","3.17.8.3-2018-02-08");n.register("p-detect",function(){return{capabilities:l,[LF]localStorage:l.localStorage&&ja,toggleResponsiveGrid:pa,responsiveGridEnabled:qa}});m(/UCBrowser/i)||l.localStorage&&z(k,ja.getItem("a-font-class"));n.declare("a-event-revised-handling",!1);n.declare("a-fix-event-off",!1);u("pagejs:pkgExecTime",y()-NaN)})(window,document,Date);[LF]  (window.AmazonUIPageJS ? AmazonUIPageJS : P).load.js('https://images-na.ssl-images-amazon.com/images/G/01/AUIClients/AuthenticationPortalAlexaSkin-739d30c6a6855275b94c86099ba39ed563a2b7c7._V2_.js#AUIClients/AuthenticationPortalAlexaSkin.device_type-mobile.us.rendering_engine-not-trident.secure.min');[LF]  (window.AmazonUIPageJS ? AmazonUIPageJS : P).load.js('https://images-na.ssl-images-amazon.com/images/G/01/AUIClients/AuthenticationPortalAssets-f580f961def96cdb9407379c3065701428626f04._V2_.js#AUIClients/AuthenticationPortalAssets.device_type-mobile.secure.min');[LF]  (window.AmazonUIPageJS ? AmazonUIPageJS : P).load.js('https://images-na.ssl-images-amazon.com/images/G/01/AUIClients/AuthenticationPortalInlineAssets-662783336058590306af126b0eeae5125982f026._V2_.js#AUIClients/AuthenticationPortalInlineAssets.secure.min');[LF]  (window.AmazonUIPageJS ? AmazonUIPageJS : P).load.js('https://images-na.ssl-images-amazon.com/images/G/01/AUIClients/CVFAssets-ba5a731ec21f81ea39078eccd17584a471ff4474._V2_.js#AUIClients/CVFAssets.device_type-mobile.secure.min');[LF]</script>[LF][LF]      [LF][LF]      [LF]    [LF][LF]    [LF]    [LF][LF]    [LF]  <script type='text/javascript'>[LF](function(e,c){function h(b,a){f.push([b,a])}function g(b,a){if(b){var c=e.head||e.getElementsByTagName("head")[0]||e.documentElement,d=e.createElement("script");d.async="async";d.src=b;d.setAttribute("crossorigin","anonymous");a&&a.onerror&&(d.onerror=a.onerror);a&&a.onload&&(d.onload=a.onload);c.insertBefore(d,c.firstChild)}}function k(){ue.uels=g;for(var b=0;b<f.length;b++){var a=f[b];g(a[0],a[1])}ue.deffered=1}var f=[];c.ue&&(ue.uels=h,c.ue.attach&&c.ue.attach("load",k))})(document,window);[LF](function(a){var b=a.alert;window.alert=function(){a.ueLogError&&a.ueLogError({message:"[CSM] Alert invocation detected with argument: "+arguments[0],logLevel:"WARN"});Function.prototype.apply.apply(b,[a,arguments||[]])}})(window);[LF](function(k,l,g){function m(a){c||(c=b[a.type].id,"undefined"===typeof a.clientX?(e=a.pageX,f=a.pageY):(e=a.clientX,f=a.clientY),2!=c||h&&(h!=e||n!=f)?(r(),d.isl&&l.setTimeout(function(){p("at",d.id)},0)):(h=e,n=f,c=0))}function r(){for(var a in b)b.hasOwnProperty(a)&&d.detach(a,m,b[a].parent)}function s(){for(var a in b)b.hasOwnProperty(a)&&d.attach(a,m,b[a].parent)}function t(){var a="";!q&&c&&(q=1,a+="&ui="+c);return a}var d=k.ue,p=k.uex,q=0,c=0,h,n,e,f,b={click:{id:1,parent:g},mousemove:{id:2,[LF]parent:g},scroll:{id:3,parent:l},keydown:{id:4,parent:g}};d&&p&&(s(),d._ui=t)})(ue_csm,window,document);[LF][LF][LF][LF]    if (window.ue && window.ue.uels) {[LF]                    ue.uels("https://images-eu.ssl-images-amazon.com/images/G/01/AUIClients/ClientSideMetricsAUIJavascript-69ab801358dfe32338d0619802ae6aabc188b1bd._V2_.js");[LF]    }[LF][LF](function(k,c){function l(a,b){return a.filter(function(a){return a.initiatorType==b})}function f(a,c){if(b.t[a]){var g=b.t[a]-b._t0,e=c.filter(function(a){return 0!==a.responseEnd&&m(a)<g}),f=l(e,"script"),h=l(e,"link"),k=l(e,"img"),n=e.map(function(a){return a.name.split("/")[2]}).filter(function(a,b,c){return a&&c.lastIndexOf(a)==b}),q=e.filter(function(a){return a.duration<p}),s=g-Math.max.apply(null,e.map(m))<r|0;"af"==a&&(b._afjs=f.length);return a+":"+[e[d],f[d],h[d],k[d],n[d],q[d],s].join("-")}}[LF]function m(a){return a.responseEnd-(b._t0-c.timing.navigationStart)}function n(){var a=c[h]("resource"),d=f("cf",a),g=f("af",a),a=f("ld",a);delete b._rt;b._ld=b.t.ld-b._t0;b._art&&b._art();return[d,g,a].join("_")}var p=20,r=50,d="length",b=k.ue,h="getEntriesByType";b._rre=m;b._rt=c&&c.timing&&c[h]&&n})(ue_csm,window.performance);[LF][LF](function(l,d){function c(b){b="";var c=a.isBFT?"b":"s",d=""+a.oid,f=""+a.lid,g=d;d!=f&&20==f.length&&(c+="a",g+="-"+f);a.tabid&&(b=a.tabid+"+");b+=c+"-"+g;b!=e&&100>b.length&&(e=b,document.cookie="csm-hit="+b+("|"+ +new Date)+m+"; path=/")}function n(){e=0}function h(b){!0===d[a.pageViz.propHid]?e=0:!1===d[a.pageViz.propHid]&&c({type:"visible"})}var m="; expires="+(new Date(+new Date+6048E5)).toGMTString(),e,a=l.ue||{},k=a.pageViz&&a.pageViz.event&&a.pageViz.propHid;a.attach&&(a.attach("click",c),[LF]a.attach("keyup",c),k||(a.attach("focus",c),a.attach("blur",n)),k&&(a.attach(a.pageViz.event,h,d),h({})));a.aftb=1})(ue_csm,document);[LF][LF][LF]ue_csm.ue.stub(ue,"impression");[LF][LF][LF](function(k,d,h){function f(a,c,b){a&&a.indexOf&&0===a.indexOf("http")&&0!==a.indexOf("https")&&l(s,c,a,b)}function g(a,c,b){a&&a.indexOf&&(location.href.split("#")[0]!=a&&null!==a&&"undefined"!==typeof a||l(t,c,a,b))}function l(a,c,b,e){m[b]||(e=u&&e?n(e):"N/A",d.ueLogError&&d.ueLogError({message:a+c+" : "+b,logLevel:v,stack:"N/A"},{attribution:e}),m[b]=1,p++)}function e(a,c){if(a&&c)for(var b=0;b<a.length;b++)try{c(a[b])}catch(d){}}function q(){return d.performance&&d.performance.getEntriesByType?[LF]d.performance.getEntriesByType("resource"):[]}function n(a){if(a.id)return"//*[@id='"+a.id+"']";var c;c=1;var b;for(b=a.previousSibling;b;b=b.previousSibling)b.nodeName==a.nodeName&&(c+=1);b=a.nodeName;1!=c&&(b+="["+c+"]");a.parentNode&&(b=n(a.parentNode)+"/"+b);return b}function w(){var a=h.images;a&&a.length&&e(a,function(a){var b=a.getAttribute("src");f(b,"img",a);g(b,"img",a)})}function x(){var a=h.scripts;a&&a.length&&e(a,function(a){var b=a.getAttribute("src");f(b,"script",a);g(b,"script",a)})}[LF]function y(){var a=h.styleSheets;a&&a.length&&e(a,function(a){if(a=a.ownerNode){var b=a.getAttribute("href");f(b,"style",a);g(b,"style",a)}})}function z(){if(A){var a=q();e(a,function(a){f(a.name,a.initiatorType)})}}function B(){e(q(),function(a){g(a.name,a.initiatorType)})}function r(){var a;a=d.location&&d.location.protocol?d.location.protocol:void 0;"https:"==a&&(z(),w(),x(),y(),B(),p<C&&setTimeout(r,D))}var s="[CSM] Insecure content detected ",t="[CSM] Ajax request to same page detected ",v="WARN",[LF]m={},p=0,D=k.ue_nsip||1E3,C=5,A=1==k.ue_urt,u=!0;ue_csm.ue_disableNonSecure||(d.performance&&d.performance.setResourceTimingBufferSize&&d.performance.setResourceTimingBufferSize(300),r())})(ue_csm,window,document);[LF][LF][LF]if(window.ue&&uet) { uet('bb'); }[LF]</script></head>[LF][LF]  <body class="a-color-offset-background auth-alexa ap-locale-de_DE a-m-us a-aui_51744-c a-aui_57326-c a-aui_72554-c a-aui_83815-c a-aui_86171-c a-aui_96511-c a-aui_accessibility_49860-c a-aui_attr_validations_1_51371-c a-aui_bolt_62845-c a-aui_noopener_84118-c a-aui_ux_102912-c a-aui_ux_59374-c a-aui_ux_60000-c a-aui_ux_92006-c a-aui_ux_98513-c a-dex_92889-c">    <img height="1" width="1" style='display:none;visibility:hidden;' src='//fls-eu.amazon.com/1/batch/1/OP/A1PA6795UKMFR9:262-6369846-0176815:M9FQMQXM37V50P1SPBNG$uedata=s:%2Fap%2Fuedata%3Fstaticb%26id%3DM9FQMQXM37V50P1SPBNG:0' alt=""/>[LF][LF][LF]<script type='text/javascript'>[LF][LF](function(){function l(a){for(var c=b.location.search.substring(1).split("&"),e=0;e<c.length;e++){var d=c[e].split("=");if(d[0]===a)return d[1]}}window.amzn=window.amzn||{};amzn.copilot=amzn.copilot||{};var b=window,f=document,g=b.P||b.AmazonUIPageJS,h=f.head||f.getElementsByTagName("head")[0],m=0,n=0;amzn.copilot.checkCoPilotSession=function(){f.cookie.match("cpidv")&&("undefined"!==typeof jQuery&&k(jQuery),g&&g.when&&g.when("jQuery").execute(function(a){k(a)}),b.amznJQ&&b.amznJQ.available&&b.amznJQ.available("jQuery",[LF]function(){k(jQuery)}),b.jQuery||g||b.amznJQ||q())};var q=function(){m?b.ue&&"function"===typeof b.ue.count&&b.ue.count("cpJQUnavailable",1):(m=1,f.addEventListener?f.addEventListener("DOMContentLoaded",amzn.copilot.checkCoPilotSession,!1):f.attachEvent&&f.attachEvent("onreadystatechange",function(){"complete"===f.readyState&&amzn.copilot.checkCoPilotSession()}))},k=function(a){if(!n){n=1;amzn.copilot.jQuery=a;a=l("debugJS");var c="https:"===b.location.protocol?1:0,e=1;url="/gp/copilot/handlers/copilot_strings_resources.html";[LF]window.texas&&texas.locations&&(url=texas.locations.makeUrl(url));g&&g.AUI_BUILD_DATE&&(e=0);amzn.copilot.jQuery.ajax&&amzn.copilot.jQuery.ajax({url:url,dataType:"json",data:{isDebug:a,isSecure:c,includeAUIP:e},success:function(a){amzn.copilot.vip=a.serviceEndPoint;amzn.copilot.enableMultipleTabSession=a.isFollowMe;r(a)},error:function(){b.ue.count("cpLoadResourceError",1)}})}},r=function(a){var c=amzn.copilot.jQuery,e=function(){amzn.copilot.setup(c.extend({isContinuedSession:!0},a))};a.CSSUrls&&[LF]c.each(a.CSSUrls[0],function(a,c){var b=f.createElement("link");b.type="text/css";b.rel="stylesheet";b.href=c;h.appendChild(b)});a.CSSTag&&s(a.CSSTag);if(a.JSUrls){var d=l("forceSynchronousJS"),b=a.JSUrls[0];c.each(b,function(a,c){a===b.length-1?p(c,d,e):p(c,d)})}a.JSTag&&(t(a.JSTag),P.when("CSCoPilotPresenterAsset").execute(function(){e()}))},t=function(a){var c=f.createElement("div");c.innerHTML=a;a=0;for(var b=c.children.length;a<b;a++){var d=f.createElement("script");d.type="text/javascript";[LF]d.innerHTML=c.children[a].innerHTML;h.appendChild(d)}},s=function(a){var b=f.createElement("div");b.innerHTML=a;a=0;for(var e=b.children.length;a<e;a++)h.appendChild(b.children[a])},p=function(a,b,e){var d=f.createElement("script");d.type="text/javascript";d.src=a;d.async=b?!1:!0;e&&(d.onload=e);h.appendChild(d)}})();[LF][LF]amzn.copilot.checkCoPilotSession();[LF][LF]</script>[LF]<div id="a-page"><script type="a-state" data-a-state="{&quot;key&quot;:&quot;a-wlab-states&quot;}">{"AUI_51744":null,"AUI_57326":null,"AUI_72554":null,"AUI_83815":null,"AUI_86171":null,"AUI_96511":null,"AUI_ACCESSIBILITY_49860":null,"AUI_ATTR_VALIDATIONS_1_51371":null,"AUI_BOLT_62845":null,"AUI_NOOPENER_84118":null,"AUI_UX_102912":null,"AUI_UX_59374":null,"AUI_UX_60000":null,"AUI_UX_92006":null,"AUI_UX_98513":null,"DEX_92889":null}</script>[LF]    [LF]      [LF][LF]      [LF]        <div class="a-section a-spacing-none">[LF]          [LF][LF]<div class="a-container a-global-nav-wrapper">[LF]  [LF][LF][LF][LF][LF]  [LF][LF][LF]<div class="a-section a-spacing-none a-text-center">[LF]  [LF]    [LF]      [LF]        [LF][LF]        [LF]          [LF]            [LF]              <img src="https://images-na.ssl-images-amazon.com/images/G/03/authportal/dee/prod/alexa_logo_stacked_light._CB528708102_.png" alt="Amazon Alexa"/>[LF]            [LF][LF]            [LF]          [LF]        [LF]      [LF]    [LF][LF]    [LF]  [LF]</div>[LF][LF]</div>[LF][LF]        </div>[LF]      [LF]    [LF][LF]    <div class="a-container">[LF]      <div class="a-section a-spacing-none">[LF]        [LF]      </div>[LF][LF]      [LF][LF]      <div class="a-section a-spacing-none auth-pagelet-mobile-container">[LF]        [LF][LF][LF][LF][LF][LF][LF][LF]  [LF][LF]  [LF][LF]  [LF][LF][LF]      </div>[LF][LF]      <div class="a-section auth-pagelet-mobile-container">[LF]        [LF][LF]        [LF][LF][LF][LF][LF][LF][LF][LF][LF][LF][LF][LF][LF][LF][LF][LF][LF]<script type="a-state" data-a-state="{&quot;key&quot;:&quot;auth-prepopulate-credential-state&quot;}">{"isPrepopulateEnabled":true}</script>[LF][LF]<!-- Set cross domain sso variables to be used for making Ajax calls to central Identity domain -->[LF][LF][LF]<!-- Set cross domain sso variables to be used for making Ajax calls to central Identity domain -->[LF][LF][LF][LF][LF][LF][LF][LF][LF][LF][LF][LF]<div id="auth-alert-window" class="a-box a-alert a-alert-error"><div class="a-box-inner a-alert-container"><h4 class="a-alert-heading">Ein Problem ist aufgetreten:</h4><div class="a-alert-content">[LF]  <ul class="a-unordered-list a-vertical auth-error-messages" role="alert">[LF]    <li id="auth-email-missing-alert"><span class="a-list-item">[LF]      Bitte geben Sie Ihre E-Mail-Adresse oder Mobiltelefonnummer ein[LF]    </span></li>[LF][LF]    <li id="auth-email-invalid-email-alert"><span class="a-list-item">[LF]      Ungültige E-Mail-Adresse oder Mobiltelefonnummer[LF]    </span></li>[LF][LF]    <li id="auth-password-missing-alert"><span class="a-list-item">[LF]      Geben Sie Ihr Passwort ein[LF]    </span></li>[LF][LF]    <li id="auth-guess-missing-alert"><span class="a-list-item">[LF]      Geben Sie die Zeichen so ein, wie sie auf dem Bild erscheinen.[LF]    </span></li>[LF]  </ul>[LF]</div></div></div>[LF][LF][LF][LF][LF][LF]<!-- show a warning modal dialog when the third party account is connected with Amazon -->[LF][LF][LF]<form name="signIn" method="post" novalidate action="https://www.amazon.de/ap/signin" class="auth-validate-form auth-clearable-form">[LF]  [LF]    [LF][LF]    [LF]      <input type="hidden" name="appActionToken" value="t5C0LLe3juVKdj2B9Xj2BV7Ud5jBN64j3D" /><input type="hidden" name="appAction" value="SIGNIN" />[LF]    [LF]  [LF][LF]  [LF][LF][LF][LF][LF][LF]  [LF]    <input type="hidden" name="showRmrMe" value="ape:MQ==">[LF]  [LF]    <input type="hidden" name="openid.return_to" value="ape:aHR0cHM6Ly9hbGV4YS5hbWF6b24uZGUvYXBpL2RldmljZXMtdjIvZGV2aWNlP2NhY2hlZD1mYWxzZQ==">[LF]  [LF]    <input type="hidden" name="prevRID" value="ape:TTlGUU1RWE0zN1Y1MFAxU1BCTkc=">[LF]  [LF]    <input type="hidden" name="openid.identity" value="ape:aHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjAvaWRlbnRpZmllcl9zZWxlY3Q=">[LF]  [LF]    <input type="hidden" name="openid.assoc_handle" value="ape:YW16bl9kcF9wcm9qZWN0X2RlZV9kZQ==">[LF]  [LF]    <input type="hidden" name="openid.mode" value="ape:Y2hlY2tpZF9zZXR1cA==">[LF]  [LF]    <input type="hidden" name="prepopulatedLoginId">[LF]  [LF]    <input type="hidden" name="failedSignInCount" value="ape:MA==">[LF]  [LF]    <input type="hidden" name="openid.claimed_id" value="ape:aHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjAvaWRlbnRpZmllcl9zZWxlY3Q=">[LF]  [LF]    <input type="hidden" name="pageId" value="ape:YW16bl9kcF9wcm9qZWN0X2RlZV9kZQ==">[LF]  [LF]    <input type="hidden" name="openid.ns" value="ape:aHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjA=">[LF]  [LF][LF][LF][LF]  [LF][LF][LF][LF][LF][LF]  [LF]  [LF]    <div class="a-row">[LF]      <div class="a-column a-span6">[LF]        <h1 class="a-spacing-small a-spacing-top-small a-text-left">[LF]          Anmelden[LF]        </h1>[LF]      </div>[LF]      [LF]        <div class="a-column a-span6 a-text-right a-spacing-top-base a-span-last">[LF]          [LF][LF][LF][LF]  [LF]  [LF]  [LF]    [LF]  [LF][LF]<a id="auth-fpp-link-bottom" class="a-link-normal" tabindex="9" href="https://www.amazon.de/ap/forgotpassword?showRmrMe=1&openid.return_to=https%3A%2F%2Falexa.amazon.de%2Fapi%2Fdevices-v2%2Fdevice%3Fcached%3Dfalse&prevRID=M9FQMQXM37V50P1SPBNG&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&prepopulatedLoginId=&failedSignInCount=0&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&pageId=amzn_dp_project_dee_de&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0">[LF]  Passwort vergessen[LF]</a>        [LF]        </div>[LF]      [LF]    </div>[LF]  [LF][LF][LF]  [LF][LF]  <div class="a-input-text-group a-spacing-medium a-spacing-top-micro">[LF]    [LF][LF]    <label for="ap_email" class="a-form-label auth-mobile-label">[LF]      Email (Telefon für mobile Konten)[LF]    </label>[LF][LF]    [LF][LF]    <div class="a-input-text-wrapper auth-required-field auth-fill-claim"><input type="email" maxlength="128" id="ap_email" placeholder="Email (Telefon für mobile Konten)" name="email" tabindex="1" autocorrect="off" autocapitalize="off"></div>[LF]    [LF][LF]<div id="ap_email_icon" class="auth-clear-icons">[LF]  <i class="a-icon a-icon-close" role="img"></i>[LF]</div>[LF]    [LF][LF][LF][LF][LF]    [LF][LF][LF][LF][LF][LF][LF][LF][LF]<script type="a-state" data-a-state="{&quot;key&quot;:&quot;auth-show-password&quot;}">{"isShowPasswordEnabled":true,"showPasswordChecked":false}</script>[LF][LF][LF][LF][LF]  [LF]  [LF]    [LF]  [LF][LF][LF]  [LF]  [LF]    [LF]  [LF][LF][LF]<label for="ap_password" class="a-form-label auth-mobile-label">[LF]  Amazon Passwort[LF]</label>[LF][LF]<div id="auth-password-container" class="a-input-text-wrapper auth-required-field auth-password-container auth-password auth-fill-password"><input type="password" maxlength="1024" id="ap_password" placeholder="Amazon Passwort" name="password" tabindex="2"></div>[LF][LF][LF][LF]<div id="ap_password_icon" class="auth-clear-icons">[LF]  <i class="a-icon a-icon-close" role="img"></i>[LF]</div>[LF][LF][LF][LF][LF]<div id="auth-password-missing-alert" class="a-box a-alert-inline a-alert-inline-error auth-inlined-error-message a-spacing-top-mini"><div class="a-box-inner a-alert-container"><i class="a-icon a-icon-alert"></i><div class="a-alert-content">[LF]  Geben Sie Ihr Passwort ein.[LF]</div></div></div>[LF][LF][LF][LF]  [LF]  <div class="a-row auth-visible-password-container auth-show-password-empty">[LF]    <span class="a-size-small a-color-secondary auth-visible-password"></span>[LF]  </div>[LF][LF]  <input type="hidden" name="showPasswordChecked" value="false" id="ap_show_password_checked">[LF][LF][LF]  </div>[LF][LF]  <div class="a-row">   [LF]    [LF]      <div class="a-column a-span12 a-spacing-medium">[LF]        <div id="auth-show-password-checkbox-container" class="a-checkbox a-checkbox-fancy a-control-row a-touch-checkbox auth-show-password-checkbox"><label for="auth-show-password-checkbox"><input id="auth-show-password-checkbox" type="checkbox" name="" value="" tabindex="3"><i class="a-icon a-icon-checkbox"></i><span class="a-label a-checkbox-label">[LF]          Passwort einblenden[LF]        </span></label></div>[LF]      </div>[LF]    [LF]  </div>[LF][LF]  <div class="a-row a-spacing-base">[LF]    [LF][LF][LF][LF][LF][LF][LF]  <div data-a-input-name="rememberMe" class="a-checkbox a-checkbox-fancy a-control-row a-touch-checkbox"><label><input type="checkbox" name="rememberMe" value="true" tabindex="4"><i class="a-icon a-icon-checkbox"></i><span class="a-label a-checkbox-label">[LF]    Angemeldet bleiben.[LF]    <span class="a-declarative" data-action="a-modal" data-a-modal="{&quot;max-width&quot;:&quot;500px&quot;,&quot;width&quot;:&quot;95%&quot;,&quot;name&quot;:&quot;remember-me-detail-link-modal&quot;,&quot;header&quot;:&quot;\&quot;Angemeldet bleiben\&quot; Kontrollkästchen&quot;}">[LF]      <a id="remember_me_learn_more_link" class="a-link-normal" href="#">[LF]        Details[LF]      </a>[LF]    </span>[LF][LF]    <div class="a-popover-preload" id="a-popover-remember-me-detail-link-modal">[LF]      <div class="a-section a-spacing-large a-spacing-top-mini">[LF]        <p>[LF]          <p>Wenn Sie "Angemeldet bleiben" auswählen, werden Sie seltener aufgefordert, sich bei diesem Gerät anzumelden.</p>[CR][LF]<p>Um Ihr Konto zu schützen, verwenden Sie diese Option nur auf Ihren persönlichen Geräten.</p>[LF]        </p>[LF]      </div>[LF]    </div>[LF]  </span></label></div>[LF][LF][LF]  </div>[LF][LF]  <div class="a-row">[LF]    [LF][LF][LF][LF][LF][LF][LF][LF]  </div>[LF]  [LF]  <div class="a-section">[LF]    <div class="a-button-stack">[LF]      <span id="auth-signin-button" class="a-button a-spacing-extra-large a-button-span12 a-button-primary auth-share-credential-off"><span class="a-button-inner"><input id="signInSubmit" tabindex="6" class="a-button-input" type="submit" aria-labelledby="auth-signin-button-announce"><span id="auth-signin-button-announce" class="a-button-text" aria-hidden="true">[LF]        Anmelden[LF]      </span></span></span>[LF][LF]      [LF]<script>[LF]  function cf() {[LF]    if (typeof window.uet === 'function') {[LF]      uet('cf');[LF]    }[LF]    if (window.embedNotification &&[LF]      typeof window.embedNotification.onCF === 'function') {[LF]      embedNotification.onCF();[LF]    }[LF]  }[LF]</script>[LF][LF]<script type="text/javascript">cf()</script>[LF][LF]      [LF]      [LF][LF]      [LF]        [LF][LF][LF][LF][LF]  [LF]  [LF]  [LF]    [LF]      [LF]      [LF]      [LF]        [LF]        [LF]      [LF]    [LF]  [LF][LF]      [LF][LF]      [LF][LF][LF][LF][LF][LF][LF]<div class="a-section a-spacing-medium a-text-center">[LF]  [LF]    [LF]    [LF]      [LF]        [LF]        <div class="a-divider a-divider-break"><h5>Neu bei Amazon?</h5></div>[LF]        <span id="auth-create-account-link" class="a-button a-button-span12"><span class="a-button-inner"><a id="createAccountSubmit" tabindex="7" href="https://www.amazon.de/ap/register?showRmrMe=1&openid.return_to=https%3A%2F%2Falexa.amazon.de%2Fapi%2Fdevices-v2%2Fdevice%3Fcached%3Dfalse&prevRID=M9FQMQXM37V50P1SPBNG&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&prepopulatedLoginId=&failedSignInCount=0&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&pageId=amzn_dp_project_dee_de&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0" class="a-button-text" role="button">[LF]          Neues Amazon Konto erstellen[LF]        </a></span></span>[LF]      [LF]    [LF]  [LF]</div>[LF][LF]      [LF]      [LF][LF]      [LF]      [LF]  [LF]      [LF]    </div>[LF]  </div>[LF]</form>[LF][LF][LF]      </div>[LF]    </div>[LF][LF]    [LF][LF][LF][LF][LF]<script id="fwcim-script" crossorigin="anonymous" type="text/javascript" src="https://images-na.ssl-images-amazon.com/images/G/03/x-locale/common/login/fwcim._CB500311650_.js"></script>[LF]<script type="text/javascript">[LF]if (typeof fwcim != "undefined") {[LF][LF]fwcim.useMercury('https://images-na.ssl-images-amazon.com/images/G/03/x-locale/common/login/mercury9._CB372126611_.swf')[LF][LF][LF][LF]fwcim.profile('signIn');[LF][LF][LF]}[LF]</script>[LF][LF][LF]    [LF]      [LF][LF]      [LF]        <div class="a-section a-spacing-none">[LF]          [LF][LF][LF][LF]  <div class="a-row auth-footer">[LF]    [LF][LF][LF][LF]<div class="a-divider a-divider-section"><div class="a-divider-inner"></div></div>[LF][LF]<div class="a-section a-spacing-small a-text-center">[LF]  <span class="auth-footer-seperator"></span>[LF][LF]  [LF][LF]  [LF]</div>[LF][LF][LF]    [LF][LF]<div class="a-row a-spacing-none a-size-mini a-color-secondary a-text-center">[LF]  [LF][LF][LF][LF][LF][LF]<span>[LF]  © 1998-2018, Amazon.com, Inc. oder Tochtergesellschaften[LF]</span>[LF][LF]</div>[LF][LF]  </div>[LF][LF][LF]        </div>[LF]      [LF]    [LF][LF]    [LF]    <!-- cache slot rendered -->[LF]    [LF]  </div><div id='be' style="display:none;visibility:hidden;"><form name='ue_backdetect' action="get"><input type="hidden" name='ue_back' value='1' /></form>[LF][LF][LF]    <script type="text/javascript">[LF]var ue_mbl=ue_csm.ue.exec(function(e,a){function k(f){b=f||{};a.AMZNPerformance=b;b.transition=b.transition||{};b.timing=b.timing||{};e.ue.exec(l,"csm-android-check")()&&b.tags instanceof Array&&(f=-1!=b.tags.indexOf("usesAppStartTime")||b.transition.type?!b.transition.type&&-1<b.tags.indexOf("usesAppStartTime")?"warm-start":void 0:"view-transition",f&&(b.transition.type=f));"reload"===d._nt&&e.ue_orct||"intrapage-transition"===d._nt?a.performance&&performance.timing&&performance.timing.navigationStart?[LF]b.timing.transitionStart=a.performance.timing.navigationStart:delete b.timing.transitionStart:"undefined"===typeof d._nt&&a.performance&&performance.timing&&performance.timing.navigationStart&&a.history&&"function"===typeof a.History&&"object"===typeof a.history&&history.length&&1!=history.length&&(b.timing.transitionStart=a.performance.timing.navigationStart);f=b.transition;var c;c=d._nt?d._nt:void 0;f.subType=c;a.ue&&a.ue.tag&&a.ue.tag("has-AMZNPerformance");d.isl&&a.uex&&uex("at","csm-timing");[LF]m()}function n(b){a.ue&&a.ue.count&&a.ue.count("csm-cordova-plugin-failed",1)}function l(){return a.webclient&&"function"===typeof a.webclient.getRealClickTime?a.cordova&&a.cordova.platformId&&"ios"==a.cordova.platformId?!1:!0:!1}function m(){try{P.register("AMZNPerformance",function(){return b})}catch(a){}}function g(){if(!b)return"";ue_mbl.cnt=null;var a=b.transition,c;c=b.timing.transitionStart;c="undefined"!==typeof c&&"undefined"!==typeof h?c-h:void 0;a=["mts",c,"mtt",a.type,"mtst",a.subType,[LF]"mtlt",a.launchType];c="";for(var d=0;d<a.length;d+=2){var e=a[d],g=a[d+1];"undefined"!==typeof g&&(c+="&"+e+"="+g)}return c}function p(a,c){b&&(h=c,b.timing.transitionStart=a,b.transition.type="view-transition",b.transition.subType="ajax-transition",b.transition.launchType="normal",ue_mbl.cnt=g)}var d=e.ue||{},h=e.ue_t0,b;if(a.P&&a.P.when&&a.P.register)return a.P.when("CSMPlugin").execute(function(a){a.buildAMZNPerformance&&a.buildAMZNPerformance({successCallback:k,failCallback:n})}),{cnt:g,ajax:p}},[LF]"mobile-timing")(ue_csm,window);[LF][LF](function(d){d._uess=function(){var a="";screen&&screen.width&&screen.height&&(a+="&sw="+screen.width+"&sh="+screen.height);var b=function(a){var b=document.documentElement["client"+a];return"CSS1Compat"===document.compatMode&&b||document.body["client"+a]||b},c=b("Width"),b=b("Height");c&&b&&(a+="&vw="+c+"&vh="+b);return a}})(ue_csm);[LF][LF](function(a){var b=document.ue_backdetect;b&&b.ue_back&&a.ue&&(a.ue.bfini=b.ue_back.value);a.uet&&a.uet("be");a.onLdEnd&&(window.addEventListener?window.addEventListener("load",a.onLdEnd,!1):window.attachEvent&&window.attachEvent("onload",a.onLdEnd));a.ueh&&a.ueh(0,window,"load",a.onLd,1);a.ue&&a.ue.tag&&(a.ue_furl&&a.ue_furl.split?(b=a.ue_furl.split("."))&&b[0]&&a.ue.tag(b[0]):a.ue.tag("nofls"))})(ue_csm);[LF](function(g,h){function d(a,d){var b={};if(!e||!f)try{var c=h.sessionStorage;c?a&&("undefined"!==typeof d?c.setItem(a,d):b.val=c.getItem(a)):f=1}catch(g){e=1}e&&(b.e=1);return b}var b=g.ue||{},a="",f,e,c,a=d("csmtid");f?a="NA":a.e?a="ET":(a=a.val,a||(a=b.oid||"NI",d("csmtid",a)),c=d(b.oid),c.e||(c.val=c.val||0,d(b.oid,c.val+1)),b.ssw=d);b.tabid=a})(ue_csm,window);[LF]ue_csm.ue.exec(function(e,f){var a=e.ue||{},b=a._wlo,d;if(a.ssw){d=a.ssw("CSM_previousURL").val;var c=f.location,b=b?b:c&&c.href?c.href.split("#")[0]:void 0;c=(b||"")===a.ssw("CSM_previousURL").val;!c&&b&&a.ssw("CSM_previousURL",b);d=c?"reload":d?"intrapage-transition":"first-view"}else d="unknown";a._nt=d},"NavTypeModule")(ue_csm,window);[LF][LF][LF](function(b,c){var a=c.images;a&&a.length&&b.ue.count("totalImages",a.length)})(ue_csm,document);[LF][LF][LF]ue_csm.ue._rtn = 1;[LF](function(e,f){function h(a){a=a.split("?")[0]||a;a=a.replace("http://","").replace("https://","").replace("resource://","").replace("res://","").replace("undefined://","").replace("chrome://","").replace(/\*/g,"").replace(/!/g,"").replace(/~/g,"");var b=a.split("/");a=a.substr(a.lastIndexOf("/")+1);b.splice(-1);b=b.map(function(a){c[a]||(c[a]=(k++).toString(36));return c[a]});b.push(a);return b.join("!")}function l(){return f.getEntriesByType("resource").filter(function(a){return d._rre(a)<d._ld}).sort(function(a,[LF]b){return a.responseEnd-b.responseEnd}).splice(0,m).map(function(a){var b=[],c;for(c in a)g[c]&&a[c]&&b.push(g[c]+Math.max(a[c]|0,-1).toString(36));b.push("i"+a.initiatorType);(1==d._rtn&&d._afjs>n||2==d._rtn)&&b.push("n"+h(a.name));return b.join("_")}).join("*")}function p(){var a="pm",b;for(b in c)c.hasOwnProperty(b)&&(a+="*"+c[b]+"_"+b);return a}function q(){d.log({k:"rtiming",value:l()+"~"+p()},"csm")}if(f&&f.getEntriesByType&&Array.prototype.map&&Array.prototype.filter&&e.ue&&e.ue.log){var g=[LF]{connectStart:"c",connectEnd:"C",domainLookupStart:"d",domainLookupEnd:"D",duration:"z",fetchStart:"f",redirectStart:"r",redirectEnd:"R",requestStart:"q",responseStart:"s",responseEnd:"S",startTime:"a"},d=e.ue,c={},k=1,n=20,m=200;d&&d._rre&&(d._art=function(){d._ld&&window.setTimeout(q,0)})}})(ue_csm||{},window.performance);[LF][LF][LF](function(c,d){var b=c.ue,a=d.navigator;b&&b.tag&&a&&(a=a.connection||a.mozConnection||a.webkitConnection)&&a.type&&b.tag("netInfo:"+a.type)})(ue_csm,window);[LF][LF][LF](function(c,d){function h(a,b){for(var c=[],d=0;d<a.length;d++){var e=a[d],f=b.encode(e);if(e[k]){var g=b.metaSep,e=e[k],l=b.metaPairSep,h=[],m=void 0;for(m in e)e.hasOwnProperty(m)&&h.push(m+"="+e[m]);e=h.join(l);f+=g+e}c.push(f)}return c.join(b.resourceSep)}function s(a){var b=a[k]=a[k]||{};b[t]||(b[t]=c.ue_mid);b[u]||(b[u]=c.ue_sid);b[f]||(b[f]=c.ue_id);b.csm=1;a="//"+c.ue_furl+"/1/"+a[v]+"/1/OP/"+a[w]+"/"+a[x]+"/"+h([a],y);if(n)try{n.call(d[p],a)}catch(g){c.ue.sbf=1,(new Image).src=a}else(new Image).src=[LF]a}function q(){g&&g.isStub&&g.replay(function(a,b,c){a=a[0];b=a[k]=a[k]||{};b[f]=b[f]||c;s(a)});l.impression=s;g=null}if(!(1<c.ueinit)){var k="metadata",x="impressionType",v="foresterChannel",w="programGroup",t="marketplaceId",u="session",f="requestId",p="navigator",l=c.ue||{},n=d[p]&&d[p].sendBeacon,r=function(a,b,c,d){return{encode:d,resourceSep:a,metaSep:b,metaPairSep:c}},y=r("","?","&",function(a){return h(a.impressionData,z)}),z=r("/",":",",",function(a){return a.featureName+":"+h(a.resources,[LF]A)}),A=r(",","@","|",function(a){return a.id}),g=l.impression;n?q():(l.attach("load",q),l.attach("beforeunload",q));d.P&&d.P.register&&d.P.register("impression-client",function(){})}})(ue_csm,window);[LF][LF][LF][LF][LF]var ue_pty = "AuthenticationPortal";[LF][LF]var ue_spty = "MobileSignInApplication";[LF][LF][LF][LF]var ue_adb = 4;[LF]ue_csm.ue.exec(function(u,a){function q(){b=f;g();if(h)try{d.setItem(k,b)}catch(a){}}function r(){b=1===a.ue_adb_chk?m:f;g();if(h)try{d.setItem(k,b)}catch(c){}}function g(){l.tag(b);l.isl&&a.uex&&uex("at",b);c&&0<c.ec?n():a.ue_adb_rtla&&c&&(c.elh=n)}function n(){a.ue_adb_rtla&&c&&0<c.ec&&!1===p&&(c.elh=null,ueLogError({m:"Hit Info"},{logLevel:"INFO",adb:b}),p=!0)}var l=a.ue,f="adblk_yes",m="adblk_no",s=a.ue_adb_url||"https://m.media-amazon.com/images/G/01/csm/showads.v2.js",b="adblk_unk",d;a:{try{d=[LF]a.localStorage;break a}catch(v){}d=void 0}var k="csm:adb",e=a.ue_adb,c=a.ue_err,h=d&&(3===e||4===e||5===e),e=4!==e&&5!==e,p=!1,t=function(){if(d&&h){var a;a:{try{a=d.getItem(k);break a}catch(c){}a=void 0}if(a)return b=a,!0}return!1}();e||!t?l.uels(s,{onerror:q,onload:r}):g();a.ue_isAdb=function(){return b};a.ue_isAdb.unk="adblk_unk";a.ue_isAdb.no=m;a.ue_isAdb.yes=f},"adb")(document,window);[LF][LF][LF][LF][LF]</script>[LF][LF]</div>[LF][LF]<noscript>[LF]    <img height="1" width="1" style='display:none;visibility:hidden;' src='//fls-eu.amazon.com/1/batch/1/OP/A1PA6795UKMFR9:262-6369846-0176815:M9FQMQXM37V50P1SPBNG$uedata=s:%2Fap%2Fuedata%3Fnoscript%26id%3DM9FQMQXM37V50P1SPBNG:0' alt=""/>[LF]</noscript>[LF]</body>[LF]</html>[LF]
                  2018-05-07 16:44:51    431715    6740    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 2 | Line: 856 | Invalid argument supplied for foreach() 
                  2018-05-07 16:44:51    434474    6740    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 1517 | Undefined index: Gästebad 
                  2018-05-07 16:44:51    435842    6740    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 1517 | Undefined index: Gästebad
                  Das "devices.json" scheint wohl redirected zu werden...

                  Kommentar


                    Das Devices JSON ist nur so kryptisch, weil das CSRF nicht gesetzt ist. Ich weiss aber nicht warum das so ist.
                    Entweder kann das cookie File nicht geöffnet werden oder es kann der CSRF Eintrag nicht gefunden werden.
                    Beides war aber zumindest bei deinem Post von heute morgen nicht erkennbar. Das File war da und auch die CSRF Zeile war korrekt.

                    Hier der relevante Code:

                    PHP-Code:
                                $csrf false;
                                
                    $fp fopen($this->cookieFile'r');
                                while (
                    $fp && ! feof($fp)) {
                                    
                    $cookie_line fgets($fp);
                                    
                    $cookie_line_array explode("\t"$cookie_line);
                                    if (
                    $cookie_line_array[0] == '.' $this->amazon && $cookie_line_array[5] == "csrf") {
                                        
                    $csrf trim($cookie_line_array[6]);
                                        break;
                                    }
                                }
                                
                    fclose($fp);
                                if (
                    $csrf == false)
                                    
                    logging($id'ERROR: CSRF NOT FOUND');
                                else
                                    
                    logging($id'INFO: CSRF FOUND: ' $csrf); 
                    Es wird das File zeilenweise gelesen und nach der Zeile gesucht, welche mit .amazon.de beginnt und wo an sechster Stelle 'csrf' steht. Wenn dies der Fall ist, wird der 7. Wert in der Zeile als CSRF gespeichert.

                    Du kannst hinter der { der while Schleife noch mal ein

                    PHP-Code:
                    logging($id,'cookie-line: '.$cookie_line); 
                    machen, dann kann man nochmal im Log nachvollziehen, welche Zeilen er einliest.

                    Kommentar


                      Hi
                      Code:
                      2018-05-08 08:30:18    441915    7257    debug      LBS19000809 [v1.4.1]:    LBS started
                      2018-05-08 08:30:18    471965    7257    debug      LBS19000809 [v1.4.1]:    exec(): Daemon is not running
                      2018-05-08 08:30:18    478029    7257    debug      LBS19000809 [v1.4.1]:    Starting Alexa Control daemon...
                      2018-05-08 08:30:18    507579    7257    debug      LBS19000809 [v1.4.1]:    exec(): Daemon is not running
                      2018-05-08 08:30:18    509100    7257    debug      LBS19000809 [v1.4.1]:    exec(): Starting daemon ...
                      2018-05-08 08:30:18    544105    7257    debug      LBS19000809 [v1.4.1]:    LBS ended
                      2018-05-08 08:30:18    603554    7521    debug      EXE19000809 [v1.4.1]:    EXEC daemon started with msg_queue_id: 1599876385682895
                      2018-05-08 08:30:18    606367    7521    debug      EXE19000809 [v1.4.1]:    Running in auto mode
                      2018-05-08 08:30:18    607779    7521    debug      EXE19000809 [v1.4.1]:    Is manual mode?
                      2018-05-08 08:30:18    609086    7521    debug      EXE19000809 [v1.4.1]:    Is autol mode ? 1
                      2018-05-08 08:30:21    312439    7521    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 765 | Undefined variable: id
                      2018-05-08 08:30:21    314431    7521    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 765 | Undefined variable: cookie_line
                      2018-05-08 08:30:21    315982    7521    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 765 | Undefined variable: id
                      2018-05-08 08:30:21    317583    7521    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 765 | Undefined variable: id
                      2018-05-08 08:30:21    319957    7521    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 765 | Undefined variable: id
                      2018-05-08 08:30:21    322269    7521    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 765 | Undefined variable: id
                      2018-05-08 08:30:21    324712    7521    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 765 | Undefined variable: id
                      2018-05-08 08:30:21    327030    7521    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 765 | Undefined variable: id
                      2018-05-08 08:30:21    329411    7521    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 765 | Undefined variable: id
                      2018-05-08 08:30:21    331788    7521    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 765 | Undefined variable: id
                      2018-05-08 08:30:21    334202    7521    debug      EXE19000809 [v1.4.1]:    File: /usr/local/edomi/www/data/liveproject/lbs/EXE19000809.php | Error: 8 | Line: 765 | Undefined variable: id
                      2018-05-08 08:30:21    336647    7521    debug      EXE19000809 [v1.4.1]:    Amazon Alexa Connection failed
                      2018-05-08 08:30:21    338854    7521    debug      EXE19000809 [v1.4.1]:    ERROR: CSRF NOT FOUND
                      2018-05-08 08:30:21    689138    7521    debug      EXE19000809 [v1.4.1]:    Devices JSON:
                      Gruß
                      Thorsten

                      ich ändere es gerade mal auf:
                      logging(123456, 'cookie-line: '.$cookie_line);
                      und zwar nach
                      $cookie_line = fgets($fp);

                      ... hoffe es hilft.
                      Zuletzt geändert von ThorstenGehrig; 08.05.2018, 07:37.

                      Kommentar


                        hm... das logging kriege ich gerade nicht hin :-( Vielleicht hilfst du mir damit nochmal?
                        Edit: hab jetzt eine existierende ID fix eingetragen... jetzt sehe ich wenigstens das logging (wenn auch von allen 4 bausteinen in einem log....).
                        Derzeit wird aber der CSRF gefunden und es geht... müssen als wieder einige Stunden warten bis der Fehler wieder aufkommt...
                        Zuletzt geändert von ThorstenGehrig; 08.05.2018, 08:03.

                        Kommentar


                          Sicher, dass du es auf die 1.4.1 anwendest?
                          In der v1.4.1 sollte doch am Anfang der function ein

                          PHP-Code:
                          global $id
                          stehen. Damit sollte $id bekannt sein.

                          So sollte jetzt der Beginn der Funktion aussehen:

                          PHP-Code:
                              function searchDevices()
                              {
                                  global 
                          $id;
                                  
                          // only search in auto mode
                                  
                          if ($this->isAutoMode()) {

                                      
                          $csrf false;
                                      
                          $fp fopen($this->cookieFile'r');
                                      while (
                          $fp && ! feof($fp)) {
                                          
                          $cookie_line fgets($fp);
                                          
                          logging($id,'cookie-line: '.$cookie_line);
                                          
                          $cookie_line_array explode("\t"$cookie_line);
                                          
                          logging($id,'cookie-line-array: ',$cookie_line_array);
                                          if (
                          $cookie_line_array[0] == '.' $this->amazon && $cookie_line_array[5] == "csrf") {
                                              
                          $csrf trim($cookie_line_array[6]);
                                              break;
                                          }
                                      }
                                      
                          fclose($fp);
                                      if (
                          $csrf == false)
                                          
                          logging($id'ERROR: CSRF NOT FOUND');
                                      else
                                          
                          logging($id'INFO: CSRF FOUND: ' $csrf); 


                          Sind eigentlich alle deine Echo Devices (die du mit dem LBS nutzt) im gleichen Amazon Account registriert?

                          Zitat von ThorstenGehrig Beitrag anzeigen
                          jetzt sehe ich wenigstens das logging (wenn auch von allen 4 bausteinen in einem log....)
                          Hast du denn oben:

                          PHP-Code:
                          [v#104        = 1 ]                            // One logfile per instance
                          [v#105        = 0 ]                            // log ID in each line 

                          Kommentar


                            Hi
                            ja - 1.4.1 ... sicher! (global $id; steht da auch drinnen)
                            Aber: ich hab die änderungen wohl in der " function importCSRF()" vorgenommen... da sieht das ganze ähnlich aus...
                            Ich habs mal korrigiert... (jeztzt in function searchDevices())
                            Jetzt warte ich mal auf das Auftreten des Fehlers und melde mich wieder :-)
                            Gruß
                            Thorsten

                            Kommentar


                              ...da ich ja gerade auf Fehler warte... noch ein Kommentar zur neuen Alarm funktion:
                              ich bekomme alle Erinnerungen auf dem Baustein ausgegeben - allerdings keine Alarme (Wecker).
                              Derzeit habe ich nur Wecker auf dem Spot - und muss heute abend mal ein anderen DOT oder ECHO ausprobieren.
                              Funktionieren bei dir auch Weck-Alarme?
                              Gruß
                              Thorsten

                              Kommentar


                                Wie lauten denn die Alexa Befehle, die du verwendest, dann kann ich das bei mir mal damit nachprüfen. Ehrlich gesagt, weiss ich nicht mehr genau welche Alarme, Wecker, Einnerungen, Time, etc. erkannt werden.

                                Kommentar

                                Lädt...
                                X