tagyoureit / nodejs-poolController

An application to control pool equipment from various manufacturers.
GNU Affero General Public License v3.0
327 stars 97 forks source link

[BUG] Message aborted - unable to connect to #1047

Open christensonautohome opened 4 days ago

christensonautohome commented 4 days ago

nodejs-poolController Version/commit

8.0.5

nodejs-poolController-dashPanel Version/commit

8.0.0

relayEquipmentManager Version/commit

No response

Node Version

v18.20.4

Platform

Pi 3b+

RS485 Adapter

GearMo Mini USB to RS485

Are you using Docker?

OCP

No response

Pump(s)

EasyTouch2 8

Chlorinator(s)

iChlor IC30

What steps will reproduce the bug?

I'm unable to make any changes though the Pool Controller Dashboard but the dashboard does receive updates and shows correct data from the outside pool controller.

What happens?

If i select a feature or turn on/off the pool the button will turn yellow then I receive: Error:OutboundMessageError MessageMessage aborted after 4 attempt(s): 165,7,16,33,134,2,6,1,1,108 ApiError: Message aborted after 4 attempt(s): 165,7,16,33,134,2,6,1,1,108 at RS485Port.writeMessage (/home/pi/nodejs-poolController/controller/comms/Comms.ts:1013:31) at RS485Port.processWaitPacket (/home/pi/nodejs-poolController/controller/comms/Comms.ts:949:22) at RS485Port.processOutboundPackets (/home/pi/nodejs-poolController/controller/comms/Comms.ts:957:19) at RS485Port.processPackets (/home/pi/nodejs-poolController/controller/comms/Comms.ts:939:14) at Timeout. (/home/pi/nodejs-poolController/controller/comms/Comms.ts:992:52) at listOnTimeout (node:internal/timers:569:17) at processTimers (node:internal/timers:512:7)

What should have happened?

the button on the controller dashboard should have turned green if turning on or no color if turning off. However I get yellow then the error pops and the pool doesn't respond.

Additional information

I ran a test on the RS-485 adapter and receive the expected ffa5ff repetition so that seems to be working and I also receive information from the pool, just seems like commands are not going out to the pool.

christensonautohome commented 4 days ago

I've already ordered a new RS-485 adapter thinking that might be the issue but wasn't sure if this is an expected error encountered when a RS-485 adapter is failing.

tagyoureit commented 4 days ago

Did this just start with 8.0.5? Or does it also happen with the previous release? Nothing in this latest patch should affect that.

christensonautohome commented 3 days ago

No, I don't often control my pool, so I'm not sure when it might've started. I just recently updated to the latest release to see if that might fix the issue.

christensonautohome commented 2 days ago

I think it's boiling down to an issue with my R Pi 3B+; going to take some time two swap out for a new one and update when I've figured out the issue.