Fredrik Öhrström
19263bcb46
Refactor ehzp and fix on_time_h bug.
2022-11-10 22:07:57 +01:00
Fredrik Öhrström
ab23cc4212
Test formulas.
2022-11-08 22:55:53 +01:00
Fredrik Öhrström
0184dfa88a
Add tests for cmdline.
2022-09-21 17:48:19 +02:00
Christian Speich
445aca6227
Keep environment in shell subprocesses
...
Currently we replace the environment of subprocesses with our own,
primarily only consisting of METER_* entries. Besides clearing
some very useful system dependent variables (like PATH, LDPATH, etc.)
with also prevent the user from passing environment variables to
invoked commands.
This patch will now copy the current environment and extends it with
the variables we want to set.
Signed-off-by: Christian Speich <christian@spei.ch>
2022-09-04 10:20:11 +02:00
Fredrik Öhrström
6823279b05
Significantly improve --analyze.
2022-02-06 18:49:55 +01:00
Fredrik Öhrström
86b7163aa1
Update CHANGES
2022-02-05 18:11:34 +01:00
Fredrik Öhrström
3252901466
It is now possible to combine --oneshot and --exitafter= with --useconfig=
2022-02-05 16:00:52 +01:00
Fredrik Öhrström
f04434f505
Add new test case for configurable electricity meters.
2022-02-03 15:40:59 +01:00
Fredrik Öhrström
70b7e51231
Fix listenvs/listfields for new driver format.
2022-01-27 11:36:26 +01:00
Fredrik Öhrström
b58d6cd710
Add ANYID as a synonum for '*' for the meter id. Helps when dealing with escaping.
2022-01-13 10:59:50 +01:00
Fredrik Öhrström
c15f68b57b
Add mbus test for sensostar.
2022-01-13 10:39:44 +01:00
Fredrik Öhrström
c72d98eb86
Retry test unix timestamp to handle spurious errors.
2022-01-08 15:55:53 +01:00
Fredrik Öhrström
e3e2941c32
Add new handling of meter drivers.
2022-01-08 09:58:33 +01:00
Fredrik Öhrström
9d4694d687
Fix bug where valid rtlwmbus telegrams were ignored when they came after a crc broken telegram. This bug did not tigger for the normal rtlsdr rtlwmbus usage. It triggered when piping an archive file with collected telegrams into wmbusmeters.
2021-12-29 18:53:54 +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
f7cb6ce2ee
Simulation file and hex on command line now auto-removes any valid dll-crcs found.
2021-11-08 20:12:31 +01:00
Fredrik Öhrström
a5694a1aab
Handle a NWL 0x81 ci-field, but does not understand it... yet.
2021-11-06 20:30:09 +01:00
Fredrik Öhrström
89cf1bad80
Parse and decode a hex string supplied as argument on command line.
2021-09-12 10:40:40 +02:00
Fredrik Öhrström
718cb8fe1b
Added test for meter extras in config file.
2021-08-27 08:45:37 +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
Fredrik Öhrström
2c83c51db1
Add field timestamp_ut for printing unix timestamp millis.
2021-08-01 18:24:19 +02:00
Fredrik Öhrström
797d9c3bdc
Added log timestamps test.
2021-03-13 09:08:17 +01:00
Fredrik Öhrström
14742c713e
Add regression test for yet another weird izar.
2021-02-07 08:27:01 +01:00
Fredrik Öhrström
5c5050f53f
Run additional tests if there are any.
2021-01-30 22:35:59 +01:00
Fredrik Öhrström
d50f13b240
Now properly handles different dll id and tpl id.
2021-01-30 17:58:00 +01:00
Fredrik Öhrström
8d8b1a2a9b
Added whe5x hca.
2021-01-26 17:17:29 +01:00
Fredrik Öhrström
6638e4f88f
Only print warning about failed decryption once.
2021-01-06 12:46:37 +01:00
Fredrik Öhrström
1f4083e6d0
Start eventloop after first detect of stdin device.
2020-11-11 21:44:50 +01:00
Fredrik Öhrström
3b86b00b96
Added --silent and test for stdin pipe close down.
2020-11-11 19:29:00 +01:00
Fredrik Öhrström
e73008ff65
Added another weird izar mfct,type,ver combo.
2020-11-11 17:29:20 +01:00
Fredrik Öhrström
ea530a7531
Added --ignoreduplicates
2020-10-25 20:57:25 +01:00
Fredrik Öhrström
0c2eb722d1
Now auto detects any number rtlwmbus devices.
2020-10-07 21:40:33 +02:00
Fredrik Öhrström
8cc2123df0
Improved logic for configuring wmbus devices. Many changes.
2020-10-04 22:52:05 +02:00
Fredrik Öhrström
6211348145
Try building debug on travis.
2020-09-18 21:37:59 +02:00
Fredrik Öhrström
891e3f4228
Alarm test work again.
2020-09-18 20:05:59 +02:00
Fredrik Öhrström
c1d6d36a6d
Improved --listfields=<meter_type>
2020-09-08 22:22:30 +02:00
Fredrik Öhrström
409ca51819
Updated --listenvs=<meter_type> and --listfields=<meter_type>
2020-09-08 22:11:32 +02:00
Fredrik Öhrström
c48ad8e368
Added driver detection from telegrams.
2020-09-04 11:31:49 +02:00
Fredrik Öhrström
4a3105e61e
Temporarily disable alarm test on macosx.
2020-08-19 11:16:23 +02:00
Fredrik Öhrström
5038753906
Add alarm functionality.
2020-08-01 21:56:46 +02:00
Fredrik Öhrström
20bc6c6a02
Add --selectfields=...
2020-05-09 23:46:07 +02:00
Erwan Martin
db4fe082e8
Use /bin/sh instead of /bin/bash to support systems that do not have bash.
2020-04-21 12:40:25 +02:00
weetmuts
edd523a64b
Added more guessing for the apator162.
2020-02-18 07:41:31 +01:00
weetmuts
468ba75267
Added testing of aes decryption.
2020-01-23 12:59:22 +01:00
weetmuts
cae1144283
Improved testing.
2019-11-03 22:00:18 +01:00
weetmuts
28d5495882
Added support for stdin and file.\n
2019-11-03 16:31:30 +01:00
weetmuts
7876804a0b
Add recovery when rawtty gets out of sync.
2019-10-28 22:10:29 +01:00
weetmuts
30543f6217
Added support for additional static json info.
2019-10-20 19:19:17 +02:00
weetmuts
ff32981c13
Added support for meters that might transmit using different link modes.
2019-06-06 17:28:20 +02:00
weetmuts
094fc86e07
Added support for meter shell override.
2019-05-21 14:19:54 +02:00