Gestion MQTT
This commit is contained in:
1 parent
e723bf87cb
commit
59f7ae7ab3
4 files changed
+20
-2
No files matched your search
@@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
#include <PubSubClient.h>
|
||||
#include "thermostat.h"
|
||||
|
||||
|
||||
void setup_mqtt(PubSubClient& client);
|
||||
void mqtt_loop(PubSubClient& client);
|
||||
@@ -8,3 +10,4 @@ void mqtt_publish_state(PubSubClient& client, ThermostatMode mode, float targetT
|
||||
void mqtt_callback(char* topic, byte* payload, unsigned int length);
|
||||
extern String mqtt_device_id;
|
||||
extern String mqtt_temp_topic;
|
||||
|
||||
Reference in new issue
Block a user