× Benvenuti sul nostro forum su Sint Wind PI!

Postate qui domande o segnalate problemi / bug che riscontrate,

file template web

More
11 years 1 month ago #971 by daniele80s
template web was created by daniele80s
Salve,

Sto ricreando ex-novo la stazione meteo che avevo messo su a Bortigali ( www.bortigalimeteo.it ), utilizzando raspberry pi con sint wind pi. Per quanto riguarda la parte web, ci sono in giro da scaricare dei template?

Grazie

Saluti

Daniele Sanna

Please Log in to join the conversation.

More
11 years 1 month ago #972 by daniele80s
Replied by daniele80s on topic template web
In più mi servirebbe sapere dove sintwind pi crea il file con i dati rilevati dai sensori..

daniele80s wrote: Salve,

Sto ricreando ex-novo la stazione meteo che avevo messo su a Bortigali ( www.bortigalimeteo.it ), utilizzando raspberry pi con sint wind pi. Per quanto riguarda la parte web, ci sono in giro da scaricare dei template?

Grazie

Saluti

Daniele Sanna

Please Log in to join the conversation.

More
11 years 1 month ago #973 by alegrechi
Replied by alegrechi on topic template web
Ciao Daniele,
nel pacchetto server che trovi nella sezione download è già compreso un template base per visualizzare i dati.
Sono disponibili due modalità:
- una statica (pagine html / javascript) che sfrutta i dati contenuti nel file meteo.txt inviato dal raspberry. Qui sfrutti le varie pagine .html (es swpi_dashboard.html)
- una dinamica (php / mysql). Swpi invia i dati ad un logger php nel tuo server che provvede a salvarli nel database. Le dashboard php provvedono alla visualizzazione di dati e grafici.

Personalmente utilizzo la versione statica con il meteo.txt ed ho integrato le dashboard (quella con le gauge e quella lcd... che se vuoi trovi qui ).
Ho poi integrato il tutto nel sito basato sul CMS Joomla (come questo qua) e qui di template ne trovi quanti vuoi! ;)

Please Log in to join the conversation.

More
11 years 1 month ago #1006 by daniele80s
Replied by daniele80s on topic template web
sto provando a configurare il sistema tramite web, ma non crea il file con i dati meteo e neanche la connessione ftp. col sito ancora non ne ho cavato piede, con joomla non mi fa caricare i templateche ho scaricato

Please Log in to join the conversation.

More
11 years 1 month ago #1008 by alegrechi
Replied by alegrechi on topic template web
Direi di guardare una cosa per volta.

Da quello che dici probabilmente le impostazioni di swpi non sono corrette...

- Swpi ti funziona correttamente (si avvia, legge i dati dai sensori) ?
- Come hai impostato i parametri di configurazione per quanto riguarda FTP e upload ?

Please Log in to join the conversation.

More
11 years 1 month ago - 11 years 1 month ago #1024 by daniele80s
Replied by daniele80s on topic template web

alegrechi wrote: Direi di guardare una cosa per volta.

Da quello che dici probabilmente le impostazioni di swpi non sono corrette...

- Swpi ti funziona correttamente (si avvia, legge i dati dai sensori) ?
- Come hai impostato i parametri di configurazione per quanto riguarda FTP e upload ?



Allora, swpi si avvia e simula correttamente la ricezione dei dati dai sensori (la centralina e i sensori sono ancora dov'era piazzata la stazione).

i parametri di configurazione li vedi nell'immagine allegata

Attachment upload.png not found



e ho allegato anche il file di log



Per i template sto cercando di integrarli nel vecchio sito, sto provando su un terzo livello che uso come appoggio ( www.meteolasiesta.altervista.org )
Attachments:
Last edit: 11 years 1 month ago by daniele80s.

Please Log in to join the conversation.

More
11 years 1 month ago #1026 by alegrechi
Replied by alegrechi on topic template web
I parametri di config te li controlleranno magari gli altri che usano altervista (ha già dato problemi in passato).

Intanto ti direi di postare anche il log, che trovi sotto "View status" o "download log files" così capiamo meglio che succede! ;)

Please Log in to join the conversation.

More
11 years 1 month ago - 11 years 1 month ago #1027 by daniele80s
Replied by daniele80s on topic template web
non capisco se l'ha allegato, va beh lo incollo qua

[04/06/2013-10:01:03] Starting SINT WIND PI ...
************************************************************************
* Sint Wind PI 01.20.12 *
* *
* 2012-2013 by Tonino Tarsi <This email address is being protected from spambots. You need JavaScript enabled to view it.> *
* *
* System will start in 10 seconds - Press Ctrl-C to cancel *
************************************************************************
10.....9.....8.....7.....6.....5.....4.....3.....2.....1.....
[04/06/2013-10:01:21] Checking internet connetion ...
[04/06/2013-10:01:21] Starting sensor reading - Sensor type is : SIMULATE
[04/06/2013-10:01:21] Internet ok
[04/06/2013-10:01:21] Checking internet connetion ...
[04/06/2013-10:01:21] Internet ok
[04/06/2013-10:01:22] Connected with IP : 84.223.21.180
[04/06/2013-10:01:22] Config Server running on port 80
[04/06/2013-10:01:22] Starting General WatchDog
mar 4 giu 2013, 10.01.47, CEST
[04/06/2013-10:01:47] System time adjusted from NPT server : ntp1.inrim.it
[04/06/2013-10:01:54] Calculating Meteo data and statistics
[04/06/2013-10:02:06] Logging data to Database
[04/06/2013-10:02:07] Dir: NE - Spd: 45 - Gst: 64 - Tout: 6.0 - Tin: 57.0 - Hout: 9.0 - Hin: 42.0 - P: 1149 - Rtot: 78.0 - RDay: -5.0 - R1h: -5.0 - R24h: 0.0 - CB: 4742
[04/06/2013-10:02:30] Calculating Meteo data and statistics
[04/06/2013-10:02:41] Logging data to Database
[04/06/2013-10:02:42] Dir: NE - Spd: 2 - Gst: 85 - Tout: 5.0 - Tin: 37.0 - Hout: 61.0 - Hin: 41.0 - P: 1115 - Rtot: 71.0 - RDay: -12.0 - R1h: -12.0 - R24h: -7.0 - CB: 1866
[04/06/2013-10:03:30] Calculating Meteo data and statistics
[04/06/2013-10:03:41] Logging data to Database
[04/06/2013-10:03:42] Dir: SW - Spd: 26 - Gst: 83 - Tout: 12.0 - Tin: 24.0 - Hout: 68.0 - Hin: 86.0 - P: 1102 - Rtot: 14.0 - RDay: -69.0 - R1h: -69.0 - R24h: -64.0 - CB: 1723
[04/06/2013-10:04:30] Calculating Meteo data and statistics
[04/06/2013-10:04:41] Logging data to Database
[04/06/2013-10:04:41] Dir: W - Spd: 43 - Gst: 87 - Tout: 4.0 - Tin: 59.0 - Hout: 17.0 - Hin: 79.0 - P: 1091 - Rtot: 57.0 - RDay: -26.0 - R1h: -26.0 - R24h: -21.0 - CB: 3809
[04/06/2013-10:05:31] Calculating Meteo data and statistics
[04/06/2013-10:05:42] Logging data to Database
[04/06/2013-10:05:42] Dir: N - Spd: 44 - Gst: 69 - Tout: 33.0 - Tin: 12.0 - Hout: 20.0 - Hin: 45.0 - P: 1135 - Rtot: 59.0 - RDay: -24.0 - R1h: -24.0 - R24h: -19.0 - CB: 4192
[04/06/2013-10:06:30] Calculating Meteo data and statistics
[04/06/2013-10:06:42] Logging data to Database
[04/06/2013-10:06:42] Dir: S - Spd: 5 - Gst: 86 - Tout: 2.0 - Tin: 20.0 - Hout: 18.0 - Hin: 74.0 - P: 1100 - Rtot: 28.0 - RDay: -55.0 - R1h: -55.0 - R24h: -50.0 - CB: 3685
[04/06/2013-10:07:30] Calculating Meteo data and statistics
[04/06/2013-10:07:42] Logging data to Database
[04/06/2013-10:07:42] Dir: E - Spd: 41 - Gst: 81 - Tout: 2.0 - Tin: 58.0 - Hout: 62.0 - Hin: 22.0 - P: 1077 - Rtot: 93.0 - RDay: 10.0 - R1h: 10.0 - R24h: 15.0 - CB: 1819
[04/06/2013-10:08:30] Calculating Meteo data and statistics
[04/06/2013-10:08:42] Logging data to Database
[04/06/2013-10:08:42] Dir: N - Spd: 2 - Gst: 98 - Tout: 37.0 - Tin: 16.0 - Hout: 88.0 - Hin: 30.0 - P: 1160 - Rtot: 81.0 - RDay: -2.0 - R1h: -2.0 - R24h: 3.0 - CB: 1310
[04/06/2013-10:09:30] Calculating Meteo data and statistics
[04/06/2013-10:09:42] Logging data to Database
[04/06/2013-10:09:42] Dir: E - Spd: 33 - Gst: 70 - Tout: 24.0 - Tin: 66.0 - Hout: 7.0 - Hin: 55.0 - P: 1119 - Rtot: 67.0 - RDay: -16.0 - R1h: -16.0 - R24h: -11.0 - CB: 5651
Last edit: 11 years 1 month ago by daniele80s.

Please Log in to join the conversation.

More
11 years 1 month ago #1028 by alegrechi
Replied by alegrechi on topic template web
Si da log si vede bene che non prova nemmeno ad inviare.
Sinceramente non so se con il SIMULATE il swpi invii i dati... dovresti provare con la consolle attaccata.
Oppure aspetta Tony che sicuramente capirà dove sta l'inghippo!

Ciao
The following user(s) said Thank You: daniele80s

Please Log in to join the conversation.

More
11 years 1 month ago #1029 by daniele80s
Replied by daniele80s on topic template web
Vedevo che non provava nemmeno ad avviare una connessione ftp, avevo anche il terminale aperto con i processi in avvio per controllare ma nulla. Aspetterò risposte da altri e appena potrò proverò con la console attaccata.

Grazie mille

A presto

Please Log in to join the conversation.

More
11 years 1 month ago #1030 by mpettar
Replied by mpettar on topic template web
Ciao, il mio con altervista e' configurato cosi:
Sezione Upload. upload_folder : /swpi ( se hai creato questa cartella )
Sezione Ftp destinazion_folder: /images (naturalmente devi creare la cartella)
Spero ti sia utile
Mario

Please Log in to join the conversation.

More
10 years 8 months ago - 10 years 8 months ago #2502 by oss
Replied by oss on topic template web
ops..
Last edit: 10 years 8 months ago by oss. Reason: errore post.

Please Log in to join the conversation.

Time to create page: 0.910 seconds