Fix major issue in topic definition

This commit is contained in:
bzi 2019-02-18 21:08:51 +01:00
parent 69d76139f2
commit 7989a20817

View File

@ -15,9 +15,9 @@
#include "mqtt_credentials.h" #include "mqtt_credentials.h"
#define TOPIC_BASE "sensor/window/" #define TOPIC_BASE "sensor/window/"
#define TOPIC_TEMP TOPIC_BASE "/temperature" #define TOPIC_TEMP TOPIC_BASE "temperature"
#define TOPIC_HMID TOPIC_BASE "/temperature" #define TOPIC_HMID TOPIC_BASE "humidity"
#define TOPIC_HEAT TOPIC_BASE "/temperature" #define TOPIC_HEAT TOPIC_BASE "heat_index"
#define DIFF_TEMP 0.3 // sensor has only 0.5°C accuracy, triggering on less is ludicrous #define DIFF_TEMP 0.3 // sensor has only 0.5°C accuracy, triggering on less is ludicrous
#define DIFF_HMID 2.5 // humidity doesn't change that much anyways #define DIFF_HMID 2.5 // humidity doesn't change that much anyways