Fredrik Öhrström
7e6c57ad48
Added support for rtl_433 to decode wmbus radio signals.
2020-08-10 23:00:41 +02:00
Fredrik Öhrström
555cfa7466
Send SIGTERM to process group to properly dispatch background shell.
2020-08-10 20:22:58 +02:00
Fredrik Öhrström
a42e8c9a5f
Updated comment.
2020-08-09 17:05:55 +02:00
Fredrik Öhrström
c71c35f1cb
Send SIGTERM to pid instead of SIGINT to group.
2020-08-09 17:03:59 +02:00
Fredrik Öhrström
c12d0995b6
Support Waterstar M meter.
2020-07-30 12:19:54 +02:00
Fredrik Öhrström
8191f45888
Inital work to add alarms.
2020-07-30 11:18:44 +02:00
Fredrik Öhrström
0e08f83e45
Now handles partially encrypted AES CBC telegrams.
2020-07-09 14:51:28 +02:00
Fredrik Öhrström
e84eb18cfa
Added meter waterstarm.
2020-07-08 21:16:26 +02:00
Fredrik Öhrström
d8c68f94bc
Added support for lansen pulse counter.
2020-06-30 16:02:38 +02:00
Fredrik Öhrström
3a7931fd07
Added support for lansen door/window sensor.
2020-06-30 11:29:55 +02:00
Fredrik Öhrström
24a42cbadc
Improve logging when testing ttys.
2020-06-29 18:33:55 +02:00
Fredrik Öhrström
f3e2968833
Added reset of amb8465 to admin-tool.
2020-06-29 16:35:58 +02:00
Fredrik Öhrström
310406fddd
Added support for Lansen Smoke detector.
2020-06-22 10:44:47 +02:00
Fredrik Öhrström
7a55d21561
Fix for clang compiler.
2020-05-30 19:12:05 +02:00
Fredrik Öhrström
2565f766a9
More work in the admin tool.
2020-05-30 18:45:29 +02:00
Fredrik Öhrström
dec92e58a5
Added experimental support for older version of rfmtx1.
2020-05-30 09:47:39 +02:00
Fredrik Öhrström
0782557fb4
Fix bug that printed unnecessary warning for flowiq3100 meters.
2020-05-28 07:51:34 +02:00
Henry N
776287c011
amb8465: Find next start 0x44, after out of sync
...
Should fix problems in #116
2020-05-27 13:12:52 +02:00
Fredrik Öhrström
ff24b5d3e9
Avoid format truncation warning in recent g++.
2020-05-27 05:57:10 +02:00
Fredrik Öhrström
76d76d1276
Disable format-truncation warning that is somewhat flaky in gcc.
2020-05-26 09:34:17 +02:00
Damian Wrobel
6814ab35cd
Remove executable bit
...
Fixes the following warnings while building rpm package:
*** WARNING: ./usr/src/debug/wmbusmeters-0.9.31-2.fc33.x86_64/src/meter_izar.cc is executable but has no shebang, removing executable bit
*** WARNING: ./usr/src/debug/wmbusmeters-0.9.31-2.fc33.x86_64/src/meters.cc is executable but has no shebang, removing executable bit
*** WARNING: ./usr/src/debug/wmbusmeters-0.9.31-2.fc33.x86_64/src/meters_common_implementation.h is executable but has no shebang, removing executable bit
*** WARNING: ./usr/src/debug/wmbusmeters-0.9.31-2.fc33.x86_64/src/units.cc is executable but has no shebang, removing executable bit
*** WARNING: ./usr/src/debug/wmbusmeters-0.9.31-2.fc33.x86_64/src/units.h is executable but has no shebang, removing executable bit
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-25 22:12:33 +02:00
Fredrik Öhrström
950778d7bc
Detect out of sync data from amb8465.
2020-05-25 19:05:45 +02:00
Henry N
fddeab4841
amb8465: rx timeout to resync telegram ( #117 )
...
* rx timeout 2 sec in telegram
If the reader is out of sync, next meter start bytes will add to the rest of telegram before. Typically are 7 ms between two chunks of received data. If detected a delay of 2 seconds or more between the rx data, then assume it is the first block of new telegram.
This should fix the issue #116 .
2020-05-25 09:28:31 +02:00
Fredrik Öhrström
eab0e9f940
Build fix.
2020-05-11 12:19:50 +02:00
Fredrik Öhrström
3b96b8de9d
Remove compile warning.
2020-05-11 12:04:45 +02:00
Fredrik Öhrström
2cc26129b4
Fix build problems.
2020-05-11 11:59:47 +02:00
Fredrik Öhrström
20bc6c6a02
Add --selectfields=...
2020-05-09 23:46:07 +02:00
Fredrik Öhrström
4d9ede4d04
Fix OSX build.
2020-05-09 22:13:38 +02:00
Fredrik Öhrström
2c366bf6a7
Added prototype for wmbusmeters-admin.
2020-05-09 21:56:37 +02:00
Fredrik Öhrström
6fa1fa39ce
Merge remote-tracking branch 'origin/master' into AddAdminTool
2020-05-09 11:18:25 +02:00
Fredrik Öhrström
866e163d3b
Merge branch 'master' into HenryNe-patch-cs-print
2020-05-09 08:25:15 +02:00
Henry N
0159f4c449
amb8465: Print rssi after full command frame
...
Just to have the same order as before.
2020-05-08 22:20:10 +02:00
Henry N
585bec9e39
amb8465: Print checksum errors from responses
2020-05-08 22:11:26 +02:00
Henry N
8d283533c3
amb8465: Print rssi in dBm
2020-05-08 22:06:33 +02:00
Henry N
c229cb3d0f
amb8465: Update rssi from transparant data
...
Update rssi from transparent rx data.
Print rssi only after get an update of rssi (CMD_DATA_IND or transparent RX).
2020-05-08 22:02:22 +02:00
Henry N
60ddad6e1d
amb8465: Fix: RSSI is only in CMD_DATA_IND
...
Byte for rssi is only injected in responses from CMD_DATA_IND.
rssi is -2 bytes before end, because -1 byte is the CheckSum.
Fix calculation for frame_length.
frame_length = 1 byte start (0xFF) + 1 byte CMD (0x8A) + 1 byte len (0x7A) + payload_len + 0/1 byte RSSI + 1 byte Check Sum = 4 + payload_len.
PS: The old code was working, because rssi_expected_ was always true (1).
2020-05-08 21:56:20 +02:00
Henry N
b955c692d5
amb8465: Fix: Update config RSSI_Enable = false
...
Bugfix: Update local "rssi expected" to false, If RSSI is not set in config.
2020-05-08 21:38:09 +02:00
Henry N
a8f7517290
amb8465: Print config UART_CMD_OUT_ENABLE
2020-05-08 21:29:02 +02:00
Fredrik Öhrström
36e213e49a
Support comments (lines starting with #) in the conf and meter files.
2020-05-06 09:41:29 +02:00
Fredrik Öhrström
3edd661667
Add heuristic to apator162 decoding.
2020-04-30 09:15:01 +02:00
Erwan Martin
e9163063b8
Add the alarms to the IZAR meters.
2020-04-25 13:30:23 +02:00
Erwan Martin
85f18ae3b1
In the IZAR meter, add the remaining battery life of the module.
2020-04-22 22:38:40 +02:00
Erwan Martin
b967372c5b
In the IZAR meter, add the reported date when the second measurement was taken (the last billable period measure, i.e. the end of the month)
2020-04-22 22:09:48 +02:00
Erwan Martin
877e865f3c
Merge remote-tracking branch 'github/master' into add-freebsd-support
2020-04-21 18:34:20 +02:00
Erwan Martin
6f323b30e6
Add support for FreeBSD.
2020-04-21 18:07:46 +02:00
Fredrik Öhrström
315d7f02c8
Start working on admin tool.
2020-04-03 11:58:19 +02:00
Fredrik Öhrström
19905f100d
Add rfmtx1 stub.
2020-04-01 17:21:49 +02:00
Fredrik Öhrström
17cc575b87
Add support for extractin mfct data.
2020-04-01 17:21:11 +02:00
Fredrik Öhrström
bb1f03fd2a
Improve logging.
2020-03-28 19:29:58 +01:00
Fredrik Öhrström
1d8b070c67
The wmb13u dongle cannot be supported because it hangs.
2020-03-28 18:10:21 +01:00