changed defaults
This commit is contained in:
@@ -30,6 +30,15 @@
|
|||||||
|
|
||||||
#include <ArduinoJson.h> //https://github.com/bblanchon/ArduinoJson
|
#include <ArduinoJson.h> //https://github.com/bblanchon/ArduinoJson
|
||||||
|
|
||||||
|
#if defined(ENABLE_E131)
|
||||||
|
// ***************************************************************************
|
||||||
|
// Load libraries for E131 support
|
||||||
|
// ***************************************************************************
|
||||||
|
#include <ESPAsyncUDP.h> //https://github.com/me-no-dev/ESPAsyncUDP
|
||||||
|
#include <ESPAsyncE131.h> //https://github.com/forkineye/ESPAsyncE131
|
||||||
|
ESPAsyncE131* e131 = NULL; //(END_UNIVERSE - START_UNIVERSE + 1);
|
||||||
|
#endif
|
||||||
|
|
||||||
// MQTT
|
// MQTT
|
||||||
#if defined(ENABLE_MQTT)
|
#if defined(ENABLE_MQTT)
|
||||||
#if ENABLE_MQTT == 0
|
#if ENABLE_MQTT == 0
|
||||||
@@ -59,15 +68,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ENABLE_E131)
|
|
||||||
// ***************************************************************************
|
|
||||||
// Load libraries for E131 support
|
|
||||||
// ***************************************************************************
|
|
||||||
#include <ESPAsyncUDP.h> //https://github.com/me-no-dev/ESPAsyncUDP
|
|
||||||
#include <ESPAsyncE131.h> //https://github.com/forkineye/ESPAsyncE131
|
|
||||||
ESPAsyncE131* e131 = NULL; //(END_UNIVERSE - START_UNIVERSE + 1);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(ENABLE_REMOTE)
|
#if defined(ENABLE_REMOTE)
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
// Load libraries for IR remote support
|
// Load libraries for IR remote support
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
char HOSTNAME[65] = "McLightingRGBW"; // Friedly hostname is configurable just for the start
|
char HOSTNAME[65] = "McLightingRGBW"; // Friedly hostname is configurable just for the start
|
||||||
|
|
||||||
#define ENABLE_OTA 1 // If defined, enable Arduino OTA code. If set to 0 enable Arduino OTA code, if set to 1 enable ESP8266HTTPUpdateServer OTA code.
|
#define ENABLE_OTA 1 // If defined, enable Arduino OTA code. If set to 0 enable Arduino OTA code, if set to 1 enable ESP8266HTTPUpdateServer OTA code.
|
||||||
#define ENABLE_MQTT 0 // If defined use MQTT OR AMQTT, if set to 0 enable MQTT client code, see: https://github.com/toblum/McLighting/wiki/MQTT-API, if set to 1, enable Async MQTT code, see: https://github.com/marvinroger/async-mqtt-client
|
#define ENABLE_MQTT 1 // If defined use MQTT OR AMQTT, if set to 0 enable MQTT client code, see: https://github.com/toblum/McLighting/wiki/MQTT-API, if set to 1, enable Async MQTT code, see: https://github.com/marvinroger/async-mqtt-client
|
||||||
//#define ENABLE_MQTT_HOSTNAME_CHIPID // Uncomment/comment to add ESPChipID to end of MQTT hostname
|
//#define ENABLE_MQTT_HOSTNAME_CHIPID // Uncomment/comment to add ESPChipID to end of MQTT hostname
|
||||||
#define ENABLE_HOMEASSISTANT // If defined, enable Homeassistant integration, ENABLE_MQTT must be active
|
#define ENABLE_HOMEASSISTANT // If defined, enable Homeassistant integration, ENABLE_MQTT must be active
|
||||||
#define MQTT_HOME_ASSISTANT_SUPPORT // If defined, use AMQTT and select Tools -> IwIP Variant -> Higher Bandwidth
|
#define MQTT_HOME_ASSISTANT_SUPPORT // If defined, use AMQTT and select Tools -> IwIP Variant -> Higher Bandwidth
|
||||||
|
|||||||
@@ -139,5 +139,5 @@
|
|||||||
*
|
*
|
||||||
* Version Bump to 2.2.3 rgbw 3colors
|
* Version Bump to 2.2.3 rgbw 3colors
|
||||||
* PubSubClient Bug fixes
|
* PubSubClient Bug fixes
|
||||||
*
|
* Reverted Pointers for MQTT for the moment
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user