Frequently Asked Questions (FAQs)
  1. Help & Support
  2. Troubleshooting
  3. Frequently Asked Questions (FAQs)

How Can I Troubleshoot My WiFi Connection?

Common WiFi connectivity issues include incorrect SSID/password, low WiFi signal, router channel settings, compatibility with the 2.4GHz band, and outdated security protocols.

1. Verify SSID and Password

Ensure the SSID (network name) and password are correctly entered in the device's settings. This might seem basic, but it's a common oversight and a good starting point for troubleshooting​​.

If you're having trouble with connecting to WiFi and you've verified that your SSID and password have been entered correctly, consider removing any odd characters and/or spaces from your SSID and password. Spaces and special characters in either the SSID or password may sometimes lead to difficulty establishing a connection.

 

WiFi connectivity using ESPHome firmware

Some users of ESPHome firmware and WiFi Mesh systems can experience issues with WiFi connectivity. We suggest you modify the WiFi configuration in your ESPHome firmware and give your device a specific BSSID of the access point you want it to connect to. Like this:

wifi:
networks:
- ssid: MyNetwork
- password: mypass
- bssid: AB:CD:EF:01:23:45

The above should force it to only connect to the access point with the given BSSID.

2. Check Router Channel Settings

The ESP8266 module may have issues connecting to routers set to channels 13 or 14, which are not legal for use in some regions, such as those governed by the FCC (United States). Adjusting the router to operate on a different channel, ideally setting it to auto, can resolve this issue​​.

3. Confirm 2.4GHz Band Compatibility

ESP8266 operates only on the 2.4GHz WiFi band and not on the 5.8GHz band. Ensure that the router or access point you're attempting to connect to supports and has enabled the 2.4GHz band​​. If you have a feature on your Router called 'Smart Connect', disable it.

Having several 2.4ghz networks in the same household/space can cause interference. If you are having trouble with your WiFi connection, consider turning off any secondary 2.4ghz networks in your home/space if possible. 

4. Security Protocol Compatibility

If connecting to a network that requires a WEP key, be aware that this security protocol is outdated and less secure. The ESP8266 requires explicit enabling of WEP in the code using WiFi.enableInsecureWEP() to connect to such networks​​.

5. Additional Considerations

  • Low WiFi Signal: 

    If your device is experiencing a weak or unstable WiFi connection, this can significantly impact its performance. To address low WiFi signal strength, consider the following steps:

    • Positioning: Ensure that your device is within a reasonable range of the WiFi router. Walls and other physical obstructions can weaken the signal.
    • WiFi Extenders: Using a WiFi extender or a mesh network system can help boost the signal in areas far from the router.
    • Interference: Other electronic devices and appliances can interfere with WiFi signals. Try to minimize the number of obstructions and interference sources between the device and the router.
    • Antenna Adjustment: If your device has an external antenna, adjust its position for optimal signal reception.
  • Network Outages: If there's a network connectivity issue, Konnected devices with ESPHome firmware will automatically reboot as a failsafe measure. Occasional reboots are normal, and the system is designed to quickly restart and update each sensor's status​​.
  • Firmware Updates: Ensure your device's firmware is up to date. For instance, a memory leak related to Ethernet connectivity on the Alarm Panel Pro was resolved in a firmware update. Keeping the firmware current can help reduce connectivity issues​​.
  • Factory Reset: If experiencing frequent reboots or connectivity issues, consider performing a factory reset of the device settings and then resyncing from your smart home platform or Konnected app​​.

Conclusion

Troubleshooting WiFi connectivity on devices with ESP8266 and ESP32 requires a systematic approach, considering factors like router settings, device configuration, and potential interference from other components. Ensuring compatibility with your WiFi network's frequency band, updating to the latest firmware, and adjusting settings in the device's code are essential steps in resolving connectivity issues.


Additional Troubleshooting Options

If you have checked all of the above possible reasons for WiFi connection issues and are still having trouble with your connection, you can create a help-log which will assist you in identifying potential reasons for your WiFi connection issue.

Below is a table containing disconnect reasons and their corresponding codes. You can find this chart and more information here.

Disconnect reason value
wifi.eventmon.reason.UNSPECIFIED 1
wifi.eventmon.reason.AUTH_EXPIRE 2
wifi.eventmon.reason.AUTH_LEAVE 3
wifi.eventmon.reason.ASSOC_EXPIRE 4
wifi.eventmon.reason.ASSOC_TOOMANY 5
wifi.eventmon.reason.NOT_AUTHED 6
wifi.eventmon.reason.NOT_ASSOCED 7
wifi.eventmon.reason.ASSOC_LEAVE 8
wifi.eventmon.reason.ASSOC_NOT_AUTHED 9
wifi.eventmon.reason.DISASSOC_PWRCAP_BAD 10
wifi.eventmon.reason.DISASSOC_SUPCHAN_BAD 11
wifi.eventmon.reason.IE_INVALID 13
wifi.eventmon.reason.MIC_FAILURE 14
wifi.eventmon.reason.4WAY_HANDSHAKE_TIMEOUT 15
wifi.eventmon.reason.GROUP_KEY_UPDATE_TIMEOUT 16
wifi.eventmon.reason.IE_IN_4WAY_DIFFERS 17
wifi.eventmon.reason.GROUP_CIPHER_INVALID 18
wifi.eventmon.reason.PAIRWISE_CIPHER_INVALID 19
wifi.eventmon.reason.AKMP_INVALID 20
wifi.eventmon.reason.UNSUPP_RSN_IE_VERSION 21
wifi.eventmon.reason.INVALID_RSN_IE_CAP 22
wifi.eventmon.reason.802_1X_AUTH_FAILED 23
wifi.eventmon.reason.CIPHER_SUITE_REJECTED 24
wifi.eventmon.reason.BEACON_TIMEOUT 200
wifi.eventmon.reason.NO_AP_FOUND 201
wifi.eventmon.reason.AUTH_FAIL 202
wifi.eventmon.reason.ASSOC_FAIL 203
wifi.eventmon.reason.HANDSHAKE_TIMEOUT 204