SpaIot Library
SpaIot Namespace Reference

SpaIot name space. More...

Classes

class  ControlPanel
 Control Panel. More...
 
class  FrameDecoder
 This class decodes information from the technical block of the spa. More...
 
class  Multiplexer
 Analog multiplexer template. More...
 
class  TwoWireSlave
 

Enumerations

enum  Key {
  Power = 0 , Filter , Bubble , Jet ,
  Sanitizer , Heater , HeatReached , TempUp ,
  TempDown , TempUnit
}
 LED and push buttons identification keys. More...
 

Variables

const uint16_t UnsetValue16 = 0xFFFF
 Indeterminate value on 16 bits.
 
const uint8_t UnsetValue8 = 0xFF
 Indeterminate value on 8 bits.
 
const unsigned long ButtonIntervalMs = 500
 Time between 2 successive actions on the buttons.
 
const uint16_t DesiredTempMax = 40
 Maximum desired temperature in °C.
 
const uint16_t DesiredTempMin = 20
 Minimum desired temperature in °C.
 
const uint16_t SetupTrigUnitChangeMin = 5
 Number of changes in temperature unit corresponding to the reset request.
 
const unsigned long SetupTrigUnitChangeStepMaxMs = 1000
 Maximum time separating successive actions on the unit change button to trigger reset request.
 
const unsigned long HoldPressedMs = 300
 Time between press and release a button.
 
const unsigned long BeginWaitingTimeMs = 3000
 begin() waiting time in milliseconds
 
const unsigned long ResetErrorTimeMs = 4000
 Time after which an error can be erased.
 

Detailed Description

SpaIot name space.

Enumeration Type Documentation

◆ Key

LED and push buttons identification keys.

Enumerator
Power 

Power Led or Button.

Filter 

Filter Led or Button.

Bubble 

Bubble Led or Button.

Jet 

Jet Led or Button.

Sanitizer 

Sanitizer Led or Button.

Heater 

Heater Led (Red) or Button.

HeatReached 

Heat Reached Led (Green)

TempUp 

Temperature Up Button.

TempDown 

Temperature Down Button.

TempUnit 

Temperature Unity Button (°C/°F)