Page 1 of 1

Info

Posted: Wed Feb 17, 2021 11:19 am
by videobelu
Buongiorno inauguro il forum Italiano...
Volevo sapere se esiste il modo di trasferire la pagina web (generata da Annex che si vede sulla uscita Output ) via FTP
su un sito esterno tipo altervista per permetterne la visualizzazione.
In questo modo non si deve creare un accesso alla propria rete.....e non serve un DDNS .
Premetto che sono a digiuno di linguaggi HTML mi auguro di non aver fatto una domanda stupida... :)
Grazie

Fabrizio

Re: Info

Posted: Wed Feb 17, 2021 2:39 pm
by Electroguard
Hi Fabrizio,
Annex Output page is very dynamic, capable of continual changing web-socket interactions, whereas FTP (file transfer protocal) can only be a fleeting snapshot ... a bit like the difference between watching discrete pictures uploaded as files, rather than watching live streaming video.
Also, as the FTP pictures would not be live, it would not be possible to interact with web components such as buttons and sliders.

Re: Info

Posted: Wed Feb 17, 2021 3:28 pm
by videobelu
Grazie per la risposta....capisco le limitazioni ma nel mio caso avrei solo bisogno di una pagina
"statica" dove pochi valori vengono aggiornati ogni 1/5 minuti.
Devo controllare delle tensioni ed eventualmente delle temperature ma e' sufficiente una lettura ogni tanto.
Fabrizio

Re: Info

Posted: Wed Feb 17, 2021 6:52 pm
by Electroguard
It seems you are hoping to take periodic snapshots (screen-dumps) of what a browser screen shows.
But that requires a permanently connected browser to interpret and display the Annex html css and javascript output, and then some means of taking periodic screen-dumps of the browser display on that device, for saving as graphics files for FTPing.
It would be the browser device (which is interpreting and displaying the html then taking the screen-dumps) that would need to FTP its images, not Annex which is merely 'serving' up raw html to the browser. Therefore there would be nothing useful to be gained by Annex redirecting raw html into a file for FTPing (unless the remote device had a browser which could interpret and display the html).

It may not be feasible to FTP screen-dump graphics or raw html, but there are other file types which might be used, eg: an easy but less pretty solution could be to simply FTP the required data as a text file.

Re: Info

Posted: Thu Feb 18, 2021 9:51 am
by cicciocb
Buongiorno Fabrizio,
Comprendo la tua domanda di creare una pagina html e di trasferirla via FTP su un server remoto per evitare di dare accesso al tuo modulo ed esporlo quindi agli attacchi dal web.
Potrei aggiungere in futuro questa funzionalità anche se non credo che sia la giusta soluzione al tuo bisogno.

Probabilmente quello che tu cerchi di ottenere é quello che di solito si fa con Thingspeak, per esempio
questa pagina demo https://thingspeak.com/channels/305396.

Thingspeak propone un accesso gratuito, limitato ovviamente, ma probabilmente sufficiente per i tuoi scopi.
Il vantaggio é che i dati vengono memorizzati su un server quindi potrai manterere tutta la "time history" dei tuoi parametri senza dovertene occpare nel tuo device.

Alternativamente potresti utilizzare del codice in php sul tuo web server e interrogare in background il modulo ma, ovviamente, questo é più complicato da realizzare anche se in questo modo potresti creare delle interazioni dinamiche con il modulo.

Re: Info

Posted: Thu Feb 18, 2021 9:55 am
by videobelu
Grazie mille a tutti per le risposte.....provo a valutare le varie ipotesi.
Buon sviluppo @cicciocb !!!

Fabrizio