# LightHub: options.h File Reference

options.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros

#define | SYSLOG_LOCAL_SOCKET 514
#define | ADAFRUIT_LED
#define | CONTROLLER TM1809
#define | DATA_PIN 4
#define | ORDER BRG
#define | TXEnablePin 13
#define | ESP_EEPROM_SIZE 2048
#define | AVR_DMXOUT_PIN 18
#define | T_ATTEMPTS 200
#define | IET_TEMP 0
#define | IET_ATTEMPTS 1
#define | THERMO_GIST_CELSIUS 1.
#define | THERMO_OVERHEAT_CELSIUS 38.
#define | FM_OVERHEAT_CELSIUS 40.
#define | MIN_VOLUME 25
#define | INIT_VOLUME 40
#define | MAXFLASHSTR 32
#define | PWDFLASHSTR 16
#define | EEPROM_SIGNATURE "LHCF"
#define | EEPROM_SIGNATURE_LENGTH 4
#define | OFFSET_MAC 0
#define | OFFSET_IP OFFSET_MAC+6
#define | OFFSET_DNS OFFSET_IP+4
#define | OFFSET_GW OFFSET_DNS+4
#define | OFFSET_MASK OFFSET_GW+4
#define | OFFSET_CONFIGSERVER OFFSET_MASK+4
#define | OFFSET_MQTT_PWD OFFSET_CONFIGSERVER+MAXFLASHSTR
#define | OFFSET_SIGNATURE OFFSET_MQTT_PWD+PWDFLASHSTR
#define | EEPROM_offset_NotAlligned OFFSET_SIGNATURE+EEPROM_SIGNATURE_LENGTH
#define | EEPROM_offsetJSON EEPROM_offset_NotAlligned + (4 -(EEPROM_offset_NotAlligned & 3))
#define | EEPROM_FIX_PART_LEN EEPROM_offsetJSON-OFFSET_MAC
#define | INTERVAL_CHECK_INPUT 15
#define | INTERVAL_CHECK_SENSOR 5000
#define | INTERVAL_CHECK_MODBUS 2000
#define | INTERVAL_POLLING 100
#define | THERMOSTAT_CHECK_PERIOD 30000
#define | OW_UPDATE_INTERVAL 5000
#define | MODBUS_SERIAL_BAUD 9600
#define | MODBUS_DIMMER_PARAM SERIAL_8N1
#define | dimPar MODBUS_DIMMER_PARAM
#define | fmPar SERIAL_8N1
#define | SERIAL_BAUD 115200
#define | DEFAULT_FIRMWARE_MAC {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xFF}
#define | CONFIG_SERVER "lazyhome.ru"
#define | HOMETOPIC "myhome"
#define | OUTTOPIC "s_out"
#define | CMDTOPIC "$command"
#define | INTOPIC "in"
#define | MQTT_SUBJECT_LENGTH 20
#define | MQTT_TOPIC_LENGTH 64
#define | _dmxin
#define | _dmxout
#define | _owire
#define | _modbus
#define | LAN_INIT_DELAY 500
#define | DEFAULT_INC_STEP 5
#define | DHT_POLL_DELAY_DEFAULT 15000
#define | UPTIME_POLL_DELAY_DEFAULT 30000
#define | DMX_SMOOTH_DELAY 10
#define | debugSerialPort Serial
#define | W5100_ETHERNET_SHIELD

## Macro Definition Documentation

## _dmxin

#define _dmxin

## _dmxout

#define _dmxout

## _modbus

#define _modbus

## _owire

#define _owire

## ADAFRUIT_LED

#define ADAFRUIT_LED

## AVR_DMXOUT_PIN

#define AVR_DMXOUT_PIN 18

## CMDTOPIC

#define CMDTOPIC "$command"

## CONFIG_SERVER

#define CONFIG_SERVER "lazyhome.ru"

## CONTROLLER

#define CONTROLLER TM1809

## DATA_PIN

#define DATA_PIN 4

## debugSerialPort

Streamlog infoSerial & debugSerialPort Serial

## DEFAULT_FIRMWARE_MAC

#define DEFAULT_FIRMWARE_MAC {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xFF}

## DEFAULT_INC_STEP

#define DEFAULT_INC_STEP 5

## DHT_POLL_DELAY_DEFAULT

#define DHT_POLL_DELAY_DEFAULT 15000

## dimPar

#define dimPar MODBUS_DIMMER_PARAM

## DMX_SMOOTH_DELAY

#define DMX_SMOOTH_DELAY 10

## EEPROM_FIX_PART_LEN

#define EEPROM_FIX_PART_LEN EEPROM_offsetJSON-OFFSET_MAC

## EEPROM_offset_NotAlligned

#define EEPROM_offset_NotAlligned OFFSET_SIGNATURE+EEPROM_SIGNATURE_LENGTH

## EEPROM_offsetJSON

#define EEPROM_offsetJSON EEPROM_offset_NotAlligned + (4 -(EEPROM_offset_NotAlligned & 3))

## EEPROM_SIGNATURE

#define EEPROM_SIGNATURE "LHCF"

## EEPROM_SIGNATURE_LENGTH

#define EEPROM_SIGNATURE_LENGTH 4

## ESP_EEPROM_SIZE

#define ESP_EEPROM_SIZE 2048

## FM_OVERHEAT_CELSIUS

#define FM_OVERHEAT_CELSIUS 40.

## fmPar

#define fmPar SERIAL_8N1

## HOMETOPIC

#define HOMETOPIC "myhome"

## IET_ATTEMPTS

#define IET_ATTEMPTS 1

## IET_TEMP

#define IET_TEMP 0

## INIT_VOLUME

#define INIT_VOLUME 40

## INTERVAL_CHECK_INPUT

#define INTERVAL_CHECK_INPUT 15

## INTERVAL_CHECK_MODBUS

#define INTERVAL_CHECK_MODBUS 2000

## INTERVAL_CHECK_SENSOR

#define INTERVAL_CHECK_SENSOR 5000

## INTERVAL_POLLING

#define INTERVAL_POLLING 100

## INTOPIC

#define INTOPIC "in"

## LAN_INIT_DELAY

#define LAN_INIT_DELAY 500

## MAXFLASHSTR

#define MAXFLASHSTR 32

## MIN_VOLUME

#define MIN_VOLUME 25

## MODBUS_DIMMER_PARAM

#define MODBUS_DIMMER_PARAM SERIAL_8N1

## MODBUS_SERIAL_BAUD

#define MODBUS_SERIAL_BAUD 9600

## MQTT_SUBJECT_LENGTH

#define MQTT_SUBJECT_LENGTH 20

## MQTT_TOPIC_LENGTH

#define MQTT_TOPIC_LENGTH 64

## OFFSET_CONFIGSERVER

#define OFFSET_CONFIGSERVER OFFSET_MASK+4

## OFFSET_DNS

#define OFFSET_DNS OFFSET_IP+4

## OFFSET_GW

#define OFFSET_GW OFFSET_DNS+4

## OFFSET_IP

#define OFFSET_IP OFFSET_MAC+6

## OFFSET_MAC

#define OFFSET_MAC 0

## OFFSET_MASK

#define OFFSET_MASK OFFSET_GW+4

## OFFSET_MQTT_PWD

#define OFFSET_MQTT_PWD OFFSET_CONFIGSERVER+MAXFLASHSTR

## OFFSET_SIGNATURE

#define OFFSET_SIGNATURE OFFSET_MQTT_PWD+PWDFLASHSTR

## ORDER

#define ORDER BRG

## OUTTOPIC

#define OUTTOPIC "s_out"

## OW_UPDATE_INTERVAL

#define OW_UPDATE_INTERVAL 5000

## PWDFLASHSTR

#define PWDFLASHSTR 16

## SERIAL_BAUD

#define SERIAL_BAUD 115200

## SYSLOG_LOCAL_SOCKET

#define SYSLOG_LOCAL_SOCKET 514

## T_ATTEMPTS

#define T_ATTEMPTS 200

## THERMO_GIST_CELSIUS

#define THERMO_GIST_CELSIUS 1.

## THERMO_OVERHEAT_CELSIUS

#define THERMO_OVERHEAT_CELSIUS 38.

## THERMOSTAT_CHECK_PERIOD

#define THERMOSTAT_CHECK_PERIOD 30000

## TXEnablePin

#define TXEnablePin 13

## UPTIME_POLL_DELAY_DEFAULT

#define UPTIME_POLL_DELAY_DEFAULT 30000

## W5100_ETHERNET_SHIELD

#define W5100_ETHERNET_SHIELD