coolchip / node-red-contrib-smartmeter

Node to provide data from smartmeters
MIT License
11 stars 8 forks source link

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

Closed JE3001 closed 2 years ago

JE3001 commented 3 years ago

I've tried to read my electrical smart meter with node red via the contrib-smartmeter node. The node outputs the following error massage: "smartmeter-obis error: Error: No or too long answer from Serial Device after last request."

I've checked the IR interface with Minicom and got some cryptic inputs (see attached screen shot) Minicom Serial_Settings

, so my assumption is that the interface works fine. I've also attached the settings of the node, node red version, etc. NodeRed_Version Smartmeter-Node-Settings

I use following HW:

Can anybody help here.

P1Rebo commented 2 years ago

Hi @coolchip, I had this up and running 2 years ago, it was doing pretty fine but needed to cancel the installation. As I tried to install everything a RPI4 + newest Node Red docker image I'm getting the same error.

Thanks for your help, P1Rebo

coolchip commented 2 years ago

@JE3001 I've added a config parameter "debugging" in v0.6.0. This enables you to put smartmeter-obis in debug mode. You are then able to send HEX output to the smartmeter-obis maintainer Apollon77.

coolchip commented 2 years ago

@P1Rebo Please also use debug mode and ask Apollon77.

Graefer commented 2 years ago

Anything new concerning this topic? I get these messages, too.

coolchip commented 2 years ago

Sorry. I cannot you help with this. I only use the lib from Apollon77. For me the node is still working fine and delivers me the data from my smart meter. I use Node v12.x and Node-RED 2.1.3.

If you get "No or too long answer" then enable debugging and post your HEX data. If no hex data is received check your signal source. If you use Node-RED in a Docker container be sure the docker container can use the hardware ressource (IR Reader) from your host.

Graefer commented 2 years ago

I could solve the problem by changing the USB plug to another port of the Pi. Strange...

coolchip commented 2 years ago

Fine. I also had curious problems for a very long time with several usb to serial converters. Changing the power source from my SBC does the trick. Since I use the new one the problems are gone.