Skip to content

Latest commit

 

History

History
executable file
·
79 lines (59 loc) · 1.19 KB

README.md

File metadata and controls

executable file
·
79 lines (59 loc) · 1.19 KB

esphome-uart-vrf

功能

  1. 实现了与常用的 vrf 进行 UART 或 RS485 通信
  2. 自动探测 vrf 的通信协议,当前支持 demry 和 zhonghong 两种协议
  3. 自动生成 ha climate 实体

core example

external_components:
  - source:
      type: git
      url: https://github.com/idreamshen/esphome-uart-vrf
    refresh: 5min

logger:
  # esp8266 必须关闭串口日志
  # esp32 可正常打开串口日志
  baud_rate: 0 
  
uart:
  - id: myuart1
    tx_pin: 1
    rx_pin: 3
    baud_rate: 9600

uart_vrf:

climate:

full example

esphome:
  name: vrf-8266
  friendly_name: vrf-8266

esp8266:
  board: esp01_1m

external_components:
  - source:
      type: git
      url: https://github.com/idreamshen/esphome-uart-vrf
    refresh: 5min

logger:
  baud_rate: 0

api:

ota:
  password: "d0cd7d439s1a8a0374502b78a2c88fee"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Vrf-8266 Fallback Hotspot"
    password: "oOdtYvZHP3xK"

captive_portal:
  
uart:
  - id: myuart1
    tx_pin: 1
    rx_pin: 3
    baud_rate: 9600

uart_vrf:

climate:

web_server:
  port: 80