A perl script to communication with a drs110m din rail power meter.
.gitignore | ||
iec1107.pm | ||
README.md | ||
test_drs110m.pl |
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 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.
Output example:
$ perl test_drs110m.pl
Meter: 1613300152
Voltage : 229.4 V
Active Power : 0 W
Temperature : 23 °C
Reactive Power : 0 VAr
Frequency : 50 Hz
Active Energy : 00000023 Wh
Apparent Power : 0 VA
Time : 2020-01-10 09:26:16
Current : 0 A
Meter: 1613300153
Voltage : 229.4 V
Active Power : 0 W
Reactive Power : 0 VAr
Temperature : 23 °C
Frequency : 50 Hz
Active Energy : 00000034 Wh
Apparent Power : 0 VA
Time : 2020-01-10 09:25:44
Current : 0 A