unknown subroutine error in 00_SmartMeterP1

Begonnen von questionmark, 25 August 2017, 22:35:34

Vorheriges Thema - Nächstes Thema

questionmark

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?


RaspiLED

#1
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, ...
Raspberry Pi mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, WifiLight2, Bravia, ...

fhemmiv

I will have a look today and let you know as soon as possible.
Regards, Michel.

questionmark

Hi Michel,

Did you have any chance to have a look at this issue?