show pairing and mqtt status in configuration page
This commit is contained in:
@@ -14,6 +14,8 @@ public:
|
||||
void initialize();
|
||||
void update();
|
||||
|
||||
bool isMqttConnected();
|
||||
|
||||
void publishKeyTurnerState(const char* state, const char* trigger, const char* completionStatus);
|
||||
void publishBatteryReport(const BatteryReport& batteryReport);
|
||||
|
||||
@@ -32,6 +34,8 @@ private:
|
||||
WiFiClient _wifiClient;
|
||||
Preferences* _preferences;
|
||||
|
||||
bool _mqttConnected = false;
|
||||
|
||||
unsigned long _nextReconnect = 0;
|
||||
char _mqttBrokerAddr[100] = {0};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user