Home.md

Welcome to the balboa_GL_ML_spa_control wiki!

Message Format

Install Guide

Install-Guide.md

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

  • 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

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

Message-Format.md

See: https://github.com/netmindz/balboa_GL_ML_spa_control/discussions/3

Pin 5

Pin 5 goes low one port on the controller at a time, when it's time for that specific topside control panel to communicate. You can read data into a buffer, then process the message and send your reply.

Port Usage

The control unit will send out it's status three times - once for each port on the control board.

The top panel then replies with a FB message.

Status Message (FA)

example: fa 14 33 35 30 43 00 10 69 00 00 00 80 02 ff ff 5f 00 00 00 00 00 c4 ... etc

{prefix:4}{temp:6}{tempUnit:2}{pump:1}{heater:1}{light?:1} ?? ?? ?? {status:2}

  • prefix = fa 14
  • temp = 33 35 30 = 340 or "---" when temp unknown
  • tempUnit = 43 = C, 46 = F or "-" when temp unknown
  • pump = 0/2/8 (off, pump1on, pump2on)
  • heater = 0/1/2 (off, on, flashing)
  • light possibly? = 0/3/9 (off, on, unknown - both pump1 and pump2 on)
  • status = 00/04 (idle, blower/pump3 on)

FB Reply

When the FA message is sent for the port of the top panel, it will reply with an FB message. This may contain commands

fb0603450e0000ff74
or 
fb060343060000ffce

To toggle the light, it would send

fb0603450e0009f6f6

fb06034 (50e|306) {command:4}{checksum:4}

commands:

  • 0001 - Temp Up
  • 0002 - Temp Down
  • 0005 - Temp +/-
  • 0006 - Jets
  • 0007 - Aux

Unknown Message (AE)

The control unit also sends this message 3 times - once for each port

ae0d000000000000000000000000002d

Reply

fb0603450e0000ff74

Message Stream

Assuming main panel on port1

FAFB,FA,FA,AEFB,AE,AE

Ports.md

There are 3 different types of ports of interest to us on the main control board

Main Panel

There are 3 ports, pin5 selects which is active on the shared RS485 bus at any given time

AUX Panel

These are only 6 pin and can only be used for dedicated feature buttons. One of the pins is 9.7V but function of others unknown as no activity while idle and I have no buttons to test with

e.g https://www.hottubdiy.co.uk/ax10-al.html

ADCM

This port connects to the ADCM Hub, which then allows for collecting an additional main top panel or the wireless adapter to use with the hand-held controller or software via adapter for a PC

  • Pin 1 is 15V
  • Pins 3,5,8 & 9 all carry constant 5V while idle

https://www.manualsdir.com/manuals/582230/balboa-water-group-adcmhub.html

index.md

Welcome to the balboa_GL_ML_spa_control wiki!

Message Format

Install Guide