SpaIot Library
Hardware Settings

Variables

const HardwareSettings SpaIot::Scip2Ssp
 Hardware settings for the SSP Spa with Scip2 board. More...
 
const HardwareSettings SpaIot::Scip2Sjb
 Hardware settings for the SJB Spa with Scip2 board. More...
 
const HardwareSettings SpaIot::SpaIot8266Ssp
 Hardware settings for the SSP Spa with SpaIot board (ESP8266 Version) More...
 
const HardwareSettings SpaIot::SpaIot8266Sjb
 Hardware settings for the SJB Spa with SpaIot board (ESP8266 Version) More...
 
const HardwareSettings SpaIot::SpaIot32Ssp
 Hardware settings for the SSP Spa with SpaIot board (ESP32 Version) More...
 
const HardwareSettings SpaIot::SpaIot32Sjb
 Hardware settings for the SJB Spa with SpaIot board (ESP32 Version) More...
 
const HardwareSettings SpaIot::SpaIotS3Ssp
 Hardware settings for the SSP Spa with SpaIot board (ESP32 S3 Version) More...
 
const HardwareSettings SpaIot::SpaIotS3Sjb
 Hardware settings for the SJB Spa with SpaIot board (ESP32 S3 Version) More...
 
const HardwareSettings SpaIot::SpaIot328574Ssp
 Hardware settings for the SSP Spa with SpaIot Extended board with PCF8574A (ESP32 Version) More...
 
const HardwareSettings SpaIot::SpaIot328574Sjb
 Hardware settings for the SJB Spa with SpaIot Extended board with PCF8574A (ESP32 Version) More...
 
const HardwareSettings SpaIot::SpaIotS38574Ssp
 Hardware settings for the SSP Spa with SpaIot Extended board with PCF8574A (ESP32 S3 Version) More...
 
const HardwareSettings SpaIot::SpaIotS38574Sjb
 Hardware settings for the SJB Spa with SpaIot Extended board with PCF8574A (ESP32 S3 Version) More...
 

Buses

const BusSettings SpaIot::Scip2Bus
 BusSettings for the SpaIot. More...
 
const BusSettings SpaIot::SpaIot8266Bus
 BusSettings for the SpaIot ESP8266 Version. More...
 
const BusSettings SpaIot::SpaIot32Bus
 BusSettings for the SpaIot ESP32 Version. More...
 
const BusSettings SpaIot::SpaIotS3Bus
 BusSettings for the SpaIot ESP32S3 Version. More...
 

Buttons

const std::map< int, ButtonSettingsSpaIot::Scip2SspButtons
 ButtonSettings for the SSP Spa with Scip2 board. More...
 
const std::map< int, ButtonSettingsSpaIot::SpaIot8266SspButtons
 ButtonSettings for the SSP Spa with SpaIot board (ESP8266 version) More...
 
const std::map< int, ButtonSettingsSpaIot::SpaIot32SspButtons
 ButtonSettings for the SSP Spa with SpaIot board (ESP32 version) More...
 
const std::map< int, ButtonSettingsSpaIot::SpaIotS3SspButtons
 ButtonSettings for the SSP Spa with SpaIot board (ESP32 S3 version) More...
 
const std::map< int, ButtonSettingsSpaIot::SpaIot8574SspButtons
 ButtonSettings for the SSP Spa with SpaIot Extended board with PCF8574A. More...
 
const std::map< int, ButtonSettingsSpaIot::Scip2SjbButtons
 ButtonSettings for the SJB Spa with Scip2 board. More...
 
const std::map< int, ButtonSettingsSpaIot::SpaIot8266SjbButtons
 ButtonSettings for the SJB Spa with SpaIot board (ESP8266 version) More...
 
const std::map< int, ButtonSettingsSpaIot::SpaIot32SjbButtons
 ButtonSettings for the SJB Spa with SpaIot board (ESP32 version) More...
 
const std::map< int, ButtonSettingsSpaIot::SpaIotS3SjbButtons
 ButtonSettings for the SJB Spa with SpaIot board (ESP32 S3 version) More...
 
const std::map< int, ButtonSettingsSpaIot::SpaIot8574SjbButtons
 ButtonSettings for the SJB Spa with SpaIot Extended board with PCF8574A. More...
 

Leds

const std::map< int, LedSettingsSpaIot::SspLeds
 Leds settings for the Ssp SPA. More...
 
const std::map< int, LedSettingsSpaIot::SjbLeds
 Leds settings for the Sjb SPA. More...
 

Multiplexers

Multiplexer SpaIot::Scip2MuxA
 The first multiplexer for the Scip2 controller. More...
 
Multiplexer SpaIot::Scip2MuxB
 The second multiplexer for the Scip2 controller. More...
 
Multiplexer SpaIot::SpaIot8266MuxA
 The first multiplexer for the SpaIot controller (ESP8266 version) More...
 
Multiplexer SpaIot::SpaIot8266MuxB
 The second multiplexer for the SpaIot controller (ESP8266 version) More...
 
Multiplexer SpaIot::SpaIot32MuxA
 The first multiplexer for the SpaIot controller (ESP32 version) More...
 
Multiplexer SpaIot::SpaIot32MuxB
 The second multiplexer for the SpaIot controller (ESP32 version) More...
 
Multiplexer SpaIot::SpaIotS3MuxA
 The first multiplexer for the SpaIot controller (ESP32S3 version) More...
 
Multiplexer SpaIot::SpaIotS3MuxB
 The second multiplexer for the SpaIot controller (ESP32S3 version) More...
 

Detailed Description

Variable Documentation

◆ Scip2Bus

const BusSettings SpaIot::Scip2Bus
extern

BusSettings for the SpaIot.

You can redefine SPAIOT_DATA_PIN, SPAIOT_CLK_PIN and SPAIOT_HOLD_PIN as -D option when you compile your sketch for change the default pins (or with #define in your sketch before #include <SpaIot.h>)

The default pins are:

  • SPAIOT_DATA_PIN = 12
  • SPAIOT_CLK_PIN = 14
  • SPAIOT_HOLD_PIN = 13

◆ Scip2MuxA

Multiplexer SpaIot::Scip2MuxA
extern

The first multiplexer for the Scip2 controller.

Connected as follows:

  • A -> GPIO4
  • B -> GPIO5
  • C -> GPIO15
  • INH -> GPIO16

may be accessed as "Scip2MuxA" in the Multiplexer Register.

See also
Scip2MuxB

◆ Scip2MuxB

Multiplexer SpaIot::Scip2MuxB
extern

The second multiplexer for the Scip2 controller.

Connected as follows:

  • A -> GPIO4
  • B -> GPIO5
  • C -> GPIO15
  • INH -> GPIO0

may be accessed as "Scip2MuxB" in the Multiplexer Register.

See also
Scip2MuxA

◆ Scip2Sjb

const HardwareSettings SpaIot::Scip2Sjb
extern

Hardware settings for the SJB Spa with Scip2 board.

See also
Scip2Bus
SjbLeds
Scip2SjbButtons

This settings was registered with the name "SCIP2SJB".

◆ Scip2SjbButtons

const std::map<int, ButtonSettings> SpaIot::Scip2SjbButtons
extern

ButtonSettings for the SJB Spa with Scip2 board.

Buttons are connected to the following pins:

| Button | Mux | Bit |
|:---------:|:---------:|:---:|
| Sanitizer | Scip2MuxA | A0 |
| Jet | Scip2MuxA | A1 |
| Bubble | Scip2MuxA | A3 |
| Filter | Scip2MuxA | A7 |
| TempDown | Scip2MuxB | B1 |
| Power | Scip2MuxB | B2 |
| TempUp | Scip2MuxB | B4 |
| TempUnit | Scip2MuxB | B5 |
| Heater | Scip2MuxB | B7 |
Multiplexer Scip2MuxA
The first multiplexer for the Scip2 controller.
Multiplexer Scip2MuxB
The second multiplexer for the Scip2 controller.
@ Jet
Jet Led or Button.
Definition: global.h:37
@ TempUnit
Temperature Unity Button (°C/°F)
Definition: global.h:43
@ Filter
Filter Led or Button.
Definition: global.h:35
@ TempDown
Temperature Down Button.
Definition: global.h:42
@ Sanitizer
Sanitizer Led or Button.
Definition: global.h:38
@ TempUp
Temperature Up Button.
Definition: global.h:41
@ Bubble
Bubble Led or Button.
Definition: global.h:36
@ Heater
Heater Led (Red) or Button.
Definition: global.h:39
@ Power
Power Led or Button.
Definition: global.h:34
See also
Scip2MuxA
Scip2MuxB

◆ Scip2Ssp

const HardwareSettings SpaIot::Scip2Ssp
extern

Hardware settings for the SSP Spa with Scip2 board.

See also
Scip2Bus
SspLeds
Scip2SspButtons

This settings was registered with the name "SCIP2SSP".

◆ Scip2SspButtons

const std::map<int, ButtonSettings> SpaIot::Scip2SspButtons
extern

ButtonSettings for the SSP Spa with Scip2 board.

Buttons are connected to the following pins:

| Button | Mux | Bit |
|:--------:|:---------:|:---:|
| Filter | Scip2MuxA | A1 |
| Bubble | Scip2MuxA | A3 |
| TempDown | Scip2MuxA | A7 |
| Power | Scip2MuxB | B2 |
| TempUp | Scip2MuxB | B4 |
| TempUnit | Scip2MuxB | B5 |
| Heater | Scip2MuxB | B7 |
See also
Scip2MuxA
Scip2MuxB

◆ SjbLeds

const std::map<int, LedSettings> SpaIot::SjbLeds
extern

Leds settings for the Sjb SPA.

See below for the description of the settings:

| Button | Bit |
|:-----------:|:---:|
| Power | A0 |
| Bubble | A1 |
| Heater | A7 |
| HeatReached | B1 |
| Jet | B2 |
| Filter | B4 |
| Sanitizer | B5 |
@ HeatReached
Heat Reached Led (Green)
Definition: global.h:40

◆ SpaIot328574Sjb

const HardwareSettings SpaIot::SpaIot328574Sjb
extern

Hardware settings for the SJB Spa with SpaIot Extended board with PCF8574A (ESP32 Version)

See also
SpaIot32Bus
SjbLeds
SpaIot8574SjbButtons

This settings was registered with the name "SPAIOT328574SJB".

◆ SpaIot328574Ssp

const HardwareSettings SpaIot::SpaIot328574Ssp
extern

Hardware settings for the SSP Spa with SpaIot Extended board with PCF8574A (ESP32 Version)

See also
SpaIot32Bus
SspLeds
SpaIot8574SspButtons

This settings was registered with the name "SPAIOT328574SSP".

◆ SpaIot32Bus

const BusSettings SpaIot::SpaIot32Bus
extern

BusSettings for the SpaIot ESP32 Version.

Connected as follows:

  • SDATA -> GPIO23
  • SCLK -> GPIO18
  • nWR -> GPIO19

◆ SpaIot32MuxA

Multiplexer SpaIot::SpaIot32MuxA
extern

The first multiplexer for the SpaIot controller (ESP32 version)

Connected as follows:

  • A -> GPIO27
  • B -> GPIO16
  • C -> GPIO17
  • INH -> GPIO33

may be accessed as "SpaIot32MuxA" in the Multiplexer Register.

See also
SpaIot32MuxB

◆ SpaIot32MuxB

Multiplexer SpaIot::SpaIot32MuxB
extern

The second multiplexer for the SpaIot controller (ESP32 version)

Connected as follows:

  • A -> GPIO27
  • B -> GPIO16
  • C -> GPIO17
  • INH -> GPIO26

may be accessed as "SpaIot32MuxB" in the Multiplexer Register.

See also
SpaIot32MuxA

◆ SpaIot32Sjb

const HardwareSettings SpaIot::SpaIot32Sjb
extern

Hardware settings for the SJB Spa with SpaIot board (ESP32 Version)

See also
SpaIot32Bus
SjbLeds
SpaIot32SjbButtons

This settings was registered with the name "SPAIOT32SJB".

◆ SpaIot32SjbButtons

const std::map<int, ButtonSettings> SpaIot::SpaIot32SjbButtons
extern

ButtonSettings for the SJB Spa with SpaIot board (ESP32 version)

Buttons are connected to the following pins:

| Button | Mux | Bit |
|:---------:|:------------:|:---:|
| Jet | SpaIot32MuxA | A1 |
| Bubble | SpaIot32MuxA | A3 |
| Filter | SpaIot32MuxA | A7 |
| Power | SpaIot32MuxB | B2 |
| TempUp | SpaIot32MuxB | B4 |
| Heater | SpaIot32MuxB | B7 |
Multiplexer SpaIot32MuxB
The second multiplexer for the SpaIot controller (ESP32 version)
Multiplexer SpaIot32MuxA
The first multiplexer for the SpaIot controller (ESP32 version)
See also
SpaIot32MuxA
SpaIot32MuxB

◆ SpaIot32Ssp

const HardwareSettings SpaIot::SpaIot32Ssp
extern

Hardware settings for the SSP Spa with SpaIot board (ESP32 Version)

See also
SpaIot32Bus
SspLeds
SpaIot32SspButtons

This settings was registered with the name "SPAIOT32SSP".

◆ SpaIot32SspButtons

const std::map<int, ButtonSettings> SpaIot::SpaIot32SspButtons
extern

ButtonSettings for the SSP Spa with SpaIot board (ESP32 version)

Buttons are connected to the following pins:

| Button | Mux | Bit |
|:--------:|:------------:|:---:|
| Filter | SpaIot32MuxA | A1 |
| Bubble | SpaIot32MuxA | A3 |
| Power | SpaIot32MuxB | B2 |
| TempUp | SpaIot32MuxB | B4 |
| Heater | SpaIot32MuxB | B7 |
See also
SpaIot32MuxA
SpaIot32MuxB

◆ SpaIot8266Bus

const BusSettings SpaIot::SpaIot8266Bus
extern

BusSettings for the SpaIot ESP8266 Version.

Connected as follows:

  • SDATA -> GPIO12
  • SCLK -> GPIO14
  • nWR -> GPIO13

◆ SpaIot8266MuxA

Multiplexer SpaIot::SpaIot8266MuxA
extern

The first multiplexer for the SpaIot controller (ESP8266 version)

Connected as follows:

  • A -> GPIO5
  • B -> GPIO4
  • C -> GPIO15
  • INH -> GPIO16

may be accessed as "SpaIot8266MuxA" in the Multiplexer Register.

See also
SpaIot8266MuxB

◆ SpaIot8266MuxB

Multiplexer SpaIot::SpaIot8266MuxB
extern

The second multiplexer for the SpaIot controller (ESP8266 version)

Connected as follows:

  • A -> GPIO5
  • B -> GPIO4
  • C -> GPIO15
  • INH -> GPIO0

may be accessed as "SpaIot8266MuxB" in the Multiplexer Register.

See also
SpaIot8266MuxA

◆ SpaIot8266Sjb

const HardwareSettings SpaIot::SpaIot8266Sjb
extern

Hardware settings for the SJB Spa with SpaIot board (ESP8266 Version)

See also
SpaIot8266Bus
SjbLeds
SpaIot8266SjbButtons

This settings was registered with the name "SPAIOT8266SJB".

◆ SpaIot8266SjbButtons

const std::map<int, ButtonSettings> SpaIot::SpaIot8266SjbButtons
extern

ButtonSettings for the SJB Spa with SpaIot board (ESP8266 version)

Buttons are connected to the following pins:

| Button | Mux | Bit |
|:---------:|:--------------:|:---:|
| Jet | SpaIot8266MuxA | A1 |
Multiplexer SpaIot8266MuxB
The second multiplexer for the SpaIot controller (ESP8266 version)
Multiplexer SpaIot8266MuxA
The first multiplexer for the SpaIot controller (ESP8266 version)
See also
SpaIot8266MuxA
SpaIot8266MuxB

◆ SpaIot8266Ssp

const HardwareSettings SpaIot::SpaIot8266Ssp
extern

Hardware settings for the SSP Spa with SpaIot board (ESP8266 Version)

See also
SpaIot8266Bus
SspLeds
SpaIot8266SspButtons

This settings was registered with the name "SPAIOT8266SSP".

◆ SpaIot8266SspButtons

const std::map<int, ButtonSettings> SpaIot::SpaIot8266SspButtons
extern

ButtonSettings for the SSP Spa with SpaIot board (ESP8266 version)

Buttons are connected to the following pins:

| Button | Mux | Bit |
|:--------:|:--------------:|:---:|
See also
SpaIot8266MuxA
SpaIot8266MuxB

◆ SpaIot8574SjbButtons

const std::map<int, ButtonSettings> SpaIot::SpaIot8574SjbButtons
extern

ButtonSettings for the SJB Spa with SpaIot Extended board with PCF8574A.

The buttons controller is a PCF8574A connected to 2 multiplexers 4051 as follows:

  • The selection pins {A, B, C} of the 2 multiplexers are connected respectively to {P0, P1, P2} on the PCF8574
  • The INH pin of [A7..A0] multiplexer is connected to P3 on the PCF8574
  • The INH pin of [B7..B0] multiplexer is connected to P4 on the PCF8574

This gives us the following values for the buttons of a SSP spa:

| Button | BIT | P4 | P3 | P2 | P1 | P0 | DEC |
|:---------:|:---:|:--:|:--:|:--:|:--:|:--:|:---:|
| Power | B2 | 0 | 1 | 0 | 1 | 0 | 10 |
| Filter | A7 | 1 | 0 | 1 | 1 | 1 | 23 |
| Bubble | A3 | 1 | 0 | 0 | 1 | 1 | 19 |
| Heater | B7 | 0 | 1 | 1 | 1 | 1 | 15 |
| TempUp | B4 | 0 | 1 | 1 | 0 | 0 | 12 |
| TempDown | B1 | 0 | 1 | 0 | 0 | 1 | 09 |
| TempUnit | B5 | 0 | 1 | 1 | 0 | 1 | 13 |
| Sanitizer | A0 | 1 | 0 | 0 | 0 | 0 | 16 |
| Jet | A1 | 1 | 0 | 0 | 0 | 1 | 17 |
See also
SpaIotPcf8574Mux

◆ SpaIot8574SspButtons

const std::map<int, ButtonSettings> SpaIot::SpaIot8574SspButtons
extern

ButtonSettings for the SSP Spa with SpaIot Extended board with PCF8574A.

The buttons controller is a PCF8574A connected to 2 multiplexers 4051 as follows:

  • The selection pins {A, B, C} of the 2 multiplexers are connected respectively to {P0, P1, P2} on the PCF8574
  • The INH pin of [A7..A0] multiplexer is connected to P3 on the PCF8574
  • The INH pin of [B7..B0] multiplexer is connected to P4 on the PCF8574

This gives us the following values for the buttons of a SSP spa:

| Button | BIT | P4 | P3 | P2 | P1 | P0 | DEC |
|:--------:|:---:|:--:|:--:|:--:|:--:|:--:|:---:|
| Power | B2 | 0 | 1 | 0 | 1 | 0 | 10 |
| Filter | A1 | 1 | 0 | 0 | 0 | 1 | 17 |
| Bubble | A3 | 1 | 0 | 0 | 1 | 1 | 19 |
| Heater | B7 | 0 | 1 | 1 | 1 | 1 | 15 |
| TempUp | B4 | 0 | 1 | 1 | 0 | 0 | 12 |
| TempDown | A7 | 1 | 0 | 1 | 1 | 1 | 23 |
| TempUnit | B5 | 0 | 1 | 1 | 0 | 1 | 13 |
See also
SpaIotPcf8574Mux

◆ SpaIotS38574Sjb

const HardwareSettings SpaIot::SpaIotS38574Sjb
extern

Hardware settings for the SJB Spa with SpaIot Extended board with PCF8574A (ESP32 S3 Version)

See also
SpaIotS3Bus
SjbLeds
SpaIot8574SjbButtons

This settings was registered with the name "SPAIOTS38574SJB".

◆ SpaIotS38574Ssp

const HardwareSettings SpaIot::SpaIotS38574Ssp
extern

Hardware settings for the SSP Spa with SpaIot Extended board with PCF8574A (ESP32 S3 Version)

See also
SpaIotS3Bus
SspLeds
SpaIot8574SspButtons

This settings was registered with the name "SPAIOTS38574SSP".

◆ SpaIotS3Bus

const BusSettings SpaIot::SpaIotS3Bus
extern

BusSettings for the SpaIot ESP32S3 Version.

Connected as follows:

  • SDATA -> GPIO11
  • SCLK -> GPIO12
  • nWR -> GPIO10

◆ SpaIotS3MuxA

Multiplexer SpaIot::SpaIotS3MuxA
extern

The first multiplexer for the SpaIot controller (ESP32S3 version)

Connected as follows:

  • A -> GPIO4
  • B -> GPIO5
  • C -> GPIO6
  • INH -> GPIO7

may be accessed as "SpaIotS3MuxA" in the Multiplexer Register.

See also
SpaIotS3MuxB

◆ SpaIotS3MuxB

Multiplexer SpaIot::SpaIotS3MuxB
extern

The second multiplexer for the SpaIot controller (ESP32S3 version)

Connected as follows:

  • A -> GPIO4
  • B -> GPIO5
  • C -> GPIO6
  • INH -> GPIO15

may be accessed as "SpaIotS3MuxB" in the Multiplexer Register.

See also
SpaIotS3MuxA

◆ SpaIotS3Sjb

const HardwareSettings SpaIot::SpaIotS3Sjb
extern

Hardware settings for the SJB Spa with SpaIot board (ESP32 S3 Version)

See also
SpaIotS3Bus
SjbLeds
SpaIotS3SjbButtons

This settings was registered with the name "SPAIOTS3SJB".

◆ SpaIotS3SjbButtons

const std::map<int, ButtonSettings> SpaIot::SpaIotS3SjbButtons
extern

ButtonSettings for the SJB Spa with SpaIot board (ESP32 S3 version)

Buttons are connected to the following pins:

| Button | Mux | Bit |
|:---------:|:------------:|:---:|
| Jet | SpaIotS3MuxA | A1 |
| Bubble | SpaIotS3MuxA | A3 |
| Filter | SpaIotS3MuxA | A7 |
| Power | SpaIotS3MuxB | B2 |
| TempUp | SpaIotS3MuxB | B4 |
| Heater | SpaIotS3MuxB | B7 |
Multiplexer SpaIotS3MuxB
The second multiplexer for the SpaIot controller (ESP32S3 version)
Multiplexer SpaIotS3MuxA
The first multiplexer for the SpaIot controller (ESP32S3 version)
See also
SpaIotS3MuxA
SpaIotS3MuxB

◆ SpaIotS3Ssp

const HardwareSettings SpaIot::SpaIotS3Ssp
extern

Hardware settings for the SSP Spa with SpaIot board (ESP32 S3 Version)

See also
SpaIotS3Bus
SspLeds
SpaIotS3SspButtons

This settings was registered with the name "SPAIOTS3SSP".

◆ SpaIotS3SspButtons

const std::map<int, ButtonSettings> SpaIot::SpaIotS3SspButtons
extern

ButtonSettings for the SSP Spa with SpaIot board (ESP32 S3 version)

Buttons are connected to the following pins:

| Button | Mux | Bit |
|:--------:|:------------:|:---:|
| Filter | SpaIotS3MuxA | A1 |
| Bubble | SpaIotS3MuxA | A3 |
| Power | SpaIotS3MuxB | B2 |
| TempUp | SpaIotS3MuxB | B4 |
| Heater | SpaIotS3MuxB | B7 |
See also
SpaIotS3MuxA
SpaIotS3MuxB

◆ SspLeds

const std::map<int, LedSettings> SpaIot::SspLeds
extern

Leds settings for the Ssp SPA.

See below for the description of the settings:

| Button | Bit |
|:-----------:|:---:|
| Power | A0 |
| Heater | A7 |
| HeatReached | B1 |
| Bubble | B2 |
| Filter | B4 |