LightHub 4.6.0
Open-source smart home controller firmware
Loading...
Searching...
No Matches
textconst.h File Reference

Topic/suffix string constants. More...

Go to the source code of this file.

Macros

#define ON_P   commands_P[CMD_ON]
#define OFF_P   commands_P[CMD_OFF]
#define REST_P   commands_P[CMD_RESTORE]
#define TOGGLE_P   commands_P[CMD_TOGGLE]
#define HALT_P   commands_P[CMD_HALT]
#define XON_P   commands_P[CMD_XON]
#define XOFF_P   commands_P[CMD_XOFF]
#define HEAT_P   commands_P[CMD_HEAT]
#define COOL_P   commands_P[CMD_COOL]
#define AUTO_P   commands_P[CMD_AUTO]
#define HEATCOOL_P   commands_P[CMD_HEATCOOL]
#define FAN_ONLY_P   commands_P[CMD_FAN]
#define DRY_P   commands_P[CMD_DRY]
#define HIGH_P   commands_P[CMD_HIGH]
#define MED_P   commands_P[CMD_MED]
#define LOW_P   commands_P[CMD_LOW]
#define ENABLE_P   commands_P[CMD_ENABLE]
#define DISABLE_P   commands_P[CMD_DISABLE]
#define FREEZE_P   commands_P[CMD_FREEZE]
#define UNFREEZE_P   commands_P[CMD_UNFREEZE]

Variables

const char state_P[] PROGMEM = "$state"
const char lighthub [] = "lighthub"

Detailed Description

Topic/suffix string constants.

PROGMEM string constants for MQTT topics, Homie metadata, command names and item subtopic suffixes used across the controller.

Macro Definition Documentation

◆ AUTO_P

#define AUTO_P   commands_P[CMD_AUTO]

◆ COOL_P

#define COOL_P   commands_P[CMD_COOL]

◆ DISABLE_P

#define DISABLE_P   commands_P[CMD_DISABLE]

◆ DRY_P

#define DRY_P   commands_P[CMD_DRY]

◆ ENABLE_P

#define ENABLE_P   commands_P[CMD_ENABLE]

◆ FAN_ONLY_P

#define FAN_ONLY_P   commands_P[CMD_FAN]

◆ FREEZE_P

#define FREEZE_P   commands_P[CMD_FREEZE]

◆ HALT_P

#define HALT_P   commands_P[CMD_HALT]

◆ HEAT_P

#define HEAT_P   commands_P[CMD_HEAT]

◆ HEATCOOL_P

#define HEATCOOL_P   commands_P[CMD_HEATCOOL]

◆ HIGH_P

#define HIGH_P   commands_P[CMD_HIGH]

◆ LOW_P

#define LOW_P   commands_P[CMD_LOW]

◆ MED_P

#define MED_P   commands_P[CMD_MED]

◆ OFF_P

#define OFF_P   commands_P[CMD_OFF]

◆ ON_P

#define ON_P   commands_P[CMD_ON]

◆ REST_P

#define REST_P   commands_P[CMD_RESTORE]

◆ TOGGLE_P

#define TOGGLE_P   commands_P[CMD_TOGGLE]

◆ UNFREEZE_P

#define UNFREEZE_P   commands_P[CMD_UNFREEZE]

◆ XOFF_P

#define XOFF_P   commands_P[CMD_XOFF]

◆ XON_P

#define XON_P   commands_P[CMD_XON]

Variable Documentation

◆ lighthub

const char lighthub[] = "lighthub"

◆ PROGMEM

const char ERROR_P [] PROGMEM = "$state"