Browse Source

0.8.13

* merge PR #1239 symbolic layout for OLED 128x64 + motion senser functionality
* fix MqTT IP addr for ETH connections PR #1240
pull/1252/head
lumapu 10 months ago
parent
commit
ec30cc21ea
  1. 4
      src/CHANGES.md
  2. 2
      src/defines.h
  3. 4
      src/publisher/pubMqtt.h

4
src/CHANGES.md

@ -1,5 +1,9 @@
# Development Changes # Development Changes
## 0.8.13 - 2023-11-28
* merge PR #1239 symbolic layout for OLED 128x64 + motion senser functionality
* fix MqTT IP addr for ETH connections PR #1240
## 0.8.12 - 2023-11-20 ## 0.8.12 - 2023-11-20
* added button `copy to clipboard` to `/serial` * added button `copy to clipboard` to `/serial`

2
src/defines.h

@ -13,7 +13,7 @@
//------------------------------------- //-------------------------------------
#define VERSION_MAJOR 0 #define VERSION_MAJOR 0
#define VERSION_MINOR 8 #define VERSION_MINOR 8
#define VERSION_PATCH 12 #define VERSION_PATCH 13
//------------------------------------- //-------------------------------------
typedef struct { typedef struct {

4
src/publisher/pubMqtt.h

@ -245,7 +245,11 @@ class PubMqtt {
publish(subtopics[MQTT_VERSION], mVersion, true); publish(subtopics[MQTT_VERSION], mVersion, true);
publish(subtopics[MQTT_DEVICE], mDevName, true); publish(subtopics[MQTT_DEVICE], mDevName, true);
#if defined(ETHERNET)
publish(subtopics[MQTT_IP_ADDR], ETH.localIP().toString().c_str(), true);
#else
publish(subtopics[MQTT_IP_ADDR], WiFi.localIP().toString().c_str(), true); publish(subtopics[MQTT_IP_ADDR], WiFi.localIP().toString().c_str(), true);
#endif
tickerMinute(); tickerMinute();
publish(mLwtTopic, mqttStr[MQTT_STR_LWT_CONN], true, false); publish(mLwtTopic, mqttStr[MQTT_STR_LWT_CONN], true, false);

Loading…
Cancel
Save