rstephan / ArtnetWifi

Arduino library for Art-Net (artnet) over WiFi, send and receive DMX data. Runs on ESP8266, ESP32, Pi Pico W, WiFi101 and WiFiNINA devices.
Other
363 stars 61 forks source link

Universe per ESP/node #35

Closed Jaybeekay closed 3 years ago

Jaybeekay commented 3 years ago

Hi,

Thanks a bunch for all your work on artnetwifi.

Similar to the issue - Splitting Universe Channels - and referring to rstephan response specifically - per node based firmware : I'm a bit lost to how exactly I would go about setting this up with the following as an example:

170 leds -> ESP8266 -> Universe 0 170 leds -> ESP8266 -> Universe 1 170 leds -> ESP8266 -> Universe 2 170 leds -> ESP8266 -> Universe 3

My guess would be that similar to the IP offset example being provided in the issue linked above, I'm assuming that I'd need a similar offset for the universe configured per node. Unfortunately, my coding experience is not that great, so reaching out for some/any possible assistance from anyone for an example of where I'd have to adjust the configuration to compensate?

(fwiw: My current referenced code is based off the FastLED example, but NeoPixel reference would be fine as well.)

Thanks in advance

Jaybeekay commented 3 years ago

Ended up spending some time to understand and used the example snippet provided on the DHCP option with rstpehans' comment - https://github.com/rstephan/ArtnetWifi/issues/28#issuecomment-671402900 - managed to get it working.