|
56 | 56 | #define USER_TEMPLATE "{\"NAME\":\"Athom Plug V2\",\"GPIO\":[0,0,0,3104,0,32,0,0,224,576,0,0,0,0],\"FLAG\":0,\"BASE\":18}" // [Template] Set JSON template
|
57 | 57 | #endif // ESP8266
|
58 | 58 | #ifdef ESP32
|
59 |
| -#define FALLBACK_MODULE WEMOS // [Module2] Select default module on fast reboot where USER_MODULE is user template |
60 |
| -//#define USER_TEMPLATE "{\"NAME\":\"ESP32-DevKit\",\"GPIO\":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,1,1,0,0,1],\"FLAG\":0,\"BASE\":1}" // [Template] Set JSON template |
| 59 | +#define FALLBACK_MODULE USER_MODULE // [Module2] Select default module on fast reboot where USER_MODULE is user template |
| 60 | +#define USER_TEMPLATE "{\"NAME\":\"Athom Plug V3\",\"GPIO\":[0,0,0,32,0,224,576,0,0,0,0,0,0,0,0,0,0,0,0,0,3104,0],\"FLAG\":0,\"BASE\":1}" // [Template] Set JSON template |
61 | 61 | #endif // ESP32
|
62 | 62 |
|
63 | 63 | #define SAVE_DATA 1 // [SaveData] Save changed parameters to Flash (0 = disable, 1 - 3600 seconds)
|
|
568 | 568 | // #define USE_DGR_LIGHT_SEQUENCE // Add support for device group light sequencing (requires USE_DEVICE_GROUPS) (+0k2 code)
|
569 | 569 | //#define USE_LSC_MCSL // Add support for GPE Multi color smart light as sold by Action in the Netherlands (+1k1 code)
|
570 | 570 |
|
571 |
| -// #define USE_LIGHT_ARTNET // Add support for DMX/ArtNet via UDP on port 6454 (+3.5k code) |
572 |
| - // #define USE_LIGHT_ARTNET_MCAST 239,255,25,54 // Multicast address used to listen: 239.255.25.54 |
| 571 | + #define USE_LIGHT_ARTNET // Add support for DMX/ArtNet via UDP on port 6454 (+3.5k code) |
| 572 | + #define USE_LIGHT_ARTNET_MCAST 239,255,25,54 // Multicast address used to listen: 239.255.25.54 |
573 | 573 |
|
574 | 574 | // -- Counter input -------------------------------
|
575 | 575 | #define USE_COUNTER // Enable inputs as counter (+0k8 code)
|
|
822 | 822 | // #define MODBUS_BRIDGE_TCP_DEFAULT_PORT 502 // Add support for software Modbus TCP Bridge (start the TCP bridge automatically at PORT 502)
|
823 | 823 | //#define USE_TCP_BRIDGE // Add support for Serial to TCP bridge (+1.3k code)
|
824 | 824 | //#define USE_MP3_PLAYER // Use of the DFPlayer Mini MP3 Player RB-DFR-562 commands: play, pause, stop, track, volume and reset
|
825 |
| -// #define MP3_VOLUME 30 // Set the startup volume on init, the range can be 0..100(max) |
| 825 | + #define MP3_VOLUME 30 // Set the startup volume on init, the range can be 0..100(max) |
826 | 826 | // #define USE_DY_SV17F // Use of DY-SV17F MP3 Player commands: play, stop, track and volume
|
827 | 827 | //#define USE_AZ7798 // Add support for AZ-Instrument 7798 CO2 datalogger (+1k6 code)
|
828 | 828 | //#define USE_PN532_HSU // Add support for PN532 using HSU (Serial) interface (+1k7 code, 156 bytes mem)
|
|
915 | 915 |
|
916 | 916 | // -- IR Remote features - subset of IR protocols --------------------------
|
917 | 917 | // #define USE_IR_REMOTE // Send IR remote commands using library IRremoteESP8266 (+4k3 code, 0k3 mem, 48 iram)
|
918 |
| - // #define IR_SEND_INVERTED false // Invert the output. (default = false) e.g. LED is illuminated when GPIO is LOW rather than HIGH. |
| 918 | + #define IR_SEND_INVERTED false // Invert the output. (default = false) e.g. LED is illuminated when GPIO is LOW rather than HIGH. |
919 | 919 | // Setting inverted to something other than the default could easily destroy your IR LED if you are overdriving it.
|
920 | 920 | // Unless you REALLY know what you are doing, don't change this.
|
921 |
| -// #define IR_SEND_USE_MODULATION true // Do we do frequency modulation during transmission? i.e. If not, assume a 100% duty cycle. |
| 921 | + #define IR_SEND_USE_MODULATION true // Do we do frequency modulation during transmission? i.e. If not, assume a 100% duty cycle. |
922 | 922 |
|
923 | 923 | // ====> IR Full protocols are enabled with the line below
|
924 | 924 | // #define USE_IR_REMOTE_FULL // Support all IR protocols from IRremoteESP8266
|
|
945 | 945 |
|
946 | 946 | // Enable IR devoder via GPIO `IR Recv` - always enabled if `USE_IR_REMOTE_FULL`
|
947 | 947 | // #define USE_IR_RECEIVE // Support for IR receiver (+7k2 code, 264 iram)
|
948 |
| - // #define IR_RCV_BUFFER_SIZE 100 // Max number of packets allowed in capture buffer (default 100 (*2 bytes ram)) |
949 |
| - // #define IR_RCV_TIMEOUT 15 // Number of milli-Seconds of no-more-data before we consider a message ended (default 15) |
950 |
| - // #define IR_RCV_MIN_UNKNOWN_SIZE 6 // Set the smallest sized "UNKNOWN" message packets we actually care about (default 6, max 255) |
951 |
| - // #define IR_RCV_WHILE_SENDING 0 // Turns on receiver while sending messages, i.e. receive your own. This is unreliable and can cause IR timing issues |
952 |
| - // #define IR_RCV_TOLERANCE 25 // Base tolerance percentage for matching incoming IR messages (default 25, max 100) |
| 948 | + #define IR_RCV_BUFFER_SIZE 100 // Max number of packets allowed in capture buffer (default 100 (*2 bytes ram)) |
| 949 | + #define IR_RCV_TIMEOUT 15 // Number of milli-Seconds of no-more-data before we consider a message ended (default 15) |
| 950 | + #define IR_RCV_MIN_UNKNOWN_SIZE 6 // Set the smallest sized "UNKNOWN" message packets we actually care about (default 6, max 255) |
| 951 | + #define IR_RCV_WHILE_SENDING 0 // Turns on receiver while sending messages, i.e. receive your own. This is unreliable and can cause IR timing issues |
| 952 | + #define IR_RCV_TOLERANCE 25 // Base tolerance percentage for matching incoming IR messages (default 25, max 100) |
953 | 953 |
|
954 | 954 | // -- SD Card support -----------------------------
|
955 | 955 | // #define USE_SDCARD // mount SD Card, requires configured SPI pins and setting of `SDCard CS` gpio
|
|
0 commit comments