[SOLVED] Integration for SmartLink WiFi (SpaNET)

Can you elaborate on how to use mqtt with the v3 version? Thanks

Hi Ibsailn

You need to have the latest firmware on your V3 module and have the latest version of the mobile app.

Then under settings in the mobile app for the spa, you will see a place to enter the credentials for your MQTT broker.

After that, all the entities should appear in HA.

Cheers

Hey,
I have the latest firmware and can see the option to add MQTT, however when I add my server IP, user and password it keeps saying “MQTT not configured”.

I am using the mosquito add on and integration in Home Assistant.

Edit: Disregard I got it to work finally. The server name needs to be: mqtt://[Ip address]:port

My home assistant mqtt lists the server as “core-mosquitto” and port 1883. Username is homeassistant and password is a long string.

I can’t get the spanet app to connect though. I have tried mqtt://10.0.0.151:1883 as well as mqtt://core-mosquitto:1883 with and without the mqqt://

Any ideas what I am doing wrong? Do I need to use external fixed IP address?

I ended up having to create a new user and used that for mqtt broker… Then it worked, but I only get 6 entities, and spanet status is the only one remotely useful. Can I use the mqtt to control temp or such settings?

Yes. It may depend on your version of controller however. I am able to control everything including temperature, lights, pumps and modes.

When I enquired with Smartlink they sent me the attached file. It may help.





Thats nice. Does anyone know how to trigger the software update on the Spanet controller? I see in the API that my Controller has an update available

payload.information.systemInformation.firmwareUpdateAvailable: true

but I have no idea how to trigger that.

Received a guide from SpaNET Support on how to perform the update. Worked like a charm.

1 Like

Following this. I have V2 wifi module so no MQTT for me.

V2 allows remote operation with the SmartLink App so it should be possible to use the same API for Home Assistant also, at least in theory…

Do you need to do something on the spa control panel to put it in firmware update mode first? Looks like it scans for bluetooth devices.

Yeah I can’t work this out.

If I hold [Blower]-[Clean]-[Light] on the spa control pane I get into a service info menu. It shows:

  • Software Version V6 21 04 2021
  • Type SV3

Which is the same as what the app shows. I think I need a newer firmware version to get the MQTT setting in the app though? (v3.1?)

When I try the firmware update as above (log out from the app) it scans for bluetooth devices but the spa doesn’t show up. I think I need to press some key combo on the panel to get it to do this? (Have a gave feeling I had to do this before when they changed the app).

Update: Had to pull the entire thing apart, but looks like they stiffed me with a V2 also :confused: Going to contact them and see what’s possible.

Update: Support tell me that the V2 has limitations that means MQTT will never be supported. However they offered me a 1/2 price update to the V3. Going to order it after payday. Also asked if I can use power monitoring via MQTT but that’s a no-go. It only outputs the amps for the first phase (mine is connected via 3 phase)

1 Like

I wish Spanet would release documentation to their cloud API so that HA could integrate with the cloud just like the mobile app does, but this probably will also never happen. Support tells me that they can not share the API documentation publicly.

Thanks! I got stuck on this also.

The local MQTT option is better than cloud integration anyway.

True.

But MQTT requires upgrading to V3 which in turn requires €€€… Maybe later.

Did you get yours replaced already?

Yep. I emailed SpaLink (Australia) and they sold me a v3 (ESP32 based) for half price, which is about AU$200. Swapped it over and I have my v2 advertised on Facebook Marketplace for AU$180. (No takers yet though).

I’ve written a custom component for the new SpaNET v2 Cloud interface, more info here: Integration for SpaNET (SpaLINK) request - #19 by lloydw

In order to install it, use the following steps:

Requirements

This integration requires hardware that uses the SpaLink from SpaNET equipment.
I can confirm that it is working with v.2 of the SpaLink devices.

Installation

The easiest way to get going is to install this integration in Home Assistant using HACS as a Custom Repository. In the custom repository url use the following url https://github.com/lloydw/hass-spanet.

As an alternative you may install it manually by copying the contents of the custom_components folder to the config/custom_components directory of your Home Assistant installation.
A restart of Home Assistant is required after the download of the integration.

Proceed to Settings > Devices & Services > add Integration and select the SpaNET.