| 
									
										
										
										
											2019-11-27 21:28:13 +00:00
										 |  |  | <!DOCTYPE html> | 
					
						
							| 
									
										
										
										
											2020-12-23 20:43:30 +00:00
										 |  |  | <html lang="en"><head><meta name="viewport" content="width=500"><meta charset="utf-8"><title>Sync Settings</title> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | <script>var d=document; | 
					
						
							| 
									
										
										
										
											2020-05-17 19:18:23 +00:00
										 |  |  | function H(){window.open("https://github.com/Aircoookie/WLED/wiki/Settings#sync-settings");}function B(){window.open("/settings","_self");} | 
					
						
							| 
									
										
										
										
											2020-08-03 00:48:47 +00:00
										 |  |  | function adj(){if (d.Sf.DI.value == 6454) {if (d.Sf.DA.value == 1) d.Sf.DA.value = 0; if (d.Sf.EU.value == 1) d.Sf.EU.value = 0;} | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  |                else if (d.Sf.DI.value == 5568) {if (d.Sf.DA.value == 0) d.Sf.DA.value = 1; if (d.Sf.EU.value == 0) d.Sf.EU.value = 1;} } | 
					
						
							|  |  |  | function SP(){var p = d.Sf.DI.value; d.getElementById("xp").style.display = (p > 0)?"none":"block"; if (p > 0) d.Sf.EP.value = p;} | 
					
						
							| 
									
										
										
										
											2020-09-28 23:13:29 +00:00
										 |  |  | function SetVal(){switch(parseInt(d.Sf.EP.value)){case 5568: d.Sf.DI.value = 5568; break; case 6454: d.Sf.DI.value = 6454; break; case 4048: d.Sf.DI.value = 4048; break; }; SP();} | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | function S(){GetV();SetVal();} | 
					
						
							| 
									
										
										
										
											2020-05-17 19:18:23 +00:00
										 |  |  | function GetV(){var d=document;} | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | </script> | 
					
						
							| 
									
										
										
										
											2020-06-10 10:45:44 +00:00
										 |  |  | <style>@import url("style.css");</style></head> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | <body onload="S()"> | 
					
						
							|  |  |  | <form id="form_s" name="Sf" method="post"> | 
					
						
							| 
									
										
										
										
											2021-03-05 08:50:59 +00:00
										 |  |  | <div class="toprow"> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | <div class="helpB"><button type="button" onclick="H()">?</button></div> | 
					
						
							|  |  |  | <button type="button" onclick="B()">Back</button><button type="submit">Save</button><hr> | 
					
						
							| 
									
										
										
										
											2021-03-05 08:50:59 +00:00
										 |  |  | </div> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | <h2>Sync setup</h2> | 
					
						
							|  |  |  | <h3>Button setup</h3> | 
					
						
							|  |  |  | On/Off button enabled: <input type="checkbox" name="BT"><br> | 
					
						
							|  |  |  | Infrared remote: | 
					
						
							|  |  |  | <select name=IR> | 
					
						
							|  |  |  | <option value=0>Disabled</option> | 
					
						
							|  |  |  | <option value=1>24-key RGB</option> | 
					
						
							|  |  |  | <option value=2>24-key with CT</option> | 
					
						
							|  |  |  | <option value=3>40-key blue</option> | 
					
						
							|  |  |  | <option value=4>44-key RGB</option> | 
					
						
							|  |  |  | <option value=5>21-key RGB</option> | 
					
						
							|  |  |  | <option value=6>6-key black</option> | 
					
						
							| 
									
										
										
										
											2020-06-08 16:54:10 +00:00
										 |  |  | <option value=7>9-key red</option> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | </select><br> | 
					
						
							|  |  |  | <a href="https://github.com/Aircoookie/WLED/wiki/Infrared-Control" target="_blank">IR info</a> | 
					
						
							|  |  |  | <h3>WLED Broadcast</h3> | 
					
						
							|  |  |  | UDP Port: <input name="UP" type="number" min="1" max="65535" class="d5" required><br> | 
					
						
							| 
									
										
										
										
											2020-09-27 09:43:28 +00:00
										 |  |  | 2nd Port: <input name="U2" type="number" min="1" max="65535" class="d5" required><br> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | Receive <input type="checkbox" name="RB">Brightness, <input type="checkbox" name="RC">Color, and <input type="checkbox" name="RX">Effects<br> | 
					
						
							|  |  |  | Send notifications on direct change: <input type="checkbox" name="SD"><br> | 
					
						
							| 
									
										
										
										
											2020-12-14 22:32:57 +00:00
										 |  |  | Send notifications on button press or IR: <input type="checkbox" name="SB"><br> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | Send Alexa notifications: <input type="checkbox" name="SA"><br> | 
					
						
							|  |  |  | Send Philips Hue change notifications: <input type="checkbox" name="SH"><br> | 
					
						
							|  |  |  | Send Macro notifications: <input type="checkbox" name="SM"><br> | 
					
						
							| 
									
										
										
										
											2020-09-27 09:43:28 +00:00
										 |  |  | Send notifications twice: <input type="checkbox" name="S2"><br> | 
					
						
							| 
									
										
										
										
											2020-09-27 09:37:16 +00:00
										 |  |  | <i>Reboot required to apply changes. </i> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | <h3>Realtime</h3> | 
					
						
							|  |  |  | Receive UDP realtime: <input type="checkbox" name="RD"><br><br> | 
					
						
							|  |  |  | <i>Network DMX input</i><br> | 
					
						
							| 
									
										
										
										
											2020-08-03 00:48:47 +00:00
										 |  |  | Type: | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | <select name=DI onchange="SP(); adj();"> | 
					
						
							|  |  |  | <option value=5568>E1.31 (sACN)</option> | 
					
						
							|  |  |  | <option value=6454>Art-Net</option> | 
					
						
							| 
									
										
										
										
											2020-09-28 14:29:01 +00:00
										 |  |  | <option value=4048>DDP</option> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | <option value=0 selected>Custom port</option> | 
					
						
							|  |  |  | </select><br> | 
					
						
							|  |  |  | <div id=xp>Port: <input name="EP" type="number" min="1" max="65535" value="5568" class="d5" required><br></div> | 
					
						
							|  |  |  | Multicast: <input type="checkbox" name="EM"><br> | 
					
						
							|  |  |  | Start universe: <input name="EU" type="number" min="0" max="63999" required><br> | 
					
						
							| 
									
										
										
										
											2021-01-15 10:01:05 +00:00
										 |  |  | <i>Reboot required.</i> Check out <a href="https://github.com/LedFx/LedFx" target="_blank">LedFx</a>!<br> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | Skip out-of-sequence packets: <input type="checkbox" name="ES"><br> | 
					
						
							|  |  |  | DMX start address: <input name="DA" type="number" min="0" max="510" required><br> | 
					
						
							|  |  |  | DMX mode: | 
					
						
							|  |  |  | <select name=DM> | 
					
						
							|  |  |  | <option value=0>Disabled</option> | 
					
						
							|  |  |  | <option value=1>Single RGB</option> | 
					
						
							|  |  |  | <option value=2>Single DRGB</option> | 
					
						
							|  |  |  | <option value=3>Effect</option> | 
					
						
							|  |  |  | <option value=4>Multi RGB</option> | 
					
						
							| 
									
										
										
										
											2020-08-03 00:48:47 +00:00
										 |  |  | <option value=5>Dimmer + Multi RGB</option> | 
					
						
							| 
									
										
										
										
											2020-11-27 10:37:39 +00:00
										 |  |  | <option value=6>Multi RGBW</option> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | </select><br> | 
					
						
							|  |  |  | <a href="https://github.com/Aircoookie/WLED/wiki/E1.31-DMX" target="_blank">E1.31 info</a><br> | 
					
						
							|  |  |  | Timeout: <input name="ET" type="number" min="1" max="65000" required> ms<br> | 
					
						
							|  |  |  | Force max brightness: <input type="checkbox" name="FB"><br> | 
					
						
							|  |  |  | Disable realtime gamma correction: <input type="checkbox" name="RG"><br> | 
					
						
							|  |  |  | Realtime LED offset: <input name="WO" type="number" min="-255" max="255" required> | 
					
						
							|  |  |  | <h3>Alexa Voice Assistant</h3> | 
					
						
							|  |  |  | Emulate Alexa device: <input type="checkbox" name="AL"><br> | 
					
						
							|  |  |  | Alexa invocation name: <input name="AI" maxlength="32"> | 
					
						
							|  |  |  | <h3>Blynk</h3> | 
					
						
							|  |  |  | <b>Blynk, MQTT and Hue sync all connect to external hosts!<br> | 
					
						
							|  |  |  | This may impact the responsiveness of the ESP8266.</b><br> | 
					
						
							|  |  |  | For best results, only use one of these services at a time.<br> | 
					
						
							|  |  |  | (alternatively, connect a second ESP to them and use the UDP sync)<br><br> | 
					
						
							| 
									
										
										
										
											2020-12-21 23:44:16 +00:00
										 |  |  | Host: <input name="BH" maxlength="32"> | 
					
						
							|  |  |  | Port: <input name="BP" type="number" min="1" max="65535" value="80" class="d5"><br> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | Device Auth token: <input name="BK" maxlength="33"><br> | 
					
						
							|  |  |  | <i>Clear the token field to disable. </i><a href="https://github.com/Aircoookie/WLED/wiki/Blynk" target="_blank">Setup info</a> | 
					
						
							|  |  |  | <h3>MQTT</h3> | 
					
						
							|  |  |  | Enable MQTT: <input type="checkbox" name="MQ"><br> | 
					
						
							|  |  |  | Broker: <input name="MS" maxlength="32"> | 
					
						
							|  |  |  | Port: <input name="MQPORT" type="number" min="1" max="65535" class="d5"><br> | 
					
						
							|  |  |  | <b>The MQTT credentials are sent over an unsecured connection.<br> | 
					
						
							|  |  |  | Never use the MQTT password for another service!</b><br> | 
					
						
							|  |  |  | Username: <input name="MQUSER" maxlength="40"><br> | 
					
						
							| 
									
										
										
										
											2020-12-23 20:58:38 +00:00
										 |  |  | Password: <input type="password" name="MQPASS" maxlength="40"><br> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | Client ID: <input name="MQCID" maxlength="40"><br> | 
					
						
							|  |  |  | Device Topic: <input name="MD" maxlength="32"><br> | 
					
						
							|  |  |  | Group Topic: <input name="MG" maxlength="32"><br> | 
					
						
							|  |  |  | <i>Reboot required to apply changes. </i><a href="https://github.com/Aircoookie/WLED/wiki/MQTT" target="_blank">MQTT info</a> | 
					
						
							|  |  |  | <h3>Philips Hue</h3> | 
					
						
							|  |  |  | <i>You can find the bridge IP and the light number in the 'About' section of the hue app.</i><br> | 
					
						
							|  |  |  | Poll Hue light <input name="HL" type="number" min="1" max="99" > every <input name="HI" type="number" min="100" max="65000"> ms: <input type="checkbox" name="HP"><br> | 
					
						
							|  |  |  | Then, receive <input type="checkbox" name="HO"> On/Off, <input type="checkbox" name="HB"> Brightness, and <input type="checkbox" name="HC"> Color<br> | 
					
						
							|  |  |  | Hue Bridge IP:<br> | 
					
						
							|  |  |  | <input name="H0" type="number" min="0" max="255" > . | 
					
						
							|  |  |  | <input name="H1" type="number" min="0" max="255" > . | 
					
						
							|  |  |  | <input name="H2" type="number" min="0" max="255" > . | 
					
						
							|  |  |  | <input name="H3" type="number" min="0" max="255" ><br> | 
					
						
							|  |  |  | <b>Press the pushlink button on the bridge, after that save this page!</b><br> | 
					
						
							|  |  |  | (when first connecting)<br> | 
					
						
							| 
									
										
										
										
											2020-05-17 19:39:57 +00:00
										 |  |  | Hue status: <span class="sip"> Disabled in this build </span><hr> | 
					
						
							| 
									
										
										
										
											2020-04-12 22:42:27 +00:00
										 |  |  | <button type="button" onclick="B()">Back</button><button type="submit">Save</button> | 
					
						
							|  |  |  | </form> | 
					
						
							| 
									
										
										
										
											2019-12-11 11:08:59 +00:00
										 |  |  | </body> | 
					
						
							|  |  |  | </html> |