spacemanspiff2007 / PyArtNet

"Python wrappers for the Art-Net protocol to send DMX over Ethernet"
GNU General Public License v3.0
67 stars 13 forks source link

Reproducible packet error #45

Open fedekrum opened 7 months ago

fedekrum commented 7 months ago

Hi. I am using ESPixelStick ESPixelStick is an open hardware and very cheap implementation of several light control protocols through ethernet(wifi) I posted an issue on the ESPixelStick Github repo. https://github.com/forkineye/ESPixelStick/issues/697

I don't know who is the problem. If it is this library or the ESPixelStick itself.

In my repo you can find my python script, and Wireshark reports. https://github.com/fedekrum/DMX/

How to know where is the error coming from?

Thanks

fedekrum commented 7 months ago

Ok. The thread has been updated at ESPixelStick repo. It is not a bug. The hardware gets it as a packet error because the sequence number is not consecutive if you run a script several times. It looks like each run resets the variable to 0 (or 1).

So the questions are: Is there a way to get the current sequential number from the object? Is there a way to tell the script to start from a certain sequential number?

This will give us some control over the sequential number.

spacemanspiff2007 commented 6 months ago

Is there a way to get the current sequential number from the object?

yes

Is there a way to tell the script to start from a certain sequential number?

yes - just set the counter accordingly