[RELEASE] 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!

1 Like

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 :-).