sACN RGBW Overflow error
See original GitHub issueTraceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/pi/led-control/.eggs/sacn-1.8.1-py3.9.egg/sacn/receiving/receiver_socket_udp.py", line 57, in receive_loop
self._listener.on_data(raw_data, time.time())
File "/home/pi/led-control/.eggs/sacn-1.8.1-py3.9.egg/sacn/receiving/receiver_handler.py", line 59, in on_data
self.fire_callbacks_universe(tmp_packet)
File "/home/pi/led-control/.eggs/sacn-1.8.1-py3.9.egg/sacn/receiving/receiver_handler.py", line 143, in fire_callbacks_universe
self._listener.on_dmx_data_change(packet)
File "/home/pi/led-control/.eggs/sacn-1.8.1-py3.9.egg/sacn/receiver.py", line 45, in on_dmx_data_change
callback(packet)
File "/home/pi/led-control/ledcontrol/animationcontroller.py", line 106, in _sacn_callback
self.led_controller.set_all_pixels_rgb_float(
File "/home/pi/led-control/ledcontrol/ledcontroller.py", line 93, in set_all_pixels_rgb_float
driver.ws2811_rgb_render_array_float(self._leds, self._channel, pixels, len(pixels),
OverflowError: in method 'ws2811_rgb_render_array_float', argument 4 of type 'int'
When I try and turn sACN on on the web interface (with 300 rgbw leds) I get this overflow error which I believe makes the sACN server unable to receive any input, so the lights don’t change when LedFx sends them a command
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Configuring and Programming a Raspberry Pi to control an ...
I found an article on stackoverflow that talked about how to do this without installing additional software or writing your own code.
Read more >BRv - River Thames Conditions - Environment Agency - GOV.UK
Nuts shop design, Macross frontier sheryl zerochan, Configure error apr not ... Papanni, Deljenje binarnih brojeva, Calcium heart scan, Fmp200jr-52-1r5.
Read more >Profile-specific objects (0x6000-0xFFFF) - Beckhoff infosys
This object contains the InfoData on the (n+1) th found CANopen slave, if the Scan Boxes command has been executed following switching to...
Read more >Untitled
Mentally challenged boy scores basket, Futurelight eye-7 rgbw moving head beam, ... Hp m177fw error 22, Light hearted humorous books, Thermageddon.
Read more >Arduino - LEDStrip effects for NeoPixel and FastLED
Media error: Format(s) not supported or source(s) not found ... NEO_RGB Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2)
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is intentional because LEDFx and similar programs do not support RGBW (four-channel DMX) control. LEDControl only takes RGB input over sACN and the
ws2811_rgb_render_array_float
function automatically handles converting between color spaces if RGBW LEDs are being used.This error message indicates some issue with the data being sent over sACN that is causing an integer overflow. What are you using to send sACN input?
Can you add
print(pixels)
as the first line of the functiondef set_all_pixels_rgb_float(self, pixels, correction, saturation, brightness, gamma):
in ledcontroller.py to see what the actual pixel data being sent to the rendering code is?I’m having the same issue, going below 170 LEDs works, but above that, sacn doesn’t work.