Autor Thema: unknown subroutine error in 00_SmartMeterP1  (Gelesen 336 mal)

Offline questionmark

  • Newbie
  • Beiträge: 2
unknown subroutine error in 00_SmartMeterP1
« am: 25 August 2017, 22:35:34 »
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?


Offline RaspiLED

  • Hero Member
  • *****
  • Beiträge: 1119
  • Es begann alles so klein ;-)
Antw:unknown subroutine error in 00_SmartMeterP1
« Antwort #1 am: 25 August 2017, 23:26:13 »
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, ...
« Letzte Änderung: 25 August 2017, 23:53:49 von RaspiLED »
Raspberry Pi mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, WifiLight2, Bravia, ...

Offline fhemmiv

  • New Member
  • *
  • Beiträge: 10
Antw:unknown subroutine error in 00_SmartMeterP1
« Antwort #2 am: 26 August 2017, 09:51:39 »
I will have a look today and let you know as soon as possible.
Regards, Michel.
Gefällt mir Gefällt mir x 1 Liste anzeigen

Offline questionmark

  • Newbie
  • Beiträge: 2
Antw:unknown subroutine error in 00_SmartMeterP1
« Antwort #3 am: 01 Oktober 2017, 17:17:26 »
Hi Michel,

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


 

decade-submarginal