Fredrik Öhrström
acaf159f33
Check if installed netcat is the right version. Skip nc tests if not.
2023-05-08 20:09:40 +02:00
Fredrik Öhrström
fa725020e3
Improve error message when formula constant number lacks a unit.
2023-04-18 13:56:23 +02:00
George Hopkins
d338de8101
Propagate timestamps from rtlwmbus
2023-01-03 11:46:00 +01:00
Fredrik Öhrström
c2e1127caa
Add utc format to formula parser. Test date conversions to from utc.
2022-12-31 11:38:28 +01:00
Fredrik Öhrström
0439a45e20
Only run the netcat tests if nc is installed.
2022-12-29 15:49:14 +01:00
Fredrik Öhrström
45b06ead75
Add more netcat tests for hex and rawtty. Disable test for apple.
2022-12-25 20:48:27 +01:00
Fredrik Öhrström
405d005cb5
Add test of netcat feeding wmbusmeters.
2022-12-25 20:23:41 +01:00
Fredrik Öhrström
b9f756e5e9
Add m3ch unit for power based on m3c.
2022-12-12 17:41:22 +01:00
Fredrik Öhrström
bccee1a170
Removed --addconversions=GJ replaced with --calculate_total_gj=total_kwh
2022-11-23 18:42:59 +01:00
Fredrik Öhrström
d831d9cc87
Calculated formula now uses the specified unit! Prepare more tests.
2022-11-23 11:54:19 +01:00
Fredrik Öhrström
f650577ea2
Preparing tests for sorted json output keys.
2022-11-23 11:54:19 +01:00
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