[RELEASE] Hubitat WaterGuru Pool Integration

Anyone able to provide some guidance on how to run this docker on a Synology NAS using it's docker app?

@kevin9 - I don't use Synology, but I was able to install the dockerfile in Unraid. DOes Synology have a terminal you can use along with Docker installed? If so, I can send the steps I used to install the docker using the posted dockerfile. It is working up until that point for me, and I can see the json output. However, I am not able to pull that data into Hubitat for some reason.

@brianwilson - I am getting this error in the device. I've installed the package via HOM and walked through the driver and added the virtual app:

2023-05-19 11:18:56.098 PMerrorjava.lang.NullPointerException: Cannot invoke method updateStatus() on null object on line 49 (method refresh)

edit- figured it out- I didn't have the http:// in the driver app. It is working, and created a device automatically with the pool name from WaterGuru.

Nice work man! appreciate the integration!

I noticed it takes 6 or 7 seconds for the docker app to respond and this causes the hubitat app to timeout. Is there a way to change the socket timeout value?

NM figured it out. Added a timeout to the httpget request in sendCommand()

    uri:  settings.URL,
    path: path,
    timeout: 20,
    contentType: 'application/json',
    query: params

I just pushed an update that moved the timeout to 10 seconds.

Can the waterflow data in WaterGuru be used to signal that the pool level is low? I was going to use water sensors in my skimmer for this purpose but having testing capabilities is a nice additional feature to have.

If the flow is low or could mean skimmer is clogged, pump is too slow or level is low. I didn’t see anything specific to level in the json output.

I can ssh to my Synology, so if you can share your steps, I will give them a try. Thanks!

Please disregard.....I was finally able to get the container working and communicating with the API :-).

Edit: It was me- my server time was wrong. disregard below. Still working great! Was able to pull the data in to HA too. Thanks again!


Is anyone having an issue with this? I think it's on my end, but trying to confirm. I had an issue with the server running the docker. I get this message when trying to view the json:

{"message":"Signature expired: 20240512T215147Z is now earlier than 20240513T014651Z (20240513T015151Z - 5 min.)"}

This also works with the sense 2- able to pull in all the new measurements. Just removed the old one from the account and added the new one. Nothing else needed to be changed. Picked it right back up.

I know this is an old thread, but I just rehabbed the pool in the house we moved into, and I was looking for a monitor that I could use with Hubitat. Waterguru popped up, and then I found they released an API in December 2024.

It won't let me include a link, sorry. But just search Waterguru API and you should find it.

Would you be able to do anything with it?

Don’t see anything stating it was free. I’m pretty sure it’s only a partner thing ($$$$). Does this integration not work for you?

Hadn't tried it yet. Just saw the API release as I was researching and wondered if it was any kind of upgrade from what you already had, since it was after the most recent post. Pool is actually still filling as I type this. I'll probably give this a shot in the next couple of weeks or so.

Just converted this to a native Hubitat app; no Python or docker required.