[GH-ISSUE #1323] pubsubclient::callback() not working with WifiManager #1137

Closed
opened 2026-02-28 01:28:41 +03:00 by kerem · 0 comments
Owner

Originally created by @hitenlulla on GitHub (Dec 18, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1323

Hello, I'm facing an issue, the callback() of pubsubclient is not working with wifimanager. I've used FS to store the WiFi Credentials, MQTT Server IP, MQTT username using WiFiManager and then later connect to MQTT using it. Debugging shows that MQTT is connected successfully and I'm able to run client.loop() but there is no response from callback(). I've set digital pins on esp8266 to toggle HIGH and LOW based on callback payload values but they don't work.
Note: When I hardcode the WiFi Credentials, MQTT Server IP, MQTT username in the code, it works properly.
Can anyone help me regarding this issue?

Originally created by @hitenlulla on GitHub (Dec 18, 2021). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1323 Hello, I'm facing an issue, the callback() of pubsubclient is not working with wifimanager. I've used FS to store the WiFi Credentials, MQTT Server IP, MQTT username using WiFiManager and then later connect to MQTT using it. Debugging shows that MQTT is connected successfully and I'm able to run client.loop() but there is no response from callback(). I've set digital pins on esp8266 to toggle HIGH and LOW based on callback payload values but they don't work. Note: When I hardcode the WiFi Credentials, MQTT Server IP, MQTT username in the code, it works properly. Can anyone help me regarding this issue?
kerem closed this issue 2026-02-28 01:28:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1137
No description provided.