Fredrik Öhrström
d8e7be70c4
A single rtlwmbus now works.
2020-10-05 19:47:58 +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
f777f71d51
Add missing source files.
2020-09-27 19:55:39 +02:00
Fredrik Öhrström
0b41ade5d0
Use apt/brew for librtlsdr dependency.
2020-09-27 19:52:09 +02:00
Fredrik Öhrström
f5ff15af2c
Use librtlsdr to detect rtl-sdr dongle.
2020-09-27 19:40:05 +02:00
Fredrik Öhrström
3552282e8f
Added tracing of semaphore.
2020-09-27 12:05:08 +02:00
Fredrik Öhrström
69af4f462f
Add errno.h for macosx build.
2020-09-27 11:44:24 +02:00
Fredrik Öhrström
ef59dad7cd
Replaced sem_post/sem_wait with pthread_cond_signal_timedwait
2020-09-27 11:35:57 +02:00
Fredrik Öhrström
cddfaecebb
Standardize the remaining battery life to years.
2020-09-27 11:17:21 +02:00
Fredrik Öhrström
701c6041ac
Added support for new version of Hydrus meter.
2020-09-27 11:01:36 +02:00
Fredrik Öhrström
d443fd4ea2
Add partial support for RC1180.
2020-09-26 13:52:24 +02:00
Fredrik Öhrström
e4f9eb23db
Extract multical603 total kwh properly.
2020-09-26 09:14:26 +02:00
Fredrik Öhrström
08362c7571
Merge pull request #168 from elbaek89/master
...
Multical 603 support (work in progress)
2020-09-26 08:45:47 +02:00
Fredrik Öhrström
eb89c7b31d
Moved waitForResponse into common implementation.
2020-09-26 00:10:34 +02:00
Fredrik Öhrström
7e07af03e7
Added resetafter, regular reset.
2020-09-25 23:56:50 +02:00
Fredrik Öhrström
7c361ce9ac
Removed reopenafter.
2020-09-25 22:34:35 +02:00
Fredrik Öhrström
8568437635
Partially removed reopenafter.
2020-09-25 22:27:34 +02:00
Fredrik Öhrström
de24888b4e
Moved listenTo/onDissapear to common implementation.
2020-09-25 21:58:09 +02:00
Fredrik Öhrström
467d15845a
Moved command_wait into common implementation for wmbus devices.
2020-09-25 21:47:21 +02:00
Fredrik Öhrström
371a3c3cf1
Stop early if listening mode is set for auto and no meters.
2020-09-25 21:35:17 +02:00
Fredrik Öhrström
6ecd278656
Properly resets wmbus dongle on alarm.
2020-09-25 21:16:20 +02:00
Fredrik Öhrström
787abf383f
Updated man page.
2020-09-25 20:01:16 +02:00
Fredrik Öhrström
a66baaaf4b
Install now uses uucp if dialout does not exist.
2020-09-25 19:46:13 +02:00
Fredrik Öhrström
0e076fce24
Print id for ignored telegrams when verbose logging.
2020-09-25 19:14:34 +02:00
Fredrik Öhrström
27bda218fb
Do not select on non-opened file descriptors.
2020-09-25 18:40:14 +02:00
Fredrik Öhrström
5fe7789e3b
Remove unused bus variable.
2020-09-25 18:13:43 +02:00
Fredrik Öhrström
bf053685c8
Interrupt the select at the proper time when a new file descriptor is added.
2020-09-25 18:08:41 +02:00
Fredrik Öhrström
5ac2bdd37a
Now properly reads all data from child-process that has exited.
2020-09-25 17:34:47 +02:00
Fredrik Öhrström
1022a24799
Non-working implies opened first.
2020-09-25 17:02:42 +02:00
Fredrik Öhrström
0d9d856b6a
Make a distinction between not yet opened and not working serial devices.
2020-09-25 16:38:40 +02:00
Fredrik Öhrström
ecd60045d9
Merge
2020-09-25 15:37:34 +02:00
elbaek89
8bf405fc97
Create simulation_multical603.txt
2020-09-25 13:50:45 +02:00
elbaek89
e39e2a9d3f
multical 603 listed as work in progress
2020-09-25 10:14:38 +02:00
Fredrik Öhrström
0485f60195
Merge pull request #167 from Skeen/master
...
Add support for the Gavazzi EM24
2020-09-25 08:47:51 +02:00
Emil Madsen
db7acae6cd
Added Apparent Power to interface and meter
2020-09-24 21:23:06 +02:00
Emil Madsen
65ad8f624c
Add support for the Gavazzi EM24
2020-09-24 19:49:45 +02:00
elbaek89
781b0af144
added extractDVuint32 (copy of extractDVuint24)
2020-09-24 13:29:25 +02:00
elbaek89
ee445f37e0
added extractDVuint32
2020-09-24 13:10:34 +02:00
elbaek89
30623d33d6
Added multical603
2020-09-23 08:41:37 +02:00
elbaek89
926cfa85c2
Added meter_multical603.o to METER_OBJS
2020-09-23 08:39:38 +02:00
elbaek89
2e99eaa2ec
Added multical 603 to meter model identification
2020-09-23 08:37:48 +02:00
elbaek89
25e945f955
Added multical 603
...
Meter detection entries based on the following telegram header obtained by using wmbusmeters -listento=c1 *
Received telegram from: 80363608
manufacturer: (KAM) Kamstrup Energi (0x2c2d)
device type: Heat meter (0x04)
device ver: 0x35
device driver: unknown!
2020-09-23 08:35:28 +02:00
elbaek89
f840f96314
Added multical 603 meter file
...
v1 copy of meter_multical403.cc with 403 replaced with 603 everywhere.
2020-09-23 08:31:18 +02:00
Fredrik Öhrström
09821cf389
Rewrote locking from scratch switch to shared_ptr.
2020-09-21 21:55:21 +02:00
Fredrik Öhrström
1578cb9838
Log more at alarm test.
2020-09-18 21:48:47 +02:00
Fredrik Öhrström
6211348145
Try building debug on travis.
2020-09-18 21:37:59 +02:00
Fredrik Öhrström
94790e7be6
Debug test
2020-09-18 21:30:52 +02:00
Fredrik Öhrström
71ef2b2784
Improved locking.
2020-09-18 21:22:08 +02:00
Fredrik Öhrström
891e3f4228
Alarm test work again.
2020-09-18 20:05:59 +02:00
Fredrik Öhrström
802e62cbbd
Now logging defaults to stderr.
2020-09-13 16:55:22 +02:00