Browse Source

Document fauxmo and domoticz default settings

fastled
Xose Pérez 7 years ago
parent
commit
8ad3c8708e
2 changed files with 17 additions and 9 deletions
  1. +9
    -8
      code/espurna/config/arduino.h
  2. +8
    -1
      code/espurna/config/general.h

+ 9
- 8
code/espurna/config/arduino.h View File

@ -28,13 +28,14 @@
//#define ESPURNA //#define ESPURNA
//-------------------------------------------------------------------------------- //--------------------------------------------------------------------------------
// Features
// Features (values below are default values)
//-------------------------------------------------------------------------------- //--------------------------------------------------------------------------------
//#define ENABLE_DHT 1
//#define ENABLE_DS18B20 1
//#define ENABLE_EMON 1
//#define ENABLE_HLW8018 1
//#define ENABLE_RF 1
//#define ENABLE_FAUXMO 0
//#define ENABLE_NOFUSS 1
//#define ENABLE_DHT 0
//#define ENABLE_DS18B20 0
//#define ENABLE_EMON 0
//#define ENABLE_HLW8018 0
//#define ENABLE_RF 0
//#define ENABLE_FAUXMO 1
//#define ENABLE_NOFUSS 0
//#define ENABLE_DOMOTICZ 1

+ 8
- 1
code/espurna/config/general.h View File

@ -89,7 +89,9 @@
// DOMOTICZ // DOMOTICZ
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
#define ENABLE_DOMOTICZ 1
#ifndef ENABLE_DOMOTICZ
#define ENABLE_DOMOTICZ 1
#endif
#define DOMOTICZ_IN_TOPIC "domoticz/in" #define DOMOTICZ_IN_TOPIC "domoticz/in"
#define DOMOTICZ_OUT_TOPIC "domoticz/out" #define DOMOTICZ_OUT_TOPIC "domoticz/out"
@ -106,7 +108,12 @@
// FAUXO // FAUXO
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// This setting defines whether Alexa support should be built into the firmware
#ifndef ENABLE_FAUXMO #ifndef ENABLE_FAUXMO
#define ENABLE_FAUXMO 1 #define ENABLE_FAUXMO 1
#endif #endif
// This is default value for the fauxmoEnabled setting that defines whether
// this device should be discoberable and respond to Alexa commands.
// Both ENABLE_FAUXMO and fauxmoEnabled should be 1 for Alexa support to work.
#define FAUXMO_ENABLED 1 #define FAUXMO_ENABLED 1

Loading…
Cancel
Save