| LightHub v4.0.0 Smarthome controller firmware

Macros
options.h File Reference
`#include <Arduino.h>`

Go to the source code of this file.

## Macros
#define | DEFAULT_FILESIZE_LIMIT 65535
#define | MAX_JSON_CONF_SIZE 32000
#define | SYSLOG_LOCAL_SOCKET 514
#define | MODBUS_UART_RX_PIN -1
#define | MODBUS_UART_TX_PIN -1
#define | ADAFRUIT_LED
#define | CONTROLLER TM1809
#define | SCALE_VOLUME_100 false
#define | DATA_PIN 4
#define | ORDER BRG
#define | TXEnablePin 13
#define | AVR_DMXOUT_PIN 18
#define | WIFI_TIMEOUT 60000UL
#define | TIMEOUT_RECONNECT 10000UL
#define | TIMEOUT_REINIT 5000UL
#define | TIMEOUT_RETAIN 8000UL
#define | INTERVAL_1W 5000UL
#define | PERIOD_THERMOSTAT_FAILED (600 * 1000UL)
#define | THERMO_GIST_CELSIUS 1.
#define | THERMO_OVERHEAT_CELSIUS 38.
#define | FM_OVERHEAT_CELSIUS 40.
#define | MIN_VOLUME 25
#define | INIT_VOLUME 40
#define | INTERVAL_CHECK_INPUT 11
#define | TIMER_CHECK_INPUT 15
#define | INTERVAL_CHECK_SENSOR 5000
#define | INTERVAL_SLOW_POLLING 1000
#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_FILESIZE_LIMIT

#define DEFAULT_FILESIZE_LIMIT 65535

## ◆ 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

## ◆ FM_OVERHEAT_CELSIUS

#define FM_OVERHEAT_CELSIUS 40.

## ◆ fmPar

#define fmPar SERIAL_8N1

## ◆ HOMETOPIC

#define HOMETOPIC "myhome"

## ◆ INIT_VOLUME

#define INIT_VOLUME 40

## ◆ INTERVAL_1W

#define INTERVAL_1W 5000UL

## ◆ INTERVAL_CHECK_INPUT

#define INTERVAL_CHECK_INPUT 11

## ◆ INTERVAL_CHECK_SENSOR

#define INTERVAL_CHECK_SENSOR 5000

## ◆ INTERVAL_SLOW_POLLING

#define INTERVAL_SLOW_POLLING 1000

## ◆ INTOPIC

#define INTOPIC "in"

## ◆ LAN_INIT_DELAY

#define LAN_INIT_DELAY 500

## ◆ MAX_JSON_CONF_SIZE

#define MAX_JSON_CONF_SIZE 32000

## ◆ MIN_VOLUME

#define MIN_VOLUME 25

## ◆ MODBUS_DIMMER_PARAM

#define MODBUS_DIMMER_PARAM SERIAL_8N1

## ◆ MODBUS_SERIAL_BAUD

#define MODBUS_SERIAL_BAUD 9600

## ◆ MODBUS_UART_RX_PIN

#define MODBUS_UART_RX_PIN -1

## ◆ MODBUS_UART_TX_PIN

#define MODBUS_UART_TX_PIN -1

## ◆ MQTT_SUBJECT_LENGTH

#define MQTT_SUBJECT_LENGTH 20

## ◆ MQTT_TOPIC_LENGTH

#define MQTT_TOPIC_LENGTH 64

## ◆ ORDER

#define ORDER BRG

## ◆ OUTTOPIC

#define OUTTOPIC "s_out"

## ◆ OW_UPDATE_INTERVAL

#define OW_UPDATE_INTERVAL 5000

## ◆ PERIOD_THERMOSTAT_FAILED

#define PERIOD_THERMOSTAT_FAILED (600 * 1000UL)

## ◆ SCALE_VOLUME_100

#define SCALE_VOLUME_100 false

## ◆ SERIAL_BAUD

#define SERIAL_BAUD 115200

## ◆ SYSLOG_LOCAL_SOCKET

#define SYSLOG_LOCAL_SOCKET 514

## ◆ THERMO_GIST_CELSIUS

#define THERMO_GIST_CELSIUS 1.

## ◆ THERMO_OVERHEAT_CELSIUS

#define THERMO_OVERHEAT_CELSIUS 38.

## ◆ THERMOSTAT_CHECK_PERIOD

#define THERMOSTAT_CHECK_PERIOD 30000

## ◆ TIMEOUT_RECONNECT

#define TIMEOUT_RECONNECT 10000UL

## ◆ TIMEOUT_REINIT

#define TIMEOUT_REINIT 5000UL

## ◆ TIMEOUT_RETAIN

#define TIMEOUT_RETAIN 8000UL

## ◆ TIMER_CHECK_INPUT

#define TIMER_CHECK_INPUT 15

## ◆ TXEnablePin

#define TXEnablePin 13

## ◆ UPTIME_POLL_DELAY_DEFAULT

#define UPTIME_POLL_DELAY_DEFAULT 30000

## ◆ W5100_ETHERNET_SHIELD

#define W5100_ETHERNET_SHIELD

## ◆ WIFI_TIMEOUT

#define WIFI_TIMEOUT 60000UL