diff --git a/DOCUMENTATION/AN001 Firmware Update DE.pages b/DOCUMENTATION/AN001 Firmware Update DE.pages
index e5a175a4..6dba940b 100644
Binary files a/DOCUMENTATION/AN001 Firmware Update DE.pages and b/DOCUMENTATION/AN001 Firmware Update DE.pages differ
diff --git a/DOCUMENTATION/AN001 Firmware Update DE.pdf b/DOCUMENTATION/AN001 Firmware Update DE.pdf
index dae88c92..c3882eee 100644
Binary files a/DOCUMENTATION/AN001 Firmware Update DE.pdf and b/DOCUMENTATION/AN001 Firmware Update DE.pdf differ
diff --git a/DOCUMENTATION/AN001 Firmware Update EN.pages b/DOCUMENTATION/AN001 Firmware Update EN.pages
index 5d1ceceb..b2e57661 100644
Binary files a/DOCUMENTATION/AN001 Firmware Update EN.pages and b/DOCUMENTATION/AN001 Firmware Update EN.pages differ
diff --git a/DOCUMENTATION/AN001 Firmware Update EN.pdf b/DOCUMENTATION/AN001 Firmware Update EN.pdf
index e181b7de..2033c2cc 100644
Binary files a/DOCUMENTATION/AN001 Firmware Update EN.pdf and b/DOCUMENTATION/AN001 Firmware Update EN.pdf differ
diff --git a/DOCUMENTATION/UserManual_DE_2.1.0.pages b/DOCUMENTATION/UserManual_DE_2.1.0.pages
index a38c6b77..902b1668 100644
Binary files a/DOCUMENTATION/UserManual_DE_2.1.0.pages and b/DOCUMENTATION/UserManual_DE_2.1.0.pages differ
diff --git a/DOCUMENTATION/UserManual_DE_2.1.0.pdf b/DOCUMENTATION/UserManual_DE_2.1.0.pdf
index 7993587d..991f9e01 100644
Binary files a/DOCUMENTATION/UserManual_DE_2.1.0.pdf and b/DOCUMENTATION/UserManual_DE_2.1.0.pdf differ
diff --git a/DOCUMENTATION/UserManual_EN_2.1.0.pages b/DOCUMENTATION/UserManual_EN_2.1.0.pages
index c81d31fa..878d6c04 100644
Binary files a/DOCUMENTATION/UserManual_EN_2.1.0.pages and b/DOCUMENTATION/UserManual_EN_2.1.0.pages differ
diff --git a/DOCUMENTATION/UserManual_EN_2.1.0.pdf b/DOCUMENTATION/UserManual_EN_2.1.0.pdf
index 1b6e5925..44d86399 100644
Binary files a/DOCUMENTATION/UserManual_EN_2.1.0.pdf and b/DOCUMENTATION/UserManual_EN_2.1.0.pdf differ
diff --git a/SOURCES/WEBAPP/ESP32/aurora/aurora.ino b/SOURCES/WEBAPP/ESP32/aurora/aurora.ino
index e13058e2..5482c50c 100644
--- a/SOURCES/WEBAPP/ESP32/aurora/aurora.ino
+++ b/SOURCES/WEBAPP/ESP32/aurora/aurora.ino
@@ -227,6 +227,8 @@ String presetAddonCfgFile[MAX_NUM_PRESETS] = { "/addoncfg.001", "/addoncfg.002",
AsyncWebServer server( 80 );
+bool changeWifiState = false;
+
//------------------------------------------------------------------------------
//
// Display Driver
@@ -4043,19 +4045,27 @@ void updateUI( void )
*/
void setup()
{
- bool changeWifiState = false;
-
Serial.begin(115200);
Serial.println( "AURORA Debug Log" );
Serial.println( VERSION_STR );
+ //----------------------------------------------------------------------------
+ //--- Init Rotary Encoder Handling
+ //----------------------------------------------------------------------------
+ #if HAVE_ROTARYENCODER
+ rotaryEncoder.init();
+ lastREsw = rotaryEncoder.getSwitchValue();
+ lastREval = rotaryEncoder.getRotationValue();
+ #endif
+
//----------------------------------------------------------------------------
//--- Is user pressing the rotary encoder switch during boot?
//----------------------------------------------------------------------------
- pinMode( ROTARYENCODER_PINSW, INPUT_PULLUP );
+ //rotaryEncoder.init();
+ //pinMode( ROTARYENCODER_PINSW, INPUT_PULLUP );
if( !digitalRead( ROTARYENCODER_PINSW ) )
changeWifiState = true;
-
+
//----------------------------------------------------------------------------
//--- Configure I2C
//----------------------------------------------------------------------------
@@ -4174,13 +4184,15 @@ void setup()
changeChannelSummationADC();
if( changeWifiState )
{
+ Serial.print( F("Changing WiFi status......") );
Settings.wifiOn = Settings.wifiOn ? false : true;
writeSettings();
+ Serial.println( F("[OK]") );
}
- Serial.print( "Init user parameter......" );
+ Serial.print( F("Init user parameter......") );
initUserParams();
- Serial.println( "[OK]" );
+ Serial.println( F("[OK]") );
readPluginMeta();
//----------------------------------------------------------------------------
@@ -4213,7 +4225,7 @@ void setup()
server.on( "/aurora.js", HTTP_GET, [](AsyncWebServerRequest *request )
{
//request->send( SPIFFS, "/aurora.js", "text/javascript" );
- AsyncWebServerResponse* response = request->beginResponse(SPIFFS, "/aurora.js.gz", "text/javascript");
+ AsyncWebServerResponse* response = request->beginResponse(SPIFFS, "/aurora.jgz", "text/javascript");
response->addHeader( "Content-Encoding", "gzip" );
request->send( response );
});
@@ -4385,14 +4397,6 @@ void setup()
//----------------------------------------------------------------------------
enableVolPot();
- //----------------------------------------------------------------------------
- //--- Init Rotary Encoder Handling
- //----------------------------------------------------------------------------
- #if HAVE_ROTARYENCODER
- lastREsw = rotaryEncoder.getSwitchValue();
- lastREval = rotaryEncoder.getRotationValue();
- #endif
-
//----------------------------------------------------------------------------
//--- Init IR Receiver
//----------------------------------------------------------------------------
@@ -4404,6 +4408,9 @@ void setup()
updateUI();
+ lastREsw = rotaryEncoder.getSwitchValue();
+ lastREval = rotaryEncoder.getRotationValue();
+
Serial.println( "Ready" );
}
@@ -4421,14 +4428,19 @@ void loop()
#if HAVE_ROTARYENCODER
if( rotaryEncoder.getSwitchValue() != lastREsw )
{
- editMode++;
- // we may have more then two modes in the future.
- if( editMode > 1 )
- editMode = 0;
- delay( 300 );
+ if( changeWifiState )
+ changeWifiState = false;
+ else
+ {
+ editMode++;
+ // we may have more then two modes in the future.
+ if( editMode > 1 )
+ editMode = 0;
+ delay( 300 );
+ needUpdateUI = true;
+ }
lastREsw = rotaryEncoder.getSwitchValue();
lastREval = rotaryEncoder.getRotationValue();
- needUpdateUI = true;
}
else if( rotaryEncoder.getRotationValue() > lastREval + 1 )
{
diff --git a/SOURCES/WEBAPP/ESP32/aurora/aurora.ino.esp32.bin b/SOURCES/WEBAPP/ESP32/aurora/aurora.ino.esp32.bin
new file mode 100644
index 00000000..5f98c21a
Binary files /dev/null and b/SOURCES/WEBAPP/ESP32/aurora/aurora.ino.esp32.bin differ
diff --git a/SOURCES/WEBAPP/ESP32/aurora/data/aurora.js.gz b/SOURCES/WEBAPP/ESP32/aurora/data/aurora.jgz
similarity index 93%
rename from SOURCES/WEBAPP/ESP32/aurora/data/aurora.js.gz
rename to SOURCES/WEBAPP/ESP32/aurora/data/aurora.jgz
index 3c1770a1..b8b9ea13 100644
Binary files a/SOURCES/WEBAPP/ESP32/aurora/data/aurora.js.gz and b/SOURCES/WEBAPP/ESP32/aurora/data/aurora.jgz differ
diff --git a/SOURCES/WEBAPP/ESP32/aurora/data/dsp.html b/SOURCES/WEBAPP/ESP32/aurora/data/dsp.html
index ede53a57..fa9e0e23 100644
--- a/SOURCES/WEBAPP/ESP32/aurora/data/dsp.html
+++ b/SOURCES/WEBAPP/ESP32/aurora/data/dsp.html
@@ -873,7 +873,7 @@
Please wait...
html = file;
if(file.name=="plugin.ini")
plugin = file;
- if(file.name=="aurora.js.gz")
+ if(file.name=="aurora.jgz")
aurorajs = file;
}
var prg=document.getElementById('prg');
@@ -891,7 +891,7 @@ Please wait...
return fetch("/upload?fname=plugin.ini",{method:'POST',headers:{},body:plugin});})
.then(function(response){
prg.style.width="80%";
- return fetch("/upload?fname=aurora.js.gz",{method:'POST',headers:{},body:aurorajs});})
+ return fetch("/upload?fname=aurora.jgz",{method:'POST',headers:{},body:aurorajs});})
.then(function(response){
prg.style.width="100%";
return response;})
diff --git a/SOURCES/WEBAPP/ESP32/aurora/fallback.h b/SOURCES/WEBAPP/ESP32/aurora/fallback.h
index 05101bb1..040fcc2c 100644
--- a/SOURCES/WEBAPP/ESP32/aurora/fallback.h
+++ b/SOURCES/WEBAPP/ESP32/aurora/fallback.h
@@ -39,7 +39,7 @@ R"!^!(
html = file;
if(file.name=="plugin.ini")
plugin = file;
- if(file.name=="aurora.js.gz")
+ if(file.name=="aurora.jgz")
aurorajs = file;
}
var prg=document.getElementById('prg');
@@ -58,7 +58,7 @@ R"!^!(
return fetch("/upload?fname=plugin.ini",{method:'POST',headers:{},body:plugin});})
.then(function(response){
prg.style.width="80%";
- return fetch("/upload?fname=aurora.js.gz",{method:'POST',headers:{},body:aurorajs});})
+ return fetch("/upload?fname=aurora.jgz",{method:'POST',headers:{},body:aurorajs});})
.then(function(response){
prg.style.width="100%";
return response;})
diff --git a/SOURCES/WEBAPP/ESP32/aurora/rotaryencoder.cpp b/SOURCES/WEBAPP/ESP32/aurora/rotaryencoder.cpp
index 43c888c6..0d81790e 100644
--- a/SOURCES/WEBAPP/ESP32/aurora/rotaryencoder.cpp
+++ b/SOURCES/WEBAPP/ESP32/aurora/rotaryencoder.cpp
@@ -63,6 +63,11 @@ void IRAM_ATTR isrRotaryEncoderSwitch()
}
RotaryEncoder::RotaryEncoder( void )
+{
+
+}
+
+void RotaryEncoder::init( void )
{
value = 0;
sw = 0;
diff --git a/SOURCES/WEBAPP/ESP32/aurora/rotaryencoder.h b/SOURCES/WEBAPP/ESP32/aurora/rotaryencoder.h
index 558fc0a2..2f9bcc53 100644
--- a/SOURCES/WEBAPP/ESP32/aurora/rotaryencoder.h
+++ b/SOURCES/WEBAPP/ESP32/aurora/rotaryencoder.h
@@ -19,6 +19,8 @@ class RotaryEncoder
void setCurrentState( uint8_t s ) { state = s; }
+ void init( void );
+
private:
long int value;
long int sw;
diff --git a/SOURCES/WEBAPP/ESP32/updater/aurora.ino.esp32.bin b/SOURCES/WEBAPP/ESP32/updater/aurora.ino.esp32.bin
index 5df6f73a..1bf263ab 100644
Binary files a/SOURCES/WEBAPP/ESP32/updater/aurora.ino.esp32.bin and b/SOURCES/WEBAPP/ESP32/updater/aurora.ino.esp32.bin differ
diff --git a/SOURCES/WEBAPP/js/README.md b/SOURCES/WEBAPP/js/README.md
new file mode 100644
index 00000000..ea2b853f
--- /dev/null
+++ b/SOURCES/WEBAPP/js/README.md
@@ -0,0 +1,3 @@
+Compress the javascript file with
+ cat aurora.js | gzip > aurora.jgz
+ else the WebApp won't work with Safari.
\ No newline at end of file
diff --git a/SOURCES/WEBAPP/plugins/4FIRs/aurora.js.gz b/SOURCES/WEBAPP/plugins/4FIRs/aurora.jgz
similarity index 93%
rename from SOURCES/WEBAPP/plugins/4FIRs/aurora.js.gz
rename to SOURCES/WEBAPP/plugins/4FIRs/aurora.jgz
index 3c1770a1..b8b9ea13 100644
Binary files a/SOURCES/WEBAPP/plugins/4FIRs/aurora.js.gz and b/SOURCES/WEBAPP/plugins/4FIRs/aurora.jgz differ
diff --git a/SOURCES/WEBAPP/plugins/4FIRs/dsp.html b/SOURCES/WEBAPP/plugins/4FIRs/dsp.html
index 6ca6fd6f..b5b46c9b 100644
--- a/SOURCES/WEBAPP/plugins/4FIRs/dsp.html
+++ b/SOURCES/WEBAPP/plugins/4FIRs/dsp.html
@@ -504,7 +504,7 @@ Please wait...
html = file;
if(file.name=="plugin.ini")
plugin = file;
- if(file.name=="aurora.js.gz")
+ if(file.name=="aurora.jgz")
aurorajs = file;
}
var prg=document.getElementById('prg');
@@ -522,7 +522,7 @@ Please wait...
return fetch("/upload?fname=plugin.ini",{method:'POST',headers:{},body:plugin});})
.then(function(response){
prg.style.width="80%";
- return fetch("/upload?fname=aurora.js.gz",{method:'POST',headers:{},body:aurorajs});})
+ return fetch("/upload?fname=aurora.jgz",{method:'POST',headers:{},body:aurorajs});})
.then(function(response){
prg.style.width="100%";
return response;})
diff --git a/SOURCES/WEBAPP/plugins/4FIRs/plugin.ini b/SOURCES/WEBAPP/plugins/4FIRs/plugin.ini
index 02373f54..c84693fc 100644
--- a/SOURCES/WEBAPP/plugins/4FIRs/plugin.ini
+++ b/SOURCES/WEBAPP/plugins/4FIRs/plugin.ini
@@ -1,4 +1,5 @@
{
+"name":"4FIRs",
"nlp": 0,
"xohp": [],
"nhp": 0,
diff --git a/SOURCES/WEBAPP/plugins/8channels/aurora.js.gz b/SOURCES/WEBAPP/plugins/8channels/aurora.jgz
similarity index 93%
rename from SOURCES/WEBAPP/plugins/8channels/aurora.js.gz
rename to SOURCES/WEBAPP/plugins/8channels/aurora.jgz
index 3c1770a1..b8b9ea13 100644
Binary files a/SOURCES/WEBAPP/plugins/8channels/aurora.js.gz and b/SOURCES/WEBAPP/plugins/8channels/aurora.jgz differ
diff --git a/SOURCES/WEBAPP/plugins/8channels/dsp.html b/SOURCES/WEBAPP/plugins/8channels/dsp.html
index ede53a57..fa9e0e23 100644
--- a/SOURCES/WEBAPP/plugins/8channels/dsp.html
+++ b/SOURCES/WEBAPP/plugins/8channels/dsp.html
@@ -873,7 +873,7 @@ Please wait...
html = file;
if(file.name=="plugin.ini")
plugin = file;
- if(file.name=="aurora.js.gz")
+ if(file.name=="aurora.jgz")
aurorajs = file;
}
var prg=document.getElementById('prg');
@@ -891,7 +891,7 @@ Please wait...
return fetch("/upload?fname=plugin.ini",{method:'POST',headers:{},body:plugin});})
.then(function(response){
prg.style.width="80%";
- return fetch("/upload?fname=aurora.js.gz",{method:'POST',headers:{},body:aurorajs});})
+ return fetch("/upload?fname=aurora.jgz",{method:'POST',headers:{},body:aurorajs});})
.then(function(response){
prg.style.width="100%";
return response;})
diff --git a/SOURCES/WEBAPP/plugins/8channels/plugin.ini b/SOURCES/WEBAPP/plugins/8channels/plugin.ini
index e4397535..eb8b4aeb 100644
--- a/SOURCES/WEBAPP/plugins/8channels/plugin.ini
+++ b/SOURCES/WEBAPP/plugins/8channels/plugin.ini
@@ -1,4 +1,5 @@
{
+"name":"8channels",
"nlp": 8,
"xohp": [],
"nhp": 8,
diff --git a/SOURCES/WEBAPP/plugins/homecinema71/aurora.js.gz b/SOURCES/WEBAPP/plugins/homecinema71/aurora.jgz
similarity index 93%
rename from SOURCES/WEBAPP/plugins/homecinema71/aurora.js.gz
rename to SOURCES/WEBAPP/plugins/homecinema71/aurora.jgz
index 3c1770a1..b8b9ea13 100644
Binary files a/SOURCES/WEBAPP/plugins/homecinema71/aurora.js.gz and b/SOURCES/WEBAPP/plugins/homecinema71/aurora.jgz differ
diff --git a/SOURCES/WEBAPP/plugins/homecinema71/dsp.html b/SOURCES/WEBAPP/plugins/homecinema71/dsp.html
index 0c7a68df..2157848f 100644
--- a/SOURCES/WEBAPP/plugins/homecinema71/dsp.html
+++ b/SOURCES/WEBAPP/plugins/homecinema71/dsp.html
@@ -873,7 +873,7 @@ Please wait...
html = file;
if(file.name=="plugin.ini")
plugin = file;
- if(file.name=="aurora.js.gz")
+ if(file.name=="aurora.jgz")
aurorajs = file;
}
var prg=document.getElementById('prg');
@@ -891,7 +891,7 @@ Please wait...
return fetch("/upload?fname=plugin.ini",{method:'POST',headers:{},body:plugin});})
.then(function(response){
prg.style.width="80%";
- return fetch("/upload?fname=aurora.js.gz",{method:'POST',headers:{},body:aurorajs});})
+ return fetch("/upload?fname=aurora.jgz",{method:'POST',headers:{},body:aurorajs});})
.then(function(response){
prg.style.width="100%";
return response;})
diff --git a/SOURCES/WEBAPP/plugins/homecinema71/plugin.ini b/SOURCES/WEBAPP/plugins/homecinema71/plugin.ini
index aac4de16..b00495fd 100644
--- a/SOURCES/WEBAPP/plugins/homecinema71/plugin.ini
+++ b/SOURCES/WEBAPP/plugins/homecinema71/plugin.ini
@@ -1,4 +1,5 @@
{
+"name":"HomeCinema71",
"nlp": 1,
"xohp": [
19690,