mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-27 13:17:11 +02:00
0.8.13
* merge PR #1239 symbolic layout for OLED 128x64 + motion senser functionality * fix MqTT IP addr for ETH connections PR #1240
This commit is contained in:
parent
3766611c08
commit
ec30cc21ea
3 changed files with 9 additions and 1 deletions
|
@ -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`
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue