mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
MSwitch_Wizard.js:Update V1.1
git-svn-id: https://svn.fhem.de/fhem/trunk@21080 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
678cc45e30
commit
d7b701f220
@ -1,21 +1,23 @@
|
||||
// MSwitch_Wizard.js
|
||||
// Autor:Byte09
|
||||
// #########################
|
||||
|
||||
var version = 'V0.8 beta';
|
||||
|
||||
|
||||
var version = 'V1.1';
|
||||
var info = ' Modus Wizard ist in dieser Version nicht aktiv';
|
||||
var logging ='off';
|
||||
var observer;
|
||||
var target;
|
||||
var lastevent;
|
||||
var show = 'off';
|
||||
var offtime =1000;
|
||||
var offtime =50;
|
||||
var sets = new Object();
|
||||
|
||||
|
||||
var preconfparts = new Array;
|
||||
var preconfpartsname = new Array;
|
||||
var preconfpartshelp = new Array;
|
||||
|
||||
|
||||
|
||||
|
||||
var configstart = [
|
||||
'#V Version',
|
||||
'#VS V2.00',
|
||||
@ -362,7 +364,7 @@ function start1(name){
|
||||
|
||||
|
||||
|
||||
|
||||
document.getElementById('mode').innerHTML += '<br>Wizard Version:'+version+'<br>Info:'+info;
|
||||
// fülle configfenster
|
||||
fillconfig('rawconfig');
|
||||
startwizardtrigger();
|
||||
@ -374,12 +376,12 @@ setTimeout(function() {
|
||||
document.getElementById('wizard').value+=' N/A';
|
||||
//document.getElementById('config').value+=' N/A';
|
||||
//document.getElementById('importat').value+=' N/A';
|
||||
document.getElementById('importnotify').value+=' N/A';
|
||||
//document.getElementById('importnotify').value+=' N/A';
|
||||
|
||||
document.getElementById('wizard').disabled = true;
|
||||
//document.getElementById('config').disabled = true;
|
||||
//document.getElementById('importat').disabled = true;
|
||||
document.getElementById('importnotify').disabled = true;
|
||||
//document.getElementById('importnotify').disabled = true;
|
||||
//document.getElementById('importpreconf').disabled = true;
|
||||
conf('importPRECONF','importpreconf');
|
||||
}, 50);
|
||||
@ -473,10 +475,6 @@ document.getElementById('showall').disabled = true;
|
||||
document.getElementById('5step2').innerHTML = line;
|
||||
document.getElementById('5step2').style.display='none';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return ;
|
||||
|
||||
}
|
||||
@ -993,10 +991,6 @@ function startimportat(){
|
||||
html+='</table>';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
document.getElementById('help').innerHTML = 'Es können nur periodisch wiederkehrende ATs importiert werden und nur diese werden zur Auswahl angeboten. Mswitch ist für einmalige Ats ungeeignet. Bei importiertem At berücksichtigt MSwitch keine Sekundenangaben.<br>Es ist darauf zu achten , das nach dem Import sowohl das AT, als auch das MSwitch aktiv sind und eines der beiden deaktiviert werden sollte.';
|
||||
document.getElementById('importAT').innerHTML = html;
|
||||
document.getElementById('sat').style.backgroundColor='#ff0000';
|
||||
@ -1086,8 +1080,10 @@ function startimportnotify(){
|
||||
//html+='<br>';
|
||||
//html+=' <br>';
|
||||
html+='</td></tr>';
|
||||
html+='<tr><td style=\"\">';
|
||||
html+='<tr><td style=\"text-align: center;\">';
|
||||
html+=ret;
|
||||
html+='<br><br><input disabled name=\"\" id=\"not\" type=\"button\" value=\"import this NOTIFY\" onclick=\"javascript: savenot()\"\">';
|
||||
|
||||
html+='</td>';
|
||||
html+='<td>';
|
||||
html+='Definition:<br>';
|
||||
@ -1103,7 +1099,6 @@ function startimportnotify(){
|
||||
html+='</td>';
|
||||
html+='</tr>';
|
||||
html+='<tr><td colspan=\"3\" style=\"text-align: center; vertical-align: middle;\">';
|
||||
html+='<br><input disabled name=\"\" id=\"not\" type=\"button\" value=\"import this NOTIFY\" onclick=\"javascript: savenot()\"\">';
|
||||
html+='</td>';
|
||||
html+='</tr>';
|
||||
html+='</table>';
|
||||
@ -1114,6 +1109,8 @@ function startimportnotify(){
|
||||
html+='</tr>';
|
||||
html+='</table>';
|
||||
|
||||
|
||||
document.getElementById('help').innerHTML = 'Es ist darauf zu achten, das nach dem Import sowohl das Notify, als auch das MSwitch aktiv sind und eines der beiden deaktiviert werden sollte.';
|
||||
document.getElementById('importNOTIFY').innerHTML = html;
|
||||
document.getElementById('not').style.backgroundColor='#ff0000';
|
||||
fillconfig('rawconfig2');
|
||||
|
Loading…
Reference in New Issue
Block a user