mtongnz / ESP8266_ArtNetNode_v2

ESP8266 based WiFi ArtNet to DMX, RDM and LED Pixels
GNU General Public License v3.0
611 stars 158 forks source link

Allow device reset via DMX #49

Open Alfiszcze opened 7 years ago

Alfiszcze commented 7 years ago

Hi .. There sometimes are some problems with node in WS2812 mode. It freezes display but I can still access to the web administration. It looks like bufor overload or something like this. So there are 2 questions:

  1. Is there way to flash esp with your firmware @ 160MHz, because this maybe fix the problem.
  2. Is there posibility to implement remote reset within DMX signals?? ie. since DMX 511 and 512 channels aren't used within WS2812 mode, so when put on both of them full signal [ 255 ] for 5 seconds it will tell ESP to reboot. Because when it hangs the only way to make it work again is to log in into web admin and reboot node. This isn't very simple solution when playing from consolete without using computer and sending DMX signal to reset would be the easiest way I see...or maybe you have other idea ??

I hope you bought polish beer, as I wrote on paypal instead of led strips :)

mtongnz commented 7 years ago

The issue you're experiencing is known: #41

It was annoying me having to constantly physically reset the device when the WDT issue would occur so I put a counter in the code - if it has a WDT reset a few times in a row, it'll stop all output and just allow web access. I am offering a prize to the person who fixes this issue - source code is currently only available to people who have donated but will be publically released in about a week - you should've received a link via email.

As for a DMX reset, I hadn't thought to do that - it could be done fairly easily but when RGBW pixels are used, all 512 channels are used - not that I've implemented RGBW pixels yet. I'm hoping that this issue will be fixed in the near future.