forked from bbasil2012/SSLAC-ESP32
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmac16.html
5563 lines (4932 loc) · 183 KB
/
smac16.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<link href="data:image/x-icon;base64,
AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAABILAAASCwAAAAAA
AAAAAABm/2ZaZv9mWmb/Zlpm/2Za/wAA//8AAP//AAD/gICA/4CAgP//AAD//wAA//8AAP9m/2Za
Zv9mWmb/Zlpm/2ZaZv9mWmb/Zlpm/2ZaZv9mWv8AAP+AgID//wAA/4CAgP+AgID//wAA/4CAgP//
AAD/Zv9mWmb/Zlpm/2ZaZv9mWkCAAP8A////QIAA/0CAAP//AAD//wAA//8AAP//AAD//wAA//8A
AP//AAD//wAA/0CAAP9AgAD/AP///0CAAP9m/2ZaZv9mWmb/Zlpm/2Za/wAA//8AAP//AAD//wAA
//8AAP//AAD//wAA//8AAP9m/2ZaZv9mWmb/Zlpm/2ZaQIAA/wD///9AgAD/QIAA//8AAP//AAD/
/wAA//8AAP//AAD//wAA//8AAP//AAD/QIAA/0CAAP8A////QIAA/2b/Zlpm/2ZaZv9mWmb/Zlr/
AAD/AAD//wAA////AAD//wAA//8AAP//AAD//wAA/2b/Zlpm/2ZaZv9mWmb/ZlpAgAD/AP///0CA
AP9AgAD//wAA/wAA//8AAP///wAA//8AAP//AAD//wAA//8AAP9AgAD/QIAA/wD///9AgAD/Zv9m
Wmb/Zlpm/2ZaZv9mWv8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD/Zv9mWmb/Zlpm/2Za
Zv9mWkCAAP8A////QIAA/0CAAP//AAD/gICA/4CAgP+AgID/gICA/4CAgP+AgID//wAA/0CAAP9A
gAD/AP///0CAAP9m/2ZaZv9mWmb/Zlpm/2Za/wAA/4CAgP8AgAD/gICA/4CAgP+AgID/gICA//8A
AP9m/2ZaZv9mWmb/Zlpm/2ZaQIAA/wD///9AgAD/QIAA//8AAP+AgID/gICA/4CAgP+AgID/gICA
/4CAgP//AAD/QIAA/0CAAP8A////QIAA/2b/Zlpm/2ZaZv9mWmb/Zlr/AAD/gICA/4CAgP+AgID/
gICA/4CAgP+AgID//wAA/2b/Zlpm/2ZaZv9mWmb/ZlpAgAD/AP///0CAAP9AgAD//wAA/4CAgP+A
gID/gICA/4CAgP+AgID/gICA//8AAP9AgAD/QIAA/wD///9AgAD/Zv9mWmb/Zlpm/2ZaZv9mWv8A
AP+AgID/gICA/4CAgP+AgID/gICA/4CAgP//AAD/Zv9mWmb/Zlpm/2ZaZv9mWkCAAP8A////QIAA
/0CAAP//AAD/gICA/4CAgP+AgID/gICA/4CAgP+AgID//wAA/0CAAP9AgAD/AP///0CAAP9m/2Za
Zv9mWmb/Zlpm/2Za/wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP9m/2ZaZv9mWmb/Zlpm
/2ZaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAA==" rel="icon" type="image/x-icon" />
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>SMAC32</title>
<style>
.enabled {
}
.disabled{
}
.button {
background-color: #4CAF50;
border: none;
color: #00ffff;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
.button1 {
background-color: #4CAF50;
border: none;
color: white;
width: 200px;
height:75px;
text-decoration: none;
display: inline-block;
font-size: 12px;
margin: 4px 2px;
cursor: pointer;
}
table, th, td {
border: 1px solid black;
}
th, td {
padding: 1px;
border:1px;
}
td {
border:1px;
}
</style>
</head>
<body style="background-color:#E0FFFF">
<div id="top" align=center>
<button id=c_descr onclick="show_page('esp32')" class="button">ESP32</button>
<button id="reload" onclick="reload()" class="button">Reload</button>
<button class="button" onclick="postReq('/save','')">Save</button>
<button id="b_gpio" onclick="show_page('gpio_setup')" class="button">GPIO Setup</button>
<button id="b_group" onclick="show_page('groups_setup')" class="button">Groups</button>
<button id="controllers" onclick="show_page('controllers')" class="button" disabled>Swarm</button>
<button class="button" onclick="postReq('/reboot','')">Reboot</button>
</div>
<div class="pages" id="constructor" style="display:none" align="center">
<input id="day" name="constructor" type=radio onchange="ch_name(this)">Day (maximum value)</input>
<input id="nigth" name="constructor" type=radio onchange="ch_name(this)">Nigth (minimum value)</input><br>
<table style="width: 0px;text-align: center;" border="1">
<tr>
<td>Channels Group:</td>
<td>
<select id=const_group onchange=ch_name(this)>
<option value=255>All Channels</option>
<option value=0>Gr0</option>
<option value=1>Gr1</option>
<option value=2>Gr2</option>
<option value=3>Gr3</option>
<option value=4>Gr4</option>
<option value=5>Gr5</option>
<option value=6>Gr6</option>
<option value=7>Gr7</option>
</select>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<th style="width:0px">Use</th>
<th style="width:0px">Name</th>
<th style="width:0px">Value</th>
<th style="width:70px"></th>
<th style="width: 0px;text-align: left; vertical-align:top;" id="const_span" >
<input id="4point" name="select" value="4point" type=radio onchange="ch_name(this)">4 point schedule</input><br>
<input id="sinwave" name="select" value="sinwave" type=radio onchange="ch_name(this)">SinWave schedule</input><br>
<div id=input_4point style="display:none">
<br>
SunRise start at:<input id=sunrise type=time value=07:30></input><br>
Day start at:<input id=4pday type=time value=12:00></input><br>
SunSet start at:<input id=sunset type=time value=17:00></input><br>
Nigth start at:<input id=4pnigth type=time value=22:00></input><br>
</div>
<div id=input_sinwave style="display:none">
<br>
SunRise start at:<input id=sin_sun type=time value=07:30></input><br>
Nigth start at:<input id=sin_nigth type=time value=22:00></input><br>
</div>
<button id=wizard disabled onclick=ligthWizard()>Make for selected channels</button><br>
<button id=ret_wizard onclick=ret_wizard()>Return to Light schedule Page</button>
</th>
</tr>
<tr id="const0">
<td>
<input id=ch_const0 type=checkbox onchange=ch_name(this) disabled>CH0
</td>
<td>
<div id="const_name0">
</div>
</td>
<td>
<input disabled id="value_const0" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value0" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent0" ></td>
</tr>
<tr id="const1">
<td>
<input id=ch_const1 type=checkbox onchange=ch_name(this) disabled>CH1
</td>
<td>
<div id="const_name1">
</div>
</td>
<td>
<input disabled id="value_const1" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value1" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent1"></td>
</tr>
<tr id="const2">
<td>
<input id=ch_const2 type=checkbox onchange=ch_name(this) disabled>CH2
</td>
<td>
<div id="const_name2">
</div>
</td>
<td>
<input disabled id="value_const2" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value2" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent2"></td>
</tr>
<tr id="const3">
<td>
<input id=ch_const3 type=checkbox onchange=ch_name(this) disabled>CH3
</td>
<td>
<div id="const_name3">
</div>
</td>
<td>
<input disabled id="value_const3" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value3" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent3"></td>
</tr>
<tr id="const4">
<td>
<input id=ch_const4 type=checkbox onchange=ch_name(this) disabled>CH4
</td>
<td>
<div id="const_name4">
</div>
</td>
<td>
<input disabled id="value_const4" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value4" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent4"></td>
</tr>
<tr id="const5">
<td>
<input id=ch_const5 type=checkbox onchange=ch_name(this) disabled>CH5
</td>
<td>
<div id="const_name5">
</div>
</td>
<td>
<input disabled id="value_const5" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value5" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent5"></td>
</tr>
<tr id="const6">
<td>
<input id=ch_const6 type=checkbox onchange=ch_name(this) disabled>CH6
</td>
<td>
<div id="const_name6">
</div>
</td>
<td>
<input disabled id="value_const6" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value6" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent6"></td>
</tr>
<tr id="const7">
<td>
<input id=ch_const7 type=checkbox onchange=ch_name(this) disabled>CH7
</td>
<td>
<div id="const_name7">
</div>
</td>
<td>
<input disabled id="value_const7" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value7" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent7"></td>
</tr>
<tr id="const8">
<td>
<input id=ch_const8 type=checkbox onchange=ch_name(this) disabled>CH8
</td>
<td>
<div id="const_name8">
</div>
</td>
<td>
<input disabled id="value_const8" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value8" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent8"></td>
</tr>
<tr id="const9">
<td>
<input id=ch_const9 type=checkbox onchange=ch_name(this) disabled>CH9
</td>
<td>
<div id="const_name9">
</div>
</td>
<td>
<input disabled id="value_const9" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value9" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent9"></td>
</tr>
<tr id="const10">
<td>
<input id=ch_const10 type=checkbox onchange=ch_name(this) disabled>CH10
</td>
<td>
<div id="const_name10">
</div>
</td>
<td>
<input disabled id="value_const10" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value10" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent10"></td>
</tr>
<tr id="const11">
<td>
<input id=ch_const11 type=checkbox onchange=ch_name(this) disabled>CH11
</td>
<td>
<div id="const_name11">
</div>
</td>
<td>
<input disabled id="value_const11" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value11" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent11"></td>
</tr>
<tr id="const12">
<td>
<input id=ch_const12 type=checkbox onchange=ch_name(this) disabled>CH12
</td>
<td>
<div id="const_name12">
</div>
</td>
<td>
<input disabled id="value_const12" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value12" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent12"></td>
</tr>
<tr id="const13">
<td>
<input id=ch_const13 type=checkbox onchange=ch_name(this) disabled>CH13
</td>
<td>
<div id="const_name13">
</div>
</td>
<td>
<input disabled id="value_const13" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value13" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent13"></td>
</tr>
<tr id="const14">
<td>
<input id=ch_const14 type=checkbox onchange=ch_name(this) disabled>CH14
</td>
<td>
<div id="const_name14">
</div>
</td>
<td>
<input disabled id="value_const14" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value14" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent14"></td>
</tr>
<tr id="const15">
<td>
<input id=ch_const15 type=checkbox onchange=ch_name(this) disabled>CH15
</td>
<td>
<div id="const_name15">
</div>
</td>
<td>
<input disabled id="value_const15" type="range" min=0 max=4095 step=1 oninput=ch_name(this)><input disabled id="const_value15" type="number" min=0 max=4095 size=4 oninput=ch_name(this)>
</td>
<td id="const_percent15"></td>
</tr>
</table>
</div>
<div class="pages" id="controllers" style="display:none" align="center">
<button class=button1 id=contr0></button>
<button class=button1 id=contr1></button>
<button class=button1 id=contr2></button>
<button class=button1 id=contr3></button><br>
<button class=button1 id=contr4></button>
<button class=button1 id=contr5></button>
<button class=button1 id=contr6></button>
<button class=button1 id=contr7></button><br>
<button class=button1 id=contr8></button>
<button class=button1 id=contr9></button>
<button class=button1 id=contr10></button>
<button class=button1 id=contr11></button><br>
<button class=button1 id=contr12></button>
<button class=button1 id=contr13></button>
<button class=button1 id=contr14></button>
<button class=button1 id=contr15></button><br>
</div>
<div class="pages" id="sensors_page" style="display:none" align="center">
<table>
<tr>
<th>ID</th>
<th>Name</th>
<th>TempC</th>
<th>Address</th>
<th>Status</th>
<th>Action</th>
</tr>
<tr id=_sens0>
<td id=s_id0></td>
<td><input type=text id=s_name0 onchange=ch_name(this)></input></td>
<td id=tempc0></td>
<td id=hw_addr0></td>
<td id=isexist0></td>
<td><button onclick="ch_name('ds_delete=0')">Delete</button></td>
</tr>
<tr id=_sens1>
<td id=s_id1></td>
<td><input type=text id=s_name1 onchange=ch_name(this)></input></td>
<td id=tempc1></td>
<td id=hw_addr1></td>
<td id=isexist1></td>
<td><button onclick="ch_name('ds_delete=1')">Delete</button></td>
</tr>
<tr id=_sens2>
<td id=s_id2></td>
<td><input type=text id=s_name2 onchange=ch_name(this)></input></td>
<td id=tempc2></td>
<td id=hw_addr2></td>
<td id=isexist2></td>
<td><button onclick="ch_name('ds_delete=2')">Delete</button></td>
</tr>
<tr id=_sens3>
<td id=s_id3></td>
<td><input type=text id=s_name3 onchange=ch_name(this)></input></td>
<td id=tempc3></td>
<td id=hw_addr3></td>
<td id=isexist3></td>
<td><button onclick="ch_name('ds_delete=3')">Delete</button></td>
</tr>
<tr id=_sens4>
<td id=s_id4></td>
<td><input type=text id=s_name4 onchange=ch_name(this)>
<td id=tempc4></td>
<td id=hw_addr4></td>
<td id=isexist4></td>
<td><button onclick="ch_name('ds_delete=4')">Delete</button></td>
</tr>
<tr id=_sens5>
<td id=s_id5></td>
<td><input type=text id=s_name5 onchange=ch_name(this)>
<td id=tempc5></td>
<td id=hw_addr5></td>
<td id=isexist5></td>
<td><button onclick="ch_name('ds_delete=5')">Delete</button></td>
</tr>
<tr id=_sens6>
<td id=s_id6></td>
<td><input type=text id=s_name6 onchange=ch_name(this)>
<td id=tempc6></td>
<td id=hw_addr6></td>
<td id=isexist6></td>
<td><button onclick="ch_name('ds_delete=6')">Delete</button></td>
</tr>
<tr id=_sens7>
<td id=s_id7></td>
<td><input type=text id=s_name7 onchange=ch_name(this)>
<td id=tempc7></td>
<td id=hw_addr7></td>
<td id=isexist7></td>
<td><button onclick="ch_name('ds_delete=7')">Delete</button></td>
</tr>
<tr id=_sens8>
<td id=s_id8></td>
<td><input type=text id=s_name8 onchange=ch_name(this)>
<td id=tempc8></td>
<td id=hw_addr8></td>
<td id=isexist8></td>
<td><button onclick="ch_name('ds_delete=8')">Delete</button></td>
</tr>
<tr id=_sens9>
<td id=s_id9></td>
<td><input type=text id=s_name9 onchange=ch_name(this)>
<td id=tempc9></td>
<td id=hw_addr9></td>
<td id=isexist9></td>
<td><button onclick="ch_name('ds_delete=9')">Delete</button></td>
</tr>
<tr id=_sens10>
<td id=s_id10></td>
<td><input type=text id=s_name10 onchange=ch_name(this)>
<td id=tempc10></td>
<td id=hw_addr10></td>
<td id=isexist10></td>
<td><button onclick="ch_name('ds_delete=10')">Delete</button></td>
</tr>
<tr id=_sens11>
<td id=s_id11></td>
<td><input type=text id=s_name11 onchange=ch_name(this)>
<td id=tempc11></td>
<td id=hw_addr11></td>
<td id=isexist11></td>
<td><button onclick="ch_name('ds_delete=11')">Delete</button></td>
</tr>
<tr id=_sens12>
<td id=s_id12></td>
<td><input type=text id=s_name12 onchange=ch_name(this)>
<td id=tempc12></td>
<td id=hw_addr12></td>
<td id=isexist12></td>
<td><button onclick="ch_name('ds_delete=12')">Delete</button></td>
</tr>
<tr id=_sens13>
<td id=s_id13></td>
<td><input type=text id=s_name13 onchange=ch_name(this)>
<td id=tempc13></td>
<td id=hw_addr13></td>
<td id=isexist13></td>
<td><button onclick="ch_name('ds_delete=13')">Delete</button></td>
</tr>
<tr id=_sens14>
<td id=s_id14></td>
<td><input type=text id=s_name14 onchange=ch_name(this)>
<td id=tempc14></td>
<td id=hw_addr14></td>
<td id=isexist14></td>
<td><button onclick="ch_name('ds_delete=14')">Delete</button></td>
</tr>
<tr id=_sens15>
<td id=s_id15></td>
<td><input type=text id=s_name15 onchange=ch_name(this)>
<td id=tempc15></td>
<td id=hw_addr15></td>
<td id=isexist15></td>
<td><button onclick="ch_name('ds_delete=15')">Delete</button></td>
</tr>
</table><button onclick="postReq('/set?','ds18b20=rescan')" >Rescan</button>
</div>
<div class="pages" id="temperature" style="display:none" align="center">
<h1>-=Temperarure control Setup Page=-</h1>
<table style="width: 800px;text-align: center;" border="1">
<tbody>
<tr>
<td style="width: 1px;" >CH_ID/GPIO</td>
<td style="width: 1px;">NAME</td>
<td style="width: 1px;">T min</td>
<td style="width: 1px;">T max</td>
<td style="width: 1px;">Minimal value</td>
<td style="width: 1px;">Manage by sensor</td>
<td style="width: 1px;">Current t C</td>
</tr>
<tr id=_fan0>
<td id=fan0></td>
<td id=fname0></td>
<td>
<input id=tmin0 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax0 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value0 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test0 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id0 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp0></td>
</tr>
<tr id=_fan1>
<td id=fan1></td>
<td id=fname1></td>
<td>
<input id=tmin1 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax1 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value1 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test1 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id1 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp1></td>
</tr>
<tr id=_fan2>
<td id=fan2></td>
<td id=fname2></td>
<td>
<input id=tmin2 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax2 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value2 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test2 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id2 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp2></td>
</tr>
<tr id=_fan3>
<td id=fan3></td>
<td id=fname3></td>
<td>
<input id=tmin3 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax3 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value3 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test3 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id3 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp3></td>
</tr>
<tr id=_fan4>
<td id=fan4></td>
<td id=fname4></td>
<td>
<input id=tmin4 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax4 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value4 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test4 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id4 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp4></td>
</tr>
<tr id=_fan5>
<td id=fan5></td>
<td id=fname5></td>
<td>
<input id=tmin5 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax5 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value5 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test5 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id5 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp5></td>
</tr>
<tr id=_fan6>
<td id=fan6></td>
<td id=fname6></td>
<td>
<input id=tmin6 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax6 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value6 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test6 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id6 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp6></td>
</tr>
<tr id=_fan7>
<td id=fan7></td>
<td id=fname7></td>
<td>
<input id=tmin7 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax7 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value7 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test7 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id7 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp7></td>
</tr>
<tr id=_fan8>
<td id=fan8></td>
<td id=fname8></td>
<td>
<input id=tmin8 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax8 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value8 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test8 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id8 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp8></td>
</tr>
<tr id=_fan9>
<td id=fan9></td>
<td id=fname9></td>
<td>
<input id=tmin9 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax9 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value9 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test9 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id9 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp9></td>
</tr>
<tr id=_fan10>
<td id=fan10></td>
<td id=fname10></td>
<td>
<input id=tmin10 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax10 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value10 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test10 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id10 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp10></td>
</tr>
<tr id=_fan11>
<td id=fan11></td>
<td id=fname11></td>
<td>
<input id=tmin11 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax11 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value11 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test11 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id11 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp11></td>
</tr>
<tr id=_fan12>
<td id=fan12></td>
<td id=fname12></td>
<td>
<input id=tmin12 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax12 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value12 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test12 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id12 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp12></td>
</tr>
<tr id=_fan13>
<td id=fan13></td>
<td id=fname13></td>
<td>
<input id=tmin13 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax13 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value13 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test13 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id13 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp13></td>
</tr>
<tr id=_fan14>
<td id=fan14></td>
<td id=fname14></td>
<td>
<input id=tmin14 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax14 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value14 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test14 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id14 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp14>14</td>
</tr>
<tr id=_fan15>
<td id=fan15></td>
<td id=fname15></td>
<td>
<input id=tmin15 type=number min=-10 max=85 value=35 onchange=ch_name(this)>
</td>
<td>
<input id=tmax15 type=number min=-10 max=85 value=55 onchange=ch_name(this)>
</td>
<td>
<input id=min_value15 type=number min=0 max=4095 value=1000 onchange=ch_name(this)>
<input id=fan_test15 type=checkbox onchange=ch_name(this)>Test it
</td>
<td>
<select id=sens_id15 onchange=ch_name(this)>
</select>
</td>
<td id=sens_temp15>15</td>
</tr>
</tbody>
</table>
</div>
<div class="pages" id="groups_setup" style="display:none" align="center">
<h1>-=Groups Setup Page=-</h1>
<table>
<tboby>
<tr>
<th>
ID/Name
</th>
<th>
Sensor/Current/Status
</th>
<th>
Temp threshold
</th>
<th>
Step/Time interval(sec)
</th>
</tr>
<tr>
<td>
0/<input type=text id=gr_name0 onchange="ch_name(this)" maxlength="32" size="34">
</td>
<td>
<select id=gr_sens0 onchange="ch_name(this)" ></select>
</td>
<td>
<input type=number id=gr_tresh0 min=0 max=250 oninput="ch_name(this)" ></input>
</td>
<td>
<input type=number id=gr_step0 min=0 max=4095 oninput="ch_name(this)" ></input>/
<input type=number id=gr_int0 min=0 max=9999 oninput="ch_name(this)" >
</td>
</tr>
<tr>
<td>
1/<input type=text id=gr_name1 onchange="ch_name(this)" maxlength="32" size="34">
</td>
<td>
<select id=gr_sens1 onchange="ch_name(this)" ></select>
</td>
<td>
<input type=number id=gr_tresh1 min=0 max=250 oninput="ch_name(this)" ></input>
</td>
<td>
<input type=number id=gr_step1 min=0 max=4095 oninput="ch_name(this)" ></input>/
<input type=number id=gr_int1 min=0 max=9999 oninput="ch_name(this)" >
</td>
</tr>
<tr>
<td>
2/<input type=text id=gr_name2 onchange="ch_name(this)" maxlength="32" size="34">
</td>
<td>
<select id=gr_sens2 onchange="ch_name(this)" ></select>
</td>
<td>
<input type=number id=gr_tresh2 min=0 max=250 oninput="ch_name(this)" ></input>
</td>
<td>
<input type=number id=gr_step2 min=0 max=4095 oninput="ch_name(this)" ></input>/
<input type=number id=gr_int2 min=0 max=9999 oninput="ch_name(this)" >
</td>
</tr>
<tr>
<td>
3/<input type=text id=gr_name3 onchange="ch_name(this)" maxlength="32" size="34">
</td>
<td>
<select id=gr_sens3 onchange="ch_name(this)" ></select>
</td>
<td>
<input type=number id=gr_tresh3 min=0 max=250 oninput="ch_name(this)" ></input>
</td>
<td>
<input type=number id=gr_step3 min=0 max=4095 oninput="ch_name(this)" ></input>/
<input type=number id=gr_int3 min=0 max=9999 oninput="ch_name(this)" >
</td>
</tr>
<tr>
<td>
4/<input type=text id=gr_name4 onchange="ch_name(this)" maxlength="32" size="34">
</td>
<td>
<select id=gr_sens4 onchange="ch_name(this)" ></select>
</td>
<td>
<input type=number id=gr_tresh4 min=0 max=250 oninput="ch_name(this)" ></input>
</td>
<td>
<input type=number id=gr_step4 min=0 max=4095 oninput="ch_name(this)" ></input>/
<input type=number id=gr_int4 min=0 max=9999 oninput="ch_name(this)" >
</td>
</tr>
<tr>
<td>
5/<input type=text id=gr_name5 onchange="ch_name(this)" maxlength="32" size="34">
</td>