Skip to content

Install Guide

netmindz edited this page Jun 29, 2023 · 13 revisions

Parts List

Parts Notes

Best to use the new automatic RX/TX RS485 adapters rather than the older MAX485 RE/DE ones

As the controller board has multiple top panel connectors, we use our own. Do not try and use Y splitter

Technically we should NOT connect pins 2, 4 or 5 directly to the ESP, but it appears to be 5v tolerant. Previous use of a bi-directional level shifter causes too much of a delay, so was only suitable for read-only access

Wiring

160260243-c27b434c-71e8-42cb-9c65-6f359e59aed2

  • Pin1 - RS485 - B
  • Pin2 -
  • Pin3 - RS485 - A
  • Pin4 -
  • Pin5 - 5v digital pin - Panel Select
  • Pin6 - 9v connect to PSU +
  • Pin8 - GND connect to PSU- / PSU GND

NOTE: do NOT use the RX/TX pins on the ESP to connect to the RS485 adapter

diagram

Software

Install the "sensor" app from this repo. Note you will need to create wifi_secrets.h following the example content but with your own WiFi details

// *************************************************************************

#define SECRET_SSID "my-network"; /* Enter your SSID */

#define SECRET_PSK "my-wifi-passwords"; /* Enter your WPA2 passphrase */

// *************************************************************************

Testing

Watch the serial console to check the ESP boots correctly, look for the ip address the device has selected to use.

Then goto that address in the status page and see if any info about the spa status is shown, e.g temp, mode, status

Home assistant

Enter your MQTT connection detail into the code and deploy to the esp.

Define correct BROKER_ADDR also BROKER_USERNAME and BROKER_PASSWORD if your MQTT server uses authentication

You can use an app like MQTT Dash to confirm the messages from the spa.

Then go to Home Assistant, integration, MQTT then add device

Clone this wiki locally