jnimmo / hass-dmx

Home Assistant DMX over IP Integration
MIT License
107 stars 47 forks source link

Flickering on fades #45

Open TikiRoomSchmidt opened 3 years ago

TikiRoomSchmidt commented 3 years ago

I've got a series of RGB and RGBW lights that run off DMX and was thrilled to import them as lights in home assistant, so thank you! I'm running HA on a mac that also runs the QLC program that controls the lights.

They trouble is when I started doing fades, the lights flicker about half the time at intervals during the fades from one color to another. It looks like all the calculations may not be performing flawlessly.

I know it's not QLC or the lights themselves because I can actually see the digital sliders and corresponding values jump when I change the color.

Thanks for making such an otherwise fantastic integration!

WormyOne commented 3 years ago

I think I'm seeing something similar (and not using mac or QLC) though I'm currently blaming it on my own arduino homebrew arcnet-->dmx bridge. Once I receive a dedicated box purchased for this (arc-->dmx), I'll be in a better position to report back here.

Breina commented 3 years ago

I'm running HA operating system on a developer laptop doing nothing else.

Changing colors and brightness induces also flickering on my end. I'm aware the transition is set to 40 FPS, but it feels like light updates are running at ~15 fps.

I've checked my DMX interface, it's configured at MAX refresh rate, which is the option after 43 FPS. I can see that it does receive 40 packets when transitioning at 40 fps during 1 second, so it's not skipping any steps.

When using QLC directly by smoothly moving my mouse across the slider, I have the same flickering (I let the wife do a blind AB test). So I am confident that the issue is not of hass-dmx.

Since my LED drivers has a test mode, I could test fading directly. Turns out it's my LED drivers that flicker when fading. I'm using several BC-640-DIN's.