16 Commits

Author SHA1 Message Date
Marko Oldenburg
8e78ccf8b5 read from file, push to fhem
add read sensor ids from file
add sensor data to fhem

you must create dummys in fhem in form of Meter_<SENSORID>
to run the script install perlmodul Tiny.pm
for debian apt install libtry-tiny-perl
2022-01-03 12:20:18 +01:00
Patrick Menschel
cc3e69d385 Refactor: Sequences for services
Some writing functions such as setting clock or
resetting the energy require a sequence, e.g.
log-in, write, log-off
to actually work.

Signed-off-by: Patrick Menschel <menschel.p@posteo.de>
2021-12-28 13:45:42 +01:00
Patrick Menschel
83bedbe48b Feat: Add time setting and energy reset
Signed-off-by: Patrick Menschel <menschel.p@posteo.de>
2021-12-28 12:24:02 +01:00
Patrick Menschel
66b3041f5b Feat: Use datetime for time conversion
drop dependency
Posix::strptime
in favor of
Datetime::Format::Strptime

Signed-off-by: Patrick Menschel <menschel.p@posteo.de>
2021-12-28 09:58:50 +01:00
Patrick Menschel
f67726828b fixed license format 2020-01-11 15:55:42 +01:00
Patrick Menschel
59b1031461 added gpl-v3 license and updated documentation 2020-01-10 17:55:37 +01:00
Patrick Menschel
3e17a525d8 added usage example to docs, some general cleanup 2020-01-10 17:42:09 +01:00
Patrick Menschel
ec26a52ba5 added data retrieval and some sanity checks 2020-01-10 09:33:12 +01:00
Patrick Menschel
748ce2abda update documentation 2020-01-09 14:31:08 +01:00
Patrick Menschel
44dd191cf0 changed to oop approach with perl module 2020-01-09 14:17:46 +01:00
Patrick Menschel
649d1bd82a added more structure according to LEARNING PERL 2020-01-07 22:29:35 +01:00
Patrick Menschel
5bbcadf4fc now using constants for better readability of frame contents 2019-12-30 19:37:32 +01:00
Patrick Menschel
95a1347654 simplified program structure, now it loops over a Register Map 2019-12-23 13:33:01 +01:00
Patrick Menschel
9b426e5321 initial commit 2019-12-22 16:39:16 +01:00
menschel
7e2a3f070f
Update README.md 2019-12-22 16:23:28 +01:00
menschel
de8c571133
Initial commit 2019-12-22 16:19:30 +01:00