Replies: 16 comments 14 replies
-
Aqualinkd supports lights that work by sending on/off pulses. I’ve not seen that type of light controller before, but every light I’ve come across works with on/off pulses. Aqualinkd can either tell the control panel to send the pulses (for control panels that support colored lights) or it can send the pulses itself so you can use colored lights on control panels that have no support. |
Beta Was this translation helpful? Give feedback.
-
The installation instructions indicate that you simply specify that the AUX (AUX2 in this case) is a dimmer, under System Setup -> Set Dimmers.
The dimmer does only support 4 brightness settings, 25%, 50%, 75%, 100%. The dimming slider in the iAqualink app moves in steps.
So, I’m not sure about sending pulses. I’d imagine that pulsing a relay would wear it out really fast.
Also, what do the LightMode settings do? I didn't see it in the documentation.
Thoughts?
…On May 5, 2022, 3:14 PM -0500, sfeakes ***@***.***>, wrote:
Aqualinkd supports lights that work by sending on/off pulses. I’ve not seen that type of light controller before, but every light I’ve come across works with on/off pulses. Aqualinkd can either tell the control panel to send the pulses (for control panels that support colored lights) or it can send the pulses itself so you can use colored lights on control panels that have no support.
I’ve never seen a dimmable single color light controller like the link. But I assume it works by sending it a series of on/off pulses. If that’s accurate than you might be able to simply change the aqualinkd config to the specific pulse timings of that light. But it’s never need tested to my knowledge and I have no way to test it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The on off pulse is simply to set the mode, it’s not like PWM where it’s a constant on/off at high rate to limit current or voltage. So no it doesn’t wear out the relay. |
Beta Was this translation helpful? Give feedback.
-
The below is from the manual, so yes it should work as it is controlled by pulse. But I don’t know anyone that has actually used that specific board with Aqualinkd. |
Beta Was this translation helpful? Give feedback.
-
Thanks for checking - I will play with the light programming. For now, it seems to remember the dim setting, so I can set it through the iAqualink app then use aqualinkd to simply turn it on and off.
If you using aqualinkd to control, then you probably lose the functionality to control dim settings through iAqualink, correct?
Jason
…On May 6, 2022, 11:34 AM -0500, sfeakes ***@***.***>, wrote:
The below is from the manual, so yes it should work as it is controlled by pulse. But I don’t know anyone that has actually used that specific board with Aqualinkd.
—————————-
Operation:The Controller signals the Light dimming Relay to turn 'fully on", "partially dimmed", or "completely off" by sending aspecific number of pulses in a set period of time to the Light Dimming Relay. The circuitry of the Light Dimming Relay(which requires 120 VAC to operate) then interprets the number and timing of pulses to determine whether the light shouldbe on, off, or dimmed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
No, you shouldn't loose any functionality by using AqualinkD to program the light. (iAqualink will still be able to program it) |
Beta Was this translation helpful? Give feedback.
-
You will need to read the light manual to get the specific of the pulse. then you will need to change the following to what the manual states. start with The wiki has the description of the above, but will be no good if you don’t get the information from the light manual on how long the initial on and off needs to be to put the light into programming mode. The files you mention will change how the UI displays the options. So the first in the list will be 1 pulse, second 2 pulses and so on. So if 1 pulse is 5% and 2 is 10% you will want a list like |
Beta Was this translation helpful? Give feedback.
-
The serial debugger will only read RS485. The control panel is pulsing the light relay directly, so their is no way the serial debugger will pick that up. You might want to look at the timings of the color lights from Jandy. I know pantair publishes the timings for color lights, and Jandy might do the same. If so you could try those. |
Beta Was this translation helpful? Give feedback.
-
When you change the value of the light from the control panel, do you see it flash? Also you can play with it and kind-a guess simply by turning it on/off manually. I had a look at parts / firmware / boards I have around and I can't even get anything to simulate / or even a control panel to think it's got anything like that light board. I went back to the manual, and found this
Do you have a standard keypad? if so what happens when you turn it on, wait a few seconds and press the button again, does it dim, or turn off? (if no keypad, set the light in aqualinkD to standard switch and use that) |
Beta Was this translation helpful? Give feedback.
-
I hooked it up to pulseview to see what it does. As a refresher, the dimmer supports 25%, 50%, 75%, 100%. From OFF: 25% - 2 pulses of 60ms per pulse, with a 8ms break between them 4 pulses, with 3ms break, 13ms break, 7ms break 6 pulses 2 pulses 1 pulse So, with this information, what do I enter in aqualinkd.conf for these entries? Assuming a tolerance of 5-15ms between pulses, would the value of light mode be 0.010 (to pick 10 ms?). How to I account for the fact that my steps are in sets of 2? That is, 25 % is two pulses, 50% is 4 pulses, etc. Finally, the behavior is different than colored lights - that is, they don't need to come on first and then be programmed. The number of initial pulses turns them on to the desired brightness. One pulse turns them off. I don't believe anything special has to happen to move up or. down in brightness. That is, I don't think it needs to turn off first or do a special sequence to turn on first. The brightness settings are in pairs and off is a single pulse. button_XX_lightmode=0.010 |
Beta Was this translation helpful? Give feedback.
-
Version 2.3.0c now supports dimmers. Light mode 6. So in aqualinkd config use something like the below.
|
Beta Was this translation helpful? Give feedback.
-
Further testing yielded user error. I see there is a new option in the UI for light runtime that did not previously exist. If you turn on the lights, you have to move it off of the default 0 or turning them on will not turn them on. It seems that 0 should correspond to 'no timer,' that is, always on. If you just click the tile (rather than long press), you don't know that this is an option and the tile will not work. Perhaps the light timer and the default duration could be configured in aqualinkd.conf? One other item of note, if you pick a dim setting, say 50% and 360 minutes, they will turn on at the appraise level, but you see the following error message in UI: Error: panl prog: light programmings didn't receive off message Then, how do you configure the homebridge plugin to see the light switch as a dimmer? |
Beta Was this translation helpful? Give feedback.
-
Seems like there may be an opportunity to make the UI more user friendly, I’ll take a look when I get the opportunity. Can’t for the next few weeks due to travel. Seems like what you are suggesting, is how I thought it was working, so there may be a bug in the UI. There is no option to program / set these in HomeKit. It only supports on/off for lights and switches, no timers, no light modes and no dimmers. |
Beta Was this translation helpful? Give feedback.
-
I think HomeKit does support dimmers, because I use them for other switches. I think you just have to expose a new type from the api so that your plugin knows it is dealing with a lightbulb, then you can use: https://developers.homebridge.io/#/service/Lightbulb
Even if on/off/dim were exposed through the homekit plugin, it could just use the default 0/no timer setting. In other words, just don’t expose the timer, but allow dimming.
Jason
…On Aug 7, 2023 at 6:12 AM -0500, sfeakes ***@***.***>, wrote:
Seems like there may be an opportunity to make the UI more user friendly, I’ll take a look when I get the opportunity. Can’t for the next few weeks due to travel. Seems like what you are suggesting, is how I thought it was working, so there may be a bug in the UI.
There is no option to program / set these in HomeKit. It only supports on/off for lights and switches, no timers, no light modes and no dimmers.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
HomeKit does support dimmers, but there are two problems here. I’m not sure you can set HomeKit to a 0/25/50/75/100 only option, you can set increments in things like thermostats, but not sure on dimmers, and having an increment or 25. Then I’ll also need to distinguish a different light type between regular light and dimmable light. Also it’s a lot more involved in the homebridge-AqualinkD code than simply exposing the api. It can be done, but will take some time. edit. I see my mistake. |
Beta Was this translation helpful? Give feedback.
-
The API would know the light mode (1-6), so it could reveal the light type: dimmable or not to the plugin. Even if homekit or homebridge did not support discrete brightness steps, it could snap-to any of those. Meaning, if I set the slider to 33%, home bridge would pass along 33% to the API, but the api could just set it to the next closest step. When the accessory polls for the current setting, it would correctly reflect 25 or 50, whatever was chosen. So I might pick 33 in the UI, but several seconds later it will correctly reflect the correct value. |
Beta Was this translation helpful? Give feedback.
-
I am wondering about LightMode= options in aqualinkd.conf for incandescent lights. What are the various options and what do they do?
Does aqualinkd support incandescent light dimmers, like this one?
Beta Was this translation helpful? Give feedback.
All reactions