dawidchyrzynski / arduino-home-assistant

ArduinoHA allows to integrate an Arduino/ESP based device with Home Assistant using MQTT.
https://dawidchyrzynski.github.io/arduino-home-assistant/
GNU Affero General Public License v3.0
480 stars 116 forks source link

help to modify #145

Closed taiwansensor closed 1 year ago

taiwansensor commented 1 year ago

Hello

my code use eClient = new WiFiClient; how i can pass eClient to HAMqtt mqtt(eClient, device); <= error onc ompiler sorry my english is bad..

dawidchyrzynski commented 1 year ago

https://github.com/dawidchyrzynski/arduino-home-assistant/blob/main/examples/nodemcu/nodemcu.ino