2 Commits

Author SHA1 Message Date
github-actions[bot]
d8706ab944 Merge bef31da3d5 into 5e2f6c9cea 2024-12-16 10:27:47 +01:00
github-actions[bot]
bef31da3d5 Bump NimBLE-Arduino to 2.1.0 2024-12-15 00:35:16 +00:00
21 changed files with 530 additions and 773 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 KiB

After

Width:  |  Height:  |  Size: 290 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 KiB

After

Width:  |  Height:  |  Size: 380 KiB

Binary file not shown.

Binary file not shown.

View File

@@ -365,7 +365,7 @@ BT
10.80 TL 10.80 TL
0.000 0.000 0.502 rg 0.000 0.000 0.502 rg
730.08 129.39 Td 730.08 129.39 Td
(2024-12-17) Tj (2024-12-07) Tj
ET ET
7.20 w 7.20 w
BT BT
@@ -405,7 +405,7 @@ BT
10.80 TL 10.80 TL
0.000 0.000 0.502 rg 0.000 0.000 0.502 rg
506.48 21.39 Td 506.48 21.39 Td
(V1.5.3) Tj (V1.5.2) Tj
ET ET
7.20 w 7.20 w
BT BT
@@ -1568,90 +1568,6 @@ BT
714.36 413.76 Td 714.36 413.76 Td
(3.3V) Tj (3.3V) Tj
ET ET
0.80 0.00 0.00 rg
119.88 517.68 m 119.88 518.67 119.07 519.48 118.08 519.48 c
117.09 519.48 116.28 518.67 116.28 517.68 c
116.28 516.69 117.09 515.88 118.08 515.88 c
119.07 515.88 119.88 516.69 119.88 517.68 c
f
0.80 0.00 0.00 rg
119.88 481.68 m 119.88 482.67 119.07 483.48 118.08 483.48 c
117.09 483.48 116.28 482.67 116.28 481.68 c
116.28 480.69 117.09 479.88 118.08 479.88 c
119.07 479.88 119.88 480.69 119.88 481.68 c
f
0.80 0.00 0.00 rg
307.08 481.68 m 307.08 482.67 306.27 483.48 305.28 483.48 c
304.29 483.48 303.48 482.67 303.48 481.68 c
303.48 480.69 304.29 479.88 305.28 479.88 c
306.27 479.88 307.08 480.69 307.08 481.68 c
f
0.80 0.00 0.00 rg
253.08 481.68 m 253.08 482.67 252.27 483.48 251.28 483.48 c
250.29 483.48 249.48 482.67 249.48 481.68 c
249.48 480.69 250.29 479.88 251.28 479.88 c
252.27 479.88 253.08 480.69 253.08 481.68 c
f
0.80 0.00 0.00 rg
220.68 481.68 m 220.68 482.67 219.87 483.48 218.88 483.48 c
217.89 483.48 217.08 482.67 217.08 481.68 c
217.08 480.69 217.89 479.88 218.88 479.88 c
219.87 479.88 220.68 480.69 220.68 481.68 c
f
0.80 0.00 0.00 rg
220.68 517.68 m 220.68 518.67 219.87 519.48 218.88 519.48 c
217.89 519.48 217.08 518.67 217.08 517.68 c
217.08 516.69 217.89 515.88 218.88 515.88 c
219.87 515.88 220.68 516.69 220.68 517.68 c
f
0.80 0.00 0.00 rg
253.08 517.68 m 253.08 518.67 252.27 519.48 251.28 519.48 c
250.29 519.48 249.48 518.67 249.48 517.68 c
249.48 516.69 250.29 515.88 251.28 515.88 c
252.27 515.88 253.08 516.69 253.08 517.68 c
f
0.80 0.00 0.00 rg
263.88 517.68 m 263.88 518.67 263.07 519.48 262.08 519.48 c
261.09 519.48 260.28 518.67 260.28 517.68 c
260.28 516.69 261.09 515.88 262.08 515.88 c
263.07 515.88 263.88 516.69 263.88 517.68 c
f
0.80 0.00 0.00 rg
343.08 510.48 m 343.08 511.47 342.27 512.28 341.28 512.28 c
340.29 512.28 339.48 511.47 339.48 510.48 c
339.48 509.49 340.29 508.68 341.28 508.68 c
342.27 508.68 343.08 509.49 343.08 510.48 c
f
0.80 0.00 0.00 rg
357.48 510.48 m 357.48 511.47 356.67 512.28 355.68 512.28 c
354.69 512.28 353.88 511.47 353.88 510.48 c
353.88 509.49 354.69 508.68 355.68 508.68 c
356.67 508.68 357.48 509.49 357.48 510.48 c
f
0.80 0.00 0.00 rg
573.48 478.08 m 573.48 479.07 572.67 479.88 571.68 479.88 c
570.69 479.88 569.88 479.07 569.88 478.08 c
569.88 477.09 570.69 476.28 571.68 476.28 c
572.67 476.28 573.48 477.09 573.48 478.08 c
f
0.80 0.00 0.00 rg
703.08 416.88 m 703.08 417.87 702.27 418.68 701.28 418.68 c
700.29 418.68 699.48 417.87 699.48 416.88 c
699.48 415.89 700.29 415.08 701.28 415.08 c
702.27 415.08 703.08 415.89 703.08 416.88 c
f
0.80 0.00 0.00 rg
703.08 488.88 m 703.08 489.87 702.27 490.68 701.28 490.68 c
700.29 490.68 699.48 489.87 699.48 488.88 c
699.48 487.89 700.29 487.08 701.28 487.08 c
702.27 487.08 703.08 487.89 703.08 488.88 c
f
0.80 0.00 0.00 rg
659.88 208.08 m 659.88 209.07 659.07 209.88 658.08 209.88 c
657.09 209.88 656.28 209.07 656.28 208.08 c
656.28 207.09 657.09 206.28 658.08 206.28 c
659.07 206.28 659.88 207.09 659.88 208.08 c
f
1 J 1 J
1 j 1 j
0.72 w 0.72 w
@@ -5192,6 +5108,90 @@ BT
113.63 364.42 Td 113.63 364.42 Td
(N) Tj (N) Tj
ET ET
0.80 0.00 0.00 rg
119.88 517.68 m 119.88 518.67 119.07 519.48 118.08 519.48 c
117.09 519.48 116.28 518.67 116.28 517.68 c
116.28 516.69 117.09 515.88 118.08 515.88 c
119.07 515.88 119.88 516.69 119.88 517.68 c
f
0.80 0.00 0.00 rg
119.88 481.68 m 119.88 482.67 119.07 483.48 118.08 483.48 c
117.09 483.48 116.28 482.67 116.28 481.68 c
116.28 480.69 117.09 479.88 118.08 479.88 c
119.07 479.88 119.88 480.69 119.88 481.68 c
f
0.80 0.00 0.00 rg
307.08 481.68 m 307.08 482.67 306.27 483.48 305.28 483.48 c
304.29 483.48 303.48 482.67 303.48 481.68 c
303.48 480.69 304.29 479.88 305.28 479.88 c
306.27 479.88 307.08 480.69 307.08 481.68 c
f
0.80 0.00 0.00 rg
253.08 481.68 m 253.08 482.67 252.27 483.48 251.28 483.48 c
250.29 483.48 249.48 482.67 249.48 481.68 c
249.48 480.69 250.29 479.88 251.28 479.88 c
252.27 479.88 253.08 480.69 253.08 481.68 c
f
0.80 0.00 0.00 rg
220.68 481.68 m 220.68 482.67 219.87 483.48 218.88 483.48 c
217.89 483.48 217.08 482.67 217.08 481.68 c
217.08 480.69 217.89 479.88 218.88 479.88 c
219.87 479.88 220.68 480.69 220.68 481.68 c
f
0.80 0.00 0.00 rg
220.68 517.68 m 220.68 518.67 219.87 519.48 218.88 519.48 c
217.89 519.48 217.08 518.67 217.08 517.68 c
217.08 516.69 217.89 515.88 218.88 515.88 c
219.87 515.88 220.68 516.69 220.68 517.68 c
f
0.80 0.00 0.00 rg
253.08 517.68 m 253.08 518.67 252.27 519.48 251.28 519.48 c
250.29 519.48 249.48 518.67 249.48 517.68 c
249.48 516.69 250.29 515.88 251.28 515.88 c
252.27 515.88 253.08 516.69 253.08 517.68 c
f
0.80 0.00 0.00 rg
263.88 517.68 m 263.88 518.67 263.07 519.48 262.08 519.48 c
261.09 519.48 260.28 518.67 260.28 517.68 c
260.28 516.69 261.09 515.88 262.08 515.88 c
263.07 515.88 263.88 516.69 263.88 517.68 c
f
0.80 0.00 0.00 rg
343.08 510.48 m 343.08 511.47 342.27 512.28 341.28 512.28 c
340.29 512.28 339.48 511.47 339.48 510.48 c
339.48 509.49 340.29 508.68 341.28 508.68 c
342.27 508.68 343.08 509.49 343.08 510.48 c
f
0.80 0.00 0.00 rg
357.48 510.48 m 357.48 511.47 356.67 512.28 355.68 512.28 c
354.69 512.28 353.88 511.47 353.88 510.48 c
353.88 509.49 354.69 508.68 355.68 508.68 c
356.67 508.68 357.48 509.49 357.48 510.48 c
f
0.80 0.00 0.00 rg
573.48 478.08 m 573.48 479.07 572.67 479.88 571.68 479.88 c
570.69 479.88 569.88 479.07 569.88 478.08 c
569.88 477.09 570.69 476.28 571.68 476.28 c
572.67 476.28 573.48 477.09 573.48 478.08 c
f
0.80 0.00 0.00 rg
703.08 416.88 m 703.08 417.87 702.27 418.68 701.28 418.68 c
700.29 418.68 699.48 417.87 699.48 416.88 c
699.48 415.89 700.29 415.08 701.28 415.08 c
702.27 415.08 703.08 415.89 703.08 416.88 c
f
0.80 0.00 0.00 rg
703.08 488.88 m 703.08 489.87 702.27 490.68 701.28 490.68 c
700.29 490.68 699.48 489.87 699.48 488.88 c
699.48 487.89 700.29 487.08 701.28 487.08 c
702.27 487.08 703.08 487.89 703.08 488.88 c
f
0.80 0.00 0.00 rg
659.88 208.08 m 659.88 209.07 659.07 209.88 658.08 209.88 c
657.09 209.88 656.28 209.07 656.28 208.08 c
656.28 207.09 657.09 206.28 658.08 206.28 c
659.07 206.28 659.88 207.09 659.88 208.08 c
f
Q Q
endstream endstream
endobj endobj
@@ -5570,7 +5570,7 @@ BT
10.80 TL 10.80 TL
0.000 0.000 0.502 rg 0.000 0.000 0.502 rg
730.08 129.39 Td 730.08 129.39 Td
(2024-12-17) Tj (2024-12-07) Tj
ET ET
7.20 w 7.20 w
BT BT
@@ -5578,7 +5578,7 @@ BT
10.80 TL 10.80 TL
0.000 0.000 0.502 rg 0.000 0.000 0.502 rg
730.08 114.99 Td 730.08 114.99 Td
(2024-09-16) Tj (2024-09-17) Tj
ET ET
7.20 w 7.20 w
BT BT
@@ -5610,7 +5610,7 @@ BT
10.80 TL 10.80 TL
0.000 0.000 0.502 rg 0.000 0.000 0.502 rg
506.48 21.39 Td 506.48 21.39 Td
(V1.5.3) Tj (V1.5.2) Tj
ET ET
7.20 w 7.20 w
BT BT
@@ -8176,126 +8176,6 @@ BT
796.27 436.17 Td 796.27 436.17 Td
(3.3V_B) Tj (3.3V_B) Tj
ET ET
0.80 0.00 0.00 rg
397.08 431.28 m 397.08 432.27 396.27 433.08 395.28 433.08 c
394.29 433.08 393.48 432.27 393.48 431.28 c
393.48 430.29 394.29 429.48 395.28 429.48 c
396.27 429.48 397.08 430.29 397.08 431.28 c
f
0.80 0.00 0.00 rg
224.28 463.68 m 224.28 464.67 223.47 465.48 222.48 465.48 c
221.49 465.48 220.68 464.67 220.68 463.68 c
220.68 462.69 221.49 461.88 222.48 461.88 c
223.47 461.88 224.28 462.69 224.28 463.68 c
f
0.80 0.00 0.00 rg
263.88 535.68 m 263.88 536.67 263.07 537.48 262.08 537.48 c
261.09 537.48 260.28 536.67 260.28 535.68 c
260.28 534.69 261.09 533.88 262.08 533.88 c
263.07 533.88 263.88 534.69 263.88 535.68 c
f
0.80 0.00 0.00 rg
249.48 517.68 m 249.48 518.67 248.67 519.48 247.68 519.48 c
246.69 519.48 245.88 518.67 245.88 517.68 c
245.88 516.69 246.69 515.88 247.68 515.88 c
248.67 515.88 249.48 516.69 249.48 517.68 c
f
0.80 0.00 0.00 rg
224.28 499.68 m 224.28 500.67 223.47 501.48 222.48 501.48 c
221.49 501.48 220.68 500.67 220.68 499.68 c
220.68 498.69 221.49 497.88 222.48 497.88 c
223.47 497.88 224.28 498.69 224.28 499.68 c
f
0.80 0.00 0.00 rg
584.28 478.08 m 584.28 479.07 583.47 479.88 582.48 479.88 c
581.49 479.88 580.68 479.07 580.68 478.08 c
580.68 477.09 581.49 476.28 582.48 476.28 c
583.47 476.28 584.28 477.09 584.28 478.08 c
f
0.80 0.00 0.00 rg
785.88 438.48 m 785.88 439.47 785.07 440.28 784.08 440.28 c
783.09 440.28 782.28 439.47 782.28 438.48 c
782.28 437.49 783.09 436.68 784.08 436.68 c
785.07 436.68 785.88 437.49 785.88 438.48 c
f
0.80 0.00 0.00 rg
688.68 514.08 m 688.68 515.07 687.87 515.88 686.88 515.88 c
685.89 515.88 685.08 515.07 685.08 514.08 c
685.08 513.09 685.89 512.28 686.88 512.28 c
687.87 512.28 688.68 513.09 688.68 514.08 c
f
0.80 0.00 0.00 rg
325.08 280.08 m 325.08 281.07 324.27 281.88 323.28 281.88 c
322.29 281.88 321.48 281.07 321.48 280.08 c
321.48 279.09 322.29 278.28 323.28 278.28 c
324.27 278.28 325.08 279.09 325.08 280.08 c
f
0.80 0.00 0.00 rg
789.48 524.88 m 789.48 525.87 788.67 526.68 787.68 526.68 c
786.69 526.68 785.88 525.87 785.88 524.88 c
785.88 523.89 786.69 523.08 787.68 523.08 c
788.67 523.08 789.48 523.89 789.48 524.88 c
f
0.80 0.00 0.00 rg
541.08 200.88 m 541.08 201.87 540.27 202.68 539.28 202.68 c
538.29 202.68 537.48 201.87 537.48 200.88 c
537.48 199.89 538.29 199.08 539.28 199.08 c
540.27 199.08 541.08 199.89 541.08 200.88 c
f
0.80 0.00 0.00 rg
112.68 67.68 m 112.68 68.67 111.87 69.48 110.88 69.48 c
109.89 69.48 109.08 68.67 109.08 67.68 c
109.08 66.69 109.89 65.88 110.88 65.88 c
111.87 65.88 112.68 66.69 112.68 67.68 c
f
0.80 0.00 0.00 rg
148.68 67.68 m 148.68 68.67 147.87 69.48 146.88 69.48 c
145.89 69.48 145.08 68.67 145.08 67.68 c
145.08 66.69 145.89 65.88 146.88 65.88 c
147.87 65.88 148.68 66.69 148.68 67.68 c
f
0.80 0.00 0.00 rg
137.88 319.68 m 137.88 320.67 137.07 321.48 136.08 321.48 c
135.09 321.48 134.28 320.67 134.28 319.68 c
134.28 318.69 135.09 317.88 136.08 317.88 c
137.07 317.88 137.88 318.69 137.88 319.68 c
f
0.80 0.00 0.00 rg
544.68 312.48 m 544.68 313.47 543.87 314.28 542.88 314.28 c
541.89 314.28 541.08 313.47 541.08 312.48 c
541.08 311.49 541.89 310.68 542.88 310.68 c
543.87 310.68 544.68 311.49 544.68 312.48 c
f
0.80 0.00 0.00 rg
278.28 431.28 m 278.28 432.27 277.47 433.08 276.48 433.08 c
275.49 433.08 274.68 432.27 274.68 431.28 c
274.68 430.29 275.49 429.48 276.48 429.48 c
277.47 429.48 278.28 430.29 278.28 431.28 c
f
0.80 0.00 0.00 rg
249.48 431.28 m 249.48 432.27 248.67 433.08 247.68 433.08 c
246.69 433.08 245.88 432.27 245.88 431.28 c
245.88 430.29 246.69 429.48 247.68 429.48 c
248.67 429.48 249.48 430.29 249.48 431.28 c
f
0.80 0.00 0.00 rg
224.28 431.28 m 224.28 432.27 223.47 433.08 222.48 433.08 c
221.49 433.08 220.68 432.27 220.68 431.28 c
220.68 430.29 221.49 429.48 222.48 429.48 c
223.47 429.48 224.28 430.29 224.28 431.28 c
f
0.80 0.00 0.00 rg
195.48 431.28 m 195.48 432.27 194.67 433.08 193.68 433.08 c
192.69 433.08 191.88 432.27 191.88 431.28 c
191.88 430.29 192.69 429.48 193.68 429.48 c
194.67 429.48 195.48 430.29 195.48 431.28 c
f
0.80 0.00 0.00 rg
224.28 535.68 m 224.28 536.67 223.47 537.48 222.48 537.48 c
221.49 537.48 220.68 536.67 220.68 535.68 c
220.68 534.69 221.49 533.88 222.48 533.88 c
223.47 533.88 224.28 534.69 224.28 535.68 c
f
1 J 1 J
1 j 1 j
0.72 w 0.72 w
@@ -16198,6 +16078,126 @@ S
359.280 175.680 m 359.280 175.680 m
352.080 175.680 l 352.080 175.680 l
S S
0.80 0.00 0.00 rg
397.08 431.28 m 397.08 432.27 396.27 433.08 395.28 433.08 c
394.29 433.08 393.48 432.27 393.48 431.28 c
393.48 430.29 394.29 429.48 395.28 429.48 c
396.27 429.48 397.08 430.29 397.08 431.28 c
f
0.80 0.00 0.00 rg
224.28 463.68 m 224.28 464.67 223.47 465.48 222.48 465.48 c
221.49 465.48 220.68 464.67 220.68 463.68 c
220.68 462.69 221.49 461.88 222.48 461.88 c
223.47 461.88 224.28 462.69 224.28 463.68 c
f
0.80 0.00 0.00 rg
263.88 535.68 m 263.88 536.67 263.07 537.48 262.08 537.48 c
261.09 537.48 260.28 536.67 260.28 535.68 c
260.28 534.69 261.09 533.88 262.08 533.88 c
263.07 533.88 263.88 534.69 263.88 535.68 c
f
0.80 0.00 0.00 rg
249.48 517.68 m 249.48 518.67 248.67 519.48 247.68 519.48 c
246.69 519.48 245.88 518.67 245.88 517.68 c
245.88 516.69 246.69 515.88 247.68 515.88 c
248.67 515.88 249.48 516.69 249.48 517.68 c
f
0.80 0.00 0.00 rg
224.28 499.68 m 224.28 500.67 223.47 501.48 222.48 501.48 c
221.49 501.48 220.68 500.67 220.68 499.68 c
220.68 498.69 221.49 497.88 222.48 497.88 c
223.47 497.88 224.28 498.69 224.28 499.68 c
f
0.80 0.00 0.00 rg
584.28 478.08 m 584.28 479.07 583.47 479.88 582.48 479.88 c
581.49 479.88 580.68 479.07 580.68 478.08 c
580.68 477.09 581.49 476.28 582.48 476.28 c
583.47 476.28 584.28 477.09 584.28 478.08 c
f
0.80 0.00 0.00 rg
785.88 438.48 m 785.88 439.47 785.07 440.28 784.08 440.28 c
783.09 440.28 782.28 439.47 782.28 438.48 c
782.28 437.49 783.09 436.68 784.08 436.68 c
785.07 436.68 785.88 437.49 785.88 438.48 c
f
0.80 0.00 0.00 rg
688.68 514.08 m 688.68 515.07 687.87 515.88 686.88 515.88 c
685.89 515.88 685.08 515.07 685.08 514.08 c
685.08 513.09 685.89 512.28 686.88 512.28 c
687.87 512.28 688.68 513.09 688.68 514.08 c
f
0.80 0.00 0.00 rg
325.08 280.08 m 325.08 281.07 324.27 281.88 323.28 281.88 c
322.29 281.88 321.48 281.07 321.48 280.08 c
321.48 279.09 322.29 278.28 323.28 278.28 c
324.27 278.28 325.08 279.09 325.08 280.08 c
f
0.80 0.00 0.00 rg
789.48 524.88 m 789.48 525.87 788.67 526.68 787.68 526.68 c
786.69 526.68 785.88 525.87 785.88 524.88 c
785.88 523.89 786.69 523.08 787.68 523.08 c
788.67 523.08 789.48 523.89 789.48 524.88 c
f
0.80 0.00 0.00 rg
541.08 200.88 m 541.08 201.87 540.27 202.68 539.28 202.68 c
538.29 202.68 537.48 201.87 537.48 200.88 c
537.48 199.89 538.29 199.08 539.28 199.08 c
540.27 199.08 541.08 199.89 541.08 200.88 c
f
0.80 0.00 0.00 rg
112.68 67.68 m 112.68 68.67 111.87 69.48 110.88 69.48 c
109.89 69.48 109.08 68.67 109.08 67.68 c
109.08 66.69 109.89 65.88 110.88 65.88 c
111.87 65.88 112.68 66.69 112.68 67.68 c
f
0.80 0.00 0.00 rg
148.68 67.68 m 148.68 68.67 147.87 69.48 146.88 69.48 c
145.89 69.48 145.08 68.67 145.08 67.68 c
145.08 66.69 145.89 65.88 146.88 65.88 c
147.87 65.88 148.68 66.69 148.68 67.68 c
f
0.80 0.00 0.00 rg
137.88 319.68 m 137.88 320.67 137.07 321.48 136.08 321.48 c
135.09 321.48 134.28 320.67 134.28 319.68 c
134.28 318.69 135.09 317.88 136.08 317.88 c
137.07 317.88 137.88 318.69 137.88 319.68 c
f
0.80 0.00 0.00 rg
544.68 312.48 m 544.68 313.47 543.87 314.28 542.88 314.28 c
541.89 314.28 541.08 313.47 541.08 312.48 c
541.08 311.49 541.89 310.68 542.88 310.68 c
543.87 310.68 544.68 311.49 544.68 312.48 c
f
0.80 0.00 0.00 rg
278.28 431.28 m 278.28 432.27 277.47 433.08 276.48 433.08 c
275.49 433.08 274.68 432.27 274.68 431.28 c
274.68 430.29 275.49 429.48 276.48 429.48 c
277.47 429.48 278.28 430.29 278.28 431.28 c
f
0.80 0.00 0.00 rg
249.48 431.28 m 249.48 432.27 248.67 433.08 247.68 433.08 c
246.69 433.08 245.88 432.27 245.88 431.28 c
245.88 430.29 246.69 429.48 247.68 429.48 c
248.67 429.48 249.48 430.29 249.48 431.28 c
f
0.80 0.00 0.00 rg
224.28 431.28 m 224.28 432.27 223.47 433.08 222.48 433.08 c
221.49 433.08 220.68 432.27 220.68 431.28 c
220.68 430.29 221.49 429.48 222.48 429.48 c
223.47 429.48 224.28 430.29 224.28 431.28 c
f
0.80 0.00 0.00 rg
195.48 431.28 m 195.48 432.27 194.67 433.08 193.68 433.08 c
192.69 433.08 191.88 432.27 191.88 431.28 c
191.88 430.29 192.69 429.48 193.68 429.48 c
194.67 429.48 195.48 430.29 195.48 431.28 c
f
0.80 0.00 0.00 rg
224.28 535.68 m 224.28 536.67 223.47 537.48 222.48 537.48 c
221.49 537.48 220.68 536.67 220.68 535.68 c
220.68 534.69 221.49 533.88 222.48 533.88 c
223.47 533.88 224.28 534.69 224.28 535.68 c
f
Q Q
endstream endstream
endobj endobj
@@ -18501,7 +18501,7 @@ endobj
428 0 obj 428 0 obj
<< <<
/Producer (jsPDF 0.0.0) /Producer (jsPDF 0.0.0)
/CreationDate (D:20250105015408+03'00') /CreationDate (D:20241207234636+03'00')
>> >>
endobj endobj
429 0 obj 429 0 obj
@@ -18950,7 +18950,7 @@ trailer
/Size 430 /Size 430
/Root 429 0 R /Root 429 0 R
/Info 428 0 R /Info 428 0 R
/ID [ <0FF718394C008026CB860ADB87CB39D7> <0FF718394C008026CB860ADB87CB39D7> ] /ID [ <DE6EF81C840A106501DCF215445806E1> <DE6EF81C840A106501DCF215445806E1> ]
>> >>
startxref startxref
266667 266667

Binary file not shown.

View File

@@ -12,17 +12,16 @@ public:
template <class T> template <class T>
void send(int code, T contentType, const JsonVariantConst content, bool pretty = false) { void send(int code, T contentType, const JsonVariantConst content, bool pretty = false) {
auto contentLength = pretty ? measureJsonPretty(content) : measureJson(content);
#ifdef ARDUINO_ARCH_ESP8266 #ifdef ARDUINO_ARCH_ESP8266
if (!this->webServer->chunkedResponseModeStart(code, contentType)) { if (!this->webServer->chunkedResponseModeStart(code, contentType)) {
this->webServer->send(505, F("text/html"), F("HTTP1.1 required")); this->webServer->send(505, F("text/html"), F("HTTP1.1 required"));
return; return;
} }
this->webServer->setContentLength(contentLength); this->webServer->setContentLength(measureJson(content));
#else #else
this->webServer->setContentLength(contentLength); this->webServer->setContentLength(CONTENT_LENGTH_UNKNOWN);
this->webServer->sendHeader(F("Content-Length"), String(measureJson(content)));
this->webServer->send(code, contentType, emptyString); this->webServer->send(code, contentType, emptyString);
#endif #endif

View File

@@ -3,17 +3,15 @@
class CustomOpenTherm : public OpenTherm { class CustomOpenTherm : public OpenTherm {
public: public:
typedef std::function<void(unsigned int)> DelayCallback; typedef std::function<void()> YieldCallback;
typedef std::function<void(unsigned long, byte)> BeforeSendRequestCallback; typedef std::function<void(unsigned long, byte)> BeforeSendRequestCallback;
typedef std::function<void(unsigned long, unsigned long, OpenThermResponseStatus, byte)> AfterSendRequestCallback; typedef std::function<void(unsigned long, unsigned long, OpenThermResponseStatus, byte)> AfterSendRequestCallback;
CustomOpenTherm(int inPin = 4, int outPin = 5, bool isSlave = false) : OpenTherm(inPin, outPin, isSlave) { CustomOpenTherm(int inPin = 4, int outPin = 5, bool isSlave = false) : OpenTherm(inPin, outPin, isSlave) {}
this->_outPin = outPin;
}
~CustomOpenTherm() {} ~CustomOpenTherm() {}
CustomOpenTherm* setDelayCallback(DelayCallback callback = nullptr) { CustomOpenTherm* setYieldCallback(YieldCallback callback = nullptr) {
this->delayCallback = callback; this->yieldCallback = callback;
return this; return this;
} }
@@ -30,28 +28,14 @@ public:
return this; return this;
} }
void reset() {
if (this->status == OpenThermStatus::NOT_INITIALIZED) {
return;
}
this->end();
this->status = OpenThermStatus::NOT_INITIALIZED;
digitalWrite(this->_outPin, LOW);
if (this->delayCallback) {
this->delayCallback(1000);
}
this->begin();
}
unsigned long sendRequest(unsigned long request, byte attempts = 5, byte _attempt = 0) { unsigned long sendRequest(unsigned long request, byte attempts = 5, byte _attempt = 0) {
_attempt++; _attempt++;
while (!this->isReady()) { while (!this->isReady()) {
if (this->delayCallback) { if (this->yieldCallback) {
this->delayCallback(150); this->yieldCallback();
} else {
::yield();
} }
this->process(); this->process();
@@ -67,13 +51,17 @@ public:
_response = 0; _response = 0;
} else { } else {
do { while (true) {
if (this->delayCallback) {
this->delayCallback(150);
}
this->process(); this->process();
} while (this->status != OpenThermStatus::READY && this->status != OpenThermStatus::DELAY);
if (this->status == OpenThermStatus::READY || this->status == OpenThermStatus::DELAY) {
break;
} else if (this->yieldCallback) {
this->yieldCallback();
} else {
::yield();
}
}
_response = this->getLastResponse(); _response = this->getLastResponse();
_responseStatus = this->getLastResponseStatus(); _responseStatus = this->getLastResponseStatus();
@@ -163,8 +151,7 @@ public:
} }
protected: protected:
DelayCallback delayCallback; YieldCallback yieldCallback;
BeforeSendRequestCallback beforeSendRequestCallback; BeforeSendRequestCallback beforeSendRequestCallback;
AfterSendRequestCallback afterSendRequestCallback; AfterSendRequestCallback afterSendRequestCallback;
int _outPin;
}; };

View File

@@ -14,10 +14,10 @@ extra_configs = secrets.default.ini
core_dir = .pio core_dir = .pio
[env] [env]
version = 1.5.1 version = 1.5.0
framework = arduino framework = arduino
lib_deps = lib_deps =
bblanchon/ArduinoJson@^7.3.0 bblanchon/ArduinoJson@^7.1.0
;ihormelnyk/OpenTherm Library@^1.1.5 ;ihormelnyk/OpenTherm Library@^1.1.5
https://github.com/ihormelnyk/opentherm_library#master https://github.com/ihormelnyk/opentherm_library#master
;arduino-libraries/ArduinoMqttClient@^0.1.8 ;arduino-libraries/ArduinoMqttClient@^0.1.8
@@ -85,7 +85,7 @@ board_build.ldscript = eagle.flash.4m1m.ld
;platform_packages = ;platform_packages =
; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.5 ; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.5
; framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.1/esp32-arduino-libs-idf-release_v5.1-33fbade6.zip ; framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.1/esp32-arduino-libs-idf-release_v5.1-33fbade6.zip
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zip platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc3/platform-espressif32.zip
platform_packages = platform_packages =
board_build.partitions = esp32_partitions.csv board_build.partitions = esp32_partitions.csv
lib_deps = lib_deps =

View File

@@ -181,7 +181,7 @@ public:
if (sSensor.type == Sensors::Type::BLUETOOTH) { if (sSensor.type == Sensors::Type::BLUETOOTH) {
// available state topic // available state topic
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = doc[FPSTR(HA_STATE_TOPIC)]; doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = doc[FPSTR(HA_STATE_TOPIC)];
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = JsonString(AVAILABILITY_SENSOR_CONN, true); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = AVAILABILITY_SENSOR_CONN;
String sName = sSensor.name; String sName = sSensor.name;
switch (vType) { switch (vType) {
@@ -254,7 +254,7 @@ public:
} else { } else {
// available state topic // available state topic
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = doc[FPSTR(HA_STATE_TOPIC)]; doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = doc[FPSTR(HA_STATE_TOPIC)];
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = JsonString(AVAILABILITY_SENSOR_CONN, true); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = AVAILABILITY_SENSOR_CONN;
doc[FPSTR(HA_NAME)] = sSensor.name; doc[FPSTR(HA_NAME)] = sSensor.name;
doc[FPSTR(HA_VALUE_TEMPLATE)] = F("{{ value_json.value|float(0)|round(2) }}"); doc[FPSTR(HA_VALUE_TEMPLATE)] = F("{{ value_json.value|float(0)|round(2) }}");
@@ -970,7 +970,7 @@ public:
JsonDocument doc; JsonDocument doc;
doc[FPSTR(HA_AVAILABILITY)][0][FPSTR(HA_TOPIC)] = this->statusTopic.c_str(); doc[FPSTR(HA_AVAILABILITY)][0][FPSTR(HA_TOPIC)] = this->statusTopic.c_str();
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = this->stateTopic.c_str(); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = this->stateTopic.c_str();
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = JsonString(AVAILABILITY_OT_CONN, true); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = AVAILABILITY_OT_CONN;
doc[FPSTR(HA_AVAILABILITY_MODE)] = F("all"); doc[FPSTR(HA_AVAILABILITY_MODE)] = F("all");
doc[FPSTR(HA_ENABLED_BY_DEFAULT)] = enabledByDefault; doc[FPSTR(HA_ENABLED_BY_DEFAULT)] = enabledByDefault;
doc[FPSTR(HA_UNIQUE_ID)] = this->getObjectIdWithPrefix(F("heating")); doc[FPSTR(HA_UNIQUE_ID)] = this->getObjectIdWithPrefix(F("heating"));
@@ -991,7 +991,7 @@ public:
JsonDocument doc; JsonDocument doc;
doc[FPSTR(HA_AVAILABILITY)][0][FPSTR(HA_TOPIC)] = this->statusTopic.c_str(); doc[FPSTR(HA_AVAILABILITY)][0][FPSTR(HA_TOPIC)] = this->statusTopic.c_str();
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = this->stateTopic.c_str(); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = this->stateTopic.c_str();
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = JsonString(AVAILABILITY_OT_CONN, true); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = AVAILABILITY_OT_CONN;
doc[FPSTR(HA_AVAILABILITY_MODE)] = F("all"); doc[FPSTR(HA_AVAILABILITY_MODE)] = F("all");
doc[FPSTR(HA_ENABLED_BY_DEFAULT)] = enabledByDefault; doc[FPSTR(HA_ENABLED_BY_DEFAULT)] = enabledByDefault;
doc[FPSTR(HA_UNIQUE_ID)] = this->getObjectIdWithPrefix(F("dhw")); doc[FPSTR(HA_UNIQUE_ID)] = this->getObjectIdWithPrefix(F("dhw"));
@@ -1012,7 +1012,7 @@ public:
JsonDocument doc; JsonDocument doc;
doc[FPSTR(HA_AVAILABILITY)][0][FPSTR(HA_TOPIC)] = this->statusTopic.c_str(); doc[FPSTR(HA_AVAILABILITY)][0][FPSTR(HA_TOPIC)] = this->statusTopic.c_str();
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = this->stateTopic.c_str(); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = this->stateTopic.c_str();
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = JsonString(AVAILABILITY_OT_CONN, true); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = AVAILABILITY_OT_CONN;
doc[FPSTR(HA_AVAILABILITY_MODE)] = F("all"); doc[FPSTR(HA_AVAILABILITY_MODE)] = F("all");
doc[FPSTR(HA_ENABLED_BY_DEFAULT)] = enabledByDefault; doc[FPSTR(HA_ENABLED_BY_DEFAULT)] = enabledByDefault;
doc[FPSTR(HA_UNIQUE_ID)] = this->getObjectIdWithPrefix(F("flame")); doc[FPSTR(HA_UNIQUE_ID)] = this->getObjectIdWithPrefix(F("flame"));
@@ -1033,7 +1033,7 @@ public:
JsonDocument doc; JsonDocument doc;
doc[FPSTR(HA_AVAILABILITY)][0][FPSTR(HA_TOPIC)] = this->statusTopic.c_str(); doc[FPSTR(HA_AVAILABILITY)][0][FPSTR(HA_TOPIC)] = this->statusTopic.c_str();
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = this->stateTopic.c_str(); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = this->stateTopic.c_str();
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = JsonString(AVAILABILITY_OT_CONN, true); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = AVAILABILITY_OT_CONN;
doc[FPSTR(HA_AVAILABILITY_MODE)] = F("all"); doc[FPSTR(HA_AVAILABILITY_MODE)] = F("all");
doc[FPSTR(HA_ENABLED_BY_DEFAULT)] = enabledByDefault; doc[FPSTR(HA_ENABLED_BY_DEFAULT)] = enabledByDefault;
doc[FPSTR(HA_UNIQUE_ID)] = this->getObjectIdWithPrefix(F("fault")); doc[FPSTR(HA_UNIQUE_ID)] = this->getObjectIdWithPrefix(F("fault"));
@@ -1054,7 +1054,7 @@ public:
JsonDocument doc; JsonDocument doc;
doc[FPSTR(HA_AVAILABILITY)][0][FPSTR(HA_TOPIC)] = this->statusTopic.c_str(); doc[FPSTR(HA_AVAILABILITY)][0][FPSTR(HA_TOPIC)] = this->statusTopic.c_str();
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = this->stateTopic.c_str(); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_TOPIC)] = this->stateTopic.c_str();
doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = JsonString(AVAILABILITY_OT_CONN, true); doc[FPSTR(HA_AVAILABILITY)][1][FPSTR(HA_VALUE_TEMPLATE)] = AVAILABILITY_OT_CONN;
doc[FPSTR(HA_AVAILABILITY_MODE)] = F("all"); doc[FPSTR(HA_AVAILABILITY_MODE)] = F("all");
doc[FPSTR(HA_ENABLED_BY_DEFAULT)] = enabledByDefault; doc[FPSTR(HA_ENABLED_BY_DEFAULT)] = enabledByDefault;
doc[FPSTR(HA_UNIQUE_ID)] = this->getObjectIdWithPrefix(FPSTR(HA_ENTITY_CATEGORY_DIAGNOSTIC)); doc[FPSTR(HA_UNIQUE_ID)] = this->getObjectIdWithPrefix(FPSTR(HA_ENTITY_CATEGORY_DIAGNOSTIC));

View File

@@ -98,8 +98,8 @@ protected:
} }
}); });
this->instance->setDelayCallback([this](unsigned int time) { this->instance->setYieldCallback([this]() {
this->delay(time); this->delay(25);
}); });
this->instance->begin(); this->instance->begin();
@@ -157,7 +157,7 @@ protected:
vars.master.dhw.targetTemp = settings.dhw.target; vars.master.dhw.targetTemp = settings.dhw.target;
// CH2 settings // CH2 settings
vars.master.ch2.enabled = settings.opentherm.options.ch2AlwaysEnabled vars.master.ch2.enabled = settings.opentherm.options.heatingCh2Enabled
|| (settings.opentherm.options.heatingToCh2 && vars.master.heating.enabled) || (settings.opentherm.options.heatingToCh2 && vars.master.heating.enabled)
|| (settings.opentherm.options.dhwToCh2 && settings.opentherm.options.dhwSupport && settings.dhw.enabled); || (settings.opentherm.options.dhwToCh2 && settings.opentherm.options.dhwSupport && settings.dhw.enabled);
@@ -178,19 +178,13 @@ protected:
statusLb = 0xCA; statusLb = 0xCA;
} }
// Summer/winter mode
bool summerWinterMode = settings.opentherm.options.summerWinterMode;
if (settings.opentherm.options.heatingStateToSummerWinterMode) {
summerWinterMode = vars.master.heating.enabled == summerWinterMode;
}
unsigned long response = this->instance->setBoilerStatus( unsigned long response = this->instance->setBoilerStatus(
vars.master.heating.enabled, vars.master.heating.enabled,
vars.master.dhw.enabled, vars.master.dhw.enabled,
settings.opentherm.options.coolingSupport, settings.opentherm.options.coolingSupport,
settings.opentherm.options.nativeHeatingControl, settings.opentherm.options.nativeHeatingControl,
vars.master.ch2.enabled, vars.master.ch2.enabled,
summerWinterMode, settings.opentherm.options.summerWinterMode,
settings.opentherm.options.dhwBlocking, settings.opentherm.options.dhwBlocking,
statusLb statusLb
); );
@@ -203,12 +197,12 @@ protected:
); );
} }
if (!vars.slave.connected && millis() - this->lastSuccessResponse < 1325) { if (!vars.slave.connected && millis() - this->lastSuccessResponse < 1150) {
Log.sinfoln(FPSTR(L_OT), F("Connected")); Log.sinfoln(FPSTR(L_OT), F("Connected"));
vars.slave.connected = true; vars.slave.connected = true;
} else if (vars.slave.connected && millis() - this->lastSuccessResponse > 1325) { } else if (vars.slave.connected && millis() - this->lastSuccessResponse > 1150) {
Log.swarningln(FPSTR(L_OT), F("Disconnected")); Log.swarningln(FPSTR(L_OT), F("Disconnected"));
// Mark sensors as disconnected // Mark sensors as disconnected
@@ -248,8 +242,6 @@ protected:
vars.slave.diag.active = false; vars.slave.diag.active = false;
vars.slave.diag.code = 0; vars.slave.diag.code = 0;
this->instance->reset();
return; return;
} }
@@ -1021,7 +1013,6 @@ protected:
if (this->needSetHeatingTemp(convertedTemp)) { if (this->needSetHeatingTemp(convertedTemp)) {
// Set max heating temp // Set max heating temp
if (settings.opentherm.options.maxTempSyncWithTargetTemp) {
if (this->setMaxHeatingTemp(convertedTemp)) { if (this->setMaxHeatingTemp(convertedTemp)) {
Log.sinfoln( Log.sinfoln(
FPSTR(L_OT_HEATING), F("Set max heating temp: %.2f (converted: %.2f)"), FPSTR(L_OT_HEATING), F("Set max heating temp: %.2f (converted: %.2f)"),
@@ -1031,7 +1022,6 @@ protected:
} else { } else {
Log.swarningln(FPSTR(L_OT_HEATING), F("Failed set max heating temp")); Log.swarningln(FPSTR(L_OT_HEATING), F("Failed set max heating temp"));
} }
}
// Set target heating temp // Set target heating temp
if (this->setHeatingTemp(convertedTemp)) { if (this->setHeatingTemp(convertedTemp)) {

View File

@@ -175,12 +175,8 @@ protected:
continue; continue;
} }
if (millis() - this->dallasSearchTime[gpio] < this->dallasSearchInterval) { if (millis() - this->dallasSearchTime[gpio] > this->dallasSearchInterval) {
continue;
}
this->dallasSearchTime[gpio] = millis(); this->dallasSearchTime[gpio] = millis();
this->owInstances[gpio].reset();
instance.begin(); instance.begin();
Log.straceln( Log.straceln(
@@ -190,6 +186,7 @@ protected:
); );
} }
} }
}
void fillingAddressesDallasSensors() { void fillingAddressesDallasSensors() {
// check & filling sensors address // check & filling sensors address
@@ -277,15 +274,26 @@ protected:
unsigned long ts = millis(); unsigned long ts = millis();
if (this->dallasPolling[gpio]) { if (this->dallasPolling[gpio]) {
auto minPollingTime = instance.millisToWaitForConversion(12) * 2; auto minPollingTime = instance.millisToWaitForConversion(12);
unsigned long estimatePollingTime = ts - this->dallasLastPollingTime[gpio]; unsigned long estimatePollingTime = ts - this->dallasLastPollingTime[gpio];
// check conversion time // check conversion time
// isConversionComplete does not work with chinese clones!
if (estimatePollingTime < minPollingTime) { if (estimatePollingTime < minPollingTime) {
continue; continue;
} }
// check conversion
bool conversionComplete = instance.isConversionComplete();
if (!conversionComplete) {
if (estimatePollingTime > (minPollingTime * 2)) {
this->dallasPolling[gpio] = false;
Log.swarningln(FPSTR(L_SENSORS_DALLAS), F("GPIO %hhu, timeout receiving data"), gpio);
}
continue;
}
// read sensors data for current instance // read sensors data for current instance
for (uint8_t sensorId = 0; sensorId <= Sensors::getMaxSensorId(); sensorId++) { for (uint8_t sensorId = 0; sensorId <= Sensors::getMaxSensorId(); sensorId++) {
auto& sSensor = Sensors::settings[sensorId]; auto& sSensor = Sensors::settings[sensorId];
@@ -337,6 +345,28 @@ protected:
continue; continue;
} }
// check sensors on bus
if (!instance.getDeviceCount()) {
for (uint8_t sensorId = 0; sensorId <= Sensors::getMaxSensorId(); sensorId++) {
auto& sSensor = Sensors::settings[sensorId];
// only target & valid sensors
if (!sSensor.enabled || sSensor.type != Sensors::Type::DALLAS_TEMP || sSensor.purpose == Sensors::Purpose::NOT_CONFIGURED) {
continue;
} else if (sSensor.gpio != gpio || isEmptyAddress(sSensor.address)) {
continue;
}
auto& rSensor = Sensors::results[sensorId];
if (rSensor.signalQuality > 0) {
rSensor.signalQuality--;
}
}
continue;
}
// start polling // start polling
instance.setResolution(12); instance.setResolution(12);
instance.requestTemperatures(); instance.requestTemperatures();
@@ -350,10 +380,10 @@ protected:
void pollingBleSensors() { void pollingBleSensors() {
#if USE_BLE #if USE_BLE
if (!NimBLEDevice::isInitialized() && millis() > 5000) { if (!NimBLEDevice::getInitialized() && millis() > 5000) {
Log.sinfoln(FPSTR(L_SENSORS_BLE), F("Initialized")); Log.sinfoln(FPSTR(L_SENSORS_BLE), F("Initialized"));
BLEDevice::init(""); BLEDevice::init("");
NimBLEDevice::setPower(9); NimBLEDevice::setPower(ESP_PWR_LVL_P9);
} }
for (uint8_t sensorId = 0; sensorId <= Sensors::getMaxSensorId(); sensorId++) { for (uint8_t sensorId = 0; sensorId <= Sensors::getMaxSensorId(); sensorId++) {
@@ -415,7 +445,7 @@ protected:
bool connectToBleDevice(const uint8_t sensorId) { bool connectToBleDevice(const uint8_t sensorId) {
#if USE_BLE #if USE_BLE
if (!NimBLEDevice::isInitialized()) { if (!NimBLEDevice::getInitialized()) {
return false; return false;
} }
@@ -430,7 +460,7 @@ protected:
sSensor.address[0], sSensor.address[1], sSensor.address[2], sSensor.address[0], sSensor.address[1], sSensor.address[2],
sSensor.address[3], sSensor.address[4], sSensor.address[5] sSensor.address[3], sSensor.address[4], sSensor.address[5]
}; };
const auto address = NimBLEAddress(addr, 0); const NimBLEAddress address = NimBLEAddress(addr);
NimBLEClient* pClient = nullptr; NimBLEClient* pClient = nullptr;
pClient = NimBLEDevice::getClientByPeerAddress(address); pClient = NimBLEDevice::getClientByPeerAddress(address);
@@ -440,13 +470,12 @@ protected:
} }
if (pClient == nullptr) { if (pClient == nullptr) {
if (NimBLEDevice::getCreatedClientCount() >= NIMBLE_MAX_CONNECTIONS) { if (NimBLEDevice::getClientListSize() >= NIMBLE_MAX_CONNECTIONS) {
return false; return false;
} }
pClient = NimBLEDevice::createClient(); pClient = NimBLEDevice::createClient();
pClient->setConnectTimeout(5000); pClient->setConnectTimeout(5);
pClient->setSelfDelete(false, true);
} }
if(pClient->isConnected()) { if(pClient->isConnected()) {
@@ -463,6 +492,7 @@ protected:
sensorId, sSensor.name, address.toString().c_str() sensorId, sSensor.name, address.toString().c_str()
); );
NimBLEDevice::deleteClient(pClient);
return false; return false;
} }
@@ -506,7 +536,7 @@ protected:
return; return;
} }
const NimBLERemoteService* pService = pChar->getRemoteService(); NimBLERemoteService* pService = pChar->getRemoteService();
if (pService == nullptr) { if (pService == nullptr) {
return; return;
} }
@@ -579,7 +609,7 @@ protected:
return; return;
} }
const NimBLERemoteService* pService = pChar->getRemoteService(); NimBLERemoteService* pService = pChar->getRemoteService();
if (pService == nullptr) { if (pService == nullptr) {
return; return;
} }
@@ -664,7 +694,7 @@ protected:
return; return;
} }
const NimBLERemoteService* pService = pChar->getRemoteService(); NimBLERemoteService* pService = pChar->getRemoteService();
if (pService == nullptr) { if (pService == nullptr) {
return; return;
} }
@@ -763,7 +793,7 @@ protected:
return; return;
} }
const NimBLERemoteService* pService = pChar->getRemoteService(); NimBLERemoteService* pService = pChar->getRemoteService();
if (pService == nullptr) { if (pService == nullptr) {
return; return;
} }

View File

@@ -61,13 +61,11 @@ struct Settings {
bool dhwSupport = true; bool dhwSupport = true;
bool coolingSupport = false; bool coolingSupport = false;
bool summerWinterMode = false; bool summerWinterMode = false;
bool heatingStateToSummerWinterMode = false; bool heatingCh2Enabled = true;
bool ch2AlwaysEnabled = true;
bool heatingToCh2 = false; bool heatingToCh2 = false;
bool dhwToCh2 = false; bool dhwToCh2 = false;
bool dhwBlocking = false; bool dhwBlocking = false;
bool modulationSyncWithHeating = false; bool modulationSyncWithHeating = false;
bool maxTempSyncWithTargetTemp = true;
bool getMinMaxTemp = true; bool getMinMaxTemp = true;
bool nativeHeatingControl = false; bool nativeHeatingControl = false;
bool immergasFix = false; bool immergasFix = false;

View File

@@ -50,7 +50,6 @@ const char S_BSSID[] PROGMEM = "bssid";
const char S_BUILD[] PROGMEM = "build"; const char S_BUILD[] PROGMEM = "build";
const char S_CASCADE_CONTROL[] PROGMEM = "cascadeControl"; const char S_CASCADE_CONTROL[] PROGMEM = "cascadeControl";
const char S_CHANNEL[] PROGMEM = "channel"; const char S_CHANNEL[] PROGMEM = "channel";
const char S_CH2_ALWAYS_ENABLED[] PROGMEM = "ch2AlwaysEnabled";
const char S_CHIP[] PROGMEM = "chip"; const char S_CHIP[] PROGMEM = "chip";
const char S_CODE[] PROGMEM = "code"; const char S_CODE[] PROGMEM = "code";
const char S_CONNECTED[] PROGMEM = "connected"; const char S_CONNECTED[] PROGMEM = "connected";
@@ -92,7 +91,7 @@ const char S_GPIO[] PROGMEM = "gpio";
const char S_HEAP[] PROGMEM = "heap"; const char S_HEAP[] PROGMEM = "heap";
const char S_HEATING[] PROGMEM = "heating"; const char S_HEATING[] PROGMEM = "heating";
const char S_HEATING_TO_CH2[] PROGMEM = "heatingToCh2"; const char S_HEATING_TO_CH2[] PROGMEM = "heatingToCh2";
const char S_HEATING_STATE_TO_SUMMER_WINTER_MODE[] PROGMEM = "heatingStateToSummerWinterMode"; const char S_HEATING_CH2_ENABLED[] PROGMEM = "heatingCh2Enabled";
const char S_HIDDEN[] PROGMEM = "hidden"; const char S_HIDDEN[] PROGMEM = "hidden";
const char S_HOME_ASSISTANT_DISCOVERY[] PROGMEM = "homeAssistantDiscovery"; const char S_HOME_ASSISTANT_DISCOVERY[] PROGMEM = "homeAssistantDiscovery";
const char S_HOSTNAME[] PROGMEM = "hostname"; const char S_HOSTNAME[] PROGMEM = "hostname";
@@ -118,7 +117,6 @@ const char S_MAX_FREE_BLOCK[] PROGMEM = "maxFreeBlock";
const char S_MAX_MODULATION[] PROGMEM = "maxModulation"; const char S_MAX_MODULATION[] PROGMEM = "maxModulation";
const char S_MAX_POWER[] PROGMEM = "maxPower"; const char S_MAX_POWER[] PROGMEM = "maxPower";
const char S_MAX_TEMP[] PROGMEM = "maxTemp"; const char S_MAX_TEMP[] PROGMEM = "maxTemp";
const char S_MAX_TEMP_SYNC_WITH_TARGET_TEMP[] PROGMEM = "maxTempSyncWithTargetTemp";
const char S_MEMBER_ID[] PROGMEM = "memberId"; const char S_MEMBER_ID[] PROGMEM = "memberId";
const char S_MIN[] PROGMEM = "min"; const char S_MIN[] PROGMEM = "min";
const char S_MIN_FREE[] PROGMEM = "minFree"; const char S_MIN_FREE[] PROGMEM = "minFree";

View File

@@ -382,13 +382,11 @@ void settingsToJson(const Settings& src, JsonVariant dst, bool safe = false) {
otOptions[FPSTR(S_DHW_SUPPORT)] = src.opentherm.options.dhwSupport; otOptions[FPSTR(S_DHW_SUPPORT)] = src.opentherm.options.dhwSupport;
otOptions[FPSTR(S_COOLING_SUPPORT)] = src.opentherm.options.coolingSupport; otOptions[FPSTR(S_COOLING_SUPPORT)] = src.opentherm.options.coolingSupport;
otOptions[FPSTR(S_SUMMER_WINTER_MODE)] = src.opentherm.options.summerWinterMode; otOptions[FPSTR(S_SUMMER_WINTER_MODE)] = src.opentherm.options.summerWinterMode;
otOptions[FPSTR(S_HEATING_STATE_TO_SUMMER_WINTER_MODE)] = src.opentherm.options.heatingStateToSummerWinterMode; otOptions[FPSTR(S_HEATING_CH2_ENABLED)] = src.opentherm.options.heatingCh2Enabled;
otOptions[FPSTR(S_CH2_ALWAYS_ENABLED)] = src.opentherm.options.ch2AlwaysEnabled;
otOptions[FPSTR(S_HEATING_TO_CH2)] = src.opentherm.options.heatingToCh2; otOptions[FPSTR(S_HEATING_TO_CH2)] = src.opentherm.options.heatingToCh2;
otOptions[FPSTR(S_DHW_TO_CH2)] = src.opentherm.options.dhwToCh2; otOptions[FPSTR(S_DHW_TO_CH2)] = src.opentherm.options.dhwToCh2;
otOptions[FPSTR(S_DHW_BLOCKING)] = src.opentherm.options.dhwBlocking; otOptions[FPSTR(S_DHW_BLOCKING)] = src.opentherm.options.dhwBlocking;
otOptions[FPSTR(S_MODULATION_SYNC_WITH_HEATING)] = src.opentherm.options.modulationSyncWithHeating; otOptions[FPSTR(S_MODULATION_SYNC_WITH_HEATING)] = src.opentherm.options.modulationSyncWithHeating;
otOptions[FPSTR(S_MAX_TEMP_SYNC_WITH_TARGET_TEMP)] = src.opentherm.options.maxTempSyncWithTargetTemp;
otOptions[FPSTR(S_GET_MIN_MAX_TEMP)] = src.opentherm.options.getMinMaxTemp; otOptions[FPSTR(S_GET_MIN_MAX_TEMP)] = src.opentherm.options.getMinMaxTemp;
otOptions[FPSTR(S_NATIVE_HEATING_CONTROL)] = src.opentherm.options.nativeHeatingControl; otOptions[FPSTR(S_NATIVE_HEATING_CONTROL)] = src.opentherm.options.nativeHeatingControl;
otOptions[FPSTR(S_IMMERGAS_FIX)] = src.opentherm.options.immergasFix; otOptions[FPSTR(S_IMMERGAS_FIX)] = src.opentherm.options.immergasFix;
@@ -750,22 +748,13 @@ bool jsonToSettings(const JsonVariantConst src, Settings& dst, bool safe = false
} }
} }
if (src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_HEATING_STATE_TO_SUMMER_WINTER_MODE)].is<bool>()) { if (src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_HEATING_CH2_ENABLED)].is<bool>()) {
bool value = src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_HEATING_STATE_TO_SUMMER_WINTER_MODE)].as<bool>(); bool value = src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_HEATING_CH2_ENABLED)].as<bool>();
if (value != dst.opentherm.options.heatingStateToSummerWinterMode) { if (value != dst.opentherm.options.heatingCh2Enabled) {
dst.opentherm.options.heatingStateToSummerWinterMode = value; dst.opentherm.options.heatingCh2Enabled = value;
changed = true;
}
}
if (src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_CH2_ALWAYS_ENABLED)].is<bool>()) { if (dst.opentherm.options.heatingCh2Enabled) {
bool value = src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_CH2_ALWAYS_ENABLED)].as<bool>();
if (value != dst.opentherm.options.ch2AlwaysEnabled) {
dst.opentherm.options.ch2AlwaysEnabled = value;
if (dst.opentherm.options.ch2AlwaysEnabled) {
dst.opentherm.options.heatingToCh2 = false; dst.opentherm.options.heatingToCh2 = false;
dst.opentherm.options.dhwToCh2 = false; dst.opentherm.options.dhwToCh2 = false;
} }
@@ -781,7 +770,7 @@ bool jsonToSettings(const JsonVariantConst src, Settings& dst, bool safe = false
dst.opentherm.options.heatingToCh2 = value; dst.opentherm.options.heatingToCh2 = value;
if (dst.opentherm.options.heatingToCh2) { if (dst.opentherm.options.heatingToCh2) {
dst.opentherm.options.ch2AlwaysEnabled = false; dst.opentherm.options.heatingCh2Enabled = false;
dst.opentherm.options.dhwToCh2 = false; dst.opentherm.options.dhwToCh2 = false;
} }
@@ -796,7 +785,7 @@ bool jsonToSettings(const JsonVariantConst src, Settings& dst, bool safe = false
dst.opentherm.options.dhwToCh2 = value; dst.opentherm.options.dhwToCh2 = value;
if (dst.opentherm.options.dhwToCh2) { if (dst.opentherm.options.dhwToCh2) {
dst.opentherm.options.ch2AlwaysEnabled = false; dst.opentherm.options.heatingCh2Enabled = false;
dst.opentherm.options.heatingToCh2 = false; dst.opentherm.options.heatingToCh2 = false;
} }
@@ -822,15 +811,6 @@ bool jsonToSettings(const JsonVariantConst src, Settings& dst, bool safe = false
} }
} }
if (src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_MAX_TEMP_SYNC_WITH_TARGET_TEMP)].is<bool>()) {
bool value = src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_MAX_TEMP_SYNC_WITH_TARGET_TEMP)].as<bool>();
if (value != dst.opentherm.options.maxTempSyncWithTargetTemp) {
dst.opentherm.options.maxTempSyncWithTargetTemp = value;
changed = true;
}
}
if (src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_GET_MIN_MAX_TEMP)].is<bool>()) { if (src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_GET_MIN_MAX_TEMP)].is<bool>()) {
bool value = src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_GET_MIN_MAX_TEMP)].as<bool>(); bool value = src[FPSTR(S_OPENTHERM)][FPSTR(S_OPTIONS)][FPSTR(S_GET_MIN_MAX_TEMP)].as<bool>();

View File

@@ -87,18 +87,6 @@
"turbo": "Turbo mode" "turbo": "Turbo mode"
}, },
"notify": {
"fault": {
"title": "Boiler Fault state is active!",
"note": "It is recommended to inspect the boiler and study the documentation to interpret the fault code:"
},
"diag": {
"title": "Boiler Diagnostic state is active!",
"note": "Perhaps your boiler needs inspection? It is recommended study the documentation to interpret the diag code:"
},
"reset": "Try reset"
},
"states": { "states": {
"mNetworkConnected": "Network connection", "mNetworkConnected": "Network connection",
"mMqttConnected": "MQTT connection", "mMqttConnected": "MQTT connection",
@@ -111,7 +99,7 @@
"sFlame": "Flame", "sFlame": "Flame",
"sCooling": "Cooling", "sCooling": "Cooling",
"sFaultActive": "Fault", "sFaultActive": "Fault",
"sFaultCode": "Fault code", "sFaultCode": "Faul code",
"sDiagActive": "Diagnostic", "sDiagActive": "Diagnostic",
"sDiagCode": "Diagnostic code", "sDiagCode": "Diagnostic code",
@@ -372,13 +360,11 @@
"dhwSupport": "DHW support", "dhwSupport": "DHW support",
"coolingSupport": "Cooling support", "coolingSupport": "Cooling support",
"summerWinterMode": "Summer/winter mode", "summerWinterMode": "Summer/winter mode",
"heatingStateToSummerWinterMode": "Heating state as summer/winter mode", "heatingCh2Enabled": "Heating CH2 always enabled",
"ch2AlwaysEnabled": "CH2 always enabled",
"heatingToCh2": "Duplicate heating to CH2", "heatingToCh2": "Duplicate heating to CH2",
"dhwToCh2": "Duplicate DHW to CH2", "dhwToCh2": "Duplicate DHW to CH2",
"dhwBlocking": "DHW blocking", "dhwBlocking": "DHW blocking",
"modulationSyncWithHeating": "Sync modulation with heating", "modulationSyncWithHeating": "Sync modulation with heating",
"maxTempSyncWithTargetTemp": "Sync max heating temp with target temp",
"getMinMaxTemp": "Get min/max temp from boiler", "getMinMaxTemp": "Get min/max temp from boiler",
"immergasFix": "Fix for Immergas boilers" "immergasFix": "Fix for Immergas boilers"
}, },

View File

@@ -87,18 +87,6 @@
"turbo": "Турбо" "turbo": "Турбо"
}, },
"notify": {
"fault": {
"title": "Состояние неисправности котла активно!",
"note": "Рекомендуется осмотреть котел и изучить документацию котла для расшифровки кода неисправности:"
},
"diag": {
"title": "Состояние диагностики котла активно!",
"note": "Возможно, вашему котлу требуется проверка? Рекомендуется изучить документацию котла для расшифровки кода диагностики:"
},
"reset": "Сбросить"
},
"states": { "states": {
"mNetworkConnected": "Подключение к сети", "mNetworkConnected": "Подключение к сети",
"mMqttConnected": "Подключение к MQTT", "mMqttConnected": "Подключение к MQTT",
@@ -193,7 +181,7 @@
"purpose": "Назначение", "purpose": "Назначение",
"purposes": { "purposes": {
"outdoorTemp": "Внешняя температура", "outdoorTemp": "Внешняя температура",
"indoorTemp": "Внутренняя температура", "indoorTemp": "Внутреняя температура",
"heatTemp": "Отопление, температура", "heatTemp": "Отопление, температура",
"heatRetTemp": "Отопление, температура обратки", "heatRetTemp": "Отопление, температура обратки",
"dhwTemp": "ГВС, температура", "dhwTemp": "ГВС, температура",
@@ -372,13 +360,11 @@
"dhwSupport": "Поддержка ГВС", "dhwSupport": "Поддержка ГВС",
"coolingSupport": "Поддержка охлаждения", "coolingSupport": "Поддержка охлаждения",
"summerWinterMode": "Летний/зимний режим", "summerWinterMode": "Летний/зимний режим",
"heatingStateToSummerWinterMode": "Летний/зимний режим в качестве состояния отопления", "heatingCh2Enabled": "Канал 2 отопления всегда вкл.",
"ch2AlwaysEnabled": "Канал 2 всегда вкл.",
"heatingToCh2": "Дублировать параметры отопления в канал 2", "heatingToCh2": "Дублировать параметры отопления в канал 2",
"dhwToCh2": "Дублировать параметры ГВС в канал 2", "dhwToCh2": "Дублировать параметры ГВС в канал 2",
"dhwBlocking": "DHW blocking", "dhwBlocking": "DHW blocking",
"modulationSyncWithHeating": "Синхронизировать модуляцию с отоплением", "modulationSyncWithHeating": "Синхронизировать модуляцию с отоплением",
"maxTempSyncWithTargetTemp": "Синхронизировать макс. темп. отопления с целевой темп.",
"getMinMaxTemp": "Получать мин. и макс. температуру от котла", "getMinMaxTemp": "Получать мин. и макс. температуру от котла",
"immergasFix": "Фикс для котлов Immergas" "immergasFix": "Фикс для котлов Immergas"
}, },

View File

@@ -71,36 +71,6 @@
</div> </div>
</div> </div>
</div> </div>
<div class="notify notify-error notify-fault hidden">
<div class="notify-icon">
<i class="icons-error"></i>
</div>
<div class="notify-content">
<b data-i18n>dashboard.notify.fault.title</b><br />
<small>
<span data-i18n>dashboard.notify.fault.note</span> <b class="sFaultCode"></b>
</small>
</div>
<div class="notify-actions">
<button class="reset" data-i18n>dashboard.notify.reset</button>
</div>
</div>
<div class="notify notify-alarm notify-diag hidden">
<div class="notify-icon">
<i class="icons-alarm"></i>
</div>
<div class="notify-content">
<b data-i18n>dashboard.notify.diag.title</b><br />
<small>
<span data-i18n>dashboard.notify.diag.note</span> <b class="sDiagCode"></b>
</small>
</div>
<div class="notify-actions">
<button class="reset" data-i18n>dashboard.notify.reset</button>
</div>
</div>
</details> </details>
<hr /> <hr />
@@ -388,60 +358,6 @@
newSettings.dhw.enabled = event.currentTarget.checked; newSettings.dhw.enabled = event.currentTarget.checked;
}); });
document.querySelector('.notify-fault .reset').addEventListener('click', async (event) => {
const resetBtn = document.querySelector(".notify-fault .reset");
if (!resetBtn.disabled) {
resetBtn.disabled = true;
}
let response = await fetch("/api/vars", {
method: "POST",
cache: "no-cache",
credentials: "include",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"actions": {
"resetFault": true
}
})
});
setTimeout(() => {
if (resetBtn.disabled) {
resetBtn.disabled = false;
}
}, 10000);
});
document.querySelector('.notify-diag .reset').addEventListener('click', async (event) => {
const resetBtn = document.querySelector(".notify-diag .reset");
if (!resetBtn.disabled) {
resetBtn.disabled = true;
}
let response = await fetch("/api/vars", {
method: "POST",
cache: "no-cache",
credentials: "include",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"actions": {
"resetDiagnostic": true
}
})
});
setTimeout(() => {
if (resetBtn.disabled) {
resetBtn.disabled = false;
}
}, 10000);
});
setTimeout(async function onLoadPage() { setTimeout(async function onLoadPage() {
let unitSystem = null; let unitSystem = null;
@@ -578,13 +494,6 @@
: "-" : "-"
); );
if (result.slave.fault.active) {
show(".notify-fault");
} else {
hide('.notify-fault');
}
setStatus( setStatus(
'.sDiagActive', '.sDiagActive',
result.slave.diag.active ? "success" : "error", result.slave.diag.active ? "success" : "error",
@@ -597,13 +506,6 @@
: "-" : "-"
); );
if (result.slave.diag.active) {
show(".notify-diag");
} else {
hide('.notify-diag');
}
// MASTER // MASTER
setState('.mHeatEnabled', result.master.heating.enabled); setState('.mHeatEnabled', result.master.heating.enabled);

View File

@@ -134,12 +134,12 @@
<div class="grid"> <div class="grid">
<label> <label>
<span data-i18n>sensors.correction.offset</span> <span data-i18n>sensors.correction.offset</span>
<input type="number" inputmode="decimal" name="offset" min="-20" max="20" step="0.01" required> <input type="number" inputmode="numeric" name="offset" min="-20" max="20" step="0.01" required>
</label> </label>
<label> <label>
<span data-i18n>sensors.correction.factor</span> <span data-i18n>sensors.correction.factor</span>
<input type="number" inputmode="decimal" name="factor" min="0.01" max="10" step="0.01" required> <input type="number" inputmode="numeric" name="factor" min="0.01" max="10" step="0.01" required>
</label> </label>
</div> </div>
</details> </details>
@@ -159,7 +159,7 @@
<label> <label>
<span data-i18n>sensors.filtering.factor.title</span> <span data-i18n>sensors.filtering.factor.title</span>
<input type="number" inputmode="decimal" name="filteringFactor" min="0.01" max="1" step="0.01"> <input type="number" inputmode="numeric" name="filteringFactor" min="0.01" max="1" step="0.01">
<small data-i18n>sensors.filtering.factor.note</small> <small data-i18n>sensors.filtering.factor.note</small>
</label> </label>
</div> </div>

View File

@@ -170,12 +170,12 @@
<div class="grid"> <div class="grid">
<label> <label>
<span data-i18n>settings.heating.hyst</span> <span data-i18n>settings.heating.hyst</span>
<input type="number" inputmode="decimal" name="heating[hysteresis]" min="0" max="5" step="0.05" required> <input type="number" inputmode="numeric" name="heating[hysteresis]" min="0" max="5" step="0.05" required>
</label> </label>
<label> <label>
<span data-i18n>settings.heating.turboFactor</span> <span data-i18n>settings.heating.turboFactor</span>
<input type="number" inputmode="decimal" name="heating[turboFactor]" min="1.5" max="10" step="0.1" required> <input type="number" inputmode="numeric" name="heating[turboFactor]" min="1.5" max="10" step="0.1" required>
</label> </label>
</div> </div>
@@ -254,17 +254,17 @@
<div class="grid"> <div class="grid">
<label> <label>
<span data-i18n>settings.equitherm.n</span> <span data-i18n>settings.equitherm.n</span>
<input type="number" inputmode="decimal" name="equitherm[n_factor]" min="0.001" max="10" step="0.001" required> <input type="number" inputmode="numeric" name="equitherm[n_factor]" min="0.001" max="10" step="0.001" required>
</label> </label>
<label> <label>
<span data-i18n>settings.equitherm.k</span> <span data-i18n>settings.equitherm.k</span>
<input type="number" inputmode="decimal" name="equitherm[k_factor]" min="0" max="10" step="0.01" required> <input type="number" inputmode="numeric" name="equitherm[k_factor]" min="0" max="10" step="0.01" required>
</label> </label>
<label> <label>
<span data-i18n>settings.equitherm.t.title</span> <span data-i18n>settings.equitherm.t.title</span>
<input type="number" inputmode="decimal" name="equitherm[t_factor]" min="0" max="10" step="0.01" required> <input type="number" inputmode="numeric" name="equitherm[t_factor]" min="0" max="10" step="0.01" required>
<small data-i18n>settings.equitherm.t.note</small> <small data-i18n>settings.equitherm.t.note</small>
</label> </label>
</div> </div>
@@ -291,17 +291,17 @@
<div class="grid"> <div class="grid">
<label> <label>
<span data-i18n>settings.pid.p</span> <span data-i18n>settings.pid.p</span>
<input type="number" inputmode="decimal" name="pid[p_factor]" min="0.1" max="1000" step="0.01" required> <input type="number" inputmode="numeric" name="pid[p_factor]" min="0.1" max="1000" step="0.01" required>
</label> </label>
<label> <label>
<span data-i18n>settings.pid.i</span> <span data-i18n>settings.pid.i</span>
<input type="number" inputmode="decimal" name="pid[i_factor]" min="0" max="100" step="0.0001" required> <input type="number" inputmode="numeric" name="pid[i_factor]" min="0" max="100" step="0.0001" required>
</label> </label>
<label> <label>
<span data-i18n>settings.pid.d</span> <span data-i18n>settings.pid.d</span>
<input type="number" inputmode="decimal" name="pid[d_factor]" min="0" max="100000" step="0.1" required> <input type="number" inputmode="numeric" name="pid[d_factor]" min="0" max="100000" step="0.1" required>
</label> </label>
</div> </div>
@@ -390,13 +390,13 @@
<div class="grid"> <div class="grid">
<label> <label>
<span data-i18n>settings.ot.minPower.title</span> <span data-i18n>settings.ot.minPower.title</span>
<input type="number" inputmode="decimal" name="opentherm[minPower]" min="0" max="1000" step="0.01"> <input type="number" inputmode="numeric" name="opentherm[minPower]" min="0" max="1000" step="0.1">
<small data-i18n>settings.ot.minPower.note</small> <small data-i18n>settings.ot.minPower.note</small>
</label> </label>
<label> <label>
<span data-i18n>settings.ot.maxPower.title</span> <span data-i18n>settings.ot.maxPower.title</span>
<input type="number" inputmode="decimal" name="opentherm[maxPower]" min="0" max="1000" step="0.01"> <input type="number" inputmode="numeric" name="opentherm[maxPower]" min="0" max="1000" step="0.1">
<small data-i18n>settings.ot.maxPower.note</small> <small data-i18n>settings.ot.maxPower.note</small>
</label> </label>
</div> </div>
@@ -420,13 +420,8 @@
</label> </label>
<label> <label>
<input type="checkbox" name="opentherm[options][heatingStateToSummerWinterMode]" value="true"> <input type="checkbox" name="opentherm[options][heatingCh2Enabled]" value="true">
<span data-i18n>settings.ot.options.heatingStateToSummerWinterMode</span> <span data-i18n>settings.ot.options.heatingCh2Enabled</span>
</label>
<label>
<input type="checkbox" name="opentherm[options][ch2AlwaysEnabled]" value="true">
<span data-i18n>settings.ot.options.ch2AlwaysEnabled</span>
</label> </label>
<label> <label>
@@ -449,11 +444,6 @@
<span data-i18n>settings.ot.options.modulationSyncWithHeating</span> <span data-i18n>settings.ot.options.modulationSyncWithHeating</span>
</label> </label>
<label>
<input type="checkbox" name="opentherm[options][maxTempSyncWithTargetTemp]" value="true">
<span data-i18n>settings.ot.options.maxTempSyncWithTargetTemp</span>
</label>
<label> <label>
<input type="checkbox" name="opentherm[options][getMinMaxTemp]" value="true"> <input type="checkbox" name="opentherm[options][getMinMaxTemp]" value="true">
<span data-i18n>settings.ot.options.getMinMaxTemp</span> <span data-i18n>settings.ot.options.getMinMaxTemp</span>
@@ -714,13 +704,11 @@
setCheckboxValue("[name='opentherm[options][dhwSupport]']", data.opentherm.options.dhwSupport); setCheckboxValue("[name='opentherm[options][dhwSupport]']", data.opentherm.options.dhwSupport);
setCheckboxValue("[name='opentherm[options][coolingSupport]']", data.opentherm.options.coolingSupport); setCheckboxValue("[name='opentherm[options][coolingSupport]']", data.opentherm.options.coolingSupport);
setCheckboxValue("[name='opentherm[options][summerWinterMode]']", data.opentherm.options.summerWinterMode); setCheckboxValue("[name='opentherm[options][summerWinterMode]']", data.opentherm.options.summerWinterMode);
setCheckboxValue("[name='opentherm[options][heatingStateToSummerWinterMode]']", data.opentherm.options.heatingStateToSummerWinterMode); setCheckboxValue("[name='opentherm[options][heatingCh2Enabled]']", data.opentherm.options.heatingCh2Enabled);
setCheckboxValue("[name='opentherm[options][ch2AlwaysEnabled]']", data.opentherm.options.ch2AlwaysEnabled);
setCheckboxValue("[name='opentherm[options][heatingToCh2]']", data.opentherm.options.heatingToCh2); setCheckboxValue("[name='opentherm[options][heatingToCh2]']", data.opentherm.options.heatingToCh2);
setCheckboxValue("[name='opentherm[options][dhwToCh2]']", data.opentherm.options.dhwToCh2); setCheckboxValue("[name='opentherm[options][dhwToCh2]']", data.opentherm.options.dhwToCh2);
setCheckboxValue("[name='opentherm[options][dhwBlocking]']", data.opentherm.options.dhwBlocking); setCheckboxValue("[name='opentherm[options][dhwBlocking]']", data.opentherm.options.dhwBlocking);
setCheckboxValue("[name='opentherm[options][modulationSyncWithHeating]']", data.opentherm.options.modulationSyncWithHeating); setCheckboxValue("[name='opentherm[options][modulationSyncWithHeating]']", data.opentherm.options.modulationSyncWithHeating);
setCheckboxValue("[name='opentherm[options][maxTempSyncWithTargetTemp]']", data.opentherm.options.maxTempSyncWithTargetTemp);
setCheckboxValue("[name='opentherm[options][getMinMaxTemp]']", data.opentherm.options.getMinMaxTemp); setCheckboxValue("[name='opentherm[options][getMinMaxTemp]']", data.opentherm.options.getMinMaxTemp);
setCheckboxValue("[name='opentherm[options][nativeHeatingControl]']", data.opentherm.options.nativeHeatingControl); setCheckboxValue("[name='opentherm[options][nativeHeatingControl]']", data.opentherm.options.nativeHeatingControl);
setCheckboxValue("[name='opentherm[options][immergasFix]']", data.opentherm.options.immergasFix); setCheckboxValue("[name='opentherm[options][immergasFix]']", data.opentherm.options.immergasFix);

View File

@@ -115,7 +115,6 @@ tr.network:hover {
font-family: var(--pico-font-family-monospace); font-family: var(--pico-font-family-monospace);
} }
.thermostat { .thermostat {
display: grid; display: grid;
grid-template-columns: 0.5fr 2fr 0.5fr; grid-template-columns: 0.5fr 2fr 0.5fr;
@@ -194,92 +193,6 @@ tr.network:hover {
margin: 1.25rem 0; margin: 1.25rem 0;
} }
@media (max-width: 575px) {
.notify {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 0.5fr;
gap: 0.5rem 0.5rem;
grid-template-areas:
"notify-content"
"notify-actions";
}
.notify-icon {
display: none;
}
.notify-content {
justify-self: center;
align-self: center;
grid-area: notify-content;
}
.notify-actions {
justify-self: center;
align-self: center;
grid-area: notify-actions;
}
}
@media (min-width: 576px) {
.notify {
display: grid;
grid-template-columns: 5rem 1fr 10rem;
grid-template-rows: 1fr;
gap: 0rem 0.5rem;
grid-auto-flow: row;
grid-template-areas:
"notify-icon notify-content notify-actions";
}
.notify-icon {
justify-self: center;
align-self: center;
grid-area: notify-icon;
}
.notify-content {
justify-self: center;
align-self: center;
grid-area: notify-content;
}
.notify-actions {
justify-self: center;
align-self: center;
grid-area: notify-actions;
}
}
.notify {
margin: 1rem;
padding: 0.5rem;
border: .25rem solid var(--pico-blockquote-border-color);
}
.notify-error {
border-color: var(--pico-form-element-invalid-border-color);
}
.notify-error .notify-icon {
color: var(--pico-form-element-invalid-border-color);
}
.notify-alarm {
border-color: #c89048;
}
.notify-alarm .notify-icon {
color: #c89048;
}
.notify-icon i {
font-size: 2.5rem;
}
[class*=" icons-"], [class*=" icons-"],
[class=icons], [class=icons],
[class^=icons-] { [class^=icons-] {