mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
add missing USES_XXX to _C*.ino, _N*.ino
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_C001
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 001: Domoticz HTTP ######################################
|
||||
//#######################################################################################################
|
||||
@@ -165,3 +166,4 @@ boolean CPlugin_001(byte function, struct EventStruct *event, String& string)
|
||||
}
|
||||
return success;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_C002
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 002: Domoticz MQTT ######################################
|
||||
//#######################################################################################################
|
||||
@@ -209,3 +210,4 @@ boolean CPlugin_002(byte function, struct EventStruct *event, String& string)
|
||||
}
|
||||
return success;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_C003
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 003: Nodo Telnet #######################################
|
||||
//#######################################################################################################
|
||||
@@ -107,3 +108,4 @@ boolean CPlugin_003(byte function, struct EventStruct *event, String& string)
|
||||
}
|
||||
return success;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_C004
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 004: ThingSpeak #########################################
|
||||
//#######################################################################################################
|
||||
@@ -127,3 +128,4 @@ boolean CPlugin_004(byte function, struct EventStruct *event, String& string)
|
||||
}
|
||||
return success;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_C005
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 005: OpenHAB MQTT #######################################
|
||||
//#######################################################################################################
|
||||
@@ -122,3 +123,4 @@ boolean CPlugin_005(byte function, struct EventStruct *event, String& string)
|
||||
|
||||
return success;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_C006
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 006: PiDome MQTT ########################################
|
||||
//#######################################################################################################
|
||||
@@ -109,3 +110,4 @@ boolean CPlugin_006(byte function, struct EventStruct *event, String& string)
|
||||
}
|
||||
return success;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_C007
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 007: Emoncms ############################################
|
||||
//#######################################################################################################
|
||||
@@ -122,3 +123,4 @@ boolean CPlugin_007(byte function, struct EventStruct *event, String& string)
|
||||
}
|
||||
return success;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_C008
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 008: Generic HTTP #######################################
|
||||
//#######################################################################################################
|
||||
@@ -151,3 +152,4 @@ boolean HTTPSend(struct EventStruct *event, byte varIndex, float value, unsigned
|
||||
|
||||
return(true);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_C009
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 009: FHEM HTTP ##########################################
|
||||
//#######################################################################################################
|
||||
@@ -197,3 +198,4 @@ void FHEMHTTPsend(String & url, String & buffer, byte index)
|
||||
client.flush();
|
||||
client.stop();
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_C010
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 010: Generic UDP ########################################
|
||||
//#######################################################################################################
|
||||
@@ -97,3 +98,4 @@ void C010_Send(struct EventStruct *event, byte varIndex, float value, unsigned l
|
||||
addLog(LOG_LEVEL_DEBUG_MORE, log);
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
+3
-1
@@ -1,8 +1,9 @@
|
||||
#ifdef USES_C011
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 011: Generic HTTP #######################################
|
||||
//#######################################################################################################
|
||||
|
||||
#ifdef PLUGIN_BUILD_TESTING
|
||||
// #ifdef PLUGIN_BUILD_TESTING
|
||||
|
||||
#define CPLUGIN_011
|
||||
#define CPLUGIN_ID_011 11
|
||||
@@ -283,3 +284,4 @@ void ReplaceTokenByValue(String& s, struct EventStruct *event)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
+2
-1
@@ -1,8 +1,9 @@
|
||||
#ifdef USES_C012
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 012: Blynk #############################################
|
||||
//#######################################################################################################
|
||||
|
||||
#ifdef PLUGIN_BUILD_TESTING
|
||||
// #ifdef PLUGIN_BUILD_TESTING
|
||||
|
||||
#define CPLUGIN_012
|
||||
#define CPLUGIN_ID_012 12
|
||||
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_C013
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 013: ESPEasy P2P network ################################
|
||||
//#######################################################################################################
|
||||
@@ -262,4 +263,4 @@ void C013_Receive(struct EventStruct *event) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_N001
|
||||
//#######################################################################################################
|
||||
//########################### Notification Plugin 001: Email ############################################
|
||||
//#######################################################################################################
|
||||
@@ -174,3 +175,4 @@ boolean NPlugin_001_MTA(WiFiClient& client, String aStr, const String &aWaitForP
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef USES_N002
|
||||
//#######################################################################################################
|
||||
//########################### Notification Plugin 002: Buzzer ###########################################
|
||||
//#######################################################################################################
|
||||
@@ -56,3 +57,4 @@ boolean NPlugin_002(byte function, struct EventStruct *event, String& string)
|
||||
}
|
||||
return success;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user