yes sir...
@SuperDupe Not finding that function being called anywhere except through a manual button push, doesn't need to be there anymore anyway. I have updated the driver to remove that to see if it fixes it.
@mike10 Ok, cool... I'll update and watch... Weird it only showed up a few times and that was about a week ago when I upgraded the hub...
@mike10 Hey Mike thanks so much for this driver its been awesome! I have one question for you. No matter what i have tried to do the pool status will not auto update (even when enabled to do so) Right now its Dec 9th and the parent device for checking into iaqualink shows dec 1st so my temps are way off. I would like it to auto update like every hour or so. What am i missing?
@jacobson262 - I had the same issue when installed it 6 months ago or so. I looked at the code and the update routines are in the right place yet status does not update. I was too lazy to debug at the time so ended up creating a rule in rule-machine - to do basically:
- Every 5 minutes between 8AM - 10PM (the hours I am running the pool)
- Do update() on IAqualink - you get to this method through the run custom action method in RM
Took a total of 3 minutes to do and works like a charm for ~6 months now - hope this helps...
Do you mind elaborating on your rule? I'm trying to find the custom attribute you are referring to...
Awesome, thanks! I was missing the switch part and looking for something else in capability... Got it now... I'll try it out and see how it works. I have outside lighting and other devices connected to the iAquaLink system so I'm going to run it 24/7... My complaint with the lack up updating is more to do with the lighting not showing the correct status. I bet this will fix that... Thanks again!
That's awesome - thanks for the help!
long time lurker, first time poster
big fan of the driver and use it successfully via google assistant and wall switches. Now I want to include some functionality into a wall mounted tabled via dashboards and run into some issues.
-
Spa mode: On the iaqua app I have a 'Onetouch' button Spa mode, that switches on the spa pump (actually changes the valves to spa mode), the spa heater and the filter pump. 'Onetouch' buttons dont seem to be available via the driver, so I tried creating a group in HE containing the 3 devices and switch that on and off. That does not work though, the actual devices do not change state. A workaround is to have all 3 devices on my dashboard and switch them on/off manually. I think I could either dive deeper into dashboard tools to see how I can switch 3 devices with one button, or try to play around with groups. any advice?
-
LEDs: I have RGB pool lights. I can change the color scheme via 'color for light' in the device preferences (actually the app has 14 different options, the device preference say 1-12, not sure why). But how can I change the colors on the dashboard? I tried setting the lights as LED but that doesn't work. attributes doesn't seem to be the right way either. any hint appreciated.
rules machine...
Just bought a house that has an AquaLink. The only control is a "AquaLink RS4" wall unit. I assume I need some kind of AquaLink interface/app before installing the Hubitat code. Totally comfortable with the Hubitat pieces, but I'm new to pools generally and AquaLink specifically, so would appreciate any noob pointers to get started. TIA....
Two options:
- Get an iaqualink interface to your wall controller - it's a simple one wire unit that acts as a gateway between your RS4 and the Jandy cloud servers / internet. Once this is hooked up you can use the likes of this Hubitat driver integration.
OR
- Lookup iAqualinkd Homebridge - which would guide you through how to put together an RS485 interface between your wall panel and a raspberry pi and the software to interface the two and from there you get homekit control and MQTT messaging you can then interface back to Hubitat.
@marco_t Added a child device for controlling OneTouch buttons. Done some basic testing let me know if it works for you.
hi, updated parent to 'Pool Aqualink Parent v1.0.8 (driver)'. Set 'Enable OneTouch' to on. the child device does not show up. have this error in the log
dev:1342021-01-25 10:04:12.336 am errorcom.hubitat.app.exception.UnknownDeviceTypeException: Device type 'Pool Aqualink Child OneTouch' in namespace 'aqualink' not found on line 138 (updated)
hope that helps
dev:1342021-01-25 11:09:51.221 am errorcom.hubitat.app.exception.UnknownDeviceTypeException: Device type 'Pool Aqualink Child OneTouch' in namespace 'aqualink' not found on line 138 (updated)
dev:1342021-01-25 11:09:51.174 am infoAll OFF
dev:1342021-01-25 11:09:51.171 am info{message=, onetouch_screen=[{status=Online}, {response=AQU='71','03 01 02 03 00 07 41 6C 6C 20 4F 46 46 00 0C 47 45 54 20 53 50 41 20 52 45 41 44 00 0A 43 6C 65 61 6E 20 4D 6F 64 65'}, {onetouch_1=[{status=1}, {state=0}, {label=All OFF}]}, {onetouch_2=[{status=1}, {state=0}, {label=GET SPA READ}]}, {onetouch_3=[{status=1}, {state=0}, {label=Clean Mode}]}, {onetouch_4=[{status=0}, {state=0}, {label=ONETOUCH 4}]}, {onetouch_5=[{status=0}, {state=0}, {label=ONETOUCH 5}]}, {onetouch_6=[{status=0}, {state=0}, {label=ONETOUCH 6}]}]}
@marco_t. You need to add the additional optional driver for one touch via hpm
that did it. thanks. works like a charm, thanks! I'll play around with it some more. only weird thing, got an error message in the log:
dev:3002021-01-25 04:46:01.497 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_aqualink_Pool_Aqualink_Child_OneTouch_540.initialize() is applicable for argument types: () values: Possible solutions: installed() on line 24 (installed)
Doesn't seem to affect the functionality though
looked into using RM to change the LED colors. Commands for the 'light child device' are off, on and update. 'Color for light' can be changed via preferences. I checked and it seems like this can be done via RM: ' RM--and any app--can't change something that is just exposed as a preference.'
Not sure if that post from the forum is correct. Any hint on how I could change the 'color for light' preference via RM action (or another way) ?
Yes, the 'hack-ish' way would be:
Add the following code line to the parent driver as line # 23:
command "OperateColorLightParent", ["String", "String"]
Then in RuleMachine you can create a rule on the parent iAqualink device as follows:
- Trigger: Whatever you want it to be
- Action Type: Switch
- Action Device: iAqualink (the parent device)
- Action: Run Custom Command
- Custom Command: OperateColorLightParent
- Parameter1 Type: String
- Parameter1 Value: Device Number (look at your pool lights device number it would show something like XX-Y' as the number (I.e. 52-4) - the device number for the pool lights would then be the 'Y' or in this example 4
- Parameter2 Type: String
- Parameter2 Value: The color index you are looking for
You can do the same for the Spa Lights device if it is a separate light on your setup
Sorry for the complicated instructions as it is a quick hack and the actual preference could be exposed as an attribute with associated set commands in the child device driver to solve this more elegantly should @mike10 have the time and wishes to do so. I may also be able to push an update to Mike if/when I find some spare time which may be some time from now...
Hope this helps you out...