ESP32-POE2 Open Source Hardware PoE IoT board provides up to 25W power supply to external circuits

ESP32-POE2 is modification of the popular ESP32-POE but capable to deliver up to 25W power from PoE connection. This opens up lot of more possibilities.

User selectable 24V / 0.75A or 12V / 1.5A is provided plus +5V/1.5A for external circuits.

From software side ESP32-POE2 acts exactly as ESP32-POE so all software will work on both.

Some of the ESP32-POE2 features are:

  • ESP32-WROOM-32 – WiFi and Bluetooth module
  • Low power design – 200uA consumption in deep sleep
  • Ethernet 100Mb interface with IEEE 802.3 PoE support
  • USB-C connector for power and ESP32 programming
  • MicroSD card working in 1 bit mode
  • LiPo battery charger with LiPo battery connector
  • Battery level monitor pin on ADC
  • External power supply detection pin on ADC
  • Provides 24V/0.75A or 12V/1.5A to external circuit
  • Provides 5V/ 1.5A to external circuit
  • UEXT connector
  • EXT1 connector
  • User button
  • Reset button
  • PCB dimensions: 59×90 mm

The ESP32-POE2 price start from EUR 16.76 for 50+ pcs order.

The board is designed with KiCad and all files are available at GitHub.

ESP32-POE2 is supported by all the popular platforms Espressif SDK, MicroPython, ESPHome, PlatformIO, Arduino.

New ESP32-POE2 Open Source Hardware board in development with 802.3at High-Power 25W deliver 12V@2A, 5V@5A, 3.3V@1A

Current ESP32-POE can deliver only 5V @ 2A and this limits some use cases like door opening solenoids for access control. We got number of requests from customers to re-design with possibility to deliver 12V and higher power, this is how ESP32-POE2 idea was born.

ESP32-POE2 is with credit card size and now have three power supply outputs: 12V up to 2A, 5V up to 5A and 3.3V up to 1A

All else remain same as in the classic ESP32-POE.

If your POE router can’t supply 25W do not worry, ESP32-POE2 has 13W backward compatibility which is enabled via JUMPER. So it can work with both 13W and 25W POE routers/switches.

Right now we are testing the design, production will follow in end of February. Price will be a little bit higher than the classic ESP32-POE.

ESP32-POE and ESP32-POE-ISO Open Source Hardware boards now have version with 16MB Flash

The popular ESP32-POE and ESP32-POE-ISO boards now can be purchased with 16MB Flash for web page storage. We got few requests from customers that they want to put more web pages and the 4MB version is not enough, so we now offer ESP32-POE-16MB and ESP32-POE-ISO-16MB and also the external antenna versions ESP32-POE-EA-16MB and ESP32-POE-ISO-EA-16MB.

ESP32-H2-DevKit-Lipo Open Source Hardware board with Thread/Matter/Zigbee and BLE5 is ready for pre-order

Based on ESP32-H2-MINI-1-N4 module with 4MB Flash.

ESP32-H2 combines IEEE 802.15.4 connectivity with Bluetooth 5 (LE). The SoC is powered by a single-core, 32-bit RISC-V microcontroller that can be clocked up to 96 MHz. The ESP32-H2 has been designed to ensure low power consumption and security for connected devices. ESP32-H2 has 320 KB of SRAM with 16 KB of Cache, 128 KB of ROM, 4 KB LP of memory, and a built-in 2 MB or 4 MB SiP flash. It has 19 programmable GPIOs with support for ADC, SPI, UART, I2C, I2S, RMT, GDMA and LED PWM.

ESP32-H2-DevKit-LiPo have these features:

  • ESP32-H1-MINI-1-N4 module
  • USB-C with USB to Serial converter for programming / debugging
  • USB-C connected directly to ESP32-H2
  • LiPo battery charger and connector
  • UEXT connector
  • Qwiic/Stemma connector
  • Reset button
  • User button
  • User LED
  • all GPIOs available on two headers at 25.4 mm space
  • Dimensions: 48 x 25 mm

ESP32-H2-DevKit-Lipo is ready for pre-order for EUR 8.00

The shipments will start from January 31st, so if you want to be one of the first to play with this new SOC you better hurry up 🙂

ESP32-H2-DevKit-LiPo Open Source Hardware board is ready for prototyping

ESP32-H2-DevKit-Lipo is new Open Source Hardware board with the new Espressif ESP32-H2 series SOC.

ESP32-H2 is an ultra-low-power Internet of Things (IoT) solution offering multiple protocol support on a single chip. It integrates a 2.4 GHz transceiver compliant with Bluetooth ® Low Energy and IEEE 802.15.4-based technologies, supporting Bluetooth 5 (LE), Bluetooth mesh, Thread, Matter, and Zigbee.

ESP32-H2-DevKit-Lipo uses same form factor like ESP32-DevKit-Lipo and has these features:

  • ESP32-H2-MINI-1 module with 32-bit RISC-V single-core processor that operates at up to 96 MHz, 320 KB SRAM, 128 KB ROM, 4 KB LP Memory
  • USB-C UART for programming/debugging
  • USB-C Serial/JTAG connector
  • Ultra low power operation with less than 8uA in deep sleep
  • LiPo charger and connector for LiPo battery
  • Reset and Bootloader buttons
  • UEXT connector
  • Qwiic/Stemma connector
  • two headers with all GPIOs

The board is ready for prototyping and will be released once design is verified. The web sale price will be EUR 6.50

The platic boxes BOX-ESP32-POE and BOX-ESP32-POE-ISO now have possibility to be fixed to flat surface

BOX-ESP32-POE and BOX-ESP32-POE-ISO now have version which allow to fix them with 3 mm screws to flat surface, very useful to wall mounting.

The new versions are named BOX-ESP32-POE-F and BOX-ESP32-POE-ISO-F.

NB-IoT-BC66 now replaced with NB-IoT-BC660

Quectel discontinued BC66 production and now offers replacement with BC660 which is same functionality and pin to pin compatible, but with different SOC inside.

Now we carry NB-IoT-BC660 modules which replaces NB-IoT-BC66.

ESP32-POE and ESP32-POE-ISO got beautiful plastic boxes!

We got many requests for boxes of ESP32-POE and ESP32-POE-ISO but as we used only the metal cut and bend technology they were not suitable for board with internal WiFi antennas.

Recently we made the first steps in 3D printing and can offer you beautiful plastic boxes for ESP32-POE and ESP32-POE-ISO.

The boards fit inside and are fixed with three small scews.

There are openings both on top and bottom for GPIO headers so they can be mounted on top or on bottom

There are openings for UEXT and LiPo battery connector, and two openings for RESET and BOOT buttons for firmware upgrade without opening the box.

ESP32-POE and ESP32-POE-ISO now can be ordered with WROVER module with 8MB PSRAM

ESP32-POE and ESP32-POE-ISO are the most popular ESP32 boards with Power over Ethernet features. They are supported by ESPhome, Arduino, MicroPython, PlatformIO and of course Espressif SDK.

Some customers need more than the WROOM module 520KB of RAM and asked for revision with more RAM and we released WROVER version with 8MB of PSRAM.

The tradeoff is that WROVER module uses some ports to access the PSRAM and GPIO16 becomes non available on the EXT2 connector. Beside this everything is same as with the WROOM modules.

Avoid WiFi channel 12-13-14 when working with ESP devices

Recently we are experimenting with Home Assistant installed on A20-OLinuXino-LIME2 Home server and attaching different nodes made with our ESP8266/ESP32 boards and noticed odd behaviour os ESP when WIFI router is set on the higher frequencies channels.

Most of WiFi router default settings are with channel Auto selection, this means the router will try first Channel 1 if too much noise and drop packets due to overwhelmed with WiFi devices area will change it up and so on, so our developers decided that it’s smart idea to use the WiFi router on the highest possible channel. This will guarantee that this channel will be most noise and interference free from other WiFi devices. So our router was set to WiFi channel 13:

We use the ESP standard firmware and ESPhome code. This is what happens: When the code is flashed for first time, it experience some errors while connecting but manage to connect to the router.

Access Point: TP Link
Hardware Version: Archer C1200 v2.0
Firmware Version: 2.0.0 Build 20170206 rel.46023 (EU)

SUCCESS CH13 (first attempt after flashing the code)
============================

[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -40 dB
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Association Expired'
[W][wifi:533]: Error while connecting to network.
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:479]: Event: Disconnected ssid='OlimexTenda' reason='Probe Request Unsuccessful'
[W][wifi:533]: Error while connecting to network.
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -52 dB
[D][wifi:434]: - 'Haxor' (B0:48:7A:CE:8D:BC) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Association Leave'
[W][wifi:533]: Error while connecting to network.
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[I][wifi:502]: WiFi Connected!
[C][wifi:350]:   Local MAC: 18:FE:34:9C:61:DE
[C][wifi:351]:   SSID: 'OlimexTenda'
[C][wifi:352]:   IP Address: 192.168.0.203
[C][wifi:354]:   BSSID: B0:4E:26:6E:B2:73
[C][wifi:355]:   Hostname: 'esp8266-evb-pir-9c61de'
[C][wifi:357]:   Signal strength: -56 dB 
[C][wifi:361]:   Channel: 13
[C][wifi:362]:   Subnet: 255.255.255.0
[C][wifi:363]:   Gateway: 192.168.0.1
[C][wifi:364]:   DNS1: 192.168.0.1
[C][wifi:365]:   DNS2: 0.0.0.0
[D][wifi:511]: Disabling AP...

As you can see from the above the ESP try to connect twice but gets error: ‘Association Expired’ and ‘Probe Request Unsuccessful’ but on the third attempt it connects.

The problem comes later if for some reason ESP lose power and start again. This could easily happen if the ESP is powered by the mains and there is power blackout and power restore.

FAILURE CH13 (after cold restart)
=================================
[C][wifi:037]: Setting up WiFi...
[D][wifi:046]: Loaded saved wifi settings: OlimexTenda
[D][wifi:370]: Starting scan...
[D][binary_sensor:036]: 'PIR Sensor': Sending state OFF
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -55 dB
[D][wifi:434]: - 'Haxor' (B0:48:7A:CE:8D:BC) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[W][wifi:568]: Restarting WiFi adapter...
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[W][wifi:568]: Restarting WiFi adapter...
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -54 dB
[D][wifi:434]: - 'Haxor' (B0:48:7A:CE:8D:BC) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[W][wifi:568]: Restarting WiFi adapter...
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[W][wifi:568]: Restarting WiFi adapter...
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -52 dB
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[W][wifi:568]: Restarting WiFi adapter...
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[I][wifi:135]: Starting fallback AP!
[C][wifi:198]: Setting up AP...
[C][wifi:200]:   AP SSID: 'esp8266-evb-pir-9c61de'
[C][wifi:201]:   AP Password: ''
[C][wifi:210]:   IP Address: 192.168.4.1
[W][wifi:527]: Timeout while connecting to WiFi.
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -57 dB
[D][wifi:434]: - 'Haxor' (B0:48:7A:CE:8D:BC) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Association Leave'
[W][wifi:533]: Error while connecting to network.
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi:527]: Timeout while connecting to WiFi.
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -56 dB
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Association Leave'
[W][wifi:533]: Error while connecting to network.
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:479]: Event: Disconnected ssid='OlimexTenda' reason='Probe Request Unsuccessful'
[W][wifi:533]: Error while connecting to network.
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -51 dB
[D][wifi:434]: - 'Haxor' (B0:48:7A:CE:8D:BC) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[D][wifi:434]: - 'Haxor' (B0:48:7A:CE:8D:BC) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[W][wifi:439]: No matching network found!
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -54 dB
[D][wifi:434]: - 'Haxor' (B0:48:7A:CE:8D:BC) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -53 dB
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'ESP_CA17E1' (8C:4B:14:CA:17:E1) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -54 dB
[D][wifi:434]: - 'Haxor' (B0:48:7A:CE:8D:BC) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -53 dB
[D][wifi:434]: - 'Haxor' (B0:48:7A:CE:8D:BC) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[W][wifi_esp8266:213]: wifi_apply_hostname_(esp8266-evb-pir-9c61de): lwIP error -16 on interface st (index 0)
[W][wifi_esp8266:483]: Event: Disconnected ssid='OlimexTenda' bssid=B0:4E:26:6E:B2:73 reason='Auth Expired'
[W][wifi:533]: Error while connecting to network.
[D][wifi:370]: Starting scan...
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 13
[D][wifi:431]:     RSSI: -53 dB
[D][wifi:434]: - 'Haxor' (B0:48:7A:CE:8D:BC) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 

As seen from the log above, after power cycling ESP can’t connect to WiFi router anymore, most of the errors shown are ‘Auth Expired’

If we change the WiFi router settings to Channel 1-11:

All problems now are gone and ESP connects every time no matter how many time power is cycled.

SUCCESS CH11 (after cold restart)
=================================
[D][wifi:046]: Loaded saved wifi settings: OlimexTenda
[D][wifi:370]: Starting scan...
[D][binary_sensor:036]: 'PIR Sensor': Sending state OFF
[D][wifi:385]: Found networks:
[I][wifi:429]: - 'OlimexTenda' (B0:4E:26:6E:B2:73) 
[D][wifi:430]:     Channel: 11
[D][wifi:431]:     RSSI: -54 dB
[D][wifi:434]: - 'Haxor' (B0:48:7A:CE:8D:BC) 
[D][wifi:434]: - 'OlimexGuests' (C8:3A:35:4B:10:78) 
[D][wifi:434]: - 'OlimexAP' (00:1F:1F:11:7B:B3) 
[D][wifi:434]: - 'OlimexTest' (78:32:1B:90:D7:38) 
[D][wifi:434]: - 'ubnt' (00:27:22:7C:3C:70) 
[I][wifi:245]: WiFi Connecting to 'OlimexTenda'...
[I][wifi:502]: WiFi Connected!
[C][wifi:350]:   Local MAC: 18:FE:34:9C:61:DE
[C][wifi:351]:   SSID: 'OlimexTenda'
[C][wifi:352]:   IP Address: 192.168.0.203
[C][wifi:354]:   BSSID: B0:4E:26:6E:B2:73
[C][wifi:355]:   Hostname: 'esp8266-evb-pir-9c61de'
[C][wifi:357]:   Signal strength: -55 dB 
[C][wifi:361]:   Channel: 11
[C][wifi:362]:   Subnet: 255.255.255.0
[C][wifi:363]:   Gateway: 192.168.0.1
[C][wifi:364]:   DNS1: 192.168.0.1
[C][wifi:365]:   DNS2: 0.0.0.0
[D][wifi:511]: Disabling AP...
[C][ota:082]: Over-The-Air Updates:
[C][ota:083]:   Address: esp8266-evb-pir.local:8266
[C][api:025]: Setting up Home Assistant API server...
[I][app:060]: setup() finished successfully!
[I][app:099]: ESPHome version 2021.11.4 compiled on Dec  9 2021, 11:08:14
[I][app:101]: Project olimex.esphome-esp8266-evb-pir version 1.0
[C][wifi:488]: WiFi:
[C][wifi:350]:   Local MAC: 18:FE:34:9C:61:DE
[C][wifi:351]:   SSID: 'OlimexTenda'
[C][wifi:352]:   IP Address: 192.168.0.203
[C][wifi:354]:   BSSID: B0:4E:26:6E:B2:73
[C][wifi:355]:   Hostname: 'esp8266-evb-pir-9c61de'
[C][wifi:357]:   Signal strength: -55 dB 
[C][wifi:361]:   Channel: 11
[C][wifi:362]:   Subnet: 255.255.255.0
[C][wifi:363]:   Gateway: 192.168.0.1
[C][wifi:364]:   DNS1: 192.168.0.1
[C][wifi:365]:   DNS2: 0.0.0.0
[C][logger:233]: Logger:
[C][logger:234]:   Level: DEBUG
[C][logger:235]:   Log Baud Rate: 115200
[C][logger:236]:   Hardware UART: UART0
[C][gpio.binary_sensor:015]: GPIO Binary Sensor 'PIR Sensor'
[C][gpio.binary_sensor:015]:   Device Class: 'motion'
[C][gpio.binary_sensor:016]:   Pin: GPIO16
[C][captive_portal:151]: Captive Portal:
[C][ota:082]: Over-The-Air Updates:
[C][ota:083]:   Address: esp8266-evb-pir.local:8266
[C][api:134]: API Server:
[C][api:135]:   Address: esp8266-evb-pir.local:6053
[C][api:139]:   Using noise encryption: NO
[C][mdns:084]: mDNS:
[C][mdns:085]:   Hostname: esp8266-evb-pir-9c61de

Our blind guess is that ESP can’t connect reliable on the higher frequency channels. As far as you choose channels 1-11 everything is fine. We think that most people even do not notice this kind of erros if they routers are set to Auto channels as the chances to go up to 12-13-14 are very slim.

Previous Older Entries