Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
/ esphome-nat-ap Public archive

An ESPHome custom component that implements a WIFI repeater (NAT-ing AP)

Notifications You must be signed in to change notification settings

mag1024/esphome-nat-ap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

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") };

About

An ESPHome custom component that implements a WIFI repeater (NAT-ing AP)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages