Code : Tout sélectionner
2019-11-27 09:23:01.068 Status: dzVents: Info: Test Urls v0.1: ------ Start external script: testsUrl.lua: HTTPResponse: "testUrl1"
2019-11-27 09:23:01.074 Status: dzVents: !Info: Test Urls v0.1: Domoticz version: 4.10717, and dzVents version : 2.4.19
2019-11-27 09:23:01.074 Status: dzVents: !Info: Test Urls v0.1: {
2019-11-27 09:23:01.074 "result" : [
2019-11-27 09:23:01.074 {
2019-11-27 09:23:01.074 "LastUpdate" : "2019-02-28 11:46:33",
2019-11-27 09:23:01.074 "Name" : "api_weather_underground",
2019-11-27 09:23:01.074 "Type" : "2",
2019-11-27 09:23:01.074 "Value" : "38xx--xx65",
2019-11-27 09:23:01.074 "idx" : "1"
2019-11-27 09:23:01.074 },
2019-11-27 09:23:01.074 {
2019-11-27 09:23:01.074 "LastUpdate" : "2019-02-19 09:40:37",
2019-11-27 09:23:01.074 "Name" : "TWICE_lumière extérieur_On",
2019-11-27 09:23:01.074 "Type" : "2",
2019-11-27 09:23:01.074 "Value" : "0",
2019-11-27 09:23:01.074 "idx" : "2"
2019-11-27 09:23:01.074 },
2019-11-27 09:23:01.074 {
2019-11-27 09:23:01.074 "LastUpdate" : "2019-11-27 05:33:03",
2019-11-27 09:23:01.074 "Name" : "TWICE_I-Chauffage Cuisine_On",
2019-11-27 09:23:01.074 "Type" : "2",
2019-11-27 09:23:01.074 "Value" : "2019-11-27 05:33:01",
2019-11-27 09:23:01.074 "idx" : "3"
2019-11-27 09:23:01.074 },
2019-11-27 09:23:01.074 {
2019-11-27 09:23:01.074 "LastUpdate" : "2019-11-27 09:02:02",
2019-11-27 09:23:01.074 "Name" : "TWICE_I-Chauffage Cuisine_Off",
2019-11-27 09:23:01.074 "Type" : "2",
2019-11-27 09:23:01.074 "Value" : "2019-11-27 09:02:01",
2019-11-27 09:23:01.074 "idx" : "4"
2019-11-27 09:23:01.074 },
2019-11-27 09:23:01.074 {
2019-11-27 09:23:01.074 "LastUpdate" : "2019-05-23 16:19:09",
2019-11-27 09:23:01.074 "Name" : "sms",
2019-11-27 09:23:01.074 "Type" : "2",
2019-11-27 09:23:01.074 "Value" : "WH2600-Outdoor;+xxxxxxxxxxx",
2019-11-27 09:23:01.074 "idx" : "5"
2019-11-27 09:23:01.074 }
2019-11-27 09:23:01.074 ],
2019-11-27 09:23:01.074 "status" : "OK",
2019-11-27 09:23:01.074 "title" : "GetUserVariables"
2019-11-27 09:23:01.074 }
2019-11-27 09:23:01.074
2019-11-27 09:23:01.074 Status: dzVents: Info: Test Urls v0.1: ------ Finished testsUrl.lua
2019-11-27 09:23:01.190 Status: dzVents: Info: Handling httpResponse-events for: "testUrl2
2019-11-27 09:23:01.190 Status: dzVents: Info: Test Urls v0.1: ------ Start external script: testsUrl.lua: HTTPResponse: "testUrl2"
2019-11-27 09:23:01.190 Status: dzVents: !Info: Test Urls v0.1: Domoticz version: 4.10717, and dzVents version : 2.4.19
2019-11-27 09:23:01.190 Status: dzVents: !Info: Test Urls v0.1: [{"Error":0,"ErrorMsg":"success","TargetDate":"1574842980","Moon":["Frosty Moon"],"Index":0,"Age":0.757452870167295788661476763081736862659454345703125,"Phase":"New Moon","Distance":379873.6599999999743886291980743408203125,"Illumination":0.01000000000000000020816681711721685132943093776702880859375,"AngularDiameter":0.52427472695365839872039259716984815895557403564453125,"DistanceToSun":147606447.711989581584930419921875,"SunAngularDiameter":0.54032293537487363632720871464698575437068939208984375}]
2019-11-27 09:23:01.190 Status: dzVents: Info: Test Urls v0.1: ------ Finished testsUrl.lua
2019-11-27 09:29:01.314 Status: dzVents: Info: Handling httpResponse-events for: "testUrl3
2019-11-27 09:29:01.314 Status: dzVents: Info: Test Urls v0.1: ------ Start external script: testsUrl.lua: HTTPResponse: "testUrl3"
2019-11-27 09:29:01.314 Status: dzVents: !Info: Test Urls v0.1: Domoticz version: 4.10717, and dzVents version : 2.4.19
2019-11-27 09:29:01.331 Status: dzVents: !Info: Test Urls v0.1: <!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="nl-BE"><head><meta charset="UTF-8"><meta content="origin" name="referrer"><meta content="/images/branding/googleg/1x/googleg_standard_color_128dp.png" itemprop="image"><meta content="origin" name="referrer"><title>Google</title><script nonce="OWm6zHTmdYZD9acF2YafWg==">(function(){window.google={kEI:'zTPeXeqnBYisa72elMAL',kEXPI:'31',authuser:0,kscs:'c9c918f0_zTPeXeqnBYisa72elMAL',kGL:'BE',kBL:'Ljcm'};google.sn='webhp';google.kHL='nl-BE';google.jsfs='Ffpdje';})();(function(){google.lc=[];google.li=0;google.getEI=function(a){for(var b;a&&(!a.getAttribute||!(b=a.getAttribute("eid")));)a=a.parentNode;return b||google.kEI};google.getLEI=function(a){for(var b=null;a&&(!a.getAttribute||!(b=a.getAttribute("leid")));)a=a.parentNode;return b};google.https=function(){return"https:"==window.location.protocol};google.ml=function(){return null};google.time=function(){return(new Date).getTime()};google.log=function(a,b,e,c,g){if(a=google.logUrl(a,b,e,c,g)){b=new Image;var d=google.lc,f=google.li;d[f]=b;b.onerror=b.onload=b.onabort=function(){delete d[f]};google.vel&&google.vel.lu&&google.vel.lu(a);b.src=a;google.li=f+1}};google.logUrl=function(a,b,e,c,g){var d="",f=google.ls||"";e||-1!=b.search("&ei=")||(d="&ei="+google.getEI(c),-1==b.search("&lei=")&&(c=google.getLEI(c))&&(d+="&lei="+c));c="";!e&&google.cshid&&-1==b.search("&cshid=")&&"slh"!=a&&(c="&cshid="+google.cshid);a=e||"/"+(g||"gen_204")+"?atyp=i&ct="+a+"&cad="+b+d+f+"&zx="+google.time()+c;/^http:/i.test(a)&&google.https()&&(google.ml(Error("a"),!1,{src:a,glmm:1}),a="");return a};}).call(this);(function(){google.y={};google.x=function(a,b){if(a)var c=a.id;else{do c=Math.random();while(google.y[c])}google.y[c]=[a,b];return!1};google.lm=[];google.plm=function(a){google.lm.push.apply(google.lm,a)};google.lq=[];google.load=function(a,b,c){google.lq.push([[a],b,c])};google.loadAll=function(a,b){google.lq.push([a,b])};}).call(this);google.f={};(function(){google.hs={h:true,sie:false};})();(function(){google.c={gl:false,lhc:false};(function(){var e=window.performance;var g=function(a,b,c,d){a.addEventListener?a.removeEventListener(b,c,d||!1):a.attachEvent&&a.detachEvent("on"+b,c)},h=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d||!1):a.attachEvent&&a.attachEvent("on"+b,c)};google.timers={};google.startTick=function(a){google.timers[a]={t:{start:google.time()},e:{},m:{}}};google.tick=function(a,b,c){google.timers[a]||google.startTick(a);c=void 0!==c?c:google.time();b instanceof Array||(b=[b]);for(var d=0,f;f=b[d++];)google.timers[a].t[f]=c};google.c.e=function(a,b,c){google.timers[a].e[b]=c};google.c.b=function(a){var b=google.timers.load.m;b[a]&&google.ml(Error("a"),!1,{m:a});b[a]=!0};google.c.u=function(a){var b=google.timers.load.m;if(b[a]){b[a]=!1;for(a in b)if(b[a])return;google.csiReport()}else google.ml(Error("b"),!1,{m:a})};google.rll=function(a,b,c){var d=function(f){c(f);g(a,"load",d);g(a,"error",d)};h(a,"load",d);b&&h(a,"error",d)};google.aft=function(a){a.setAttribute("data-iml",google.time())};google.startTick("load");var k=google.timers.load;a:{var l=k.t;if(e){var m=e.timing;if(m){var n=m.navigationStart,p=m.responseStart;if(p>n&&p<=l.start){l.start=p;k.wsrt=p-n;break a}}e.now&&(k.wsrt=Math.floor(e.now()))}}google.c.b("pr");google.c.b("xe");if(google.c.gl){var q=function(a){a&&google.aft(a.target)};h(document.documentElement,"load",q,!0);google.c.glu=function(){g(document.documentElement,"load",q,!0)}};}).call(this);})();(function(){var b=[function(){google.tick&&google.tick("load","dcl")}];google.dclc=function(a){b.length?b.push(a):a()};function c(){for(var a;a=b.shift();)a()}window.addEventListener?(document.addEventListener("DOMContentLoaded",c,!1),window.addEventListener("load",c,!1)):window.attachEvent&&window.attachEvent("onload",c);}).call(this);(function(){var b=[];google.jsc={xx:b,x:function(a){b.push(a)},mm:[],m:function(a){google.jsc.mm.length||(google.jsc.mm=a)}};}).call(this);(function(){var f=this||self,g=Date.now||function(){return+new Date};var y={};var aa=function(a,c){if(null===c)return!1;if("contains"in a&&1==c.nodeType)return a.contains(c);if("compareDocumentPosition"in a)return a==c||!!(a.compareDocumentPosition(c)&16);for(;c&&a!=c;)c=c.parentNode;return c==a};var ba=function(a,c){return function(d){d||(d=window.event);return c.call(a,d)}},A=function(a){a=a.target||a.srcElement;!a.getAttribute&&a.parentNode&&(a=a.parentNode);return a},B="undefined"!=typeof navigator&&/Macintosh/.test(navigator.userAgent),ca="undefined"!=typeof navigator&&!/Opera/.test(navigator.userAgent)&&/WebKit/.test(navigator.userAgent),da={A:1,INPUT:1,TEXTAREA:1,SELECT:1,BUTTON:1},ea=function(){this._mouseEventsPrevented=!0},F={A:13,BUTTON:0,CHECKBOX:32,COMBOBOX:13,FILE:0,GRIDCELL:13,LINK:13,LISTBOX:13,MENU:0,MENUBAR:0,MENUITEM:0,MENUITEMCHECKBOX:0,MENUITEMRADIO:0,OPTION:0,RADIO:32,RADIOGROUP:32,RESET:0,SUBMIT:0,SWITCH:32,TAB:0,TREE:13,TREEITEM:13},G={CHECKBOX:!0,FILE:!0,OPTION:!0,RADIO:!0},H={COLOR:!0,DATE:!0,DATETIME:!0,"DATETIME-LOCAL":!0,EMAIL:!0,MONTH:!0,NUMBER:!0,PASSWORD:!0,RANGE:!0,SEARCH:!0,TEL:!0,TEXT:!0,TEXTAREA:!0,TIME:!0,URL:!0,WEEK:!0},fa={A:!0,AREA:!0,BUTTON:!0,DIALOG:!0,IMG:!0,INPUT:!0,LINK:!0,MENU:!0,OPTGROUP:!0,OPTION:!0,PROGRESS:!0,SELECT:!0,TEXTAREA:!0};var I=function(){this.h=this.a=null},K=function(a,c){var d=J;d.a=a;d.h=c;return d};I.prototype.g=function(){var a=this.a;this.a&&this.a!=this.h?this.a=this.a.__owner||this.a.parentNode:this.a=null;return a};var L=function(){this.i=[];this.a=0;this.h=null;this.j=!1};L.prototype.g=function(){if(this.j)return J.g();if(this.a!=this.i.length){var a=this.i[this.a];this.a++;a!=this.h&&a&&a.__owner&&(this.j=!0,K(a.__owner,this.h));return a}return null};var J=new I,M=new L;var O=function(){this.o=[];this.a=[];this.g=[];this.j={};this.h=null;this.i=[];N(this,"_custom")},ha="undefined"!=typeof navigator&&/iPhone|iPad|iPod/.test(navigator.userAgent),P=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s+/,"").replace(/\s+$/,"")},ia=/\s*;\s*/,ma=function(a,c){return function p(b
2019-11-27 09:29:01.332 Status: dzVents: Info: Test Urls v0.1: ------ Finished testsUrl.lua
2019-11-27 09:30:05.178 Status: dzVents: Info: Handling httpResponse-events for: "testUrl2
2019-11-27 09:30:05.178 Status: dzVents: Info: Test Urls v0.1: ------ Start external script: testsUrl.lua: HTTPResponse: "testUrl2"
2019-11-27 09:30:05.178 Status: dzVents: !Info: Test Urls v0.1: Domoticz version: 4.10717, and dzVents version : 2.4.19
2019-11-27 09:30:05.178 Status: dzVents: !Info: Test Urls v0.1: [{"Error":0,"ErrorMsg":"success","TargetDate":"1574843400","Moon":["Frosty Moon"],"Index":0,"Age":0.76256815677172584688747747350134886801242828369140625,"Phase":"New Moon","Distance":379897.0900000000256113708019256591796875,"Illumination":0.01000000000000000020816681711721685132943093776702880859375,"AngularDiameter":0.5242423940109588453850619771401397883892059326171875,"DistanceToSun":147606319.5572496950626373291015625,"SunAngularDiameter":0.54032340449398341686304547692998312413692474365234375}]
2019-11-27 09:30:05.178 Status: dzVents: Info: Test Urls v0.1: ------ Finished testsUrl.lua
Voilà, je pense avoir tout mis.