rstrouse / relayEquipmentManager

A hardware controller for GPIO, I2c, SPI, and generic devices.
GNU General Public License v3.0
38 stars 19 forks source link

RS485 isn't responding properly. #36

Closed spifftek70 closed 2 years ago

spifftek70 commented 2 years ago

Take a look at the images below. I believe I have all the settings correct, but Send status is 100% failing with 0 packets received. It was working fine until... it stopped.

Screen Shot 2022-09-10 at 5 34 36 PM Screen Shot 2022-09-10 at 5 36 11 PM
│ njsPC > [9/10/2022, 5:20:57 PM] warn: Message aborted after 2 attempt(s): 165,0,96,33,4,1,255,2,42                                                                                                   │
│ njsPC > [9/10/2022, 5:20:57 PM] error: Error sending setPumpToRemoteControl for Pool Pump: Message aborted after 2 attempt(s): 165,0,96,33,4,1,255,2,42                                              │
│ njsPC > [9/10/2022, 5:20:58 PM] warn: Inactivity timeout for 0 serial port /dev/ttyS0 after 10 seconds                                                                                               │
│ njsPC > [9/10/2022, 5:20:58 PM] info: Serial Port 0 has been closed 0:                                                                                                                               │
│ njsPC > [9/10/2022, 5:20:58 PM] info: Successfully closed 0 serial port /dev/ttyS0                                                                                                                   │
│ njsPC > [9/10/2022, 5:20:58 PM] info: Serial port: /dev/ttyS0 request to open successful 9600b 8-none-1                                                                                              │
│ njsPC > [9/10/2022, 5:20:59 PM] warn: Inactivity timeout for 1 serial port /dev/ttyUSB0 after 10 seconds                                                                                             │
│ njsPC > [9/10/2022, 5:20:59 PM] error: Error opening port 1: Error: No such file or directory, cannot open /dev/ttyUSB0. Retry in 10 seconds                                                         │
│ njsPC > [9/10/2022, 5:21:01 PM] warn: Message aborted after 2 attempt(s): 165,0,96,33,6,1,4,1,49                                                                                                     │
│ njsPC > [9/10/2022, 5:21:01 PM] error: Error sending setDriveState for Pool Pump : Message aborted after 2 attempt(s): 165,0,96,33,6,1,4,1,49                                                        │
│ njsPC > [9/10/2022, 5:21:05 PM] warn: Message aborted after 3 attempt(s): 165,0,96,33,7,0,1,45                                                                                                       │
│ njsPC > [9/10/2022, 5:21:05 PM] error: Error sending requestPumpStatus for Pool Pump: Message aborted after 3 attempt(s): 165,0,96,33,7,0,1,45                                                       │
│ njsPC > [9/10/2022, 5:21:07 PM] warn: Message aborted after 2 attempt(s): 165,0,96,33,4,1,255,2,42                                                                                                   │
│ njsPC > [9/10/2022, 5:21:07 PM] error: Error sending setPumpToRemoteControl for Pool Pump: Message aborted after 2 attempt(s): 165,0,96,33,4,1,255,2,42                                              │
│ njsPC > [9/10/2022, 5:21:08 PM] warn: Inactivity timeout for 0 serial port /dev/ttyS0 after 10 seconds                                                                                               │
│ njsPC > [9/10/2022, 5:21:08 PM] info: Serial Port 0 has been closed 0: