better fix for presence detection

This commit is contained in:
technyon
2022-06-12 10:52:01 +02:00
parent 6ee529b2d9
commit 584eb031d5
6 changed files with 14 additions and 13 deletions

View File

@@ -38,6 +38,7 @@ void W5500Device::initialize()
Ethernet.init(ETHERNET_CS_PIN);
_ethClient = new EthernetClient();
_mqttClient = new PubSubClient(*_ethClient);
_mqttClient->setBufferSize(_mqttMaxBufferSize);
reconnect();