Fixed a problem with regex when detecting more than one digits
and improved indentation
Chris committed
Jul 13, 2017 at 19:13 UTC
8ae4005cee62e4a0d4ab44f5ad2c105e469d3353
1 file changed
+33
-33
conf.d/node.d/stiebeleltron.conf.md
+33
-33
@@ -39,7 +39,7 @@ The charts are being generated using the configuration below. So if your install
39
"url": "http://machine.ip.or.dns/?s=1,0",
40
"update_every": 10,
41
"categories": [
42
- {
42
+ {
43
"id": "eletricreheating",
44
"name": "electric reheating",
45
"charts": [
@@ -108,7 +108,7 @@ The charts are being generated using the configuration below. So if your install
108
}
109
]
110
},
111
- {
111
+ {
112
"id": "heating",
113
"name": "heating",
114
"charts": [
@@ -218,11 +218,11 @@ The charts are being generated using the configuration below. So if your install
218
}
219
]
220
},
221
- {
221
+ {
222
"id": "hotwater",
223
"name": "hot water",
224
"charts": [
225
- {
225
+ {
226
"title": "Hot Water Temperature",
227
"id": "hotwatertemp",
228
"unit": "Celsius",
@@ -243,7 +243,7 @@ The charts are being generated using the configuration below. So if your install
243
}
244
]
245
},
246
- {
246
+ {
247
"id": "general",
248
"name": "general",
249
"charts": [
@@ -275,7 +275,7 @@ The charts are being generated using the configuration below. So if your install
275
}
276
]
277
},
278
- {
278
+ {
279
"title": "Heating Circuit Pressure",
280
"id": "heatingcircuit",
281
"unit": "bar",
@@ -285,12 +285,12 @@ The charts are being generated using the configuration below. So if your install
285
{
286
"name": "Heating Circuit",
287
"id": "heatingcircuit",
288
- "digits": 2,
289
- "regex": "PRESSURE HTG CIRC<\\\/td>\\s*<td.*>(-?[0-9]+,[0-9]+).*<\\\/td>"
288
+ "digits": 2,
289
+ "regex": "PRESSURE HTG CIRC<\\\/td>\\s*<td.*>(-?[0-9]+,[0-9]*).*<\\\/td>"
290
}
291
]
292
},
293
- {
293
+ {
294
"title": "Flow Rate",
295
"id": "flowrate",
296
"unit": "liters/min",
@@ -300,12 +300,12 @@ The charts are being generated using the configuration below. So if your install
300
{
301
"name": "Flow Rate",
302
"id": "flowrate",
303
- "digits": 2,
303
+ "digits": 2,
304
"regex": "FLOW RATE<\\\/td>\\s*<td.*>(-?[0-9]+,[0-9]+).*<\\\/td>"
305
}
306
]
307
},
308
- {
308
+ {
309
"title": "Output",
310
"id": "output",
311
"unit": "%",
@@ -317,7 +317,7 @@ The charts are being generated using the configuration below. So if your install
317
"id": "outputheatpump",
318
"regex": "OUTPUT HP<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]*).*<\\\/td>"
319
},
320
- {
320
+ {
321
"name": "Water Pump",
322
"id": "intpumprate",
323
"regex": "INT PUMP RATE<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]*).*<\\\/td>"
@@ -328,13 +328,13 @@ The charts are being generated using the configuration below. So if your install
328
}
329
]
330
},
331
- {
331
+ {
332
"name": "Heat Pump",
333
"id": "heatpump",
334
"url": "http://machine.ip.or.dns/?s=1,1",
335
"update_every": 10,
336
"categories": [
337
- {
337
+ {
338
"id": "runtime",
339
"name": "runtime",
340
"charts": [
@@ -348,16 +348,16 @@ The charts are being generated using the configuration below. So if your install
348
{
349
"name": "Heating",
350
"id": "heating",
351
- "regex": "RNT COMP 1 HEA<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]?)"
351
+ "regex": "RNT COMP 1 HEA<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]*)"
352
},
353
{
354
"name": "Hot Water",
355
"id" : "hotwater",
356
- "regex": "RNT COMP 1 DHW<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]?)"
356
+ "regex": "RNT COMP 1 DHW<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]*)"
357
}
358
]
359
},
360
- {
360
+ {
361
"title": "Reheating",
362
"id": "reheating",
363
"unit": "h",
@@ -367,18 +367,18 @@ The charts are being generated using the configuration below. So if your install
367
{
368
"name": "Reheating 1",
369
"id": "rh1",
370
- "regex": "BH 1<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]?)"
370
+ "regex": "BH 1<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]*)"
371
},
372
{
373
"name": "Reheating 2",
374
"id" : "rh2",
375
- "regex": "BH 2<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]?)"
375
+ "regex": "BH 2<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]*)"
376
}
377
]
378
}
379
]
380
},
381
- {
381
+ {
382
"id": "processdata",
383
"name": "process data",
384
"charts": [
@@ -392,13 +392,13 @@ The charts are being generated using the configuration below. So if your install
392
{
393
"name": "Timer",
394
"id": "timer",
395
- "regex": "COMP DLAY CNTR<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]?)"
395
+ "regex": "COMP DLAY CNTR<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]*)"
396
}
397
]
398
}
399
]
400
},
401
- {
401
+ {
402
"id": "energy",
403
"name": "energy",
404
"charts": [
@@ -412,18 +412,18 @@ The charts are being generated using the configuration below. So if your install
412
{
413
"name": "Heating",
414
"id": "heating",
415
- "digits": 3,
416
- "regex": "COMPRESSOR HEATING DAY<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]?)"
415
+ "digits": 3,
416
+ "regex": "COMPRESSOR HEATING DAY<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]*)"
417
},
418
- {
418
+ {
419
"name": "Hot Water",
420
"id": "hotwater",
421
- "digits": 3,
422
- "regex": "COMPRESSOR DHW DAY<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]?)"
421
+ "digits": 3,
422
+ "regex": "COMPRESSOR DHW DAY<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]*)"
423
}
424
]
425
},
426
- {
426
+ {
427
"title": "Compressor Total",
428
"id": "compressortotal",
429
"unit": "MWh",
@@ -433,14 +433,14 @@ The charts are being generated using the configuration below. So if your install
433
{
434
"name": "Heating",
435
"id": "heating",
436
- "digits": 3,
437
- "regex": "COMPRESSOR HEATING TOTAL<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]?)"
436
+ "digits": 3,
437
+ "regex": "COMPRESSOR HEATING TOTAL<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]*)"
438
},
439
- {
439
+ {
440
"name": "Hot Water",
441
"id": "hotwater",
442
- "digits": 3,
443
- "regex": "COMPRESSOR DHW TOTAL<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]?)"
442
+ "digits": 3,
443
+ "regex": "COMPRESSOR DHW TOTAL<\\\/td>\\s*<td.*>(-?[0-9]+,?[0-9]*)"
444
}
445
]
446
}