diff --git a/data/assets/style.3995d9a9.css.gz b/data/assets/style.3995d9a9.css.gz new file mode 100644 index 0000000..2ab45ee Binary files /dev/null and b/data/assets/style.3995d9a9.css.gz differ diff --git a/data/assets/style.c7102921.css.gz b/data/assets/style.c7102921.css.gz deleted file mode 100644 index f3a07af..0000000 Binary files a/data/assets/style.c7102921.css.gz and /dev/null differ diff --git a/data/config.txt b/data/config.txt new file mode 100644 index 0000000..e69de29 diff --git a/data/index.html.gz b/data/index.html.gz index 4d03759..36157db 100644 Binary files a/data/index.html.gz and b/data/index.html.gz differ diff --git a/data/setup.html.gz b/data/setup.html.gz index 69ee32b..48708fc 100644 Binary files a/data/setup.html.gz and b/data/setup.html.gz differ diff --git a/html_pages/index.html b/html_pages/index.html index a8737d6..beb3511 100644 --- a/html_pages/index.html +++ b/html_pages/index.html @@ -57,24 +57,24 @@

StefanoTesla Dome&Switch

>
-
Dome
+
Dome
-
Roof State: - - - - - -
+

Roof State: + + + + + +

Last Command: - - - - + + + +
@@ -94,12 +94,13 @@

StefanoTesla Dome&Switch

+ -
+
StefanoTesla Dome&Switch getDomeData(){ if (this.exist.dome){ - fetch('http://172.20.10.5/api/dome') + fetch('/api/dome') .then(response => response.json()) .then(response => { this.dome = response.dome; @@ -247,7 +250,7 @@

StefanoTesla Dome&Switch

getSwitchData(){ if (this.exist.switch){ - fetch('http://172.20.10.5/api/switch') + fetch('/api/switch') .then(response => response.json()) .then(response => { this.switches = response.switches; @@ -261,7 +264,7 @@

StefanoTesla Dome&Switch

getCoverData(){ if (this.exist.coverc) { - fetch('http://172.20.10.5/api/coverc') + fetch('/api/coverc') .then(response => response.json()) .then(response => { this.cover = response.cover; @@ -275,7 +278,7 @@

StefanoTesla Dome&Switch

}, updateData(){ - fetch('http://172.20.10.5/status') + fetch('/status') .then(response => response.json()) .then(response => { this.upTime = this.toHoursAndMinutes(response.upTime); @@ -287,7 +290,7 @@

StefanoTesla Dome&Switch

}, initData(){ - fetch('http://172.20.10.5/status') + fetch('/status') .then(response => response.json()) .then(response => { this.exist.dome = response.dome diff --git a/html_pages/prova.html b/html_pages/prova.html new file mode 100644 index 0000000..4294f4f --- /dev/null +++ b/html_pages/prova.html @@ -0,0 +1,21 @@ + + + + + + Document + + + + + + + \ No newline at end of file diff --git a/html_pages/setup.html b/html_pages/setup.html index 6c635ac..860807f 100644 --- a/html_pages/setup.html +++ b/html_pages/setup.html @@ -1,3 +1,4 @@ + @@ -55,18 +56,18 @@
-

Pin Start Shutter:

-

Pin Halt Shutter:

-

Pin Shutter Open:

-

Pin Shutter Close:

+

Pin Start Shutter:

+

Pin Halt Shutter:

+

Pin Shutter Open:

+

Pin Shutter Close:

-

Timeout Posizionamento: Sec.

+

Timeout Posizionamento: Sec.

Abilita chiusura in caso di mancata connessione:

In caso di mancate richieste da parte dei driver ascom o portale web, lo shutter si chiude automaticamente dopo un tot tempo.

-

Tempo di inattività: Min.

+

Tempo di inattività: Min.

@@ -92,7 +93,7 @@
-

Pin:

+

Pin:

@@ -119,8 +120,8 @@ @@ -148,7 +149,7 @@
- +