From 792fc871668762af87dbd19f34f0aa06c1d807c8 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Wed, 17 Dec 2025 11:00:43 +0100 Subject: [PATCH] Defined unused dummy TX pin as required by component. --- esphome/livingroom.yaml | 2 ++ esphome/sleepingroom.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/esphome/livingroom.yaml b/esphome/livingroom.yaml index 60d7fbf..8baa527 100644 --- a/esphome/livingroom.yaml +++ b/esphome/livingroom.yaml @@ -115,7 +115,9 @@ light: # Initialize UART for Vindriktning sensor uart: + id: uartPM rx_pin: GPIO22 + tx_pin: GPIO23 baud_rate: 9600 # Create text sensor to represent CO2 LED warn state (somewhat redundant) diff --git a/esphome/sleepingroom.yaml b/esphome/sleepingroom.yaml index 010197c..fbf0996 100644 --- a/esphome/sleepingroom.yaml +++ b/esphome/sleepingroom.yaml @@ -114,7 +114,9 @@ light: # Initialize UART for Vindriktning sensor uart: + id: uartPM rx_pin: GPIO26 + tx_pin: GPIO27 baud_rate: 9600 # Create text sensor to represent CO2 LED warn state (somewhat redundant) @@ -212,6 +214,7 @@ sensor: update_interval: 60s # Vindriktning particulate matter sensor - platform: pm1006 + uart_id: uartPM pm_2_5: name: "Feinstaub PM 2.5µm" on_value_range: