Open dadoadk opened 3 weeks ago
Without a connection to the Jandy control panel, AqualinkD can’t really do anything. So it’s failing since it can’t read the serial port /dev/ttyUSB0. Edit. So yes it needs a USB2RS485 dongle or something. That is in the first/second part of the wiki. https://github.com/sfeakes/AqualinkD/wiki#RS485
Ok, I understand now. Hopefully this can be available in future updates. Maybe a service could still be up and running to allow for a web page preview. With an event handler on a separate thread that listens to the [/dev/ttyUSB0]/[configurable] serial port and ticks every 200ms would offer a more logs and a more stable working unit.
Thank you and I appreciate the quick response.
That is how aqualinkd works, but since it gets the information for the UI from the panel itself, there isn’t really any information to show in the UI. Ie it has no idea is Pool Heater is on or off / what temp it’s set to or even if it exists and can change any setting on the heater. So you can actually catch Aqualinkd UI before it terminates itself, but the tiles are empty.
By that explanation I should be able to open my browser on localhost:80, or 192.168.86.xx:80 and see an empty page. However, now I'm seeing:
This site can’t be reached 192.168.86.xx took too long to respond.
I'll give it a try once I get the USB2RS485 dongle.
AqualinkD will start all the network interfaces, then open serial port and connect to panel. If it can’t open a serial port it will terminate, if it opens the serial port and doesn’t see or connect to a panel, it will terminate. If you connect to the web interface after it starts the web (& MQTT) services, and before it terminates, you will see a blank page. The time it takes to terminate after it’s started the network interfaces will depend on serial port being available, finding an RS485 adapter, seeing some data on that serial connection. It could terminate almost immediately or after a few seconds.
I've got it working. I was able to create a schedule, tested it out for a couple days. The communication with pump works great. I'm not getting lights to work, even lights on schedule don't turn on. Is there something I can do to troubleshoot the lights?
I was just tuning some tests, and it looks like there is a bug with color light and certain panel versions. So I'm assuming this is a color light. If so, I will post a fix as soon as I figure out the problem. For the moment, you can
Sorry I realize neither is optimal.
@dadoadk version 2.3.8 has a fix for color lights. Please make sure you have this line uncommented in the config 'rssa_device_id=0x48 '
@sfeakes the pool light works now. I followed your instructions, installed the new 2.3.8 version and changed the config. I've been testing it over the weekend with the scheduler. I'm not sure if the color can be changed from the UI. All colors turn on at the same time.
In the web UI a long button press on the tile will give you the option to program a different color.
Intro: I followed the steps in the Wiki to install
sudo ~/software/AqualinkD/release/install.sh
then I get some messages:
at this point I edit the cron file:
sudo nano /etc/default/cron
and enable the -l optionnow I can run the install:
sudo ~/software/AqualinkD/release/install.sh
and there are some messages about AqualinkD config exists, did not copy new config... and at last a message: Starting daemon aqualinkd
to get a better status I run the command:
sudo aqualinkd -d -c /etc/aqualinkd.conf
which leads me to the issue I'm having:
to confirm, I run the command
systemctl status aqualinkd.service
I seeActive: failed (Result: exit-code)
my questions:
I've read the Wiki document several times, and some expectations are that the AqualinkD service should be running before I get to plug it into my pool unit outside my house, but I'm maybe missing a point here. Please help me understand if I'm missing something.