Code: Alles auswählen
getListOfAvailableFirmware: function(callback) {
// The server should return a string like "homematic.com.setDeviceFirmwareVersions([{"type":"HM-MOD-Re-8","version":"1.0.0"},{"type":"HM-MOD-Re-8","version":"1.0.0"}])"
var script = document.createElement("script");
script.id = "homematic_com_script_fw";
script.type = "text/javascript";
// script.src = this.m_URLServer + "/firmware/api/firmware/search/DEVICE";
script.src = this.m_URLServer + "/firmware/api/firmware/search/DEVICE?product=HM-CCU"+getProduct()+"&version="+WEBUI_VERSION+"&ts=" + Date.now();
script.src = "/ise/devlist.js";
$("body").appendChild(script);
homematic.com.callback = callback;
},
Code: Alles auswählen
[Violation] 'load' handler took 1932ms
webui.js:6900 [Violation] 'readystatechange' handler took 783ms
prototype.js:320 [Violation] 'setTimeout' handler took 347ms
prototype.js:320 [Violation] 'setTimeout' handler took 321ms