10
10
*/
11
11
/*
12
12
* @title Espalexa library
13
- * @version 2.6 .0
13
+ * @version 2.7 .0
14
14
* @author Christian Schwinne
15
15
* @license MIT
16
16
* @contributors d-999
49
49
#include < WiFiUdp.h>
50
50
51
51
#ifdef ESPALEXA_DEBUG
52
- #pragma message "Espalexa 2.6 .0 debug mode"
52
+ #pragma message "Espalexa 2.7 .0 debug mode"
53
53
#define EA_DEBUG (x ) Serial.print (x)
54
54
#define EA_DEBUGLN (x ) Serial.println (x)
55
55
#else
@@ -161,7 +161,7 @@ class Espalexa {
161
161
162
162
sprintf_P (buf, PSTR (" {\" state\" :{\" on\" :%s,\" bri\" :%u%s%s,\" alert\" :\" none%s\" ,\" mode\" :\" homeautomation\" ,\" reachable\" :true},"
163
163
" \" type\" :\" %s\" ,\" name\" :\" %s\" ,\" modelid\" :\" %s\" ,\" manufacturername\" :\" Philips\" ,\" productname\" :\" E%u"
164
- " \" ,\" uniqueid\" :\" %s\" ,\" swversion\" :\" espalexa-2.6 .0\" }" )
164
+ " \" ,\" uniqueid\" :\" %s\" ,\" swversion\" :\" espalexa-2.7 .0\" }" )
165
165
166
166
, (dev->getValue ())?" true" :" false" , dev->getLastValue ()-1 , buf_col, buf_ct, buf_cm, typeString (dev->getType ()),
167
167
dev->getName ().c_str (), modelidString (dev->getType ()), static_cast <uint8_t >(dev->getType ()), buf_lightid);
@@ -186,7 +186,7 @@ class Espalexa {
186
186
}
187
187
res += " \r\n Free Heap: " + (String)ESP.getFreeHeap ();
188
188
res += " \r\n Uptime: " + (String)millis ();
189
- res += " \r\n\r\n Espalexa library v2.6 .0 by Christian Schwinne 2021" ;
189
+ res += " \r\n\r\n Espalexa library v2.7 .0 by Christian Schwinne 2021" ;
190
190
server->send (200 , " text/plain" , res);
191
191
}
192
192
#endif
0 commit comments