johnboiles / esp-roomba-mqtt

ESP8266 MQTT Roomba controller (Useful for hooking up old Roombas to Home Assistant)
200 stars 60 forks source link

Adding wifi mode set to prevent erroneous SSID broadcast from ESP8266. #15

Closed kg333 closed 5 years ago

kg333 commented 5 years ago

Current version occasionally broadcasts an AP with SSID "ESP_[MAC]" with no password. Per this issue on the esp8266 Arduino library, fix is to set the Wifi mode after Wifi.begin: https://github.com/esp8266/Arduino/issues/549

Also one additional return statement to fix compiler warning about non-void function.

kg333 commented 5 years ago

On second look, this is hosing the main loop. Will debug more later today and re-open PR.