10
10
*/
11
11
/*
12
12
* @title Espalexa library
13
- * @version 2.5 .0
13
+ * @version 2.6 .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.5 .0 debug mode"
52
+ #pragma message "Espalexa 2.6 .0 debug mode"
53
53
#define EA_DEBUG (x ) Serial.print (x)
54
54
#define EA_DEBUGLN (x ) Serial.println (x)
55
55
#else
@@ -173,7 +173,7 @@ class Espalexa {
173
173
174
174
sprintf_P (buf, PSTR (" {\" state\" :{\" on\" :%s,\" bri\" :%u%s%s,\" alert\" :\" none%s\" ,\" mode\" :\" homeautomation\" ,\" reachable\" :true},"
175
175
" \" type\" :\" %s\" ,\" name\" :\" %s\" ,\" modelid\" :\" %s\" ,\" manufacturername\" :\" Philips\" ,\" productname\" :\" E%u"
176
- " \" ,\" uniqueid\" :\" %s\" ,\" swversion\" :\" espalexa-2.5 .0\" }" )
176
+ " \" ,\" uniqueid\" :\" %s\" ,\" swversion\" :\" espalexa-2.6 .0\" }" )
177
177
178
178
, (dev->getValue ())?" true" :" false" , dev->getLastValue ()-1 , buf_col, buf_ct, buf_cm, typeString (dev->getType ()),
179
179
dev->getName ().c_str (), modelidString (dev->getType ()), static_cast <uint8_t >(dev->getType ()), buf_lightid);
@@ -198,7 +198,7 @@ class Espalexa {
198
198
}
199
199
res += " \r\n Free Heap: " + (String)ESP.getFreeHeap ();
200
200
res += " \r\n Uptime: " + (String)millis ();
201
- res += " \r\n\r\n Espalexa library v2.5 .0 by Christian Schwinne 2020 " ;
201
+ res += " \r\n\r\n Espalexa library v2.6 .0 by Christian Schwinne 2021 " ;
202
202
server->send (200 , " text/plain" , res);
203
203
}
204
204
#endif
0 commit comments