Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (24 loc) · 648 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 648 Bytes

This custom ESPHome component implements WIFI repeater/extender functionality for ESP32s. Specifically, it runs a SoftAP (in addition to the existing wifi connection), and configures it to perform NAT. Only works with the esp-idf framework (not Arduino).

Warning: very hacky.

Usage:

esphome:
  ...
  includes:
    - nat-ap.h

esp32:
  board: esp32dev
  framework:
    type: esp-idf
    version: 4.4.5
    sdkconfig_options:
      CONFIG_COMPILER_OPTIMIZATION_SIZE: y
      CONFIG_LWIP_IP_FORWARD: y
      CONFIG_LWIP_IPV4_NAPT: y

wifi:
  ...

custom_component:
  - id: nat
    lambda: return { new NatAp("SSID", "PASSWORD") };