Wrap component log string for ESPHome 2026.1 compatibility#7
Wrap component log string for ESPHome 2026.1 compatibility#7stas2k wants to merge 1 commit intojorticus:masterfrom
Conversation
|
Hi there, I am trying to use this PR to fix compatibility with the latest ESPHome (2025.12.1), but I am facing issues with the RX feedback. My Setup:
The Issue: My Questions:
I suspect the Thanks! |
|
FYI this has been an issue since October or so sehraf@b4a094d
The RX is pulled down by design That said, receiving can be unreliable (see #3 ) and you might want to give my branch a try (see #3 again for more information): external_components:
- source: github://sehraf/esphome-dali@gpio_interrupt
components: [dali] |
I actually found you branch after creating this PR, and switched onto it. The RX does not work for me as well using the Pico-DALI2.
I am using Waveshare Pico-DALI2 hooked up to a KC868-A16 GPIO pins GPIO32(TX) and GPIO33(RX). The DALI dimmer I am using is Skydance LN-150-24-2DA. Here is a snippet of my config: external_components:
- source: github://sehraf/esphome-dali@gpio_interrupt
components: [dali]
dali:
id: dali_bus
tx_pin: GPIO32 #HT1
rx_pin: GPIO33 #HT2
discovery: false # does not work, finds no devices
initialize_addresses: true
light:
- platform: dali
id: dali_light
name: "All DALI Lights"
restore_mode: ALWAYS_OFF
color_mode: COLOR_TEMPERATURE
# specific to my strip
cold_white_color_temperature: 6500K
warm_white_color_temperature: 2000KOnly broadcast works for me, but for now I will have only a single dimmer on the bus. Color temperature settings work. I am willing to buy a second set to test more the RX parts. As a bus power supply I have a 220 Ohm resistor in series with a current limited bench PSU set to 12V 220mA. |
|
Seems it is normal for DALI bus to be high on idle state. I will hook up a scope today and see what is there when RX happens |
|
I've ordered the Waveshare DALI board + ESP32-S3, will try to test this by end of this month. Not sure what's going on here. I tested the original code with a custom board using opto-isolators and a fast current source power supply, and a regular ESP32. |



This change allows me to compile the component on ESPHome 2026.1.