Comments (6)
If serial logger is blank, it’s not connecting / seeing anything on the RS485 network. Until you get something in the logger nothing will work.
First check you have USB connected, can you post output of ‘dmesg | grep USB’.
If that works and get something similar to the output listed in the wiki, try the serial logger with the -d option.
from aqualinkd.
Another command to check you get at least something from the RS485 / USB connection.
sudo -s eval 'stty raw -echo < /dev/ttyUSB0; cat -vte /dev/ttyUSB0
That should print a lot of junk, and maybe a few words, similar to this
^B^@^@^@^@^@^^^P^C^@^P^B^@^A^@^@^S^P^C^@^P^B$
^C^@ AIR TEMP 86M-_F d^P^C^@^P^B^@^A^@^@^S^P^C^@^P^B`^@r^P^C^P^B^H^B^@^@^@^@^@^\^P^C^@^P^B^@^A^@^@^S^P^C^P^B$
^B^@^@^@^@^@^^^P^C^@^P^B^@^A^@^@^S^P^C^@^P^B"^@4^P^C^P^B^H^B^@^@^@^@^@^\^P^C^@^P^B^@^A^@^@^S^P^C^P^B$
^B^@^@^@^@^@^^^P^C^@^P^B^@^A^@^@^S^P^C^@^P^B`^@r^P^C^P^B^H^B^@^@^@^@^@^\^P^C^@^P^B^@^A^@^@^S^P^C^P^B$
^B^@^@^@^@^@^^^P^C^@^P^B^@^A^@^@^S^P^C^@^P^B#^@5^P^C^P^B^H^B^@^@^@^@^@^\^P^C^@^P^B^@^A^@^@^S^P^C^P^B$
^B^@^@^@^@^@^^^P^C^@^P^B^@^A^@^@^S^P^C^@^P^B`^@r^P^C^P^B^H^B^@^@^@^@^@^\^P^C^@^P^B^@^A^@^@^S^P^C^P^B^H^C^@ PUMP OFF Z^P^C^@^P^B^@^A^@^@^S^P^C^P^B$
If you get nothing, then check USB2RS485 (the device itself, and that the PI knows it's there ) and then the wiring to control panel.
from aqualinkd.
pi@raspberrypi:~/software/AqualinkD $ dmesg | grep USB
[ 0.850267] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 0.871118] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.881013] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.921525] hub 1-0:1.0: USB hub found
[ 1.153749] usbhid: USB HID core driver
[ 1.386376] usb 1-1: new full-speed USB device number 2 using dwc_otg
[ 1.805846] usb 1-1: New USB device found, idVendor=0403, idProduct=6001
[ 1.805865] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.805873] usb 1-1: Product: FT232R USB UART
[ 15.368965] usbserial: USB Serial support registered for generic
[ 15.629387] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 15.629743] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
[ 15.663242] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
from aqualinkd.
So that's all good, Linux is recognising the USB adapter, and can see the serial chip in the adapter. Can you check you are seeing something on USB0 with the post above.
i.e run sudo -s eval 'stty raw -echo < /dev/ttyUSB0; cat -vte /dev/ttyUSB0
If that's blank, then check the wiring. If you are at a total loss, try reversing the A and B (Data+ and Data-) wires on the USB adapter. Reversing the polarity won't harm it. You may also have to dig up the appropriate manual for the control panel you have, as they have changed over the years / manufactures. Although searching google on your particular model# turns up the same images as used in the Wiki, so I'm fairly certain it's the two center wires on the red connection you want. (same as wiki)
from aqualinkd.
reversed the A and B and were good:
Notice: Logging serial information!
Please wait.Notice: ID's found
Notice: ID 0x10 is not used
Notice: ID 0x38 is in use
Notice: ID 0x50 is in use
Notice: ID 0x40 is in use
Notice: ID 0x11 is not used
Notice: ID 0x12 is not used
Notice: ID 0x13 is not used
Notice: ID 0x18 is not used
Notice: ID 0x19 is not used
Notice: ID 0x1a is not used
Notice: ID 0x1b is not used
Notice: ID 0x20 is not used
Notice: ID 0x21 is not used
Notice: ID 0x22 is not used
Notice: ID 0x23 is not used
Notice: ID 0x28 is not used
Notice: ID 0x29 is not used
Notice: ID 0x2a is not used
Notice: ID 0x2b is not used
Notice: ID 0x30 is not used
Notice: ID 0x31 is not used
Notice: ID 0x32 is not used
Notice: ID 0x33 is not used
Notice: ID 0x39 is not used
Notice: ID 0x3a is not used
Notice: ID 0x3b is not used
Notice: ID 0x48 is not used
Notice: ID 0x49 is not used
Notice: ID 0x4a is not used
Notice: ID 0x4b is not used
Notice: ID 0x51 is not used
Notice: ID 0x52 is not used
Notice: ID 0x53 is not used
Notice: ID 0x08 is not used <-- can use for Aqualinkd
Notice: ID 0x09 is not used <-- can use for Aqualinkd
Notice: ID 0x0a is not used <-- can use for Aqualinkd
Notice: ID 0x0b is not used <-- can use for Aqualinkd
Notice: ID 0x41 is not used
Notice: ID 0x42 is not used
Notice: ID 0x43 is not used
Notice: ID 0x00 is not used
Now a question? the RS panel has buttons on the right side:
Pool Mode
Spa Mode
Spa Drain
Spa Fill
where to these show and how to button them?
Thanks
from aqualinkd.
First two are fixed all others (8 in total) are configured in the config. Last part of the file. Let me know if the wiki doesn’t explain it well.
from aqualinkd.
Related Issues (20)
- Pool temp reads as extremely low even though panel shows correct temp HOT 5
- AqualinkD Preventing Aqualink from Setting Correct Light Color HOT 16
- Service failed "no such file or directory HOT 10
- AqualinkD Installation Risks to Current Home Setup HOT 4
- Hayward AquaRite utterly confused by AqualinkD HOT 27
- MQTT setup for aqualinkd HOT 4
- WebUI not rendering Watts HOT 6
- systemctl start fails. Command line works. HOT 7
- Pool Light Dimmer Web UI Confusing HOT 3
- Support Light Dimmer in Homebridge Plugin
- SWG percentage setting not working for PDA
- With raspberry pi 4 aqualinkd is responding too fast and panel may reset
- VSP control for Aqualinkd HOT 3
- Misconfigured Buttons. RS-8 Combo Panel HOT 4
- Getting wrong Temperature via MQTT but ok in web interface HOT 2
- Serial Packet Too Large - Read Bad Packet to 0x33 HOT 4
- AqualinkD Devices in MQTT for HASS?
- V2.3.4 make fails on bullseye - multiple definition of `_commands' HOT 6
- Support sharing same PDA ID between control panel and physical PDA HOT 1
- "Notes on Aqualink PDA only (non RS panels)" link goes nowhere HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aqualinkd.