Repository navigation
Expand file tree
/
Copy pathapp.html
More file actions
3736 lines (3662 loc) · 309 KB
/
Copy pathapp.html
File metadata and controls
3736 lines (3662 loc) · 309 KB
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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#111418">
<link rel="manifest" href="/manifest.webmanifest">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/icon-180.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="PelletBridge">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<title>OpenPelletBridge</title>
<script>try{var th=localStorage.getItem("theme");if(th==="light"||th==="dark")document.documentElement.setAttribute("data-theme",th)}catch(e){}</script>
<style>
:root{
--bg:#f4f5f7;--card:#fff;--text:#16191d;--muted:#69707a;--line:#e3e6ea;
--accent:#e8590c;--accent-soft:#fff0e6;--ok:#2b8a3e;--warn:#e67700;--err:#c92a2a;
--seg:#eef0f3;--shadow:0 1px 2px rgba(0,0,0,.05),0 2px 8px rgba(0,0,0,.04);
/* chart series: dataviz palette slots 1-7 in fixed order (validated light + dark) */
--s1:#2a78d6;--s2:#eb6834;--s3:#1baf7a;--s4:#eda100;--s5:#e87ba4;--s6:#008300;--s7:#6250d6;--s8:#e34948;--grid:#e9ecef;
/* virtual remote */
--lcd:#dfe5d6;--lcd-ink:#1c2418;--remote:#2a2f36;--remote-btn:#3a4049;
}
/* dark: follows the device (auto), or forced with the theme button (data-theme on <html>) */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
--bg:#111418;--card:#1a1e23;--text:#e9ecef;--muted:#9aa2ad;--line:#2b3138;
--accent:#ff7a2e;--accent-soft:#3a2416;--ok:#51cf66;--warn:#fcc419;--err:#ff6b6b;
--seg:#242a31;--shadow:none;
--s1:#3987e5;--s2:#d95926;--s3:#199e70;--s4:#c98500;--s5:#d55181;--s6:#0ca30c;--s7:#9085e9;--s8:#e66767;--grid:#262c33;
--lcd:#b9c4ad;--lcd-ink:#141a10;--remote:#0d1013;--remote-btn:#262b31;
}}
:root[data-theme="dark"]{
--bg:#111418;--card:#1a1e23;--text:#e9ecef;--muted:#9aa2ad;--line:#2b3138;
--accent:#ff7a2e;--accent-soft:#3a2416;--ok:#51cf66;--warn:#fcc419;--err:#ff6b6b;
--seg:#242a31;--shadow:none;
--s1:#3987e5;--s2:#d95926;--s3:#199e70;--s4:#c98500;--s5:#d55181;--s6:#0ca30c;--s7:#9085e9;--s8:#e66767;--grid:#262c33;
--lcd:#b9c4ad;--lcd-ink:#141a10;--remote:#0d1013;--remote-btn:#262b31;
}
:root{color-scheme:light dark} :root[data-theme="light"]{color-scheme:light} :root[data-theme="dark"]{color-scheme:dark}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
header{position:sticky;top:0;z-index:5;background:var(--bg);border-bottom:1px solid var(--line)}
.bar{max-width:1100px;margin:0 auto;padding:12px 16px;display:flex;align-items:center;gap:12px}
.bar h1{font-size:17px;margin:0;font-weight:650;flex:1}
.bar h1 .ver{font-size:12px;font-weight:500;color:var(--muted);margin-left:4px;font-variant-numeric:tabular-nums}
@media (max-width:560px){.bar h1{font-size:15px;min-width:0}.bar h1 .ver{display:block;margin-left:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.conn{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.dot{width:9px;height:9px;border-radius:50%;background:var(--muted);flex:none}
.dot.ok{background:var(--ok)}.dot.err{background:var(--err)}.dot.warn{background:var(--warn)}
@media (max-width:640px){#connStoveTxt{display:none}}
.lang button{padding:3px 9px;min-width:0;font-size:12px}
main{max-width:1100px;margin:0 auto;padding:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:var(--shadow);min-width:0}
.card h2{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 12px;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:8px}
.card h2 button,.card h2 .seg{text-transform:none;letter-spacing:0}
.wide{grid-column:1/-1}
/* two columns inside a full-width card (device: info left, settings right), one column on narrow screens */
.cols2{display:grid;gap:12px 32px;grid-template-columns:1fr 1fr;align-items:start}
.cols2 .devfirst{padding-top:0}
@media (max-width:760px){.cols2{grid-template-columns:1fr}.cols2 .devfirst{border-top:1px solid var(--line);padding-top:12px}}
/* alerts */
#alerts{grid-column:1/-1;display:grid;gap:8px}
#alerts:empty{display:none}
.alert{display:flex;gap:10px;align-items:flex-start;border-radius:12px;padding:12px 14px;border:1px solid;font-weight:550}
.alert .ic{font-size:18px;line-height:1.2;flex:none}
.alert small{display:block;font-weight:400;opacity:.9}
.alert.critical{background:color-mix(in srgb,var(--err) 12%,var(--card));border-color:color-mix(in srgb,var(--err) 45%,transparent);color:var(--err)}
.alert.warning{background:color-mix(in srgb,var(--warn) 14%,var(--card));border-color:color-mix(in srgb,var(--warn) 50%,transparent);color:color-mix(in srgb,var(--warn) 70%,var(--text))}
/* hero */
.hero{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.hero .state{flex:1;min-width:200px}
.state-label{font-size:26px;font-weight:700;line-height:1.2}
.state-sub{color:var(--muted);font-size:14px}
.next{font-size:13px;margin-top:4px;color:var(--muted)}
.next b{color:var(--text);font-weight:600}
.big-temps{display:flex;gap:24px;flex-wrap:wrap}
.big-temps div{min-width:90px}
.big-temps .v{font-size:28px;font-weight:650;font-variant-numeric:tabular-nums}
.big-temps .l{font-size:12px;color:var(--muted)}
.pill{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;background:var(--seg);color:var(--muted)}
.pill.on{background:var(--accent-soft);color:var(--accent)}
.pill.ok{background:color-mix(in srgb,var(--ok) 15%,transparent);color:var(--ok)}
.pill.err{background:color-mix(in srgb,var(--err) 15%,transparent);color:var(--err)}
.pill.warn{background:color-mix(in srgb,var(--warn) 18%,transparent);color:var(--warn)}
dl{display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:0}
dt{color:var(--muted)}dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.row:first-of-type{border-top:0;padding-top:0}
#esDetails .row:first-of-type{border-top:1px solid var(--line);padding-top:10px}
.row .lbl{font-weight:500}.row .hint{display:block;font-size:12px;color:var(--muted);font-weight:400}
button,select,input{font:inherit;color:inherit}
button{cursor:pointer;border:1px solid var(--line);background:var(--card);border-radius:10px;padding:8px 14px;font-weight:550}
button:hover{border-color:var(--muted)}
button:disabled{opacity:.5;cursor:default}
button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
button.danger{color:var(--err)}
/* power button: green = turn on, red = turn off (fixed shades: white text stays readable in dark mode) */
button.go{background:#2b8a3e;border-color:#2b8a3e;color:#fff}
button.stop{background:#c92a2a;border-color:#c92a2a;color:#fff}
button.go:hover,button.stop:hover{filter:brightness(1.08)}
button.big{padding:12px 22px;font-size:16px;border-radius:12px}
.seg{display:inline-flex;background:var(--seg);border-radius:10px;padding:3px;gap:2px}
.seg button{border:0;background:transparent;padding:6px 12px;border-radius:8px;min-width:40px}
.seg button.active{background:var(--card);box-shadow:0 1px 3px rgba(0,0,0,.15);color:var(--accent)}
select,input[type=time],input[type=number]{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:7px 10px}
.stepper{display:inline-flex;align-items:center;gap:6px}
.stepper button{width:38px;padding:7px 0}
.stepper .v{min-width:56px;text-align:center;font-size:18px;font-weight:650;font-variant-numeric:tabular-nums}
.switch{position:relative;width:46px;height:28px;flex:none}
.switch input{opacity:0;width:0;height:0;position:absolute}
.switch span{position:absolute;inset:0;background:var(--seg);border:1px solid var(--line);border-radius:999px;transition:.15s;cursor:pointer}
.switch span:before{content:"";position:absolute;width:22px;height:22px;left:2px;top:2px;background:#fff;border-radius:50%;box-shadow:0 1px 2px rgba(0,0,0,.3);transition:.15s}
.switch input:checked+span{background:var(--accent);border-color:var(--accent)}
.switch input:checked+span:before{transform:translateX(18px)}
/* timers */
.timers{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.timer{border:1px solid var(--line);border-radius:12px;padding:12px}
.timer.off .tbody{opacity:.55}
.timer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.timer-head b{font-size:16px}
.tgrid{display:grid;grid-template-columns:auto 1fr;gap:8px 10px;align-items:center}
.tgrid label{color:var(--muted);font-size:13px}
.tgrid input,.tgrid select{width:100%}
.tgrid .seg,.tgrid .stepper{justify-self:start}
.tpick{display:block}
.tp-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:7px 12px;border-radius:10px;font-size:17px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:.02em;text-align:left}
.tp-btn svg{width:16px;height:16px;flex:none;color:var(--muted)}
.tp-btn.off{color:var(--muted);font-weight:500;font-size:15px}
.tp-btn:hover svg,.tp-btn[aria-expanded=true] svg{color:var(--accent)}
.tp-btn[aria-expanded=true]{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
#tpPop{position:absolute;z-index:25;display:none;width:288px;max-width:calc(100vw - 24px);background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 40px rgba(0,0,0,.22);padding:14px}
#tpPop .tp-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px}
#tpPop .tp-now{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.02em}
#tpPop .tp-now span{color:var(--accent)}
#tpPop .tp-now.off{color:var(--muted);font-size:20px}
#tpPop .tp-sec{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin:0 2px 6px}
#tpPop .tp-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin-bottom:12px}
#tpPop .tp-grid button{min-width:0;padding:8px 0;border:0;border-radius:9px;background:var(--seg);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;transition:background .12s,transform .08s}
#tpPop .tp-grid button:hover{background:var(--accent-soft);color:var(--accent)}
#tpPop .tp-grid button:active{transform:scale(.95)}
#tpPop .tp-grid button.sel{background:var(--accent);color:#fff}
#tpPop .tp-grid.min button{padding:10px 0;font-size:15px}
#tpPop .tp-foot{display:flex;justify-content:space-between;gap:8px}
#tpPop .tp-foot button{flex:1}
.days{display:flex;gap:4px;flex-wrap:wrap}
.days button{padding:5px 0;width:38px;font-size:12px;border-radius:8px}
.days button.active{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}
.timer-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px}
.timer-foot select{max-width:150px;font-size:13px;padding:6px 8px}
/* errors */
.errlist{list-style:none;margin:0;padding:0}
.errlist li{padding:8px 0;border-top:1px solid var(--line);display:flex;align-items:flex-start;gap:10px}
.errlist li{align-items:center;flex-wrap:wrap}
.errlist li .etext{flex:1 1 320px;min-width:0}
.errlist li .ewhen{flex:none;color:var(--muted);font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.errlist li button{padding:4px 10px;font-size:13px;flex:none}
.errlist li:first-child{border-top:0}
.errlist b{color:var(--err);margin-right:6px}
.muted{color:var(--muted)}
.help{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:0;padding:0;margin-left:6px;border-radius:50%;font-size:11px;font-weight:700;line-height:1;color:var(--muted);vertical-align:1px;text-transform:none;letter-spacing:0}
.help:hover,.help[aria-expanded=true]{color:var(--accent);border-color:var(--accent)}
#pop{position:absolute;z-index:20;max-width:340px;background:var(--card);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.45;box-shadow:0 8px 24px rgba(0,0,0,.18);display:none;white-space:pre-line}
#pop .src{display:block;margin-top:6px;color:var(--muted);font-size:11px}
.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
a{color:var(--accent)}
/* charts */
.chart{position:relative;margin-top:6px}
.chart + .chart{margin-top:18px}
.chart-title{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;font-size:13px;color:var(--muted);margin-bottom:4px}
.chart-title b{color:var(--text);font-weight:600;margin-right:4px}
.key{display:inline-flex;align-items:center;gap:6px}
.key i{display:inline-block;width:14px;height:0;border-top:2px solid currentColor}
.key i.step{border-top-style:dashed}
.chart svg{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y}
.chart svg text{fill:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.chart svg .lbl{fill:var(--text);font-size:11px;font-weight:600}
.tip{position:absolute;pointer-events:none;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-size:12px;box-shadow:0 4px 14px rgba(0,0,0,.15);min-width:130px;display:none;z-index:2}
.tip .tt{color:var(--muted);margin-bottom:4px}
.tip .tr{display:flex;align-items:center;gap:8px;justify-content:space-between}
.tip .tr span{display:inline-flex;align-items:center;gap:6px;color:var(--muted)}
.tip .tr span i{display:inline-block;width:12px;border-top:2px solid}
.tip .tr b{font-variant-numeric:tabular-nums}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.chip{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:999px;font-size:13px;font-weight:500;color:var(--muted)}
.chip.on{color:var(--text);border-color:var(--muted)}
.chip:not(.on) i{opacity:.35}
.chip i{display:inline-block;width:14px;border-top:2px solid}
.chip i.vline{width:0;height:12px;border-top:0;border-left:1px dashed var(--muted)}
.chart svg .lane{fill:var(--text);font-size:12px;font-weight:600}
details.tbl{margin-top:12px;font-size:13px}
details.tbl summary{cursor:pointer;color:var(--muted)}
details.tbl .scroll{max-height:240px;overflow:auto;margin-top:8px;border:1px solid var(--line);border-radius:10px}
details.tbl table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
details.tbl th,details.tbl td{padding:4px 8px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
details.tbl th{position:sticky;top:0;background:var(--card);color:var(--muted);font-weight:600}
details.tbl th:first-child,details.tbl td:first-child{text-align:left}
/* virtual remote */
.remote-wrap{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap}
.remote{width:170px;flex:none;background:var(--remote);border-radius:28px 28px 22px 22px;padding:18px 16px 20px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.06)}
.lcd{background:var(--lcd);color:var(--lcd-ink);border-radius:6px;height:118px;padding:5px 7px;position:relative;font-family:"Courier New",ui-monospace,monospace;font-weight:700;overflow:hidden;box-shadow:inset 0 0 0 2px rgba(0,0,0,.25);text-transform:uppercase}
.lcd .top{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.02em;padding-right:18px}
.lcd .ic{display:inline-flex;line-height:0}
.lcd .cic{display:flex;justify-content:center;margin-top:4px}
.lcd .chr{position:absolute;right:6px;top:4px}
.lcd .big{font-size:26px;text-align:center;line-height:1.1;margin-top:4px}
.lcd .big.huge{font-size:34px}
.lcd .big3{font-size:25px;text-align:center;line-height:1;margin-top:5px;letter-spacing:.02em}
.lcd .big.inv{background:var(--lcd-ink);color:var(--lcd);border-radius:3px;margin:4px auto 0;width:max-content;padding:0 6px}
.lcd .mid{font-size:12px;text-align:center;margin-top:10px;line-height:1.2}
.lcd .ttl.small{font-size:10px;line-height:1.25}
.lcd .ttl{font-size:13px;text-align:center;line-height:1.2;margin-top:4px;letter-spacing:.03em}
.lcd .menuhdr{font-size:11px;letter-spacing:.08em}
.lcd .mname{position:absolute;left:0;right:0;top:62px;text-align:center;font-size:14px;line-height:1.15;letter-spacing:.03em}
.lcd .mname.noic{top:34px;bottom:auto}
.lcd .row1{display:flex;align-items:center;justify-content:center;gap:12px;height:80px}
.lcd .row2{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px;font-size:20px}
.lcd .row2 .lbl2{font-size:14px}
.lcd .foot{position:absolute;left:0;right:0;bottom:8px;text-align:center;font-size:13px}
.lcd .spk{display:flex;justify-content:center;gap:24px;margin-top:4px}
.lcd .spk .ul{border-bottom:2px solid currentColor}
.lcd .days7{display:flex;justify-content:center;gap:6px;font-size:12px;margin-top:4px}
.lcd .days7 .u{text-decoration:underline}
.lcd .fld{text-align:center;font-size:22px;margin-top:2px}
.lcd .fld.sm{font-size:14px}
.lcd .inv{background:var(--lcd-ink);color:var(--lcd);padding:0 2px;border-radius:2px}
.lcd.list{padding-top:3px}
.lcd.list .ttl{margin:0 0 2px;font-size:11px}
.lcd .li.sm{font-size:10px;letter-spacing:-.04em}
.lcd .li{font-size:11.5px;line-height:1.38;white-space:pre}
.lcd .bars{position:absolute;left:38px;bottom:24px;display:flex;gap:5px;align-items:flex-end}
.lcd .bars div{display:flex;flex-direction:column;align-items:center;font-size:9px;line-height:1}
.lcd .bars span{display:block;width:17px;border:1.5px solid var(--lcd-ink);margin-top:1px}
.lcd .bars span.f{background:var(--lcd-ink)}
.lcd .eco{position:absolute;right:7px;top:52px;font-size:14px}
.lcd .msg{position:absolute;left:0;right:0;bottom:8px;text-align:center;font-size:14px;letter-spacing:.04em}
.lcd .warnmsg{position:absolute;right:6px;bottom:4px;font-size:10px}
.lcd .fan{position:absolute;left:6px;bottom:4px;display:flex;align-items:center;gap:3px;font-size:12px}
/* CHRONO program screen (PR1-PR6), layout as on the GRF remote; sized for the ~138 px wide LCD */
.lcd.chrono{padding:4px 4px}
.lcd .chtop{display:flex;align-items:flex-end;gap:3px;height:22px}
.lcd .chpr{font-size:14px;line-height:1;letter-spacing:-.02em}
.lcd .chon{font-size:8px;border:1.2px solid var(--lcd-ink);padding:0 1px;line-height:10px;margin-bottom:2px}
.lcd .chdays{display:flex;gap:1px;margin-left:auto}
.lcd .chd{display:flex;flex-direction:column;align-items:center;width:8px;font-size:8px;line-height:1}
.lcd .chd b{display:block;width:8px;text-align:center}
.lcd .chd i{display:block;width:7px;height:7px;border:1.2px solid var(--lcd-ink);margin-top:1px}
.lcd .chd i.f{background:var(--lcd-ink)}
.lcd .chdays.inv{background:none;color:inherit;padding:0;border-radius:0} /* only the digits are inverted */
.lcd .chdays.inv .chd b{background:var(--lcd-ink);color:var(--lcd)}
.lcd .chgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;margin-top:3px}
.lcd .chbox{border:1.2px solid var(--lcd-ink);border-radius:3px;height:38px;padding:1px 2px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.lcd .chbox .chl{font-size:7px;line-height:1}
.lcd .chbox .chv{font-size:11px;text-align:right;line-height:1.1;letter-spacing:-.03em}
.lcd .chbox.ci{flex-direction:row;align-items:center;justify-content:space-between}
.lcd .chbox.ci .chv{font-size:15px}
.lcd .chbox.inv{background:var(--lcd-ink);color:var(--lcd)}
.rbtns{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin-top:16px;justify-items:center}
.rbtns span{width:34px;height:30px;border-radius:9px;background:var(--remote-btn);color:#c9cfd6;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;opacity:.7}
.rbtns span.pw{grid-column:1/-1;border-radius:50%;width:32px;height:32px}
.remote-info{flex:1;min-width:200px}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;overflow-wrap:anywhere}
.keybtns{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
[hidden]{display:none!important} /* class display rules must not override the hidden attribute */
.altlist{width:100%;display:flex;flex-direction:column;gap:6px;margin-top:6px}
.altlist .alt{display:flex;gap:6px;align-items:center}
.altlist input{flex:1;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:6px 10px;font:inherit;color:inherit}
.altlist input.bad{border-color:var(--err)}
.altlist button{padding:5px 12px;font-size:13px}
.mqform{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:4px 0 12px;font-size:13px}
.mqform label{display:flex;flex-direction:column;gap:3px;color:var(--muted)}
.mqform label:has(input[type=checkbox]){flex-direction:row;align-items:center;justify-content:space-between;color:var(--text)}
.mqform input:not([type=checkbox]){width:100%;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:7px 10px;color:var(--text)}
@media (max-width:420px){.mqform{grid-template-columns:1fr}}
.fwprog{height:6px;border-radius:3px;background:var(--line);overflow:hidden;margin:0 0 10px}
.fwprog div{height:100%;width:0;background:var(--accent);transition:width .2s}
.keybtns button{padding:5px 10px;font-size:13px}
#keyModal{position:fixed;inset:0;z-index:30;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.45);padding:16px}
#keyModal.show{display:flex}
#keyModal .mc{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:20px;max-width:380px;width:100%;box-shadow:0 20px 50px rgba(0,0,0,.3)}
#keyModal h3{margin:0 0 6px;font-size:17px}
#keyModal p{margin:0 0 12px;color:var(--muted);font-size:14px}
#keyModal input{width:100%;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:9px 12px;font:inherit;color:inherit}
#toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%) translateY(120px);background:var(--text);color:var(--bg);padding:10px 16px;border-radius:10px;font-size:14px;transition:transform .2s;max-width:calc(100% - 32px);z-index:10}
#toast.show{transform:translateX(-50%) translateY(0)}
#toast.err{background:var(--err);color:#fff}
/* expert mode: .x elements only show with the Expert toggle */
body:not(.expert) .x{display:none!important}
/* debug mode: .d elements (raw registers, research tables) only show with the Debug toggle */
body:not(.debug) .d{display:none!important}
.xbtn{padding:4px 11px;font-size:12px;border-radius:999px;min-width:0;color:var(--muted)}
.xbtn[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}
/* stove (or controller) unreachable: data is old, controls do nothing */
.card.dim{opacity:.45;filter:grayscale(1);pointer-events:none;user-select:none;transition:opacity .2s}
/* parameter tables (debug) */
.hypwrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px}
.hyp{width:100%;border-collapse:collapse;font-size:13px}
.hyp th,.hyp td{padding:6px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.hyp tr:last-child td{border-bottom:0}
.hyp tr.cur td{background:var(--accent-soft)}
.hyp td.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.tsub{font-size:13px;font-weight:600;margin:4px 0 6px}
.tsub:not(:first-of-type){margin-top:16px}
.hyp th{color:var(--muted);font-weight:600;background:var(--card);white-space:nowrap}
.hyp td.r{white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.hyp td.v{white-space:nowrap;font-weight:650;font-variant-numeric:tabular-nums;text-align:right}
.hyp td.o{color:var(--muted);min-width:180px}
.hyp td.h{min-width:200px}
@media (max-width:420px){main{padding:12px;gap:12px;grid-template-columns:1fr}.big-temps{gap:16px}.big-temps .v{font-size:24px}.bar{gap:8px}.conn span:last-child{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
/* keyboard focus (accessibility) */
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.switch input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
/* update badge in the header */
.xbtn.upd{border-color:var(--accent);color:var(--accent);font-weight:650}
@media (max-width:560px){#updBadge .v{display:none}}
/* header: one row; on a phone two (title + connection on top, the buttons below), otherwise
the title ran under the buttons (iPhone, 20/11/2026) */
.bar .brk{display:none}
@media (max-width:560px){
.bar{flex-wrap:wrap;row-gap:8px}
.bar h1{order:0}
.bar .conn{order:1}
.bar .brk{display:block;order:2;flex-basis:100%;height:0}
.bar .xbtn{order:3}
}
/* pellet estimate (debug) */
.pdstage{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.pdchecks{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:6px;font-size:13px}
.pdchecks li{display:flex;gap:8px;align-items:baseline}
.pdchecks li .pill{flex:none;min-width:44px;text-align:center}
.hyp td.f{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--muted)}
/* live debugging */
.livebar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:4px}
.livebar input[type=text]{flex:1;min-width:160px;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:7px 10px}
.livebar label{display:flex;gap:5px;align-items:center;font-size:13px;color:var(--muted)}
.liveout{height:380px;overflow:auto;background:var(--seg);border-radius:10px;padding:10px 12px;margin:10px 0 6px;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-all}
.loglvl{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px 14px;padding:8px 0}
.loglvl label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}
.loglvl label span{color:var(--muted)}
.liveout .warn{color:var(--warn)}
/* console dock */
.devtools{position:fixed;left:0;right:0;bottom:0;z-index:25;height:var(--dth,340px);max-height:calc(100vh - 60px);background:var(--card);border-top:1px solid var(--line);box-shadow:0 -6px 24px rgba(0,0,0,.18);display:flex;flex-direction:column}
.devtools[hidden]{display:none!important}
body.dtopen{padding-bottom:var(--dth,340px)}
.dtgrip{height:7px;flex:none;cursor:ns-resize;touch-action:none}
.dtgrip:hover,.dtgrip.drag{background:var(--accent-soft)}
.dthead{display:flex;align-items:center;gap:12px;padding:2px 16px 6px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.dttitle{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.dtstat{font-size:12px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dtclose{border:0;background:transparent;font-size:20px;line-height:1;padding:2px 8px}
.dtbody{flex:1;min-height:0;display:flex;flex-direction:column;gap:6px;padding:8px 16px}
.devtools .livewrap{flex:1;min-height:0;display:flex;flex-direction:column;margin:0}
.devtools .liveout{flex:1;height:auto;min-height:40px;margin:0}
.devtools .livelegend{margin:0}
.xbtn.alert{border-color:var(--err);color:var(--err)}
button.mini{padding:1px 8px;font-size:11px;font-weight:550;border-radius:7px;margin-left:8px;vertical-align:1px}
.histnav{display:flex;align-items:center;gap:8px;margin-top:4px}
.histnav .sp{flex:1}
.histnav button.mini{margin-left:0}
.liveout .warn{color:var(--warn)}
.livewrap{margin:10px 0 6px}
.livewrap .liveout{margin:0}
.livehdr{font:600 12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--muted);background:var(--seg);border-radius:10px 10px 0 0;padding:8px 12px 4px;border-bottom:1px solid var(--line);white-space:pre;overflow:hidden}
.livehdr:not([hidden])+.liveout{border-radius:0 0 10px 10px}
.livelegend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--muted);margin:0 0 6px}
.livelegend span{display:inline-flex;align-items:center;gap:6px}
.livelegend i{display:inline-block;width:10px;height:10px;border-radius:3px;background:currentColor}
.liveout .first{color:var(--muted)}
.liveout .raw{color:var(--muted)}
.liveout .retry{color:var(--warn)}
.liveout .err{color:var(--err)} .liveout .w{color:var(--accent);font-weight:600} .liveout .ch{color:var(--ok)} .liveout .lost{color:var(--muted);font-style:italic}
/* backup / restore dialog */
#bkModal{position:fixed;inset:0;z-index:30;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.45);padding:16px}
#bkModal.show{display:flex}
#bkModal .mc{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:20px;max-width:440px;width:100%;box-shadow:0 20px 50px rgba(0,0,0,.3)}
#bkModal h3{margin:0 0 6px;font-size:17px}
#bkModal p{margin:0 0 12px;color:var(--muted);font-size:14px}
.bksec{display:flex;gap:8px;align-items:flex-start;padding:6px 0;font-size:14px}
.bksec input{margin-top:3px}
</style>
</head>
<body>
<header><div class="bar">
<h1>OpenPelletBridge <span class="ver" id="appVer"></span></h1>
<button id="updBadge" class="xbtn upd" type="button" hidden></button>
<button id="themeBtn" class="xbtn" type="button"></button>
<button id="consoleBtn" class="xbtn" type="button" data-i="console"></button>
<button id="expertBtn" class="xbtn" type="button" aria-pressed="false" data-i="expert"></button>
<button id="debugBtn" class="xbtn" type="button" aria-pressed="false" data-i="debug"></button>
<div class="conn" id="connStove"><span class="dot" id="dotStove"></span><span id="connStoveTxt">…</span></div>
<div class="conn" id="connCtl"><span class="dot" id="dot"></span><span id="conn">…</span></div>
<span class="brk" aria-hidden="true"></span>
</div></header>
<main>
<div id="alerts" role="status" aria-live="polite"></div>
<!-- Overview -->
<section class="card wide">
<div class="hero">
<div class="state">
<div class="state-label" id="stateLabel">–</div>
<div class="state-sub" id="stateSub"> </div>
<div class="next" id="nextTimer"></div>
</div>
<div class="big-temps">
<div><div class="v" id="tRoom">–</div><div class="l" id="tRoomLbl"></div></div>
<div><div class="v" id="tSet">–</div><div class="l" data-i="setPoint"></div></div>
<div><div class="v" id="tFume">–</div><div class="l" data-i="fumes"></div></div>
</div>
<button class="big go" id="powerBtn" disabled>–</button>
</div>
</section>
<!-- Heating controls -->
<section class="card">
<h2 data-i="heating"></h2>
<div class="row">
<span class="lbl"><span data-i="setPoint"></span><span data-help="setPoint"></span></span>
<span class="stepper">
<button data-step="-1" aria-label="−">−</button>
<span class="v" id="spVal">–</span>
<button data-step="1" aria-label="+">+</button>
</span>
</div>
<div class="row">
<span class="lbl"><span data-i="flamePower"></span><span data-help="flame"></span><span class="hint" id="flameHint"> </span></span>
<span class="seg" id="flameSeg"></span>
</div>
<div class="row">
<span class="lbl"><span data-i="roomFan"></span><span data-help="fan"></span><span class="hint" id="fanHint"></span></span>
<span class="seg" id="fanSeg"></span>
</div>
</section>
<!-- Energy saving -->
<section class="card">
<h2 data-i="energySaving"></h2>
<div class="row">
<span class="lbl"><span data-i="energySaving"></span><span data-help="es"></span><span class="hint" data-i="esHint"></span></span>
<label class="switch"><input type="checkbox" id="esEnabled"><span></span></label>
</div>
<div id="esDetails">
<div class="row">
<span class="lbl"><span data-i="esStart"></span><span data-help="esStart"></span><span class="hint" id="esStartHint"> </span></span>
<select id="esStart"><option value="-1">−1 °C</option><option value="-2">−2 °C</option><option value="-3">−3 °C</option><option value="0" data-i="esStartOff"></option></select>
</div>
<div class="row">
<span class="lbl"><span data-i="esStop"></span><span data-help="esStop"></span><span class="hint" id="esStopHint"> </span></span>
<select id="esStop"><option value="1">+1 °C</option><option value="2">+2 °C</option><option value="3">+3 °C</option></select>
</div>
</div>
</section>
<!-- Status details -->
<section class="card">
<h2 data-i="status"></h2>
<dl id="statusList"></dl>
</section>
<!-- History -->
<section class="card wide">
<h2><span data-i="history"></span>
<span class="seg" id="rangeSeg"><button data-h="0.5">30 min</button><button data-h="1">1 h</button><button data-h="6">6 h</button><button data-h="12">12 h</button><button data-h="24">24 h</button><button data-h="168">7 d</button></span></h2>
<div class="chips" id="histToggles"></div>
<div id="histEmpty" class="muted" style="display:none"></div>
<div id="histCharts">
<div class="chart" id="histChart"><svg role="img"></svg><div class="tip"></div></div>
<div class="histnav"><button class="mini" id="histPrev" type="button"></button><button class="mini" id="zoomReset" type="button" hidden></button><span class="sp"></span><button class="mini" id="histNext" type="button"></button></div>
<p class="muted" style="font-size:12px;margin:6px 0 0" id="histNote"></p>
<details class="tbl x"><summary data-i="showTable"></summary><div class="scroll"><table id="histTable"></table></div></details>
</div>
<details class="tbl" id="evtBox" style="display:none"><summary data-i="evtTitle"></summary><div class="scroll"><table id="evtTable"></table></div></details>
</section>
<!-- Remote control -->
<section class="card">
<h2 data-i="remoteCard"></h2>
<div class="remote-wrap">
<div class="remote" aria-hidden="true">
<div class="lcd" id="lcd"></div>
<div class="rbtns" aria-hidden="true"><span>▲</span><span>OK</span><span>▼</span><span>ESC</span><span class="pw">⏻</span></div>
</div>
<div class="remote-info">
<dl id="remoteList"></dl>
<p class="muted" style="font-size:12px;margin:10px 0 0" data-i="remoteNote"></p>
</div>
</div>
</section>
<!-- Combustion & settings -->
<section class="card">
<h2 data-i="settings"></h2>
<div class="row">
<span class="lbl"><span data-i="combustionQuality"></span><span data-help="cq"></span><span class="hint" id="cqHint"> </span></span>
<select id="cq"></select>
</div>
<div class="row">
<span class="lbl"><span data-i="pelletQuality"></span><span data-help="pq"></span><span class="hint" id="pqHint"> </span></span>
<select id="pq"></select>
</div>
<div class="row">
<span class="lbl"><span data-i="beep"></span><span data-help="beep"></span></span>
<label class="switch"><input type="checkbox" id="beep"><span></span></label>
</div>
</section>
<!-- Clock -->
<section class="card">
<h2><span><span data-i="clock"></span><span data-help="clock"></span></span></h2>
<dl>
<dt data-i="stove"></dt><dd id="timeStove">–</dd>
<dt>NTP</dt><dd id="timeNtp">–</dd>
<dt>Browser</dt><dd id="timeBrowser">–</dd>
<dt data-i="difference"></dt><dd id="timeDelta">–</dd>
</dl>
<div class="actions"><button id="syncTime" data-i="syncClock"></button><button id="syncBrowser" data-i="syncBrowser"></button></div>
</section>
<!-- Errors -->
<section class="card wide">
<h2><span><span data-i="errorMemory"></span><span data-help="errors"></span></span></h2>
<ul class="errlist" id="errList"><li class="muted">–</li></ul>
<div class="actions"><button class="danger" id="clearErrors" data-i="clearErrors"></button></div>
</section>
<!-- Timers -->
<section class="card wide">
<h2><span><span data-i="timers"></span><span data-help="timers"></span></span><button id="reloadTimers" data-i="reload"></button></h2>
<div class="next" id="nextTimer2" style="margin:-4px 0 12px"></div>
<div class="timers" id="timers"></div>
</section>
<!-- Device -->
<section class="card wide" id="devCard">
<h2 data-i="device"></h2>
<div class="cols2">
<dl id="deviceList"></dl>
<div>
<div class="row devfirst">
<span class="lbl"><span data-i="bt"></span><span data-help="bt"></span><span class="hint" id="btHint"> </span></span>
<label class="switch"><input type="checkbox" id="btToggle"><span></span></label>
</div>
<div class="row d">
<span class="lbl"><span>Telnet</span><span data-help="telnet"></span><span class="hint" data-i="telnetHint"></span></span>
<label class="switch"><input type="checkbox" id="telnetToggle"><span></span></label>
</div>
<div class="row">
<span class="lbl"><span data-i="keyRequired"></span><span data-help="apiKey"></span><span class="hint" id="keyReqHint"> </span></span>
<label class="switch"><input type="checkbox" id="keyReqToggle"><span></span></label>
</div>
<div class="row" id="keyRow">
<span class="lbl"><span data-i="apiKeyLbl"></span><span class="hint mono" id="keyVal">–</span></span>
<span class="keybtns"><button id="keyShow" data-i="keyShow"></button><button id="keyCopy" data-i="keyCopy"></button><button id="keyRotate" data-i="keyRotate"></button></span>
</div>
<div class="row">
<span class="lbl"><span>HTTPS</span><span data-help="https"></span><span class="hint" id="httpsHint"> </span><span class="hint mono" id="httpsFp"></span></span>
<label class="switch"><input type="checkbox" id="httpsToggle"><span></span></label>
</div>
<div class="row" id="httpsRow" hidden>
<span class="lbl"><span data-i="httpsCert"></span><span class="hint" id="httpsValid"></span></span>
<span class="keybtns"><button id="httpsOpen" data-i="httpsOpen"></button><button id="httpsDl" data-i="httpsDl"></button><button id="httpsNew" data-i="httpsNew"></button></span>
</div>
<div class="row" id="httpsRedirRow" hidden>
<span class="lbl"><span data-i="httpsRedir"></span><span class="hint" data-i="httpsRedirHint"></span></span>
<label class="switch"><input type="checkbox" id="httpsRedirToggle"><span></span></label>
</div>
<div class="row" id="httpsAltRow" hidden style="flex-wrap:wrap">
<span class="lbl"><span data-i="httpsAlt"></span><span class="hint" data-i="httpsAltHint"></span></span>
<div id="httpsAltList" class="altlist"></div>
<div class="keybtns" style="width:100%;margin-top:6px"><button id="httpsAltAdd" title="+">+</button><button id="httpsAltSave" class="primary" data-i="httpsAltSaveBtn" hidden></button></div>
</div>
<div class="row" id="ghRow" hidden>
<span class="lbl"><span data-i="ghTitle"></span><span data-help="ghUpdate"></span><span class="hint" id="ghHint"> </span><a class="hint" id="ghNotes" target="_blank" rel="noopener" data-i="ghNotes" hidden></a></span>
<span class="keybtns"><button id="ghCheck" data-i="ghCheck"></button><button id="ghInstall" class="primary" hidden></button></span>
</div>
<div id="ghProg" class="fwprog" hidden><div id="ghBar"></div></div>
<div class="row x" id="ghAutoRow" hidden>
<span class="lbl"><span data-i="ghAuto"></span><span class="hint" data-i="ghAutoHint"></span></span>
<label class="switch"><input type="checkbox" id="ghAuto"><span></span></label>
</div>
<div class="row x" id="fwRow">
<span class="lbl"><span data-i="fwUpdate"></span><span data-help="fwUpdate"></span><span class="hint" id="fwHint" data-i="fwHint"></span></span>
<span class="keybtns"><input type="file" id="fwFile" accept=".bin,application/octet-stream" hidden><button id="fwPick" data-i="fwPick"></button></span>
</div>
<div id="fwProg" class="fwprog x" hidden><div id="fwBar"></div></div>
</div>
</div>
<div class="actions">
<a class="x" href="/api"><button data-i="apiDocs"></button></a>
<a class="x" href="/metrics"><button>Metrics</button></a>
<a class="x" href="/device"><button data-i="devicePage"></button></a>
<button id="bkExport" data-i="bkExport"></button>
<button id="bkImport" data-i="bkImport"></button><input type="file" id="bkFile" accept=".json,application/json" hidden>
<button class="danger" id="restart" data-i="restart"></button>
</div>
</section>
<!-- Network -->
<section class="card" id="wifiCard">
<h2><span><span data-i="wifiTitle"></span><span data-help="wifi"></span></span><span class="keybtns"><button id="wifiNetBtn" data-i="wifiOther"></button><button id="wifiEditBtn" data-i="wifiIpBtn"></button></span></h2>
<dl id="wifiList"></dl>
<p class="muted" id="wifiNote" style="font-size:12px;margin:8px 0 0" hidden></p>
<form id="wifiNetForm" class="mqform" hidden autocomplete="off">
<div class="tsub" style="grid-column:1/-1;margin:0" data-i="wifiChange"></div>
<label style="grid-column:1/-1"><span data-i="wifiNet"></span>
<span style="display:flex;gap:6px"><select id="wnSsid" style="flex:1;min-width:0"></select><button type="button" id="wnScan" data-i="wifiScan"></button></span></label>
<label id="wnManualRow" hidden style="grid-column:1/-1"><span data-i="wifiSsidManual"></span><input id="wnManual" spellcheck="false" maxlength="32"></label>
<label style="grid-column:1/-1"><span data-i="mqttPass"></span><input id="wnPass" type="password" autocomplete="new-password" maxlength="63"></label>
<p class="muted" style="grid-column:1/-1;margin:0" data-i="wifiChangeNote"></p>
<div class="actions" style="justify-content:flex-end;grid-column:1/-1;margin-top:4px"><button type="button" id="wnCancel" data-i="cancel"></button><button type="submit" class="primary" data-i="wifiSwitch"></button></div>
</form>
<form id="wifiForm" class="mqform" hidden autocomplete="off">
<div class="tsub" style="grid-column:1/-1;margin:0" data-i="wifiIpSettings"></div>
<label><span>Hostname</span><input id="wfHost" spellcheck="false" placeholder="openpelletbridge"></label>
<label><span data-i="wifiMode"></span><select id="wfMode"><option value="dhcp">DHCP</option><option value="static" data-i="wifiStatic"></option></select></label>
<label class="wfs"><span data-i="wifiIp"></span><input id="wfIp" spellcheck="false" placeholder="192.168.1.50"></label>
<label class="wfs"><span data-i="wifiMask"></span><input id="wfMask" spellcheck="false" placeholder="255.255.255.0"></label>
<label class="wfs"><span>Gateway</span><input id="wfGw" spellcheck="false" placeholder="192.168.1.1"></label>
<label class="wfs"><span>DNS</span><input id="wfDns" spellcheck="false" placeholder="192.168.1.1"></label>
<p class="muted" style="grid-column:1/-1;margin:0" data-i="wifiFormNote"></p>
<div class="actions" style="justify-content:flex-end;grid-column:1/-1;margin-top:4px"><button type="button" id="wfCancel" data-i="cancel"></button><button type="button" id="wfSave" data-i="save2"></button><button type="submit" class="primary" id="wfSaveRestart" data-i="wifiSaveRestart"></button></div>
</form>
</section>
<!-- MQTT -->
<section class="card" id="mqttCard">
<h2><span><span>MQTT</span><span data-help="mqtt"></span></span><span class="keybtns"><label class="switch"><input type="checkbox" id="mqttToggle"><span></span></label><button id="mqttEdit" data-i="mqttEdit"></button></span></h2>
<dl id="mqttList"></dl>
<form id="mqttForm" class="mqform" hidden autocomplete="off">
<label><span>Broker</span><input id="mqHost" placeholder="192.168.1.10" spellcheck="false"></label>
<label><span>Port</span><input id="mqPort" type="number" min="1" max="65535" placeholder="1883"></label>
<label><span data-i="mqttUser"></span><input id="mqUser" spellcheck="false"></label>
<label><span data-i="mqttPass"></span><input id="mqPass" type="password" autocomplete="new-password"></label>
<label><span data-i="mqttPrefix"></span><input id="mqPrefix" placeholder="openpelletbridge" spellcheck="false"></label>
<label><span data-i="mqttDisc"></span><input type="checkbox" id="mqDisc"></label>
<label><span data-i="mqttDiscPrefix"></span><input id="mqDiscPrefix" placeholder="homeassistant" spellcheck="false"></label>
<div class="actions" style="justify-content:flex-end;grid-column:1/-1;margin-top:4px"><button type="button" id="mqCancel" data-i="cancel"></button><button type="submit" class="primary" id="mqSave" data-i="save2"></button></div>
</form>
</section>
<!-- Known EEPROM parameters (debug only) -->
<section class="card wide d" id="parCard">
<h2><span><span data-i="parTitle"></span><span data-help="par"></span></span><span class="keybtns"><span class="muted" id="parAge" style="text-transform:none;letter-spacing:0;font-weight:400;align-self:center"></span><button id="parReload" data-i="reload"></button></span></h2>
<div class="tsub" data-i="parPresets"></div>
<div class="hypwrap"><table class="hyp" id="parPresetTable"></table></div>
<div class="tsub" data-i="parPhases" style="margin-top:14px"></div>
<div class="hypwrap"><table class="hyp" id="parPhaseTable"></table></div>
<div class="tsub" data-i="parUser" style="margin-top:14px"></div>
<div class="hypwrap"><table class="hyp" id="parUserTable"></table></div>
<div class="tsub" data-i="parTimers" style="margin-top:14px"></div>
<div class="hypwrap"><table class="hyp" id="parTimerTable"></table></div>
<p class="muted" style="font-size:12px;margin:8px 0 0" data-i="parNote"></p>
</section>
<!-- Pellet estimate: everything the calculation is made of (debug only) -->
<section class="card wide d" id="pelDbgCard">
<h2><span><span data-i="pelDbgTitle"></span><span data-help="pelDbg"></span></span><span class="keybtns"><span class="muted" id="pelDbgAge" style="text-transform:none;letter-spacing:0;font-weight:400;align-self:center"></span><button id="pelDbgCopy" data-i="keyCopy"></button><button id="pelDbgReload" data-i="reload"></button></span></h2>
<div id="pelDbgStage" class="pdstage"></div>
<ul id="pelDbgChecks" class="pdchecks"></ul>
<div class="tsub" id="pelDbgCalcH"></div>
<div class="hypwrap"><table class="hyp" id="pelDbgCalc"></table></div>
<div class="tsub" id="pelDbgFlameH" style="margin-top:14px"></div>
<div class="hypwrap"><table class="hyp" id="pelDbgFlame"></table></div>
<div class="cols2" style="margin-top:14px">
<div><div class="tsub" id="pelDbgInH"></div><dl id="pelDbgIn"></dl><div class="tsub" id="pelDbgTrH" style="margin-top:14px"></div><dl id="pelDbgTr"></dl></div>
<div><div class="tsub" id="pelDbgLoopH"></div><dl id="pelDbgLoop"></dl><div class="tsub" id="pelDbgSaveH" style="margin-top:14px"></div><dl id="pelDbgSave"></dl></div>
</div>
<div class="tsub" id="pelDbgCycH" style="margin-top:14px"></div>
<div class="hypwrap"><table class="hyp" id="pelDbgCyc"></table></div>
<details class="tbl"><summary>JSON (GET /api/pellets)</summary><pre id="pelDbgJson" class="mono" style="white-space:pre-wrap;margin:8px 0 0"></pre></details>
</section>
</main>
<!-- Console: docked panel at the bottom (like the browser's developer tools) with the
firmware log, the stove bus monitor and the requests of this page. Outside <main>,
so it stays usable when the stove or the controller does not answer. -->
<div id="devtools" class="devtools" hidden>
<div class="dtgrip" id="dtGrip" role="separator" aria-orientation="horizontal"></div>
<div class="dthead">
<span class="dttitle"><span data-i="liveTitle"></span><span data-help="live"></span></span>
<span class="seg" id="liveSeg"><button data-v="log" data-i="liveLog"></button><button data-v="bus" data-i="liveBus"></button><button data-v="req" data-i="liveReq"></button></span>
<span class="dtstat muted" id="liveStat"></span>
<button id="dtClose" class="dtclose" type="button">×</button>
</div>
<div class="dtbody">
<div class="livebar">
<button id="livePause" type="button"></button><button id="liveClear" type="button" data-i="liveClear"></button><button id="liveDl" type="button" data-i="liveDl"></button>
<input type="text" id="liveFilter" spellcheck="false" autocomplete="off">
<label id="busChangesL" hidden><input type="checkbox" id="busChanges" checked><span data-i="busChanges"></span></label>
<label id="busWritesL" hidden><input type="checkbox" id="busWrites"><span data-i="busWrites"></span></label>
<label id="busErrorsL" hidden><input type="checkbox" id="busErrors"><span data-i="busErrors"></span></label>
<label id="busRawL" hidden><input type="checkbox" id="busRaw"><span data-i="busRaw"></span></label>
<label id="busBinL" hidden><input type="checkbox" id="busBin"><span data-i="busBin"></span></label>
</div>
<details id="logLvlBox" class="tbl"><summary data-i="logLevels"></summary><div id="logLvl" class="loglvl"></div></details>
<div class="livewrap"><div id="liveHdr" class="livehdr" hidden></div><pre id="liveOut" class="liveout" tabindex="0"></pre></div>
<div id="liveLegend" class="livelegend"></div>
</div>
</div>
<div id="bkModal" role="dialog" aria-modal="true" aria-labelledby="bkTitle"><div class="mc">
<h3 id="bkTitle" data-i="bkTitle"></h3>
<p id="bkInfo"></p>
<div id="bkSections"></div>
<p class="muted" style="font-size:12px;margin-top:10px" data-i="bkNote"></p>
<div class="actions" style="justify-content:flex-end"><button id="bkCancel" data-i="cancel"></button><button class="primary" id="bkApply" data-i="bkApply"></button></div>
</div></div>
<div id="toast" role="status" aria-live="polite"></div>
<div id="pop" role="tooltip"></div>
<div id="tpPop" role="dialog" aria-modal="false"></div>
<div id="keyModal" role="dialog" aria-modal="true" aria-labelledby="keyModalTitle"><div class="mc">
<h3 id="keyModalTitle" data-i="keyModalTitle"></h3>
<p data-i="keyModalText"></p>
<input id="keyInput" type="password" autocomplete="off" spellcheck="false" placeholder="X-API-Key">
<div class="actions" style="justify-content:flex-end"><button class="primary" id="keySave" data-i="save2"></button></div>
</div></div>
<script>
"use strict";
const $ = id => document.getElementById(id);
const POLL_MS = 5000, REMOTE_MS = 10000, HISTORY_MS = 120000;
const DAYS = ["monday","tuesday","wednesday","thursday","friday","saturday","sunday"];
const CQ = ["+G","-3","-2","-1","0","1","2","3"];
const PQ = ["-5","-4","-3","-2","-1","0","1","2","3","4","5"];
// ---------- translations ----------
const I18N = {
en: {
heating:"Heating", setPoint:"Set point", fumes:"Fumes", flamePower:"Flame power", roomFan:"Room fan (Multifuoco)", roomFanHint:"Off = NATURAL MODE (fan off)",
energySaving:"Energy saving", esHint:"Stop when warm, restart when it cools down", esStart:"Restart below set point", esStop:"Stop above set point",
restartsAt:"Restarts at {0}", esRestartAt:"Energy saving · restarts at {0}", esReduced:"Energy saving · reduced power", reducedPower:"Reduced power (set point reached)",
ctrlFw:"Controller firmware", ctrlBuilt:"Built on", builtFor:"Firmware built for",
wifiOther:"Other network", wifiIpBtn:"IP settings", wifiChange:"Change WiFi network", wifiIpSettings:"Hostname and IP address", wifiScan:"Scan", wifiScanning:"Scanning…",
wifiSsidManual:"Other / hidden network", wifiCurrent:"current", wifiSwitch:"Switch", wifiPassLen:"The WiFi password must be 8 – 63 characters (or empty for an open network)",
wifiSwitching:"Switching to {0} – open the app again in a moment", wifiLastChange:"Last network change: {0}.",
wifiChangeNote:"The controller switches right away and uses DHCP on the new network. Without a connection within 25 s it goes back to the current network; once connected, open the app on the new network within 5 minutes (hostname.local), otherwise it also goes back.",
wifiConfirmSwitch:"Switch the controller to \"{0}\"? It leaves \"{1}\" now. Open the app again on {2} within 5 minutes; without a connection or without a visit it returns to \"{1}\" by itself.",
wifiTitle:"Network (WiFi)", wifiNet:"Network", wifiSignal:"Signal", wifiIp:"IP address", wifiIp6:"IPv6", wifiIp6Link:"link-local", wifiMask:"Netmask", wifiChannel:"Channel", wifiDown:"not connected",
wifiMode:"Address", wifiStatic:"Static", wifiStaticShort:"static", wifiSaveRestart:"Save and restart", wifiSaved:"Network settings saved – active after a restart",
wifiRestartReq:"Saved settings differ from the running ones: active after a restart.", wifiConfirmed:"New static address: open the app on it within 5 minutes, otherwise the controller goes back to DHCP.",
wifiConfirmRestart:"Save and restart the controller? It will then be reachable on {0}. With a new static address, open the app there within 5 minutes; otherwise it switches back to DHCP by itself.",
wifiFormNote:"Changes take effect after a restart. A new static address must be confirmed: open the app on it within 5 minutes, otherwise the controller returns to DHCP.",
h_wifi:"WiFi connection and IP settings of the controller. Use 'Other network' to switch to another WiFi network (with automatic fall back), 'IP settings' for hostname and DHCP / static IP. Without any working network: hold the reset button 5 s and connect to the access point 'Pellet heater controller' (WiFiManager portal).",
mqttConn:"connected", mqttNotConn:"not connected", mqttLastError:"Last error", mqttCounts:"Published / commands",
mqttEdit:"Settings", mqttEnabled:"MQTT on", mqttUser:"User", mqttPass:"Password", mqttPrefix:"Topic prefix", mqttDisc:"Home Assistant discovery", mqttDiscPrefix:"Discovery prefix",
mqttNone:"Not available (older firmware)", mqttOff:"Off", mqttConnected:"Connected to {0} – topics {1}/…", mqttDisconnected:"Not connected to {0}: {1}", mqttPassKeep:"unchanged", mqttSaved:"MQTT settings saved", cancel:"Cancel",
h_mqtt:"Publishes the stove values to an MQTT broker and accepts commands. Values are plain text under <prefix>/state/… (e.g. room_temp = 21.5, power = ON), retained, on change and every 5 min. Commands go to <prefix>/set/…: power and energy_saving (ON / OFF or 1 / 0), mode (heat / off), setpoint (7 – 30), flame_power (1 – 4), fan_speed (off / 0 – 3), es_stop and es_start (0 – 3). <prefix>/status is online / offline. With Home Assistant discovery on, the stove appears in Home Assistant by itself (climate, switches, numbers, sensors). Other systems such as Loxone (through an MQTT gateway) or Node-RED use the same topics; discovery can stay off for them.",
pelDbgTitle:"Pellet estimate (debug)", h_pelDbg:"Everything the pellet estimate is made of, from GET /api/pellets (refreshed every 10 s while debug mode is on). The controller adds up 'auger units': the auger on-time per cycle (RAM 0x0D, at most 12 s) times the seconds it fed. The level sensor (RAM 0xA4) trips at the same height each time, so between two alarms exactly the kg refilled in between were burned: kg per unit = kg / units. Left = kg refilled since the last alarm − kg per unit × units since that alarm; hours = left / (kg per unit × auger value × 3600). The checks at the top flag what usually goes wrong: no alarm or refill seen yet, sensor values the counter ignores, more burned than refilled (wrong refill amount), gaps in the readings, cycles that disagree. 'Copy' puts the raw JSON on the clipboard for a bug report.",
parTitle:"Parameters (EEPROM)", h_par:"Presets stored in the stove EEPROM, read live (GET /api/dump). 'Verified' = checked on this stove. The presets per power level are the values the stove uses at each flame power; the row of the current actual flame power is highlighted.",
parPresets:"Presets per phase and power level", parPhases:"Start-up, cleaning and alarm (installer parameters Pr01 – Pr22 at EEPROM address Pr − 1, as in the Micronova L023 manual)", parCReg:"Register", parCManual:"In the manual", parCName:"Meaning", parCVal:"Value", parUser:"Settings (menu parameter id = EEPROM address + 1)", parCMenu:"Menu parameter", parTimers:"Timer programs (from /api/timers)", parCProg:"Program", parCOn:"On", parCOff:"Off", parCDays:"Days", parCSet:"Temp.", parCFlame:"Flame", parCFan:"Fan", parLevel:"Level", parAuger:"Auger value", parFume:"Fume fan target", parNow:"now",
stOk:"verified",
parNote:"Read once when debug mode is turned on; 'Reload' reads them again (about 45 EEPROM reads, a few seconds). Fume fan rpm = (value + 25) × 10. The live fume fan target is RAM 0x36, 1 – 2 below the preset (possibly the combustion quality correction).",
expert:"Expert", expertTitle:"Show technical details: sensors, brazier cleaning, controller info, firmware upload, API links",
debug:"Debug", debugTitle:"Show research and diagnostics: raw RAM / EEPROM registers, the parameter table, serial errors, telnet",
stHyp:"hypothesis", stUnk:"unknown",
brazier:"Brazier cleaning", brazierIn:"in {0} min", brazierEvery:"in {0} min (every {1} min)", brazierNow:"in progress",
h_brazier:"While burning the stove cleans the brazier at a fixed interval (EEPROM 0x02, in minutes): the fume fan speeds up and the stove briefly shows 'Brazier cleaning'. RAM 0x32 counts down the minutes to the next cleaning. Only shown while the stove is working.",
fwUpdate:"Upload OpenPelletBridge firmware", fwHint:"Upload a firmware.bin (from .pio/build/…)", fwPick:"Choose file…", fwBadFile:"Choose the firmware .bin file",
fwConfirm:"Install {0} ({1} MB)? The controller restarts afterwards; the stove keeps running.", fwProgress:"Uploading… {0}% · {1} KB/s",
themeTitle:"Theme: {0} (click to change)", theme_auto:"automatic (follows the device)", theme_light:"light", theme_dark:"dark",
apiKeyLbl:"API key", lastStart:"Last start", ctrlStarts:"Controller starts", ctrlStartsVal:"{0} ({1} after a crash)", wifiDrops:"Connection drops", wifiDropsVal:"{0} · last {1} ago: {2}",
logLevels:"Log levels per module", logLevelSaved:"Log level {0} = {1}",
ghLastUnfinished:"The previous install did not finish; last step: {0}.", ghLastFailed:"The previous install failed: {0}.",
updBadge:"Update", updBadgeTitle:"New firmware {0} available – show it under Device", helpFor:"Explanation",
pelMarkLow:"Pellets low", pelMarkOut:"Pellets used up", pelMarkRefill:"Refilled", pelMarkRefillKg:"Refilled {0} kg", esStopL:"energy saving stop {0}°", esStartL:"restart {0}°", timerBand:"Timer on", timerNote:"Light band: a timer program has the stove on.", noDataWin:"No data in this period.", zoomOut:"Zoom out", histPrev:"‹ Earlier", histNext:"Later ›", zoomHint:"Drag across the chart to zoom in; scroll sideways (or Shift + wheel) to move in time.", zoomedTo:"Showing {0} – {1}: double-click the chart or use Zoom out to go back.", histWeekNote:"Hourly averages, last 7 days (burning = share of the hour the stove was heating), stored on the controller.", burnPct:"Burning", fumeMax:"Fume max.",
liveTitle:"Live debugging", liveLog:"Firmware log", liveBus:"Stove bus", livePause:"Pause", liveResume:"Resume", liveClear:"Clear", liveDl:"Download",
liveFilterLog:"Filter on text", liveFilterBus:"Addresses (0x21, 0x6E) or text", busChanges:"Changes only", busWrites:"Writes only", busErrors:"Errors only",
liveLost:"… older output was overwritten …", liveLines:"{0} lines", liveRate:"{0} transactions · {1}/s", livePaused:"paused", liveNA:"Not available (older firmware)",
console:"Console", consoleTitle:"Console: firmware log, stove bus and requests (Ctrl+`)", liveReq:"Requests", reqCount:"{0} requests",
lgReqOk:"answered", lgReqSlow:"slow (> 5 s)", lgReqErr:"error or no answer",
aNoAnswerSub:"Check the serial cable to the stove. Open the Console (top right) to follow the bus and the log.",
busFailedLast:"FAILED: attempt {0}/{1} – {2}", busAttemptFail:"attempt {0}/{1} failed – {2}, trying again", busOkAfter:"(OK at attempt {0}/{1})",
rsTimeout:"timeout: {0} of {1} bytes", rsEcho:"echo differs from TX", rsChecksum:"echo OK, wrong checksum (noise on the line?)", rawEchoBad:"echo differs from TX (line stuck low? cable?)",
lgRetry:"attempt failed, tried again",
rsNothing:"nothing received, no echo: bus not connected (cable / interface?)", rsNoEcho:"no echo of TX (received {0}): bus not connected or line stuck (cable / interface?)",
rsEchoShort:"echo incomplete ({0} of {1} bytes): bus not connected?", rsNoAnswer:"echo OK, the stove did not answer ({0} of {1} bytes)", rsWrongConfirm:"the stove confirmed another address / value",
mqttNeedHost:"Set the broker first", mqttOnToast:"MQTT on", mqttOffToast:"MQTT off",
reset:"Reset", resetConfirm:"Reset the {0}?", resetDone:"{0} reset", crashCounter:"crash counter", serialCounters:"serial counters", serialSkipped:"{0} skipped (link down)",
evLinkDown:"Serial lost", evLinkUp:"Serial back", evtLink:"Serial link",
busRead:"read", busWrite:"write", busFailed:"FAILED after {0} attempts", busWas:"was {0}", busFirst:"first reading", busUnknown:"(no description known)",
busHTime:"Time", busHAction:"Action", busHReg:"Register", busHValue:"Value", busHMeaning:"Meaning",
lgFirst:"first reading of a register", lgSame:"same value as before", lgChanged:"value changed (← previous value)", lgWrite:"write to the stove", lgFailed:"failed after all attempts",
lgInfo:"I = info, D = debug", lgWarn:"W = warning", lgError:"E = error", lgBefore:"lines from before the last restart",
busRaw:"Raw bytes", busBin:"Binary", rawRead:"read {0}, address {1}", rawWrite:"write {0}, address {1}, value {2}, checksum {3}", rawEcho:"echo of TX",
rawAnswer:"checksum {0} ({1}), value {2}", rawOk:"OK", rawBad:"WRONG", rawShort:"only {0} of {1} bytes received (timeout)",
lgRaw:"TX = bytes sent by the controller; RX = bytes received: first always the echo of TX (one-wire bus; no echo = bus not connected), then the stove's answer",
busErr:"error", busTries:"{0} attempts",
liveNote:"Log: what the firmware writes to its serial port (Serial, UART0) (last 8 KB, also from before you opened this). Stove bus: every read and write on the bus to the stove, recorded only while this view is open.",
h_live:"Firmware log: the messages of the controller firmware (WiFi, MQTT, updates, errors), the same as on the serial port, with the time. Output of some built-in libraries is not included. Stove bus: every read and write between the controller and the stove, one line each: time, action, register (RAM or EEPROM and address), value (decimal and hex) and what the value means according to the known register table. A changed value shows the previous one (← was …). With 'Changes only' (on by default) you see the first reading of each register and then only what changes, writes and failures; the colours are explained under the output. Filter on addresses to follow registers, e.g. while pressing keys on the remote. The bus monitor only records while this view is open and stops by itself 60 s after you leave. After a restart the log starts with the last lines from before it (kept in RTC memory, also after a crash, not after a power cut). Log levels per module set how much each part of the firmware writes (kept on the controller).",
bkExport:"Back up settings", bkImport:"Restore settings", bkTitle:"Restore settings", bkInfo:"Backup of {0} · firmware {1} · {2}", bkModelDiff:"Made for a {0}; this controller is built for a {1}.",
bkApply:"Restore", bkNote:"Only the checked parts are written. The MQTT password and the API key are not in a backup (the current ones stay).",
secStove:"Stove settings: set point, flame power, fan, energy saving, beep, combustion and pellet quality", secTimers:"Timers PR1 – PR6", secMqtt:"MQTT settings",
secNet:"Network: hostname and IP settings (take effect after a restart)", secDevice:"Device: Bluetooth, telnet, automatic update check (a Bluetooth change restarts the controller)", secUi:"Display: theme, expert, debug and chart choices",
bkBad:"This is not an OpenPelletBridge backup", bkBusy:"Restoring {0}…", bkDone:"Settings restored", bkDoneErr:"Restored with errors: {0}", bkSaved:"Backup downloaded",
ghDevNewer:"Development build {0} ({1}) – newer than the latest release {2}, so there is no update", ghAhead:"{0} commit(s) after {1}", ghDirty:"with uncommitted changes", ghNoTag:"not built from a release tag",
ghBack:"Back to {0}", ghBackTitle:"Replace this development build by the published release {0} (a step back)",
ghConfirmBack:"Go back to release {0}? This controller runs development build {1}, which is newer: installing {0} removes the changes of this build. The controller restarts and is unreachable for about a minute; the stove keeps running.",
ghTitle:"OpenPelletBridge firmware", ghCheck:"Check for update", ghInstall:"Install {0}", ghNotes:"Release notes",
ghChecking:"Checking GitHub…", ghDownloading:"Downloading and installing… {0}%", ghNever:"Not checked yet", ghError:"Check failed: {0}",
ghAvail:"New version {0} available (since {1}) – you have {2}", ghUpToDate:"Up to date ({0})", ghDev:"Development build {1} – latest release {0}",
ghConfirm:"Install {0} from GitHub? The controller downloads it, restarts and is unreachable for about a minute; the stove keeps running.",
ghConfirmDev:"This controller runs development build {1}. Install release {0} from GitHub instead? It restarts and is unreachable for about a minute; the stove keeps running.",
ghAuto:"Check for updates automatically", ghAutoHint:"at start-up; daily only while HTTPS is off (GitHub)",
h_ghUpdate:"New versions of the OpenPelletBridge firmware (the ESP32 controller, NOT the stove) are published as GitHub releases of github.com/netdata-be/PalletHeater-REST-API. The controller checks the latest release (automatically at start-up, daily as well while HTTPS is off, or with the button; with HTTPS on the daily check would take the memory HTTPS needs) and installs it only when you ask: it downloads the image over HTTPS, verifies it and restarts. Settings are kept. A development build (version not from a release tag) is not offered an update, but you can install the release over it.",
fwRestarting:"Installed – controller restarts…", fwNoAnswer:"No answer after the restart – reload the page", fwFailed:"Update failed: {0}",
h_fwUpdate:"This is the firmware of the OpenPelletBridge controller (the ESP32), NOT of the pellet stove itself: the stove firmware cannot be changed this way. Installs it over HTTP (POST /api/update), several times faster than ArduinoOTA. Use the firmware.bin from .pio/build/<environment>/. The controller restarts after the update; the stove itself is not affected. Requires the API key (or the OTA password).", esNoRestartSub:"Energy saving · no automatic restart", stopsAt:"Stops at {0}", useSwitch:"Use the switch to turn energy saving off",
status:"Status", history:"History", temperatures:"Temperatures", room:"Room", fumeTemp:"Fume temperature", showTable:"Show as table",
histEmpty:"No history yet. The controller records a point every 2 minutes once it has the time (NTP) and stove data.", histErr:"Could not load history: {0}",
remoteCard:"Remote control", remoteNote:"Read-only mirror of what the remote shows. Buttons cannot be pressed from here.",
settings:"Settings", combustionQuality:"Combustion quality", pelletQuality:"Pellet quality", beep:"Beep (Zoemer)",
clock:"Clock", stove:"Stove", difference:"Difference", syncClock:"Sync stove clock to NTP",
errorMemory:"Error memory", clearErrors:"Clear error memory", noErrors:"No errors stored", del:"Delete",
confirmDelErr:"Delete error {0} from position {1}?", confirmClearErr:"Clear all 5 error memory positions?",
errDeleted:"Error {0} deleted", errCleared:"Error memory cleared",
timers:"Timers (chrono)", reload:"Reload", loadingTimers:"Loading timers…", timersErr:"Could not load timers: {0}",
tOn:"On", tOff:"Off", tDays:"Days", tFlame:"Flame", tFan:"Room fan", save:"Save {0}", saved:"{0} saved", enabledMsg:"{0} enabled", disabledMsg:"{0} disabled",
readError:"Read error", readErrorText:"Could not read this program from the stove.", retry:"Retry",
copyTo:"Copy to…", copyAll:"All other programs", confirmCopy:"Copy the settings of {0} to {1}? This overwrites them on the stove.", copied:"Copied {0} to {1}",
timeStep:"Times must be on a 10 minute boundary (e.g. 06:30)",
nextOn:"Next: {0} turns the stove on at {1} ({2})", nextOff:"Next: {0} turns the stove off at {1} ({2})", noTimers:"No timers active", today:"today", tomorrow:"tomorrow",
device:"Device", apiDocs:"API docs", devicePage:"Device page", restart:"Restart", confirmRestart:"Restart the OpenPelletBridge controller?", restarting:"Restarting… the page reconnects automatically",
turnOn:"Turn on", turnOff:"Turn off", confirmOff:"Turn the stove off?", powerOnSent:"Power on sent", powerOffSent:"Power off sent",
failed:"{0} failed: {1}", updated:"Updated {0}", offline:"Offline", waiting:"Waiting for stove data…", stale:"Stove data {0} s old",
stoveOk:"Stove OK", stoveNoAnswer:"Stove does not answer", stoveUnknown:"Stove ?", connCtlTitle:"Controller: connection of this page with the OpenPelletBridge controller",
connStoveTitle:"Stove: serial connection of the controller with the stove",
roomSrc:"Room ({0})", srcRemote:"remote", srcStove:"stove", srcLabel:"Temperature source", srcRemoteLong:"Remote control sensor", srcStoveLong:"Stove sensor", unknown:"Unknown",
roomTemp:"Room temperature", stoveSensor:"Stove sensor", remoteSensor:"Remote control sensor", fumeFan:"Fume fan", auger:"Auger speed",
pelletLevel:"Pellet level", low:"Low", ok:"OK", remoteSeen:"Remote last seen", secAgo:"{0} s ago", waterPres:"Water pressure", waterTemp:"Water temperature",
fw:"Stove firmware", serial:"Serial number (MATR)", starts:"Number of starts", hours:"Working hours", service:"Hours since service", uptime:"Controller uptime", serialErr:"Serial errors (read / write)", retries:"Serial retries",
menu:"Menu", selParam:"Selected parameter", remoteValue:"Value on the remote", language:"Language", mainScreen:"Main screen", none:"none",
aAlarm:"Alarm: {0}", aAlarmSub:"Check the stove display and the error memory.", aNoAnswer:"The stove does not answer on the serial bus",
aError:"Active error {0}", aPending:"{0}: the stove acts in {1} s", aPendingSub:"{0}. If it does not clear in time, the stove switches off (alarm). E1 = hopper lid open: close the lid.", aLow:"Pellet level is low", aLowSub:"Refill the pellet hopper.", aLowMin:"Refill the pellet hopper: about {0} min until the pellet reserve alarm.", aLowOff:"Pellets used up: the stove switches off in about {0} min (PELLET RESERVE on the remote). Refill the hopper.", pelOffIn:"off in {0} min", lowOff:"empty · off in {0} min", pelMinLeft:"{0} min to the alarm", lowSoon:"low · {0} min", aStale:"Stove data is {0} s old", aStaleSub:"The controller cannot read the stove at the moment.",
aOffline:"The controller is not reachable", aOfflineSub:"Check WiFi or wait for a restart to finish.",
flameN:"Flame power {0}", fanOff:"Room fan off", fanN:"Room fan {0}", spN:"Set point {0}", esOn:"Energy saving on", esOff:"Energy saving off", esUpd:"Energy saving updated",
cqN:"Combustion quality {0}", pqN:"Pellet quality {0}", beepOn:"Beep enabled", beepOff:"Beep disabled", synced:"Stove clock synced", off:"Off",
tTime:"Time", stateLines:"Stove state", histNothing:"Select at least one series above.",
histNote:"One point every 2 minutes, last 24 hours, stored on the controller (kept across restarts). Temperatures in 0.5 °C steps. State lines are drawn at the exact moment of each change.",
evtTitle:"State changes, errors and pellet reserve", pelSensor:"Reserve sensor", pelCounter:"Reserve counter", pelV0:"pellets OK", pelV5:"pellets low (reserve)", aEmpty:"Error: pellets used up – stove switched off", aEmptySub:"The pellet reserve ran out and the stove switched itself off. Switching on is blocked until the hopper is refilled (the level sensor sees pellets again).", emptyBlocked:"Refill the pellet hopper first", emptyOff:"empty · stove off", pelVx:"value {0} (meaning unknown)",
pelLeft:"Pellets in the hopper", pelLearning:"being measured: refill at the low pellet alarm, the estimate follows at the next alarm", pelAtAlarm:"at the low pellet alarm level", pelKg:"≈ {0} kg until the alarm", pelAtNow:"{0} at the current power", pelAlarmAt:"alarm expected {0}", pelRefill:"Refilled…", pelLastRefill:"refilled {0} ({1} kg)", pelRefillAsk:"How many kg of pellets did you add? (a refill at the alarm is also detected by itself, with the standard amount)", pelBadKg:"Enter a number of kg", pelRefillDone:"{0} kg added", pelCal:"Pellet use (measured)", pelCalVal:"{0} cycle(s) · {1} kg/h now · standard refill {2} kg", pelCalNone:"no full cycle yet · standard refill {0} kg", pelStd:"Standard…", pelStdAsk:"Standard amount of a refill at the low pellet alarm (kg):", pelStdDone:"Standard refill: {0} kg", h_pelLeft:"Estimate of the pellets left until the low pellet alarm (level sensor in the hopper). The controller counts the auger feed (auger value × time). Between two alarms exactly the pellets you added were burned: that calibrates kg per auger step. A refill is detected when the alarm clears again, with the standard amount (15 kg, change it under Pellet use). Topped up without an alarm, or another amount? Use Refilled… so the count stays right. The first estimate comes after one refill at the alarm and the next alarm; more refills make it more accurate. The time at the current power is only shown while the auger feeds; the expected alarm time uses your average use of the last 7 days.",
pelReserve:"Pellet reserve", pelReserveVal:"On · sensor {0} · counter {1}", h_pelReserve:"PELLET RESERVE (installer menu, EEPROM 0xC6). Seen on this stove (17/11 and 20/11/2026): when the level sensor (RAM 0xA4) sees low pellets it becomes 5 and the counter (RAM 0x89) counts down from 20 to 0, one step per minute. Then the remote shows PELLET RESERVE with the minutes left, and the stove runs 30 more minutes at flame power 1 (RAM 0x91). After that it switches itself off: the remote shows OFF / PELLET BESTEED and the controller reports the error PELLETS and blocks switching on until the hopper is refilled. Changes of the sensor are recorded in the state change list.", evtError:"Error", evtErrOn:"{0} occurred", evtErrOff:"Error cleared", errSeen:"occurred {0}", errSeenUnknown:"time unknown (before the log started)", evtWhen:"Time", evtFrom:"From", evtTo:"To", evtDur:"Duration", evtNone:"No state changes recorded yet.", evtNow:"now",
syncBrowser:"Set to browser time", browserSet:"Stove clock set to {0}", esStartOff:"OFF (no restart)", esNoRestart:"No automatic restart",
wirelessLabel:"Wireless sensor (INSTELL WIRELESS)", on:"On", srcDerived:"Room temperature comes from",
manualRef:"Source: stove manuals (FWAR01, P220 M)",
cqFactory:"Factory setting", cqG:"+G: not described in the manuals, meaning unknown",
cqPlus:"{0}: for very dirty glass, too many pellets in the brazier, a long combustion air duct or a coaxial flue",
cqMin:"{0}: for a flame that is too small because of too much draught",
pqPlus:"{0}: for a small flame at maximum power, longer pellets or a lower consumption than specified",
pqMin:"{0}: for a lot of ash in the brazier or a higher consumption than specified",
telnetHint:"Debug menu on port 23, switches immediately", keyRequired:"API key required", keyShow:"Show", keyHide:"Hide", keyCopy:"Copy", keyRotate:"New key",
httpsOn:"On: https://{0} (port 443)", httpsOff:"Off: only HTTP (port 80)", httpsStarting:"Starting…", httpsCert:"Certificate", httpsValid:"self-signed, ECDSA P-256, valid until {0}",
httpsOpen:"Open over HTTPS", httpsDl:"Download", httpsNew:"New certificate", httpsFpLbl:"SHA-256 {0}",
httpsConfirmNew:"Make a new key and certificate? Browsers and devices that trust the current certificate warn again.", httpsMade:"New certificate is being made",
httpsEnabled:"HTTPS on", httpsDisabled:"HTTPS off",
httpsRedir:"Redirect HTTP to HTTPS", httpsRedirHint:"Web app pages only; the API stays reachable over HTTP (Home Assistant, scripts)", httpsRedirOn:"Redirect on", httpsRedirOff:"Redirect off",
httpsAlt:"Extra names in the certificate", httpsAltHint:"Next to the hostname, hostname.local and the IP address: other host names or IPv4 addresses you use (max. 8). The certificate is re-issued with the same key: the browser warns once more.",
httpsAltSaved:"Names saved, certificate re-issued", httpsAltBad:"Not a host name or IPv4 address", httpsAltMax:"At most 8 extra names", httpsAltSaveBtn:"Save names", httpsAltRemove:"Remove",
h_https:"Encrypted access over https:// on port 443, next to plain HTTP on port 80. The certificate is made on the controller itself (its own ECDSA P-256 key, which never leaves it) for the hostname, hostname.local and the IP address, and is renewed automatically with the same key when one of them changes. It is self-signed: the browser warns the first time. Check that the SHA-256 fingerprint the browser shows is the one here, then accept it; or download the certificate and install it as trusted on your own devices (then no warning). A TLS connection needs ~40 KB of memory: the controller serves one at a time, and refuses it when memory is low (HTTP keeps working).",
keyOn:"Every API call needs the X-API-Key header", keyOff:"Optional: the API is open on your network", keyCopied:"API key copied", keyNew:"New API key generated",
keyConfirmRotate:"Generate a new API key? Other clients (scripts, Home Assistant, Prometheus) then need the new key.",
keyConfirmOn:"Require the API key? This browser stores the key. Other clients (scripts, Home Assistant, Prometheus, the iOS app over WiFi) then need the X-API-Key header.",
keyConfirmOff:"Make the API key optional again? The API is then open to everyone on your network.",
keyModalTitle:"API key required", keyModalText:"This controller requires an API key. Enter it once; this browser remembers it.", save2:"Save", keyNeeded:"API key required",
telnetOn:"Telnet on", telnetOff:"Telnet off",
h_telnet:"Interactive debug menu over telnet (port 23): live values, settings, raw register access. Telnet has no password and no encryption; switch it off when you do not use it. The change is applied immediately, without a restart.",
h_apiKey:"Protects the HTTP API with a key. The key is generated randomly on the first start and kept on the controller. When required, every call needs the header X-API-Key: <key> (or Authorization: Bearer <key>, e.g. for Prometheus). Open without key: the device page, this web app, the API docs and /api/auth. Plain HTTP is not encrypted, so the key protects against other devices and web pages on your network, not against someone sniffing the network. The telnet menu and Bluetooth are not protected by the key.",
flameSet:"Flame power (set)", flameActual:"Flame power (actual)",
fanPower:"Room fan power", h_fanPower:"Raw power value the stove sends to the room fan (RAM 0x0A): 0 = off, 21 / 23 / 25 at speed 1 / 2 / 3, the value depends on the speed and the actual flame power: flame 1 → 9 / 14 / 19, flame 2 → 21 / 23 / 25 for speed 1 / 2 / 3, flame 3 → 27 at speed 1. Measured on this stove; the unit is not documented.",
fanSet:"Room fan (set)", fanActual:"Room fan (actual)", fanRunsAt:"Running at {0}", fanRunsLow:"Running at low power ({0})", fanRunsPower:"Running at {0} (power {1})", fanWaitHeat:"Waiting until the stove is hot enough", fanStopped:"Not running", flameMod:"Modulating: running at {0}", flameNow:"Running at {0}", flameOut:"No flame at the moment",
bt:"Bluetooth", btOn:"On – shares the radio with WiFi", btOff:"Off – WiFi has the radio to itself", btRestart:"Restart pending to apply the change",
btConfirmOff:"Switch Bluetooth off? The controller restarts and the iOS app can then only connect via WiFi.", btConfirmOn:"Switch Bluetooth on? The controller restarts.",
h_bt:"Switching Bluetooth off skips BLE completely when the controller starts: no Bluetooth advertising or connections, the Bluetooth memory is released and WiFi no longer has to share the radio (no power saving mode needed). This usually gives a faster and more stable WiFi connection. The iOS app then only works via WiFi. The change is applied with a restart of the controller; the stove keeps running.",
serviceOf:"{0} / 2000 h", tpHour:"Hour", tpMin:"Minutes", tpOff:"OFF", tpDone:"Done",
h_service:"After 2000 operating hours the remote shows SERVICE when the stove is off: have the stove serviced by an authorised service centre. The stove can still be used.\nThe scheduled maintenance must also be done at least once a year, and before using the stove after a long period of inactivity.\nYourself: glass and brazier daily, ash pan every 2 days, combustion chamber and remote control batteries yearly.\nDealer (yearly): flue gas chamber, flue and flue system, air supply, ventilation and fans, electrical parts, seals.\nThe value shown is the stove's interval counter; that it is the counter for the SERVICE message is an assumption.",
h_setPoint:"When the room reaches this temperature the stove modulates down to minimum power (7 – 30 °C). The temperature is measured by the sensor chosen in the MULTICOMFORT menu on the remote: remote control, stove or wireless sensor.",
h_flame:"Flame power 1 – 4. When the set point is reached the stove modulates to minimum power, but the selected level stays on the display. The actual power is shown under the buttons and in the history.",
h_fan:"Speed of the warm air fan (Multifuoco). 0 = NATURAL MODE: fan off, quieter. For safety the fan cannot be switched off at high power: lower the power to 3 or 2 first. When you raise the power again, the fan starts automatically. Switching off may happen a bit later, when conditions allow it.",
h_es:"Switches the stove off and on automatically based on the room temperature.\n• Set point reached: the stove goes to power 1.\n• Room keeps rising to set point + STOP: the stove extinguishes and goes to standby.\n• Room drops below set point + START: the stove restarts at the previous power.\nNot possible together with Multicomfort Plus or external thermostat STOP. If the pause between stopping and restarting is shorter than 90 minutes, the manual advises to switch energy saving off and let the stove modulate. After switching the stove off manually it does not restart automatically.",
h_esStart:"Restart when the room drops below set point minus this value (−1 to −3 °C). OFF: after the automatic stop the stove stays off.",
h_esStop:"Extinguish when the room reaches set point plus this value (+1 to +3 °C). Switching energy saving off sets STOP to OFF: the stove then only modulates down to power 1.",
h_cq:"Combustion air correction. 0 = factory setting.\n• Higher (+): very dirty glass, too many pellets in the brazier, long combustion air duct, coaxial flue.\n• Lower (−): flame too small because of too much draught.\nDo not change together with pellet quality, change one step at a time and wait up to a day to judge the effect. The available values depend on the stove.\n+G is not described in either manual and lies far outside the normal range; its meaning is unknown, so it is better not to select it.",
h_pq:"Pellet feed correction. 0 = factory setting.\n• Higher (+): small flame at maximum power, longer pellets, lower consumption than specified.\n• Lower (−): a lot of ash in the brazier, higher consumption than specified.\nDo not change together with combustion quality, change one step at a time. The available values depend on the stove.",
h_beep:"Sound signal of the stove for messages. Even when switched off, the buzzer still sounds for safety warnings.",
h_timers:"Up to 6 programs, each with one start and stop time (10 minute steps) and the days (1 = Monday). An empty time means OFF: START OFF = no ignition, STOP OFF = no switch-off.\n• Preferably use one program at a time; with combined programs leave at least 2 hours between stopping and starting.\n• With overlapping programs the stove starts at the first start time and stops at the first stop time.\n• With energy saving on, the chrono handles the start and stop times and energy saving the operation in between.\n• The stove clock (including the day of the week) must be correct.",
h_clock:"The chrono timers use the stove clock, including the day of the week. The stove has no daylight saving time: set the clock again after the change.",
h_errors:"The last 5 safety warnings stored by the stove (HOUR COUNTER MEMORY › MEM-AL). Deleting only clears this memory. Only restart the stove after the cause has been found and solved.",
h_wireless:"INSTELL WIRELESS switches the optional external wireless temperature sensor on or off. Which sensor the stove regulates on is chosen in MULTICOMFORT (remote control, stove or wireless). Without contact with the remote or sensor for more than 4 minutes, the stove uses its own sensor.",
h_roomSrc:"Derived from the readings: the room temperature the stove uses equals the sensor shown. The MULTICOMFORT setting itself cannot be read yet.",
eh_32:"One of these safety devices tripped: pressure switch, door sensor or pellet hopper lid sensor (lid open longer than about 60 s). The auger stops and the stove shuts down.\nYou can check:\n• Is the brazier clogged with pellets or combustion residue? Clean it.\n• Are the fire door and the ash pan properly closed?\n• Is the pellet hopper lid closed? Refill if needed and close it.\nDealer: blocked flue or too little draught, flue too long, worn door or flue seals, blocked or broken pressure gauge connector or silicone tube, faulty flue gas fan, auger motor, hopper sensor or electronic board. Strong wind or bad weather can also trip the pressure switch.",
eh_64:"Pressure switch fault at ignition; the stove shuts down.\nDealer: faulty pressure switch, chimney draws too hard or bad weather, faulty auger motor.",
eh_16:"The temperature inside the stove exceeded the limit and the safety thermostat tripped; the auger stops and the stove shuts down.\nYou can check: use suitable pellets (A1, 6 mm, 10 – 30 mm long).\nDealer: blocked flue or too little draught, ventilation or heat dissipation problems (distances, ventilation, parameters, flue too long), faulty thermostat or electronic board. A thermostat with manual reset must be reset.",
eh_2:"The flue gas temperature exceeded the safety limit; the auger stops and the stove shuts down.\nYou can check: use suitable pellets.\nDealer: blocked flue or too little draught, ventilation or heat dissipation problems, faulty or badly connected flue gas sensor, wrong parameters, faulty electronic board.",
eh_128:"Auger fault during operation: pellets are fed continuously; the stove shuts down.\nDealer: faulty auger or electronic board, wrong parameters.",
eh_8:"The flue gas temperature dropped below the minimum for operation; the stove shuts down.\nYou can check:\n• Is the pellet hopper empty or emptying irregularly? Refill.\n• Are suitable pellets used?\n• Is the brazier clean and not clogged?\nDealer: faulty electronic board.",
eh_1:"The flue gas sensor is not working correctly.\nDealer: faulty sensor, pulled out of its holder or wrongly connected, or faulty electronic board.",
eh_4:"During ignition the stove did not reach the ignition temperature in time.\nYou can check:\n• Pellet hopper empty or emptying irregularly: refill.\n• Unsuitable pellets (type, composition, size): use A1 pellets, 6 mm, 10 – 30 mm long, ≤ 6 % moisture.\n• Auger not completely filled, e.g. after an empty hopper or at first use: run FILL AUGER (only with the stove off and cooled down).\n• Brazier not clean or clogged: clean the brazier and its holes, and push it back towards the ignition hole.\nDealer: faulty or disconnected igniter, faulty electronic board.\nIrregular failed ignitions can also be caused by a too low mains voltage.",
eh_129:"The flue gas fan is not working correctly; the stove shuts down.\nDealer: faulty or disconnected encoder, faulty electronic board or fuses.",
eh_132:"An external safety device on the N.PEL / PELLET contact tripped; the stove shuts down.\nDealer intervention is required.",
},
nl: {
heating:"Verwarming", setPoint:"Gewenste temp.", fumes:"Rookgas", flamePower:"Vlamvermogen", roomFan:"Ventilator (Multifuoco)", roomFanHint:"Uit = NATURAL MODE (ventilator uit)",
energySaving:"Energy saving", esHint:"Stopt als het warm is, herstart als het afkoelt", esStart:"Herstart onder gewenste temp.", esStop:"Stop boven gewenste temp.",
restartsAt:"Herstart bij {0}", esRestartAt:"Energy saving · herstart bij {0}", esReduced:"Energy saving · gereduceerd vermogen", reducedPower:"Gereduceerd vermogen (gewenste temperatuur bereikt)",
ctrlFw:"Firmware controller", ctrlBuilt:"Gebouwd op", builtFor:"Firmware gebouwd voor",
wifiOther:"Ander netwerk", wifiIpBtn:"IP-instellingen", wifiChange:"WiFi-netwerk wijzigen", wifiIpSettings:"Hostname en IP-adres", wifiScan:"Zoeken", wifiScanning:"Zoeken…",
wifiSsidManual:"Ander / verborgen netwerk", wifiCurrent:"huidig", wifiSwitch:"Overschakelen", wifiPassLen:"Het WiFi-wachtwoord moet 8 – 63 tekens zijn (of leeg voor een open netwerk)",
wifiSwitching:"Overschakelen naar {0} – open de app straks opnieuw", wifiLastChange:"Laatste netwerkwissel: {0}.",
wifiChangeNote:"De controller schakelt meteen over en gebruikt DHCP op het nieuwe netwerk. Zonder verbinding binnen 25 s keert hij terug naar het huidige netwerk; eens verbonden: open de app binnen 5 minuten op het nieuwe netwerk (hostname.local), anders keert hij ook terug.",
wifiConfirmSwitch:"De controller overschakelen naar \"{0}\"? Hij verlaat nu \"{1}\". Open de app binnen 5 minuten opnieuw op {2}; zonder verbinding of zonder bezoek keert hij zelf terug naar \"{1}\".",
wifiTitle:"Netwerk (WiFi)", wifiNet:"Netwerk", wifiSignal:"Signaal", wifiIp:"IP-adres", wifiIp6:"IPv6", wifiIp6Link:"link-local", wifiMask:"Netmasker", wifiChannel:"Kanaal", wifiDown:"niet verbonden",
wifiMode:"Adres", wifiStatic:"Vast", wifiStaticShort:"vast", wifiSaveRestart:"Bewaren en herstarten", wifiSaved:"Netwerkinstellingen bewaard – actief na een herstart",
wifiRestartReq:"De bewaarde instellingen verschillen van de actieve: actief na een herstart.", wifiConfirmed:"Nieuw vast adres: open de app daarop binnen 5 minuten, anders gaat de controller terug naar DHCP.",
wifiConfirmRestart:"Bewaren en de controller herstarten? Hij is daarna bereikbaar op {0}. Bij een nieuw vast adres: open de app daar binnen 5 minuten, anders schakelt hij zelf terug naar DHCP.",
wifiFormNote:"Wijzigingen zijn actief na een herstart. Een nieuw vast adres moet bevestigd worden: open de app daarop binnen 5 minuten, anders gaat de controller terug naar DHCP.",
h_wifi:"WiFi-verbinding en IP-instellingen van de controller. Met 'Ander netwerk' schakel je over naar een ander WiFi-netwerk (met automatische terugval), met 'IP-instellingen' stel je hostname en DHCP / vast IP in. Zonder werkend netwerk: houd de resetknop 5 s ingedrukt en verbind met het toegangspunt 'Pellet heater controller' (WiFiManager-portaal).",
mqttConn:"verbonden", mqttNotConn:"niet verbonden", mqttLastError:"Laatste fout", mqttCounts:"Gepubliceerd / commando's",
mqttEdit:"Instellen", mqttEnabled:"MQTT aan", mqttUser:"Gebruiker", mqttPass:"Wachtwoord", mqttPrefix:"Topic-prefix", mqttDisc:"Home Assistant discovery", mqttDiscPrefix:"Discovery-prefix",
mqttNone:"Niet beschikbaar (oudere firmware)", mqttOff:"Uit", mqttConnected:"Verbonden met {0} – topics {1}/…", mqttDisconnected:"Niet verbonden met {0}: {1}", mqttPassKeep:"ongewijzigd", mqttSaved:"MQTT-instellingen bewaard", cancel:"Annuleren",
h_mqtt:"Publiceert de waarden van de kachel naar een MQTT-broker en aanvaardt commando's. Waarden staan als gewone tekst onder <prefix>/state/… (bv. room_temp = 21.5, power = ON), retained, bij elke wijziging en elke 5 min. Commando's gaan naar <prefix>/set/…: power en energy_saving (ON / OFF of 1 / 0), mode (heat / off), setpoint (7 – 30), flame_power (1 – 4), fan_speed (off / 0 – 3), es_stop en es_start (0 – 3). <prefix>/status is online / offline. Met Home Assistant discovery aan verschijnt de kachel vanzelf in Home Assistant (thermostaat, schakelaars, getallen, sensoren). Andere systemen zoals Loxone (via een MQTT-gateway) of Node-RED gebruiken dezelfde topics; discovery mag voor hen uit.",
pelDbgTitle:"Pelletschatting (debug)", h_pelDbg:"Alles waaruit de pelletschatting bestaat, uit GET /api/pellets (elke 10 s ververst zolang debug aan staat). De controller telt 'schroefeenheden' op: de aan-tijd van de schroef per cyclus (RAM 0x0D, hoogstens 12 s) maal het aantal seconden dat ze voedde. De niveausensor (RAM 0xA4) slaat telkens op dezelfde hoogte aan, dus tussen twee alarmen is precies de bijgevulde hoeveelheid verbrand: kg per eenheid = kg / eenheden. Over = kg bijgevuld sinds het laatste alarm − kg per eenheid × eenheden sinds dat alarm; uren = over / (kg per eenheid × schroefwaarde × 3600). De controles bovenaan tonen wat meestal misloopt: nog geen alarm of bijvulling gezien, sensorwaarden die de teller negeert, meer verbrand dan bijgevuld (verkeerde hoeveelheid), gaten in de metingen, cycli die niet overeenkomen. 'Kopieer' zet de ruwe JSON op het klembord voor een foutmelding.",
parTitle:"Parameters (EEPROM)", h_par:"Presets in het EEPROM van de kachel, live gelezen (GET /api/dump). 'Bevestigd' = nagekeken op deze kachel. De presets per vermogen zijn de waarden die de kachel per vlamvermogen gebruikt; de rij van het huidige werkelijke vlamvermogen is gemarkeerd.",
parPresets:"Presets per fase en vermogen", parPhases:"Opstart, reiniging en alarm (installateursparameters Pr01 – Pr22 op EEPROM-adres Pr − 1, zoals in de Micronova L023-handleiding)", parCReg:"Register", parCManual:"In de handleiding", parCName:"Betekenis", parCVal:"Waarde", parUser:"Instellingen (menuparameter-id = EEPROM-adres + 1)", parCMenu:"Menuparameter", parTimers:"Timerprogramma's (uit /api/timers)", parCProg:"Programma", parCOn:"Aan", parCOff:"Uit", parCDays:"Dagen", parCSet:"Temp.", parCFlame:"Vlam", parCFan:"Ventilator", parLevel:"Niveau", parAuger:"Schroefwaarde", parFume:"Doeltoerental rookgasventilator", parNow:"nu",
stOk:"bevestigd",
parNote:"Eén keer gelezen als debug aangezet wordt; 'Herladen' leest ze opnieuw (±45 EEPROM-lezingen, enkele seconden). Toerental rookgasventilator = (waarde + 25) × 10. Het live doeltoerental is RAM 0x36, 1 – 2 lager dan de preset (mogelijk de correctie van de verbrandingskwaliteit).",
expert:"Expert", expertTitle:"Toon technische details: sensoren, branderreiniging, controllerinfo, firmware-upload, API-links",
debug:"Debug", debugTitle:"Toon onderzoek en diagnose: ruwe RAM- / EEPROM-registers, de parametertabel, seriële fouten, telnet",
stHyp:"vermoeden", stUnk:"onbekend",
brazier:"Branderreiniging", brazierIn:"over {0} min", brazierEvery:"over {0} min (elke {1} min)", brazierNow:"bezig",
h_brazier:"Tijdens het branden reinigt de kachel de brander op een vast interval (EEPROM 0x02, in minuten): de rookgasventilator draait harder en de kachel toont kort 'Brander reinigen'. RAM 0x32 telt de minuten af tot de volgende reiniging. Enkel zichtbaar terwijl de kachel brandt.",
fwUpdate:"Upload OpenPelletBridge firmware", fwHint:"Upload een firmware.bin (uit .pio/build/…)", fwPick:"Kies bestand…", fwBadFile:"Kies het firmware-bestand (.bin)",
fwConfirm:"{0} ({1} MB) installeren? De controller herstart daarna; de kachel blijft gewoon werken.", fwProgress:"Uploaden… {0}% · {1} KB/s",
themeTitle:"Thema: {0} (klik om te wijzigen)", theme_auto:"automatisch (volgt het toestel)", theme_light:"licht", theme_dark:"donker",
apiKeyLbl:"API-key", lastStart:"Laatste start", ctrlStarts:"Starts controller", ctrlStartsVal:"{0} ({1} na een crash)", wifiDrops:"Verbrekingen", wifiDropsVal:"{0} · laatste {1} geleden: {2}",
logLevels:"Logniveaus per module", logLevelSaved:"Logniveau {0} = {1}",
ghLastUnfinished:"De vorige installatie is niet afgerond; laatste stap: {0}.", ghLastFailed:"De vorige installatie is mislukt: {0}.",
updBadge:"Update", updBadgeTitle:"Nieuwe firmware {0} beschikbaar – toon ze bij Toestel", helpFor:"Uitleg",
pelMarkLow:"Pellets laag", pelMarkOut:"Pellets op", pelMarkRefill:"Bijgevuld", pelMarkRefillKg:"Bijgevuld {0} kg", esStopL:"energy saving stop {0}°", esStartL:"herstart {0}°", timerBand:"Timer aan", timerNote:"Lichte band: een timerprogramma heeft de kachel aan.", noDataWin:"Geen gegevens in deze periode.", zoomOut:"Uitzoomen", histPrev:"‹ Eerder", histNext:"Later ›", zoomHint:"Sleep over de grafiek om in te zoomen; scroll opzij (of Shift + muiswiel) om in de tijd te schuiven.", zoomedTo:"Getoond: {0} – {1}: dubbelklik op de grafiek of gebruik Uitzoomen om terug te gaan.", histWeekNote:"Uurgemiddelden, laatste 7 dagen (brandt = deel van het uur dat de kachel verwarmde), opgeslagen op de controller.", burnPct:"Brandt", fumeMax:"Rookgas max.",
liveTitle:"Live debugging", liveLog:"Firmware-log", liveBus:"Kachelbus", livePause:"Pauze", liveResume:"Hervat", liveClear:"Wissen", liveDl:"Download",
liveFilterLog:"Filter op tekst", liveFilterBus:"Adressen (0x21, 0x6E) of tekst", busChanges:"Enkel wijzigingen", busWrites:"Enkel schrijven", busErrors:"Enkel fouten",
liveLost:"… oudere uitvoer werd overschreven …", liveLines:"{0} regels", liveRate:"{0} transacties · {1}/s", livePaused:"gepauzeerd", liveNA:"Niet beschikbaar (oudere firmware)",
console:"Console", consoleTitle:"Console: firmware-log, kachelbus en verzoeken (Ctrl+`)", liveReq:"Verzoeken", reqCount:"{0} verzoeken",
lgReqOk:"beantwoord", lgReqSlow:"traag (> 5 s)", lgReqErr:"fout of geen antwoord",
aNoAnswerSub:"Controleer de seriële kabel naar de kachel. Open de Console (rechtsboven) om de bus en de log te volgen.",
busFailedLast:"MISLUKT: poging {0}/{1} – {2}", busAttemptFail:"poging {0}/{1} mislukt – {2}, opnieuw", busOkAfter:"(gelukt bij poging {0}/{1})",
rsTimeout:"timeout: {0} van {1} bytes", rsEcho:"echo wijkt af van TX", rsChecksum:"echo OK, foute checksum (storing op de lijn?)", rawEchoBad:"echo wijkt af van TX (lijn hangt laag? kabel?)",
lgRetry:"poging mislukt, opnieuw geprobeerd",
rsNothing:"niets ontvangen, geen echo: bus niet verbonden (kabel / interface?)", rsNoEcho:"geen echo van TX (ontvangen {0}): bus niet verbonden of lijn hangt vast (kabel / interface?)",
rsEchoShort:"echo onvolledig ({0} van {1} bytes): bus niet verbonden?", rsNoAnswer:"echo OK, de kachel antwoordde niet ({0} van {1} bytes)", rsWrongConfirm:"de kachel bevestigde een ander adres / andere waarde",
mqttNeedHost:"Stel eerst de broker in", mqttOnToast:"MQTT aan", mqttOffToast:"MQTT uit",
reset:"Reset", resetConfirm:"De {0} op nul zetten?", resetDone:"{0} op nul gezet", crashCounter:"crashteller", serialCounters:"seriële tellers", serialSkipped:"{0} overgeslagen (link weg)",
evLinkDown:"Serieel weg", evLinkUp:"Serieel terug", evtLink:"Seriële link",
busRead:"lezen", busWrite:"schrijven", busFailed:"MISLUKT na {0} pogingen", busWas:"was {0}", busFirst:"eerste lezing", busUnknown:"(geen beschrijving gekend)",
busHTime:"Tijd", busHAction:"Actie", busHReg:"Register", busHValue:"Waarde", busHMeaning:"Betekenis",
lgFirst:"eerste lezing van een register", lgSame:"zelfde waarde als ervoor", lgChanged:"waarde gewijzigd (← vorige waarde)", lgWrite:"schrijfopdracht naar de kachel", lgFailed:"mislukt na alle pogingen",
lgInfo:"I = info, D = debug", lgWarn:"W = waarschuwing", lgError:"E = fout", lgBefore:"regels van vóór de laatste herstart",
busRaw:"Ruwe bytes", busBin:"Binair", rawRead:"lees {0}, adres {1}", rawWrite:"schrijf {0}, adres {1}, waarde {2}, checksum {3}", rawEcho:"echo van TX",
rawAnswer:"checksum {0} ({1}), waarde {2}", rawOk:"OK", rawBad:"FOUT", rawShort:"maar {0} van {1} bytes ontvangen (timeout)",
lgRaw:"TX = bytes verzonden door de controller; RX = ontvangen bytes: eerst altijd de echo van TX (bus met één draad; geen echo = bus niet verbonden), daarna het antwoord van de kachel",
busErr:"fout", busTries:"{0} pogingen",
liveNote:"Log: wat de firmware naar de seriële poort (Serial, UART0) schrijft (laatste 8 KB, ook van vóór je dit opende). Kachelbus: elke lees- en schrijfopdracht op de bus naar de kachel, enkel opgenomen zolang dit scherm open is.",
h_live:"Firmware-log: de meldingen van de controller-firmware (WiFi, MQTT, updates, fouten), dezelfde als op de seriële poort, met het tijdstip. Uitvoer van sommige ingebouwde bibliotheken zit er niet in. Kachelbus: elke lees- en schrijfopdracht tussen de controller en de kachel, één regel per opdracht: tijd, actie, register (RAM of EEPROM en adres), waarde (decimaal en hex) en wat de waarde betekent volgens de gekende registertabel (in het Engels). Bij een gewijzigde waarde staat de vorige erbij (← was …). Met 'Enkel wijzigingen' (standaard aan) zie je de eerste lezing van elk register en daarna enkel wat verandert, schrijfopdrachten en fouten; de kleuren staan onder de uitvoer uitgelegd. Filter op adressen om registers te volgen, bv. terwijl je toetsen indrukt op de afstandsbediening. De busmonitor neemt enkel op zolang dit scherm open is en stopt vanzelf 60 s nadat je het verlaat. Na een herstart begint de log met de laatste regels van ervoor (bewaard in RTC-geheugen, ook na een crash, niet na een stroomonderbreking). De logniveaus per module bepalen hoeveel elk deel van de firmware schrijft (bewaard op de controller).",
bkExport:"Back-up instellingen", bkImport:"Instellingen herstellen", bkTitle:"Instellingen herstellen", bkInfo:"Back-up van {0} · firmware {1} · {2}", bkModelDiff:"Gemaakt voor een {0}; deze controller is gebouwd voor een {1}.",
bkApply:"Herstellen", bkNote:"Enkel de aangevinkte delen worden geschreven. Het MQTT-wachtwoord en de API-key zitten niet in een back-up (de huidige blijven).",
secStove:"Kachelinstellingen: gewenste temperatuur, vlamvermogen, ventilator, energy saving, zoemer, verbrandings- en pelletkwaliteit", secTimers:"Timers PR1 – PR6", secMqtt:"MQTT-instellingen",
secNet:"Netwerk: hostname en IP-instellingen (actief na een herstart)", secDevice:"Toestel: Bluetooth, telnet, automatisch zoeken naar updates (Bluetooth wijzigen herstart de controller)", secUi:"Weergave: thema, expert, debug en grafiekkeuzes",
bkBad:"Dit is geen OpenPelletBridge-back-up", bkBusy:"{0} herstellen…", bkDone:"Instellingen hersteld", bkDoneErr:"Hersteld met fouten: {0}", bkSaved:"Back-up gedownload",
ghDevNewer:"Ontwikkelversie {0} ({1}) – nieuwer dan de laatste release {2}, dus geen update", ghAhead:"{0} commit(s) na {1}", ghDirty:"met niet-gecommitte wijzigingen", ghNoTag:"niet gebouwd van een release-tag",
ghBack:"Terug naar {0}", ghBackTitle:"Vervang deze ontwikkelversie door de gepubliceerde release {0} (een stap terug)",
ghConfirmBack:"Terug naar release {0}? Deze controller draait ontwikkelversie {1}, die nieuwer is: {0} installeren verwijdert de wijzigingen van deze build. De controller herstart en is ongeveer een minuut onbereikbaar; de kachel blijft gewoon werken.",
ghTitle:"OpenPelletBridge-firmware", ghCheck:"Zoek update", ghInstall:"Installeer {0}", ghNotes:"Release-notes",
ghChecking:"GitHub nakijken…", ghDownloading:"Downloaden en installeren… {0}%", ghNever:"Nog niet nagekeken", ghError:"Nakijken mislukt: {0}",
ghAvail:"Nieuwe versie {0} beschikbaar (sinds {1}) – je hebt {2}", ghUpToDate:"Up-to-date ({0})", ghDev:"Ontwikkelversie {1} – laatste release {0}",
ghConfirm:"{0} van GitHub installeren? De controller downloadt ze, herstart en is ongeveer een minuut onbereikbaar; de kachel blijft gewoon werken.",
ghConfirmDev:"Deze controller draait ontwikkelversie {1}. Release {0} van GitHub in de plaats installeren? Hij herstart en is ongeveer een minuut onbereikbaar; de kachel blijft gewoon werken.",
ghAuto:"Automatisch zoeken naar updates", ghAutoHint:"bij het opstarten; dagelijks enkel als HTTPS uit staat (GitHub)",
h_ghUpdate:"Nieuwe versies van de OpenPelletBridge-firmware (de ESP32-controller, NIET de kachel) verschijnen als GitHub-release van github.com/netdata-be/PalletHeater-REST-API. De controller kijkt de laatste release na (automatisch bij het opstarten, dagelijks enkel als HTTPS uit staat, of met de knop; met HTTPS aan zou de dagelijkse check het geheugen innemen dat HTTPS nodig heeft) en installeert ze enkel als jij dat vraagt: hij downloadt het image via HTTPS, controleert het en herstart. Instellingen blijven bewaard. Een ontwikkelversie (versie niet van een release-tag) krijgt geen update aangeboden, maar je kan de release er wel over installeren.",
fwRestarting:"Geïnstalleerd – controller herstart…", fwNoAnswer:"Geen antwoord na de herstart – herlaad de pagina", fwFailed:"Update mislukt: {0}",
h_fwUpdate:"Dit is de firmware van de OpenPelletBridge-controller (de ESP32), NIET van de pelletkachel zelf: de firmware van de kachel kan je hiermee niet wijzigen. Installeert ze via HTTP (POST /api/update), meerdere keren sneller dan ArduinoOTA. Gebruik firmware.bin uit .pio/build/<omgeving>/. De controller herstart na de update; de kachel zelf merkt er niets van. Vereist de API-key (of het OTA-wachtwoord).", esNoRestartSub:"Energy saving · geen automatische herstart", stopsAt:"Stopt bij {0}", useSwitch:"Gebruik de schakelaar om energy saving uit te zetten",
status:"Status", history:"Geschiedenis", temperatures:"Temperaturen", room:"Kamer", fumeTemp:"Rookgastemperatuur", showTable:"Toon als tabel",
histEmpty:"Nog geen geschiedenis. De controller bewaart elke 2 minuten een punt zodra hij de tijd (NTP) en gegevens van de kachel heeft.", histErr:"Geschiedenis laden mislukt: {0}",
remoteCard:"Afstandsbediening", remoteNote:"Toont enkel wat de afstandsbediening weergeeft. De knoppen werken hier niet.",
settings:"Instellingen", combustionQuality:"Verbrandingskwaliteit", pelletQuality:"Pelletkwaliteit", beep:"Zoemer",
clock:"Klok", stove:"Kachel", difference:"Verschil", syncClock:"Kachelklok gelijkzetten met NTP",
errorMemory:"Foutgeheugen", clearErrors:"Foutgeheugen wissen", noErrors:"Geen fouten opgeslagen", del:"Verwijder",
confirmDelErr:"Fout {0} op positie {1} verwijderen?", confirmClearErr:"Alle 5 posities van het foutgeheugen wissen?",
errDeleted:"Fout {0} verwijderd", errCleared:"Foutgeheugen gewist",
timers:"Timers (chrono)", reload:"Herladen", loadingTimers:"Timers laden…", timersErr:"Timers laden mislukt: {0}",
tOn:"Aan", tOff:"Uit", tDays:"Dagen", tFlame:"Vlam", tFan:"Ventilator", save:"{0} opslaan", saved:"{0} opgeslagen", enabledMsg:"{0} ingeschakeld", disabledMsg:"{0} uitgeschakeld",
readError:"Leesfout", readErrorText:"Dit programma kon niet van de kachel gelezen worden.", retry:"Opnieuw",
copyTo:"Kopieer naar…", copyAll:"Alle andere programma's", confirmCopy:"De instellingen van {0} kopiëren naar {1}? Dit overschrijft ze op de kachel.", copied:"{0} gekopieerd naar {1}",
timeStep:"Tijden moeten op 10 minuten vallen (bv. 06:30)",
nextOn:"Volgende: {0} zet de kachel aan om {1} ({2})", nextOff:"Volgende: {0} zet de kachel uit om {1} ({2})", noTimers:"Geen timers actief", today:"vandaag", tomorrow:"morgen",
device:"Toestel", apiDocs:"API-documentatie", devicePage:"Toestelpagina", restart:"Herstarten", confirmRestart:"De OpenPelletBridge-controller herstarten?", restarting:"Herstarten… de pagina maakt vanzelf opnieuw verbinding",
turnOn:"Aanzetten", turnOff:"Uitzetten", confirmOff:"De kachel uitzetten?", powerOnSent:"Aanzetten verstuurd", powerOffSent:"Uitzetten verstuurd",
failed:"{0} mislukt: {1}", updated:"Bijgewerkt {0}", offline:"Offline", waiting:"Wachten op gegevens van de kachel…", stale:"Gegevens {0} s oud",
stoveOk:"Kachel OK", stoveNoAnswer:"Kachel antwoordt niet", stoveUnknown:"Kachel ?", connCtlTitle:"Controller: verbinding van deze pagina met de OpenPelletBridge-controller",
connStoveTitle:"Kachel: seriële verbinding van de controller met de kachel",