When I use the SmartMeterP1 it works fine, I can read all the data.
But when I want to use the option to write to the database, it does connect bu then writes an error in the log and FHEM crashes.
The error is:
Undefined subroutine &main::myStr2Date called at ./FHEM/00_SmartMeterP1.pm line 228.
Can someone help me on this?
Hi,
what i got is, that the function myStr2Date is not found.
It is used in that SmartMeter Device/module, but it is defined somewhere else in FHEM. Did not looked into that, yet.
What I did not got is, when this error occurs to you?
Are you saying that everything is fine without the database usage for fhem.log. But when you switch to, db it fails?
Or is it working until you only receive the Smartmeter, but when you want to send someting to it, it actually fails?
Edit: Now I got it! This function is used, when you want to put the messured data to a db.
I asked the modul maintaner to look over your question !-)
Warm regards, Arnd
Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...
I will have a look today and let you know as soon as possible.
Regards, Michel.
Hi Michel,
Did you have any chance to have a look at this issue?