mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
Merge pull request #2517 from Misiu/mega
Rename OpenHAB MQTT to Home Assistant (openHAB) MQTT
This commit is contained in:
@@ -45,9 +45,9 @@
|
||||
.. |C004_maintainer| replace:: `.`
|
||||
.. |C004_compileinfo| replace:: `.`
|
||||
|
||||
.. |C005_name| replace:: :cyan:`OpenHAB MQTT`
|
||||
.. |C005_name| replace:: :cyan:`Home Assistant (openHAB) MQTT`
|
||||
.. |C005_type| replace:: :cyan:`Controller`
|
||||
.. |C005_typename| replace:: :cyan:`Controller - OpenHAB MQTT`
|
||||
.. |C005_typename| replace:: :cyan:`Controller - Home Assistant (openHAB) MQTT`
|
||||
.. |C005_status| replace:: :green:`NORMAL`
|
||||
.. |C005_github| replace:: C005.ino
|
||||
.. _C005_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C005.ino
|
||||
|
||||
@@ -90,7 +90,7 @@ void check_size() {
|
||||
// 2 = Domoticz MQTT
|
||||
// 3 = Nodo Telnet
|
||||
// 4 = ThingSpeak
|
||||
// 5 = OpenHAB MQTT
|
||||
// 5 = Home Assistant (openHAB) MQTT
|
||||
// 6 = PiDome MQTT
|
||||
// 7 = EmonCMS
|
||||
// 8 = Generic HTTP
|
||||
|
||||
+4
-4
@@ -1,11 +1,11 @@
|
||||
#ifdef USES_C005
|
||||
//#######################################################################################################
|
||||
//########################### Controller Plugin 005: OpenHAB MQTT #######################################
|
||||
//################### Controller Plugin 005: Home Assistant (openHAB) MQTT ##############################
|
||||
//#######################################################################################################
|
||||
|
||||
#define CPLUGIN_005
|
||||
#define CPLUGIN_ID_005 5
|
||||
#define CPLUGIN_NAME_005 "OpenHAB MQTT"
|
||||
#define CPLUGIN_NAME_005 "Home Assistant (openHAB) MQTT"
|
||||
|
||||
bool CPlugin_005(byte function, struct EventStruct *event, String& string)
|
||||
{
|
||||
@@ -41,8 +41,8 @@ bool CPlugin_005(byte function, struct EventStruct *event, String& string)
|
||||
|
||||
case CPLUGIN_PROTOCOL_TEMPLATE:
|
||||
{
|
||||
event->String1 = F("/%sysname%/#");
|
||||
event->String2 = F("/%sysname%/%tskname%/%valname%");
|
||||
event->String1 = F("%sysname%/#");
|
||||
event->String2 = F("%sysname%/%tskname%/%valname%");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ To create/register a plugin, you have to :
|
||||
|
||||
#define USES_C001 // Domoticz HTTP
|
||||
#define USES_C002 // Domoticz MQTT
|
||||
#define USES_C005 // OpenHAB MQTT
|
||||
#define USES_C005 // Home Assistant (openHAB) MQTT
|
||||
// #define USES_C006 // PiDome MQTT
|
||||
#define USES_C008 // Generic HTTP
|
||||
#define USES_C009 // FHEM HTTP
|
||||
@@ -571,7 +571,7 @@ To create/register a plugin, you have to :
|
||||
#define USES_C002 // Domoticz MQTT
|
||||
#define USES_C003 // Nodo telnet
|
||||
#define USES_C004 // ThingSpeak
|
||||
#define USES_C005 // OpenHAB MQTT
|
||||
#define USES_C005 // Home Assistant (openHAB) MQTT
|
||||
#define USES_C006 // PiDome MQTT
|
||||
#define USES_C007 // Emoncms
|
||||
#define USES_C008 // Generic HTTP
|
||||
|
||||
Reference in New Issue
Block a user