cupshir / homebridge-aqua-connect-lite

A Homebridge plugin that exposes limited functionality of Aqua Connect to Homekit.
GNU General Public License v3.0
4 stars 3 forks source link

Two feature requests - temps and exclusions #4

Open ifeign opened 1 year ago

ifeign commented 1 year ago

Hi, firstly thank you so much for this! What you’ve done so far works great.

What I’d love to have is the pool and air temp probes exposed to HomeKit as sensors, I was able to do this with a similar Home Assistant setup, but I much prefer the simplicity of Homebridge.

Secondly, my pool system doesn’t use Aux1, would it be possible to add a way to exclude items?

cupshir commented 1 year ago

I can definitely add functionality to exclude devices.

The challenge I was running into with reading the temperature is that it is only available while the filter is running. Not sure if that is a limitation of my equipment or if I haven't found the correct way of polling the temp. After I complete the exclusion functionality, I will make another attempt at temperature.

ifeign commented 1 year ago

Let me share how the home assistant integration polls the temperature, it’s actually elegantly simple. It pulls the temps from this url: http://xxx.xxx.xx.xx/WNewSt.htm

Source: https://github.com/amscanne/aqua-connect-local

On Fri, Dec 9, 2022 at 11:43 AM Christopher Upshir @.***> wrote:

I can definitely add functionality to exclude devices.

The challenge I was running into with reading the temperature is that it is only available while the filter is running. Not sure if that is a limitation of my equipment or if I haven't found the correct way of polling the temp. After I complete the exclusion functionality, I will make another attempt at temperature.

— Reply to this email directly, view it on GitHub https://github.com/cupshir/homebridge-aqua-connect-lite/issues/4#issuecomment-1344585145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWLHYEFVMAIAVEPXD6IJT3WMNVSRANCNFSM6AAAAAASZM23HM . You are receiving this because you authored the thread.Message ID: @.***>

cupshir commented 1 year ago

That url returns what the digital screen on the controller is currently displaying. The temps are only displayed on the digital screen while the filter is on.

I can add this, just know that if the filter is off, the temps that show in Homekit will be from when the filter last ran.

ifeign commented 1 year ago

Oh I see. I guess since my filter is always on, I’ve never noticed the temps not updating

On Fri, Dec 9, 2022 at 11:59 AM Christopher Upshir @.***> wrote:

That url returns what the digital screen on the controller is currently displaying. The temps are only displayed on the digital screen while the filter is on.

I can add this, just know that if the filter is off, the temps that show in Homekit will be from when the filter last ran.

— Reply to this email directly, view it on GitHub https://github.com/cupshir/homebridge-aqua-connect-lite/issues/4#issuecomment-1344601343, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWLHYDDHM7ZXFHEFAPGVG3WMNXRPANCNFSM6AAAAAASZM23HM . You are receiving this because you authored the thread.Message ID: @.***>

cupshir commented 1 year ago

I pushed out an update that adds functionality to exclude accessories. Ill keep this open until either I add pool and air temp or if I determine I cant add it.

ifeign commented 1 year ago

I pushed out an update that adds functionality to exclude accessories. Ill keep this open until either I add pool and air temp or if I determine I cant add it.

Awesome! I'll give it a try right now.

Edit: It works great, thank you so much! Hopefully you can get the temps working, otherwise I'll just expose those through the HASS integration.

I'm very curious as to how you're going to expose the pump as mentioned in the readme. Mine is two-stage so a switch wouldn't work. I wonder if an air filter accessory would work (I don't think there's a water filter), since they have adjustable speeds... or maybe a faucet accessory?

ifeign commented 1 year ago

I've been messing with the Home Assistant equivalent of this and I think a simple solution for the filter would be this:

It's not perfect, a two-level air purifier or faucet accessory would be nicer (maybe even an irrigation controller with two "valves?"), but that's more complex based on how primitive the Hayward web server is

homebridge-fun commented 1 year ago

Just adding a bit more info from my system in case it helps on this front:

Temps: confirming that my system also does not show temp in that window when the filter is off - but showing last temp seems like a good trade- off - that is what the hayward app seems to do as well.

Filter: May I am just confused by the above example, but my system does not have any single press to get a speed adjustment. My filter button is a simple on off. The speed is controlled though the interface that requires the arrows.

Speeds are generally controlled by change between programmed presets, Speed 1, Speed2, etc. If the filter is already running, to change from Speed 1 to Speed 2, for instance, you can go through the menu (with a fair number of clicks.

Alternatively, at filter start-up, it resumes to the speed preset that is scheduled for that time of day - at this point, you have a few seconds to change to another present with simple plus/minus button presses. So if I turn on the pump and it should be at Speed2 at this time of day, I can quickly press the minus button once and it will override the schedule and change the speed to Speed1.

These presets are also configurable, but it requires going through the menu to change those presets.

Maybe there is a command through the web interface to directly go to a specific speed present - if there is I couldn't find it.

Hope this is descriptive enough - happy to answer any questions if needed.

tswire commented 1 year ago

I can definitely add functionality to exclude devices.

The challenge I was running into with reading the temperature is that it is only available while the filter is running. Not sure if that is a limitation of my equipment or if I haven't found the correct way of polling the temp. After I complete the exclusion functionality, I will make another attempt at temperature.

Any luck? Your plug-in is working great for lights, turning on my slide and waterfall with aux 1 and 2. Would love to see temp and other functions if possible!! Let me know how it’s coming along

cupshir commented 1 year ago

I had made some progress on temps, but got side tracked working out the Spa / Heater functionality. Hopefully it will be sooner than later.

tswire commented 1 year ago

I had made some progress on temps, but got side tracked working out the Spa / Heater functionality. Hopefully it will be sooner than later.

Awesome. Looking forward to it.

tswire commented 1 year ago

I had made some progress on temps, but got side tracked working out the Spa / Heater functionality. Hopefully it will be sooner than later.

Hey there. Any update?

cupshir commented 1 year ago

Sorry for delayed response. Work has been zapping up all my brain power, unfortunately I havent made any forward progress on this plugin.

tswire commented 1 year ago

Sorry for delayed response. Work has been zapping up all my brain power, unfortunately I havent made any forward progress on this plugin.

No problem. We all appreciate the work. Keep us posted if anything needs testing.

ifeign commented 8 months ago

@cupshir hey, I know you’re a busy guy, but I was wondering if you’ve made any progress on this plugin?