|
LightHub 4.6.0
Open-source smart home controller firmware
|
#include <Arduino.h>Go to the source code of this file.
Variables | |
| const short | protectedPins [] ={PROTECTED_PINS} |
| #define _dmxin |
| #define _dmxout |
| #define _modbus |
| #define _owire |
| #define ADAFRUIT_LED |
| #define AVR_DMXOUT_PIN 18 |
| #define CMDTOPIC "$command" |
| #define CONFIG_SERVER "lazyhome.ru" |
| #define CONTROLLER TM1809 |
| #define DATA_PIN 4 |
| Streamlog infoSerial & debugSerialPort Serial |
| #define DEFAULT_FILESIZE_LIMIT 65535 |
| #define DEFAULT_FIRMWARE_MAC {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xFF} |
| #define DEFAULT_INC_STEP 5 |
| #define DEFAULT_OTA_PASSWORD password |
| #define DEFAULT_OTA_USERNAME arduino |
| #define DHCP_ATTEMPTS_FALLBACK 3 |
| #define DHT_POLL_DELAY_DEFAULT 15000 |
| #define DMX_SMOOTH_DELAY 10 |
| #define FM_OVERHEAT_CELSIUS 40. |
| #define HOMETOPIC "myhome" |
| #define INIT_VOLUME 30 |
| #define INTERVAL_1W 5000UL |
| #define INTERVAL_CHECK_INPUT 11 |
| #define INTERVAL_CHECK_SENSOR 5000 |
| #define INTERVAL_CHECK_ULTRASONIC 100 |
| #define INTERVAL_SLOW_POLLING 1000 |
| #define INTOPIC "in" |
| #define LAN_INIT_DELAY 500 |
| #define MAX_JSON_CONF_SIZE 32000 |
| #define MIN_VOLUME 20 |
| #define minimalMemory 1200 |
| #define MODBUS_FM_BAUD 9600 |
| #define MODBUS_FM_PARAM SERIAL_8N1 |
| #define MODBUS_SERIAL_BAUD 9600 |
| #define MODBUS_SERIAL_PARAM SERIAL_8N1 |
| #define MODBUS_UART_RX_PIN -1 |
| #define MODBUS_UART_TX_PIN -1 |
| #define MQTT_SUBJECT_LENGTH 20 |
| #define MQTT_TOPIC_LENGTH 64 |
| #define NOT_FILTER_PID_OUT 1 |
| #define ORDER BRG |
| #define OUTTOPIC "s_out" |
| #define OW_UPDATE_INTERVAL 5000 |
| #define PERIOD_THERMOSTAT_FAILED (600 * 1000UL) |
| #define PROTECTED_PINS |
| #define protectedPinsNum (sizeof(protectedPins)/sizeof(short)) |
| #define SCALE_VOLUME_100 false |
| #define SERIAL_BAUD 115200 |
| #define SYSLOG_LOCAL_SOCKET 514 |
| #define TENS_BASE 100 |
| #define TENS_FRACT_LEN 2 |
| #define THERMO_GIST_CELSIUS 1. |
| #define THERMO_OVERHEAT_CELSIUS 38. |
| #define THERMOSTAT_CHECK_PERIOD 30000 |
| #define TIMEOUT_RECONNECT 10000UL |
| #define TIMEOUT_REINIT 5000UL |
| #define TIMEOUT_REINIT_NOT_CONFIGURED 120000UL |
| #define TIMEOUT_RELOAD 30000UL |
| #define TIMEOUT_RETAIN 8000UL |
| #define TIMER_CHECK_INPUT 15 |
| #define TXEnablePin 13 |
| #define UPTIME_POLL_DELAY_DEFAULT 30000 |
| #define W5100_ETHERNET_SHIELD |
| #define WIFI_TIMEOUT 60000UL |
| const short protectedPins[] ={PROTECTED_PINS} |