claudeheintz / LXDMXWiFi_Library

Library for ESP8266 implements Art-Net and sACN with example DMX input/output to/from network
BSD 3-Clause "New" or "Revised" License
74 stars 17 forks source link

ESP-DMX IP report porblem #5

Closed digi128pci closed 7 years ago

digi128pci commented 8 years ago

Hi, Firts of all very nice project!

I try to use Unicast.

I noticed a problem with some programs. The IP address was not recognised correctly.

The software I use is Lightjams. The IP address in the programm is recognised as 0.0.0.0 ; When I change it to the correct IP it works. The problem is when a node disconnects and reconnect the IP is changed to 0.0.0.0 and the system stops working.

I analyzed the problem in DMX workshop and noticed the following:

Artnet Report node:

esp-artnet3

In the node status and output routing it works ok.

esp-artnet

esp-artnet2

esp-artnet4

I suspect that the IP is not defined in the node report. Can I fix this in some way?

claudeheintz commented 8 years ago

The LXWiFiArtnet class has been updated to correctly return the local IP that is passed in the constructor. (It was not doing this) Also, should the IP address change, there is a new method setLocalAddress that you can use that will update the poll reply with the new address.