Skip to content

Instantly share code, notes, and snippets.

@tube0013
Created December 17, 2020 15:19
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tube0013/8bf58c9928562a8deeba1fcc18b8bd6c to your computer and use it in GitHub Desktop.
Save tube0013/8bf58c9928562a8deeba1fcc18b8bd6c to your computer and use it in GitHub Desktop.
esphome_zb_bridge_eth
esphome:
name: esphome_zb_bridge_eth
platform: ESP32
board: esp-wrover-kit
includes:
- stream_server.h
- stream_server.cpp
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO0_IN
phy_addr: 1
power_pin: GPIO16
# Enable fallback hotspot (captive portal) in case wifi connection fails
# ap:
# ssid: "Esphome Zb Bridge"
#captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
reboot_timeout: 0s
ota:
web_server:
port: 80
uart:
id: uart_bus
tx_pin: GPIO17
rx_pin: GPIO5
baud_rate: 57600
custom_component:
- lambda: |-
auto stream_server = new StreamServerComponent(id(uart_bus));
return {stream_server};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment