From 748ce2abda68e2da403865c16999f5ab9e56cf3b Mon Sep 17 00:00:00 2001 From: Patrick Menschel Date: Thu, 9 Jan 2020 14:31:08 +0100 Subject: [PATCH] update documentation --- README.md | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 11f9b38..ff58d32 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,35 @@ # drs110m_perl -A perl script to communication with a drs110m din rail power meter similar to my -[pyehz](https://github.com/menschel/pyehz) project. This is considered a pre-step for -integration in FHEM OBIS Module. -Use and Copy as you wish. +A perl module with an object oriented approach for iec1107 (at least I think it is) compliant communication with a DRS110M din rail power meter similar to my [pyehz](https://github.com/menschel/pyehz) project. +This is considered a pre-step for integration in FHEM OBIS Module. +Use and Copy as you wish. Maybe this module will mature enough to be uploaded to CPAN. + +# What works and what not +The module iec1107 can be used with a pre-defined serial port, a device serial number and a device password. +The basic functions have been tested. There is work to do with sanity checks and data retrieval. +Currently the module just prints out what it reads from the meter, basically for debug purposes. + + +# Output example: +``` +$ perl test_drs110m.pl +Meter: 1613300152 + Active Energy : 00000023 Wh + Current : 0 A + Reactive Power : 0 VAr + Frequency : 49.9 Hz + Voltage : 228.6 V + Active Power : 0 W + Apparent Power : 0 VA + Time : 2020-01-09 14:22:09 + Temperature : 32 °C +Meter: 1613300153 + Active Energy : 00000034 Wh + Current : 0 A + Reactive Power : 0 VAr + Frequency : 49.9 Hz + Voltage : 228.8 V + Active Power : 0 W + Apparent Power : 0 VA + Time : 2020-01-09 14:21:37 + Temperature : 31 °C +```