Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ha-artnet-led not sending any packets... #73

Open
micah-quinn opened this issue Nov 23, 2024 · 2 comments
Open

ha-artnet-led not sending any packets... #73

micah-quinn opened this issue Nov 23, 2024 · 2 comments

Comments

@micah-quinn
Copy link

micah-quinn commented Nov 23, 2024

Hello all,

I have a supervised version of HA (2024.11.3/2024.11.4/20241106.2) running on a raspberry pi 3. I've installed ha-artnet-led (v0.1.21) via HACS and I have the following very simple configuration:

light:
- platform: artnet_led
  host: 10.0.0.66                              # IP of Art-Net Node
  max_fps: 40                           # Max 40 per second
  refresh_every: 0                      # Resend values if no fades are running every x seconds, 0 disables automatic refresh
  node_type: artnet-direct              # Which protocol to use
  universes:                            # Support for multiple universes
    0:                                  # Nr of Universe (see configuration of your Art-Net Node)
      send_partial_universe: True       # Only send the universe which contains data
      output_correction: quadratic      # optional: output correction for the whole universe, will be used as default if nothing is set for the channel
      devices:
        # Dimmer
        - channel: 1                    # first channel of dmx dimmer
          name: switch_1                # name
          type: dimmer                  # type
          transition: 1                 # default duration of fades in sec. Will be overridden by Transition sent from HA
          output_correction: quadratic  # optional: quadratic, cubic or quadruple. Apply different dimming curves to the output. Default is None which means linear dimming
          channel_size: 16bit           # width of the channel sent to DMX device, default "8bit", "16bit", "24bit" and "32bit" available.

In HA, I see one entity named "switch_1" associated with artnet and I'm able to toggle/dim the switch in the web UI. However, I never see any packets destined for 10.0.0.66. I've used tcpdump to watch the traffic both in the HA container and natively on the raspberry Pi; nothing.

I'm new to artnet, so perhaps I'm confused but I would expect UDP packets on port 6454 to be sent when I toggle the switch. Is there something obvious I'm doing wrong?

@jwacalex
Copy link

I would try an ArtNet Analzyer like DMX Workshop or dmXLAX. Also, how do you capture the packets?

@micah-quinn
Copy link
Author

To be clear, I'm talking about network packets that should flow from ha-artnet-led to the artnet node hosted by OLAD. OLAD is connected to a USB (FTDI) DMX512. As I mentioned, I'm using tcpdump.

In the meantime, I've taken a different approach and integrated with OLAD's HTTP API on 9090. It seems to work well and is one less protocol to worry about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants