Receive DMX input to control sketch on raspberry PI


I’m trying to do the following:
I have a light installation of about 500 LEDs (with a Fadecandy controller) that are being controlled by a processing sketch running on a raspberry pi zero w. In order to make this fixture easily controllable with common video equipment, I would like the raspberry and then processing to receive DMX input from an external DMX controller to alter the sketch and lights.

I’ve found many tutorials on how to make processing a DMX controller to control DMX light fixtures, but none on how to make the processing sketch the DMX fixture itself that receives DMX input to be controlled.

Does anyone have an idea on how to achieve this?
I’ve seen boards like these but I’m uncertain if my approach actually makes sense.

Input highly appreciated. Thank you!

Have you looked at ArtNet for Java and Processing? I believe that it is a Processing DMX Library. It has a ReceiveDMXData example sketch.