This commit is contained in:
MichaelDvP
2022-12-07 07:41:25 +01:00
20 changed files with 97 additions and 45 deletions

View File

@@ -57,6 +57,10 @@ static String generateClientId() {
#define FACTORY_MQTT_MAX_TOPIC_LENGTH 128
#endif
#ifndef FACTORY_MQTT_MULTIPLE_INSTANCES
#define FACTORY_MQTT_MULTIPLE_INSTANCES false
#endif
class MqttSettings {
public:
// host and port - if enabled
@@ -75,6 +79,9 @@ class MqttSettings {
uint16_t keepAlive;
bool cleanSession;
// multiple instances
bool multiple_instances;
// proddy EMS-ESP specific
String base;
uint16_t publish_time_boiler;