Skip to content

DALI lights switching Fix

Choose a tag to compare

@fredsch fredsch released this 25 Aug 09:03
· 17 commits to main since this release
ab90d66
  • DALI lights switching back to "off" ~1-2 min after being turned on. The DALI
    state was polled periodically via WAGO_DALI_GET, but that read returns "off"
    (the query is unreliable, and impossible for DMX at address >= 100), which
    overwrote the real state. In line with Calaos, DALI state is no longer polled in a
    loop: it is read once at startup (and only for genuine DALI addresses 1-64),
    then tracked optimistically. Since the PLC's internal program is suspended, a
    DALI light can only be changed from Home Assistant, so the optimistic state is
    exact.