Coder Social home page Coder Social logo

Comments (5)

andyboeh avatar andyboeh commented on August 17, 2024

I never test on ESP8266, so it's likely that some change in ESPHome causes the build failure.

  • What is your ESPHome version? Builds fine for me on 2023.8.3 and on 2023.11.6.
  • Please post your configuration YAML so I can try to reproduce it.

from esphome-dmx512.

psxde avatar psxde commented on August 17, 2024

I have tried multiple versions, including 2023.8.3 and 2023.11.6, and it fails every time. Works fine with ESP32.

The yaml:

esphome:
  name: led-buero-dmx

esp8266:
  board: d1_mini

# WiFi
wifi:
  ssid: !secret home_wifi_ssid
  password: !secret home_wifi_password

# DMX Stuff
external_components:
  - source: github://andyboeh/esphome-dmx512

uart:
  id: uart_bus
  baud_rate: 250000
  tx_pin: GPIO2 # D4
  stop_bits: 2

dmx512:
  id: dmx
  uart_id: uart_bus
  tx_pin: GPIO2 # D4
  uart_num: 1

# LED RGB+CCT-Panel
output:
  - platform: dmx512
    channel: 1
    universe: dmx
    id: dmx_r
  - platform: dmx512
    channel: 2
    universe: dmx
    id: dmx_g
  - platform: dmx512
    channel: 3
    universe: dmx
    id: dmx_b
  - platform: dmx512
    channel: 4
    universe: dmx
    id: dmx_cw
  - platform: dmx512
    channel: 5
    universe: dmx
    id: dmx_ww

light:
  - platform: rgbww
    id: panel
    name: panel
    red: dmx_r
    green: dmx_g
    blue: dmx_b
    cold_white: dmx_cw
    warm_white: dmx_ww
    cold_white_color_temperature: 153 mireds
    warm_white_color_temperature: 500 mireds
    constant_brightness: true
    color_interlock: true
    gamma_correct: 0

from esphome-dmx512.

andyboeh avatar andyboeh commented on August 17, 2024

It builds fine if you add the "logger" component. That's a missing include on my side, I will fix that once I find the correct file :)

from esphome-dmx512.

andyboeh avatar andyboeh commented on August 17, 2024

Fixed in dbd89b4. If you want to test it today, you will have to change your YAML to

external_components:
  - source: github://andyboeh/esphome-dmx512
    refresh: 60s

This forces a recheck of the remote components if the last update was more than 60s ago.

from esphome-dmx512.

psxde avatar psxde commented on August 17, 2024

Thank you very much, the build is now successful :)

from esphome-dmx512.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.