mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-19 12:31:19 +00:00
mqtt
This commit is contained in:
0
ESP32-IDF_Temperture-Node-v2/build/.ninja_lock
Normal file
0
ESP32-IDF_Temperture-Node-v2/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
|||||||
ref: refs/heads/main
|
4c2820d377d1375e787bcef612f0c32c1427d183
|
||||||
|
@@ -18,7 +18,7 @@ set(HEAD_HASH)
|
|||||||
file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
|
file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_Temperture-Node-v2/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
|
||||||
|
|
||||||
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
|
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
|
||||||
set(GIT_DIR "/home/abobkov/MyProjects/ESP-Nodes/.git")
|
set(GIT_DIR "/home/abobkov/esp/v5.4.1/esp-idf/.git")
|
||||||
# handle git-worktree
|
# handle git-worktree
|
||||||
if(EXISTS "${GIT_DIR}/commondir")
|
if(EXISTS "${GIT_DIR}/commondir")
|
||||||
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
|
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
|
||||||
|
@@ -1 +1 @@
|
|||||||
19b11be67f49ebd1964757162935af4bcfe2ff5b
|
4c2820d377d1375e787bcef612f0c32c1427d183
|
||||||
|
@@ -14,8 +14,8 @@
|
|||||||
#include "mqttronix.h"
|
#include "mqttronix.h"
|
||||||
|
|
||||||
static float temp_value = 0.0f;
|
static float temp_value = 0.0f;
|
||||||
static float battery_voltage = 0.0f;
|
static float pressure_voltage = 0.0f;
|
||||||
static float sys_current = 0.0f;
|
static float humidity_value = 0.0f;
|
||||||
|
|
||||||
static void mqtt_publish_task(void *arg) {
|
static void mqtt_publish_task(void *arg) {
|
||||||
esp_mqtt_client_handle_t client = (esp_mqtt_client_handle_t)arg;
|
esp_mqtt_client_handle_t client = (esp_mqtt_client_handle_t)arg;
|
||||||
|
Reference in New Issue
Block a user