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

small bug in web UI #51

Open matajumotors opened 7 years ago

matajumotors commented 7 years ago

When changing output mode form DMX to WS2812B, page controls (universes, led count etc) are not displayed. They become visible only when "save settings is pressed". Ignore if it has to be like this, but it would make sense to update relevant controls when new output mode is selected.

mtongnz commented 7 years ago

This is a limitation of my webpage javascript and could be fixed fairly easily.

Pressing save sends all the settings to the ESP which replies then with all the current settings (now with led count....). My javascript only updates the webpage when it receives these replies. You could make it change the page when the mode is changed if desired.

Let me know how you go - I'd love to add this feature to the main code.