mirror of
https://github.com/syssi/esphome-votronic.git
synced 2025-07-23 04:23:02 +02:00
Some checks failed
CI / yamllint (push) Has been cancelled
CI / Bundle external component and ESPHome (push) Has been cancelled
CI / Create common environment (push) Has been cancelled
CI / Check ruff (push) Has been cancelled
CI / Check flake8 (push) Has been cancelled
CI / Check pylint (push) Has been cancelled
CI / Check pyupgrade (push) Has been cancelled
CI / Run script/ci-custom (push) Has been cancelled
CI / Check clang-format (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 IDF (push) Has been cancelled
CI / Run script/clang-tidy for ESP8266 (push) Has been cancelled
CI / Validate example configurations (push) Has been cancelled
CI / Build example configurations (push) Has been cancelled
43 lines
745 B
YAML
43 lines
745 B
YAML
substitutions:
|
|
name: fake-charger
|
|
device_description: "Emulate the Display-Link port traffic of a Votronic 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.1.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, 0x3A, 0xA0, 0x05, 0xA4, 0x06, 0x78, 0x00, 0x00, 0x00, 0xA0, 0x15, 0x03, 0x00, 0x00, 0xF3]
|