Closed jwilleke closed 6 months ago
I am now able to connect to broker but not able to publish anything.
Modified the /Volumes/hd3/client-projects/arduino/ArduinoHA-examples/.pio/libdeps/uno_r4_wifi/home-assistant-integration/src/ArduinoHADefines.h and added:
which Turns on debug information of the ArduinoHA core.
# Items starting with "AHA:" are from ArduinoHA core.
15:37:47:295 -> Connected to the network
15:37:47:295 -> SSID: SWIT2
15:37:47:313 -> BSSID: 07:84:B6:51:29:E8:
15:37:47:326 -> MAC: 00:F4:12:FA:A0:81:
15:37:47:332 -> signal strength (RSSI): -70
15:37:53:851 -> Encryption Type: 4
15:37:53:851 ->
15:37:53:851 -> Connecting to MQTT broker at 192.168.68.20
15:37:53:851 -> AHA: init server 192.168.68.20:1833
15:37:53:851 -> mqtt.begin() returned: 1
# > Is from bool HAMqtt::begin()
15:37:53:860 ->
15:37:53:860 -> Connected to the MQTT broker
15:37:53:860 -> Exit setup...
# > is from void HAMqtt::connectToServer() > called from HAMqtt::loop()
15:37:53:860 -> AHA: connecting, client ID: c081a0fa12f4
15:38:03:887 -> AHA: failed to connect
# > is from bool HAMqtt::beginPublish()
15:38:03:887 -> AHA: begin publish aha/c081a0fa12f4/avty_t, len: 7
15:38:03:911 -> AHA: connecting, client ID: c081a0fa12f4
15:38:13:953 -> AHA: failed to connect
Do we have an issue with the publish of the payload?
We figured this out
home-assistant-integration
Github
Nothing I have tried connects to MQTT broker.