backup 20240718
This commit is contained in:
@@ -1,83 +0,0 @@
|
||||
substitutions:
|
||||
device_name: "zigbee_server"
|
||||
friendly_name: "Zigbee server"
|
||||
comment: "esp32, POE eth zigbee"
|
||||
location: "hass"
|
||||
api_password: !secret zigbee_server_api
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
dns1: !secret ip_dns1
|
||||
dns2: !secret ip_dns2
|
||||
ip: !secret zigbee_server_ip
|
||||
pin_button: GPIO39
|
||||
pin_leds: GPIO25
|
||||
pin_mdc: GPIO23
|
||||
pin_mdio: GPIO18
|
||||
pin_clk: GPIO17_OUT
|
||||
pin_power: GPIO5
|
||||
pin_efrReset: GPIO33
|
||||
pin_efrTX: GPIO12
|
||||
pin_efrRX: GPIO16
|
||||
|
||||
|
||||
packages:
|
||||
board: !include boards/esp32_wroom_arduino.yaml
|
||||
# connection: !include common/wifi.yaml
|
||||
device_base: !include common/common.yaml
|
||||
ethernet: !include interfaces/eth_LAN8720A.yaml
|
||||
# bt_proxy: !include templates/ble_proxy.yaml
|
||||
ota: !include common/ota.yaml
|
||||
logger: !include templates/nologger.yaml
|
||||
uptimesensor: !include sensors/uptime.yaml
|
||||
time: !include templates/time.yaml
|
||||
|
||||
external_components:
|
||||
- source: github://tube0013/esphome-stream-server-v2
|
||||
- source: github://syssi/esphome-zeroconf@main
|
||||
|
||||
# web_server:
|
||||
# port: 80
|
||||
|
||||
# switch:
|
||||
# - platform: gpio
|
||||
# pin: ${pin_efrReset}
|
||||
# id: zRST_gpio
|
||||
# inverted: yes
|
||||
# restore_mode: ALWAYS_OFF
|
||||
|
||||
|
||||
button:
|
||||
- platform: restart
|
||||
name: "Restart the Gateway"
|
||||
disabled_by_default: true
|
||||
|
||||
uart:
|
||||
id: uart_bus
|
||||
tx_pin: ${pin_efrTX}
|
||||
rx_pin: ${pin_efrRX}
|
||||
baud_rate: 115200
|
||||
stop_bits: 1
|
||||
|
||||
stream_server:
|
||||
uart_id: uart_bus
|
||||
id: ss
|
||||
port: 6638 # optional, default is 6638
|
||||
|
||||
binary_sensor:
|
||||
- platform: stream_server
|
||||
stream_server: ss
|
||||
name: "TubesZB Serial Connected"
|
||||
|
||||
zeroconf:
|
||||
- service: tubeszb
|
||||
protocol: tcp
|
||||
port: 6638
|
||||
txt:
|
||||
version: 1.0
|
||||
name: TubesZB
|
||||
radio_type: ezsp
|
||||
baud_rate: 115200
|
||||
data_flow_control: software
|
||||
Reference in New Issue
Block a user