mirror of
https://github.com/syssi/esphome-votronic.git
synced 2025-07-23 04:23:02 +02:00
43 lines
757 B
YAML
43 lines
757 B
YAML
substitutions:
|
|
name: fake-solar-charger
|
|
device_description: "Emulate the Display-Link port traffic of a Votronic Solar Charger"
|
|
tx_pin: GPIO4
|
|
rx_pin: GPIO5
|
|
|
|
esphome:
|
|
name: ${name}
|
|
comment: ${device_description}
|
|
min_version: 2024.6.0
|
|
project:
|
|
name: "syssi.esphome-votronic"
|
|
version: 3.0.0
|
|
|
|
esp8266:
|
|
board: d1_mini
|
|
|
|
wifi:
|
|
ssid: !secret wifi_ssid
|
|
password: !secret wifi_password
|
|
|
|
ota:
|
|
platform: esphome
|
|
|
|
logger:
|
|
level: DEBUG
|
|
|
|
api:
|
|
reboot_timeout: 0s
|
|
|
|
uart:
|
|
baud_rate: 1000
|
|
tx_pin: ${tx_pin}
|
|
rx_pin: ${rx_pin}
|
|
debug:
|
|
direction: BOTH
|
|
dummy_receiver: true
|
|
|
|
interval:
|
|
- interval: 1s
|
|
then:
|
|
- uart.write: [0xAA, 0x1A, 0xA0, 0x05, 0xA4, 0x06, 0x78, 0x00, 0x00, 0x00, 0xA0, 0x15, 0x03, 0x00, 0x00, 0xD3]
|