add nodes to trigger read states
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "NukiConstants.h"
|
||||
#include "NukiLockConstants.h"
|
||||
#include "Network.h"
|
||||
#include "QueryCommand.h"
|
||||
|
||||
class NetworkLock : public MqttReceiver
|
||||
{
|
||||
@@ -41,6 +42,7 @@ public:
|
||||
void onMqttDataReceived(const char* topic, byte* payload, const unsigned int length) override;
|
||||
|
||||
bool reconnected();
|
||||
uint8_t queryCommands();
|
||||
|
||||
private:
|
||||
bool comparePrefixedPath(const char* fullPath, const char* subPath);
|
||||
@@ -74,6 +76,7 @@ private:
|
||||
String _keypadCommandCode = "";
|
||||
uint _keypadCommandId = 0;
|
||||
int _keypadCommandEnabled = 1;
|
||||
uint8_t _queryCommands = 0;
|
||||
|
||||
bool (*_lockActionReceivedCallback)(const char* value) = nullptr;
|
||||
void (*_configUpdateReceivedCallback)(const char* path, const char* value) = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user