From 6fd5ee1fa7c006b11f77d9e11382f286c72338cb Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Wed, 30 Sep 2026 20:07:57 +0200 Subject: [PATCH] Add ant-host: host ESPHome reading an ANT+ bridge over serial --- mcu-ant-host.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 mcu-ant-host.yaml diff --git a/mcu-ant-host.yaml b/mcu-ant-host.yaml new file mode 100644 index 0000000..3799743 --- /dev/null +++ b/mcu-ant-host.yaml @@ -0,0 +1,34 @@ +# Hardware: Linux host (ESPHome host platform) +# Pinout: +# /dev/ttyACM3 nRF52840 DK running ant_bridge (J-Link VCOM, usb-SEGGER_J-Link_000683492497) +substitutions: + device: ant-host + name: ANT+ Host + comment: ANT+ heart rate monitor via nRF52840 DK bridge + +esphome: + name: mcu-${device} + friendly_name: ${name} + comment: ${comment} + +host: + +packages: + api: !include common/api.yaml + logger: !include common/logger.yaml + +external_components: + - source: github://randybb/esphome-components + components: [ant_plus] + +uart: + # the host uart only takes /dev/, not /dev/serial/by-id/... + port: /dev/ttyACM3 + baud_rate: 115200 + +ant_plus: + device_number: 655730 + heart_rate: + name: Heart Rate + filters: + - throttle: 1s