Bad address: /dev/ttyUSB0 #350
-
I have a RPI4 with the USB-RS485-WE-180 serial adapter. I have aqualinkd installed as a service following the docs. The process starts up fine and the web server runs fine. But it doesn't seem to connect to my panel. It doesn't throw any errors. It just sits and waits for connection. After trying so many things to get it to recognize the panel, I moved to try to understand the messages it is receiving from the serial adapter and finally got an error:
If I try to run any other command like:
The process holds forever and I have to kill the process with I am starting to think something is wrong with my serial adapter. It seems genuine. Oh, also here is the output from stty
Thank you for this software and any help you can provide. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The first time you ran it, you can see that /dev/ttyUSB0 wasn't available. So that was the problem. (USB2RS485 wasn't plugged in or had disconnected for some reason) Second time it didn't get anything on the serial port. Your stty output doesn't look correct, (but that could easily be a terminal issue). I'd say you probably have a wiring issue, check data+ / - are round the right way / you have good connections. |
Beta Was this translation helpful? Give feedback.
I had the data +/- flipped. I made a flawed assumption about which was wired to which. Funny, I disconnected and reconnected those wires so many times trying to trouble shoot and never once accidentally flipped them to the correct position.
Thank you for your help.