Handling of incoming MQTT messages improved.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-06-11 19:48:42 +02:00
parent 83254f2eaa
commit 2072877159
3 changed files with 56 additions and 32 deletions

View File

@ -29,7 +29,6 @@
#define MQTT_USER "..."
#define MQTT_PASS "..."
#define MQTT_TOPIC "pitrix/" // MQTT-Topic to listen to. Must not start with a slash, but must end with one."
#define MQTT_TOPIC_LOG "pitrix/log"
#define MQTT_REPORT_METRICS
#define MQTT_TOPIC_WEATHER "accuweather/pitrix/" // MQTT topic to listen for weather data. Must not start with a slash, but must end with one.

View File

@ -22,10 +22,14 @@ void mqtt_publish(const char* topic, int number);
void mqtt_log(const char* message);
void mqtt_log(int number);
void mqtt_log(long unsigned int number);
void mqtt_log(long int number);
void mqtt_log(String str);
void mqtt_log_ln(const char* message);
void mqtt_log_ln(int number);
void mqtt_log_ln(long unsigned int number);
void mqtt_log_ln(long int number);
void mqtt_log_ln(String str);
void mqtt_log_send(const char* message);