Fix major issue in topic definition
This commit is contained in:
parent
69d76139f2
commit
7989a20817
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user