Browse Source

Add dependencies for HA support

fastled
Xose Pérez 6 years ago
parent
commit
f175f4aeea
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      code/espurna/config/arduino.h
  2. +2
    -0
      code/espurna/homeassitant.ino

+ 1
- 0
code/espurna/config/arduino.h View File

@ -52,6 +52,7 @@
//#define DOMOTICZ_SUPPORT 0
//#define DS18B20_SUPPORT 1
//#define EMON_SUPPORT 1
//#define HOMEASSISTANT_SUPPORT 0
//#define I2C_SUPPORT 1
//#define INFLUXDB_SUPPORT 0
//#define MDNS_SUPPORT 0


+ 2
- 0
code/espurna/homeassitant.ino View File

@ -8,6 +8,8 @@ Copyright (C) 2017 by Xose Pérez <xose dot perez at gmail dot com>
#if HOMEASSISTANT_SUPPORT
#include <ArduinoJson.h>
void haSend() {
DEBUG_MSG_P(PSTR("[HA] Sending autodiscovery MQTT message\n"));


Loading…
Cancel
Save