NodeRenogy icon indicating copy to clipboard operation
NodeRenogy copied to clipboard

TransactionTimedOutError

Open rizalafif opened this issue 2 years ago • 7 comments

Hi , Anyone have this kind of error? pi@renogyrover:~ $ node-renogy -s /dev/ttyUSB0 -m 192.168.0.11 -u mqtt -p mqttpasswd [1658487181379] INFO (9450 on renogyrover): Starting NodeRenogy... [1658487181402] INFO (9450 on renogyrover): Connected to controller! [1658487181909] ERROR (TransactionTimedOutError/9450 on renogyrover): message: "Timed out" errno: "ETIMEDOUT"

Is it the cable? I am running this on raspbian with Renogy Rover 20A

rizalafif avatar Jul 22 '22 11:07 rizalafif

I get the same; I know it is not the cable because I can talk to it over: https://github.com/rosswarren/renogymodbus

SP410 avatar Jul 27 '22 02:07 SP410

I have the same Error. I will try renogymodbus

Fibdorius avatar Aug 19 '22 13:08 Fibdorius

I have the same error. Has anyone found an answer please?

Joe13183 avatar Sep 25 '22 10:09 Joe13183

Is there any update on this one, as I get the same error.

marcuslib avatar Jul 17 '23 12:07 marcuslib

It's an exception from the modbus-serial dependency, raised because a connection to the serial device couldn't be established here: https://github.com/sophienyaa/NodeRenogy/blob/58de92db156c0314c8813d0ce01eb5e7272d8aa1/renogy.js#L188

The line above that has a hard-coded timeout of 500ms, which you might tinker with to see if an increased value might help.

In my case, after trying rosswarren/renogymodbus and getting "No communication with the instrument (no answer)", it appears that my serial connection isn't working at all 😞.

MaffooClock avatar Aug 07 '23 13:08 MaffooClock

I tried to tinker with that timeout but never got it working. I went back to the rosswarren/renogymodbus and amended to read all data sets and send to MQTT in home assistant. Took awhile and still needs tidying up but basically works. Shame this one doesn't work for whatever reason

Joe13183 avatar Aug 15 '23 23:08 Joe13183

How much did you bump the timeout by? Also, confirm the modbus address of your device as it seems some of them differ from the default.

sophienyaa avatar Sep 03 '23 17:09 sophienyaa