LK3xml
Spis treści
[ukryj]LK3 xml
Opis zmiennych jakie może zwrócić LK3 przez plik xml.
To są w tej chwili wszystkie zmienne jakie zwraca LK3.
Oczywiście pobieramy tylko te co są nam aktualnie potrzebne, można
wszystkie tylko po co obciążać Lan Kontroler i generować ruch w sieci.
Przykład:
chcemy tylko odczytywać czas i stan wyjść out to zrobimy takiego xml'a.
<?xml version="1.0"?>
<out0></out0>
<out1></out1>
<out2></out2>
<out3></out3>
<out4></out4>
<out5></out5>
<czas></czas>
Nazwy w środkowych nawiasach muszą być takie jak w spisie poniżej, w zewnętrznych nawiasach są dowolne używane już do wykorzystania w javascript.
Czas pracy
"t0", //0 sekundy
"t1", //1 minuty
"t2", //2 godziny
"t3", // 3 dni
"t4", // 4 czas
"out", //5 out state
"inp1", //6 INP1A
"inp2", //7 INP2A
"inp3", //8 INP3A
"inp4", //9 INP4A
"inp5", //10 INP5A
"inp6", //11 INP6A
"vin", //12 vin
"tem", //13 temp board
"ind", //14 inpD
"nip", //15 ip adres
"nmk", //16 ip mask
"ngw",//17 ip gatewy
"nds",//18 ip DNS
"nmac", //19 MAC adres
"npor",///20 http port
"ndh", //21 dhcp
"hw", //22 HW
"sw", //23 SW
"auth",//24 autoryzacja on/off
"userpass", //25 admin user log i pass
"nds2", //26 ip dns2
"name", //27 LK3 name
"xname", //28 out_t name
"asout", //29 auto switch on/off
"ouast", //30 out on/off after start
"oasdt0", //31 out after start delay
"oasdt1", //32 out after start delay
"oasdt2", //33 out3 after start delay
"oasdt3", //34 out4 after start delay
"oasdt4", //35 out_t after start delay
"oasdt5", //36 out_t after start delay
"upgr", //37 upgrade
"t_ena",//38 ntp enabled
"t_man",//39 ntp set manual
"t_ser",//40 ntp server
"t_por",//41 ntp port
"t_zon",//42 ntp zone
"t_int",//43 ntp interval
"wden",//44 wdog enabled
"wdem",//45 wdog email
"wdho0",//46 wdog host/ip
"wdho1",//47 wdog host/ip
"wdho2",//48 wdog host/ip
"wdho3",//49 wdog host/ip
"wdho4",//50 wdog host/ip
"wdif",//51 wdog icmp fail
"wdiw",//52 wdog icmp wait time
"wdip",//53 wdog icmp send period
"wdwt",//54 wdog wait time after start
"wdrt",//55 wdog restart time
"wdmr",//56 wdog max restart
"pingt", // 57 ping time w ms
"pingf", // 58 ping fail count
"pingr", // 59 ping restart state
"e_1", //60 email serwer
"e_2", //61 email port
"e_3", //62 email user
"e_4", //63 email pass
"e_5", //64 email to
"e_6", //65 email from
"e_7", //66 email subject
"snmpc",//67 snmp community
"igain0",//68 inpa1 gain
"igain1",//69 inpa2 gain
"igain2",//70 inpa3 gain
"igain3",//71 inpa4 gain
"ivin0",//72 inpa1 vin 3,3 or 30
"ivin1",//73 inpa2 vin 3,3 or 30
"ivin2",//74 inpa3 vin 3,3 or 30
"ivin3",//75 inpa4 vin 3,3 or 30
DTH & DS18B20
"dtht", //76 dth22 temperature
"dthh", //77 dth22 wilgoc
"ds0",// 78 ds18b20 1
"ds1",// 79 ds18b20 2
"ds2",// 80 ds18b20 3
"ds3",// 81 ds18b20 4
"ds4",// 82 ds18b20 5
"ds5",// 83 ds18b20 6
"ds6",// 84 ds18b20 7
"ds7",// 85 ds18b20 8
"x1",//86 do wykorzystania
"x2",//87 do wykorzystania
"x3",//88 do wykorzystania
"x4",//89 do wykorzystania
"oname0",// 90 out1 name
"oname1",// 91 out2 name
"oname2",// 92 out3 name
"oname3",// 93 out4 name
"oname4",// 94 out5 name
"oname5",// 95 out6 name
"pname0", //96 pwm1
"pname1", //97 pwm1
"pname2", //98 pwm1
"pname3", //99 pwm1
Wejścia analogowe
"iname0",//100 inpa1
"iname1",//101 inpa2
"iname2",//102 inpa3
"iname3",//103 inpa4
"iname4",//104 inpa5
"iname5",//105 inpa6
"tname0",//106 t1
"tname1",//107 t2
"tname2",//108 t3
"tname3",//109 t4
"tname4",//110 t5
"tname5",//111 t6
"tname6",//112 t7
"tname7",//113 t8
"idname0",//114 INPD1
"idname1",//115 INPD2
"idname2",//116 INPD3
"idname3",//117 INPD4
PWM
"pwm", //118 pwm on/off
"pwmf0",//119 pwm freq 1
"pwmf1",//120 pwm freq 2
"pwmd0",//121 pwm duty1
"pwmd1",//122 pwm duty2
"pwmd2",//123 pwm duty3
"pwmd3",//124 pwm duty4
"dsid",//125// DS18b20 read id
"inpdnn",//126 inpd negative
"outnn",//127 out negative
"ortime0",//128 //out reset time
"ortime1",//129 //out reset time
"ortime2",//130 //out reset time
"ortime3",//131 //out reset time
"ortime4",//132 //out reset time
"ortime5",//133 //out reset time
"eblock",//134 // elemnt blocked
"echeck",//135 // element checked
"eve0",//136 // event 0 stat
"eve1",//137 // event 1 stat
"eve2",//138 // event 2 stat
"eve3",//139 // event 3 stat
"eve4",//140 // event 4 stat
"eve5",//141 // event 5 stat
"eve6",//142 // event 6 stat
"eve7",//143 // event 7 stat
"eve8",//144 // event 8 stat
"eve9",//145 // event 9 stat
"ev0",//146 // event 0
"ev1",//147 // event 1
"ev2",//148 // event 2
"ev3",//149 // event 3
"ev4",//150 // event 4
"ev5",//151 // event 5
"ev6",//152 // event 6
"ev7",//153 // event 7
"ev8",//154 // event 8
"ev9",//155 // event 9
"ht0",//156 // http get enable
"ht1",//157 // http get serwer
"ht2",//158 // http get port
"ht3",//159 // http get time
"ht4",//160 // http get url
"inpp1", //161 INP1A2 po przeliczeniach
"inpp2", //162 INP2A2 po przeliczeniach
"inpp3", //163 INP3A2 po przeliczeniach
"inpp4", //164 INP4A2 po przeliczeniach
"inpp5", //165 INP5A2 po przeliczeniach
"inpp6", //166 INP6A2 po przeliczeniach
"senssel",//167 sensor select input
"inpcalib",//168 input kalibration value
"atout0",//169 outs autoswitch time
"atout1",//170 outs autoswitch time
"atout2",//171 outs autoswitch time
"atout3",//172 outs autoswitch time
"atout4",//173 outs autoswitch time
"atout5",//174 outs autoswitch time
"atout6",//175 outs autoswitch time
"atout7",//176 outs autoswitch time
"atout8",//177 outs autoswitch time
"atout9",//178 outs autoswitch time
"atout10",//179 outs autoswitch time
"atout11",//180 outs autoswitch time
Duralux
"dux0", // 181 duralux "dux1", // 182 duralux "dux2", // 183 duralux "dux3", // 184 duralux "dux4", // 185 duralux "dux5", // 186 duralux "dux6", // 187 duralux "dux7", // 188 duralux "dux8", // 189 duralux "dux9", // 190 duralux "dux10",// 191 duralux "postop1",//192 position element top na status "postop2",//193 position element top na status "posleft1",//194 position element left na status "posleft2",//195 position element left na status "possave", //196 informacja ze pozycja zostala zapisana "duralux",//197 duralux on "sched0",//198 scheduler0 "sched1",//199 scheduler1 "sched2",//200 scheduler2 "sched3",//201 scheduler3 "sched4",//202 scheduler4 "sched5",//203 scheduler5 "sched6",//204 scheduler6 "sched7",//205 scheduler7 "sched8",//206 scheduler8 "sched9",//207 scheduler9 "e_8",// 208// email text "eemac",//209 //eeprommc adres "mq0",//210 enable mqtt seteing "mq1",//211 server "mq2",//212 port "mq3",//213 login "mq4",//214 passs "mq5",//215 prefix "mq6",//216 time "mq7",//217 ping time "mq8",//218 select "lang",// 219 jezyk menu "picture",// 220 czy jest zaladowany obrazek "line",//221 czy linie na statusie maja byc widoczne "out0",//222 stan out0 "out1",//223 stan out1 "out2",//224 stan out2 "out3",//225 stan out3 "out4",//226 stan out4 "out5",//227 stan out5