added gpl-v3 license and updated documentation

This commit is contained in:
Patrick Menschel 2020-01-10 17:55:37 +01:00
parent 3e17a525d8
commit 59b1031461
2 changed files with 21 additions and 5 deletions

16
LICENSE.txt Normal file
View File

@ -0,0 +1,16 @@
drs110m_perl - iec1107 interface
Copyright (C) 2020 Patrick Menschel
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

View File

@ -1,13 +1,13 @@
# drs110m_perl
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. Some special functions
Maybe this module will mature enough to be uploaded to CPAN.
# Usage example:
Define a serial port with setting 9600@7E1.
Define a new iec1107 device with the port reference.
Since there are usually multiple devices on RS-485 a single device can't set up the port.
```
use iec1107;#include the module