Apollon77/smartmeter-obis

smartmeter-obis error: Error: No or too long answer from Serial Device...

Closed this issue · 5 comments

I'm not sure if this is the right forum, however I hope somebody can help me to get data to node red from my smart electrical power meter.
I've issued already the problem here...
coolchip/node-red-contrib-smartmeter#28 (comment)

However, when I try to get data from the smartmeter I only receive the error massage
"smartmeter-obis error: Error: No or too long answer from Serial Device after last request."

What is wrong in my settings? Can anybody help?

Thanks and Regards!

Provide full debug level logging please. I have no idea how to activate that in node-red. Main question is if data are coming in or not at all and if coming in if settings are correct

Thanks for your response!

Also in the red node logging I receive only the above mentioned error massage (nothing else related to the serial port / smartmeter node).

Node Red Debugger:
2021_04_30_18_45_54_Window

Node Red Logging (5th line):
Error_log

I've checked the serial port via Minicom...
2021_04_30_18_38_25_Window

For me it looks some data coming but maybe I'm wrong.

Any hint for me what else can be checked?

Ok, I can only speak for the library: there is a loglevel that can be set to get more logs ... no idea how you can enable that in node-red-plugin.

Yes it seems that "some data" coming in there, but without a hey dump of it I can not say anything about if data lokks SML-ish or not

Ok, I will ask in the Node Red forum if it is possible to change the loglevel of the node

I've added a config parameter "debugging" to the node-red node. This enables everybode to put smartmeter-obis in debug mode. Then you are able to copy hex dumps.