Fredrik Öhrström
3e56671bfc
User meter->getNumericValue instead of fi->getValueDouble.
2022-04-23 10:18:04 +02:00
Fredrik Öhrström
516ce2f8af
Remove more or less unused field_name in FieldInfo.
2022-04-23 08:20:22 +02:00
Fredrik Öhrström
63ddd9f69b
Add new setting of values in preparation for new meter implementations.
2022-04-22 17:28:57 +02:00
Fredrik Öhrström
b7be96e25b
Properly handle subunit in sharky driver.
2022-04-19 09:43:10 +02:00
Fredrik Öhrström
47c9b8c653
New driver model: foreach dventry test all field info matchers.
2022-04-19 09:10:14 +02:00
Fredrik Öhrström
11763b2f22
Refactor insert offset and key inside DVEntry add extractor methods to DVEntry.
2022-04-17 17:34:51 +02:00
Fredrik Öhrström
70a7078a57
Refactor.
2022-04-17 15:54:01 +02:00
Fredrik Öhrström
fc552d0566
Add easy to access ordering of telegram content.
2022-04-17 12:47:06 +02:00
Fredrik Öhrström
4abc31d75c
Refactor.
2022-04-17 11:23:45 +02:00
Fredrik Öhrström
29b5efef7c
Refactor.
2022-04-16 21:26:51 +02:00
Fredrik Öhrström
f058fb2501
Refactor.
2022-04-16 20:23:37 +02:00
Fredrik Öhrström
7e11dc8174
Refactor.
2022-04-16 18:15:30 +02:00
Fredrik Öhrström
e01500ea30
Refactor.
2022-04-16 17:47:20 +02:00
Fredrik Öhrström
cc89955004
Handle colons inside CMD(...) for a device.
2022-04-11 18:53:50 +02:00
Fredrik Öhrström
1feb9a2cb2
Improve c5isf driver.
2022-04-11 14:01:54 +02:00
Fredrik Öhrström
b9a0823c85
When analyzing, not supplying a driver is the same as supplying auto.
2022-03-27 22:17:28 +02:00
Fredrik Öhrström
368230c929
Improve analyze with forced driver.
2022-03-27 14:43:10 +02:00
Fredrik Öhrström
790f78a2bf
Give notification of old driver in analyze.
2022-03-27 12:09:18 +02:00
Fredrik Öhrström
97efb421d8
Add html option for analyze.
2022-03-06 22:42:44 +01:00
Fredrik Öhrström
3468bb9ffe
Can now fetch data from mbus piigth meter.
2022-02-17 19:59:51 +01:00
Fredrik Öhrström
d4e367aa48
Add search for AnyEnergyVIF and refactor sharky774 driver using this feature.
2022-02-17 09:44:06 +01:00
Fredrik Öhrström
05b987006f
Normalize copyright notices and add script for automatic extraction of copyrights.
2022-02-12 15:28:17 +01:00
Fredrik Öhrström
f89596d850
Add qwater driver and fix another bug in analyze.
2022-02-09 14:52:13 +01:00
Fredrik Öhrström
3547382184
Update CHANGES fix minor bug in analyze.
2022-02-09 14:30:06 +01:00
Fredrik Öhrström
fe936f5062
Merge pull request #473 from ottmi/master
...
Fix oneshot when more than one meter is defined but has not been started yet
2022-02-09 13:02:50 +01:00
Michael Ott
0386fdd2a0
Fix oneshot when more than one meter is defined but has not been started yet
2022-02-08 21:08:48 +00:00
Fredrik Öhrström
c1f3031a94
Fix bug with mode 7 encryption and some non-encrypted data at end of telegram.
2022-02-08 20:51:13 +01:00
Fredrik Öhrström
6823279b05
Significantly improve --analyze.
2022-02-06 18:49:55 +01:00
Fredrik Öhrström
cb794cae42
Improve extraction of readble strings like fabricatio no and enhanced id.
2022-02-06 11:21:15 +01:00
Fredrik Öhrström
349524d547
Improve analyze so that it tests more relevant drivers.
2022-01-25 21:21:17 +01:00
Fredrik Öhrström
c22e58f595
Add json to analyze output.
2022-01-25 20:42:46 +01:00
Fredrik Öhrström
19834d81d1
Added driver c5isf.
2022-01-25 20:10:38 +01:00
Fredrik Öhrström
6af3b53d70
Add support for Kelvin.
2022-01-13 15:06:53 +01:00
Fredrik Öhrström
b322838b59
Added mbus driver ultraheat.
2022-01-13 09:51:08 +01:00
Fredrik Öhrström
9c3d39710a
Add default msg for no bits in bits field.
2022-01-08 22:04:18 +01:00
Fredrik Öhrström
9356c9ad95
Refactor suprecom587 driver.
2022-01-08 18:52:06 +01:00
Fredrik Öhrström
8168e66d6a
Refactor aventieswm driver.
2022-01-08 15:50:15 +01:00
Fredrik Öhrström
e3e2941c32
Add new handling of meter drivers.
2022-01-08 09:58:33 +01:00
Fredrik Öhrström
1ba56609b5
Refactoring with the intent to make it easier to write drivers.
2022-01-02 13:08:36 +01:00
Fredrik Öhrström
d87663c826
Refactor by removing unnecessary c++ classes.
2021-12-31 16:47:29 +01:00
Fredrik Öhrström
40bc8bd908
Start refactoring by removing unnecessary c++ classes.
2021-12-31 12:27:57 +01:00
Fredrik Öhrström
ff654bdfa0
Add encrypted to type info when listening to all meters.
2021-12-27 14:30:54 +01:00
Fredrik Öhrström
b9bac60749
After analyzing and scoring the drivers decode using the selected driver.
2021-12-08 00:55:50 +01:00
Fredrik Öhrström
2ecb3e90d9
New function --analyze now works but is not yet complete.
2021-12-07 23:56:29 +01:00
Fredrik Öhrström
ae6e10a291
First step to implement --analyze.
2021-12-07 19:51:26 +01:00
zivillian
058b7bd3c5
fix typo
2021-10-05 22:16:31 +02:00
Fredrik Öhrström
61dbc60fa7
Added UniSmart gas meter driver.
2021-09-23 12:06:12 +02:00
Damian Wrobel
f6659accbb
Fix snprintf format argument
...
Fixes the following compilation error:
src/meters.cc: In member function
'virtual std::string MeterCommonImplementation::unixTimestampOfUpdate()':
src/meters.cc:407:35: warning: format '%zu' expects argument of type 'size_t',
but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=]
407 | snprintf(ut, sizeof(ut)-1, "%zu", datetime_of_update_);
| ~~^ ~~~~~~~~~~~~~~~~~~~
| | |
| | time_t {aka long int}
| unsigned int
| %lu
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.9tme28 (%build)
Bad exit status from /var/tmp/rpm-tmp.9tme28 (%build)
Child return code was: 1
2021-08-12 19:36:26 +02:00
Fredrik Öhrström
0f209edc97
Update README, CHANGES and man page.
2021-08-08 17:16:52 +02:00
Fredrik Öhrström
efbcafab9f
Add timestamp_utc timestamp_lt for explicit choice of date format for fields.
2021-08-08 16:50:25 +02:00