× Benvenuti sul nostro forum su Sint Wind PI!

Postate qui domande o segnalate problemi / bug che riscontrate,

file Template Saratoga

  • giri
  • giri's Avatar
  • Visitor
  • Visitor
10 years 2 months ago #3304 by giri
Replied by giri on topic Template Saratoga
Le connessioni sono attivate senza white list , ma le previsioni nada de nada no le fa vedere

Please Log in to join the conversation.

  • giri
  • giri's Avatar
  • Visitor
  • Visitor
10 years 2 months ago #3306 by giri
Replied by giri on topic Template Saratoga
per completezza ho registrato la stazione su wundergruond sotto l' ID ITOSCANA188

Please Log in to join the conversation.

More
10 years 2 months ago #3314 by pierpis
Replied by pierpis on topic Template Saratoga
Sono ancora ..... senza luna :( :(

I file di Roberto non li trovo.... ma in che cartella sono??

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

  • giri
  • giri's Avatar
  • Visitor
  • Visitor
10 years 2 months ago #3326 by giri
Replied by giri on topic Template Saratoga
Accomodo una cosa e mi se ne guasta un altra... Ora non carica più i dati sul database :( :(

Please Log in to join the conversation.

  • giri
  • giri's Avatar
  • Visitor
  • Visitor
10 years 2 months ago #3341 by giri
Replied by giri on topic Template Saratoga
Risolto tutto , ora la stazione e il template è funzionale al 100% , un grazie di cuore a Roberto , se ti trovi a passare nella provincia ti Firenzi ti regalo una bottiglia di vino Chianti autoprodotto. iz5rgo.altervista.org/meteo/wxindex.php

Please Log in to join the conversation.

More
10 years 2 months ago #3343 by pierpis
Replied by pierpis on topic Template Saratoga
I dati lunari ti funzionano.... a me no :( però pure da te freddo estremo.

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

More
10 years 2 months ago #3345 by tony
Replied by tony on topic Template Saratoga
@giri. Bene. poi magari posta i tuoi dati su : www.vololiberomontecucco.it/vlmc/index.p...d=2&id=16&Itemid=210

Please Log in to join the conversation.

More
10 years 2 months ago #3346 by pierpis
Replied by pierpis on topic Template Saratoga
A proposito di dati Tony.... la mia ubicazione è sbagliata..... qualche topic più in alto ho postato quelli giusti ;) se vuoi aggiornare, ti ringrazio

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

  • giri
  • giri's Avatar
  • Visitor
  • Visitor
10 years 2 months ago #3352 by giri
Replied by giri on topic Template Saratoga
Problemino riscontrato , almeno una volta al giorno scompare la serie di immagini italiane relative alla direzione del vento , sono costretto a ricaricarle tramite ftp.

Please Log in to join the conversation.

More
10 years 2 months ago - 10 years 2 months ago #3378 by pierpis
Replied by pierpis on topic Template Saratoga
Riprendo il topic dopo una ricerca in rete sulla parola "Freddo estremo" a lato del termometro, sono partito individuando la riga (tramite Firebug) e ponendo la richiesta su Google, il risultato è una risposta dei programmatori Saratoga ad un tizio che aveva chiesto lumi, eccola:

saratogaWX:
Nessuna scusa per il tuo inglese sono necessari .. siete abbastanza comprensibile :)

Ci dispiace che avevo assunto il sito di esempio nel post precedente era un link al tuo sito in druss.alwaysdata.net/meteo/wxindex.php

La parola colore condizioni viene impostato dal:

1) Il PHP ajax-dashboard.php Version 1,21-01-Oct-2011 utilizza il codice:

<span class="ajax" id="ajaxheatcolorword">
<? Langtrans php ($ heatcolourword);?> </ Span>
per visualizzare la parola colore.

2) il valore di PHP per $ heatcolourword viene dalla MH-defs.php (per il plugin Meteohub) che ha codice:

list ($ feelslike, $ heatcolourword) = MH_setFeelslike ($ temperatura, $ windch, $ ris, $ uomtemp);

per impostare sia la feelslike e heatcolorword in base alla temperatura, Windchill, Indice di calore e unità di temperatura.

3) il file MH-defs.php ha le seguenti mappature per tali oggetti al vostro tag Meteohub Codice dati:

$ Temperatura = $ WX ;
$ Windch = $ WX ;
$ Ris = $ WX ;
if (isset ($ WX )) {$ uomtemp = $ WX ;}


? 4) il tuo MHtags.php sce = discarica mostra i seguenti valori Codice:

$ WX = '16 .5 ';
$ WX = '0 .0 ';
$ WX = '16 .5 ';
$ WX = 'c';

5) la funzione MH_setFeelslike () (che è in MH-defs.php) utilizza codice:

#

# Funzione di supporto MH - MH_setFeelslike
#



funzionamento MH_setFeelslike ($ temp, $ Windchill, $ Indice di calore, $ tempUOM) {
global $ debug;
/ / Stabilire la temperatura feelslike e restituire una parola che descrive come ci si sente

$ HeatWords = array (
'Unknown', 'estremo pericolo Heat', 'Pericolo Heat', 'Attenzione estremo calore', 'Extremely Hot', 'caldo insopportabile',
'Hot', 'Warm', 'confortevole', 'Cool', 'Cold', 'A disagio freddo', 'Molto freddo', 'estremo freddo');

/ / Prima convertire tutte le temperature da gradi centigradi, se necessario
$ TC = $ temp;
$ WC = $ sensazione sulla pelle;
$ HC = $ Indice di calore;

if (strpos ($ TC, ',')! == false) {
$ TC = preg_replace ('|, |',, $ temp '.');
$ WC = preg_replace ('|, |',, $ Windchill '.');
$ HC = preg_replace ('|, |',, $ Indice di calore '.');
}

if (preg_match ('| F | i', $ tempUOM)) {/ / convertire F a C se deve essere
$ TC = sprintf ("% 01.1f", round (($ TC-32,0) / 1.8,1));
$ WC = sprintf ("% 01.1f", round (($ WC-32,0) / 1.8,1));
$ HC = sprintf ("% 01.1f", round (($ HC-32,0) / 1.8,1));
}

/ / Feelslike

if ($ TC <= 16.0) {
$ Feelslike = $ WC; / / utilizzare Windchill
} Elseif ($ TC> = 27,0) {
$ Feelslike = $ HC; / / uso Indice di calore
} Else {
$ Feelslike = $ TC; / / temperatura di utilizzo
}

if (preg_match ('| F | i', $ tempUOM)) {/ / convertire C torna alla F in caso di necessità
$ Feelslike = (1,8 * $ feelslike) + 32,0;
}
$ Feelslike = round ($ feelslike, 0);

/ / Determinare la 'parola colore caldo' per utilizzare
$ HcWord = $ HeatWords [0];
$ HcFound = false;
if ($ TC> 32 e $ HC> 29) {
if ($ HC> 54 e $ hcFound!) {$ hcWord = $ HeatWords [1]; $ hcFound = true;}
if ($ HC> 45 e $ hcFound!) {$ hcWord = $ HeatWords [2]; $ hcFound = true;}
if ($ HC> 39 e $ hcFound!) {$ hcWord = $ HeatWords [4]; $ hcFound = true;}
if ($ HC> 29 e $ hcFound!) {$ hcWord = $ HeatWords [6]; $ hcFound = true;}
} Elseif ($ WC <16) {
if ($ WC <-18 e $ hcFound!) {$ hcWord = $ HeatWords [13]; $ hcFound = true;}
if ($ WC <-9 e $ hcFound!) {$ hcWord = $ HeatWords [12]; $ hcFound = true;}

if ($ WC <-1 e $ hcFound!) {$ hcWord = $ HeatWords [11]; $ hcFound = true;}
if ($ WC <8 e $ hcFound!) {$ hcWord = $ HeatWords [10]; $ hcFound = true;}
if ($ WC <16 e $ hcFound!) {$ hcWord = $ HeatWords [9]; $ hcFound = true;}
} Elseif ($ WC> = 16 e $ TC <= 32) {
if ($ TC <= 26 e $ hcFound!) {$ hcWord = $ HeatWords [8]; $ hcFound = true;}
if ($ TC <= 32 e $ hcFound!) {$ hcWord = $ HeatWords [7]; $ hcFound = true;}
}

if (isset ($ _REQUEST )) {
echo "<-! MH_setFeelslike ingresso T, WC, HI, U = '$ temp, $ Windchill, $ Indice di calore, $ tempUOM' CNVT T, WC, HI = '$ TC, $ WC, $ HC' feelslike = $ feelslike hcWord = $ hcWord -> \ n ";
}

ritorno (array ($ feelslike, $ hcWord));

} / / Fine del MH_setFeelslike

per generare sia la feelslike e colorword.

6) poiché sensazione sulla pelle della tua stazione è '0 .0 ', che sembra determinare perché la parola' freddo '(Froid in francese) sta visualizzando.

7) un calcolo simile è fatto dai ajaxMHwx.js di routine AJAX della temperatura, vento, freddo, i valori Indice di calore dal file clientraw.txt Meteohub.

Quindi ... la lettura è probabilmente causato da Meteohub (B1061 4.9i - SheevaPlug) non calcolano correttamente il wind-chill in actual_wind0_chill_c.
Il mio Meteohub anziani (b1046 4.9g - SheevaPlug) non sta mostrando questo problema, quindi vi suggerisco di segnalare il problema a Boris sul forum Meteohub come un bug.

Spero che questo aiuti ...

Cordiali saluti,



Riprendo io.... chi ci capisce? Intanto ho preferito toglierlo per non dare notizie errate ;)

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)
Last edit: 10 years 2 months ago by pierpis.

Please Log in to join the conversation.

  • giri
  • giri's Avatar
  • Visitor
  • Visitor
10 years 2 months ago #3379 by giri
Replied by giri on topic Template Saratoga
Per me è arabo , arrivo si e no a scrivere un po' di html e un briciolo di php . Sei riuscito a mettere le lune ?

Please Log in to join the conversation.

More
10 years 2 months ago #3380 by oss
Replied by oss on topic Template Saratoga
ciao, ma questo file dove si trova?
MH-defs.php

Please Log in to join the conversation.

More
10 years 2 months ago #3381 by alegrechi
Replied by alegrechi on topic Template Saratoga
Oddio Pierpis... la traduzione con google translate di quel post non si può leggere... hai il link inglese? :D

Please Log in to join the conversation.

More
10 years 2 months ago #3382 by pierpis
Replied by pierpis on topic Template Saratoga
Già, per voi che masticate inglese :cheer:
Eccolo: www.wxforum.net/index.php?topic=15646.5;wap2

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

More
10 years 2 months ago #3383 by pierpis
Replied by pierpis on topic Template Saratoga

giri wrote: Per me è arabo , arrivo si e no a scrivere un po' di html e un briciolo di php . Sei riuscito a mettere le lune ?


Macchè... stò smanettando, ma dovevo nascere 30 anni dopo :P

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

More
10 years 2 months ago #3385 by pierpis
Replied by pierpis on topic Template Saratoga

oss wrote: ciao, ma questo file dove si trova?
MH-defs.php


Non sono riuscito a trovarlo..... ho pensato che il valore "Freddo estremo" oppure c"Caldo", sial strettamente legato ai colori del termometro.... penso :blush: :blush:

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

More
10 years 2 months ago #3388 by alegrechi
Replied by alegrechi on topic Template Saratoga
Ho dato un'occhiata al volo, quelle "parole" sono semplicemente legate al windchill calcolato.

Immagino che sia una sciocchezza, appena roberto ha un po' di tempo son sicuro che la sistemerà! :)

Please Log in to join the conversation.

More
10 years 2 months ago #3390 by roberto2011
Replied by roberto2011 on topic Template Saratoga
Se non vado a volare !
Ci metto mano oggi pom!

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)

Please Log in to join the conversation.

  • giri
  • giri's Avatar
  • Visitor
  • Visitor
10 years 2 months ago #3395 by giri
Replied by giri on topic Template Saratoga
Altro problema non segna i mm/hr di pioggia che mi pare siano presenti nel meteo.txt

Please Log in to join the conversation.

More
10 years 2 months ago - 10 years 2 months ago #3396 by roberto2011
Replied by roberto2011 on topic Template Saratoga
per risolvere il problema "Freddo Estremo" brrrrr

modificate alla riga 262 +o- il file wsn-defs.php
da
$windch  = $WX['wind_chill:']; // calculated value
in
$windch  = $WX['wind_chill']; // calculated value

per la pioggia mi mandate un db con i dati pioggia che faccio le provarelle !!!

Grazie

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)
Last edit: 10 years 2 months ago by roberto2011.
The following user(s) said Thank You: alegrechi, pierpis

Please Log in to join the conversation.

  • giri
  • giri's Avatar
  • Visitor
  • Visitor
10 years 2 months ago #3399 by giri
Replied by giri on topic Template Saratoga
GRANDISSIMOOO !!!
per il database ho copiato il mio
Attachments:

Please Log in to join the conversation.

More
10 years 2 months ago #3403 by pierpis
Replied by pierpis on topic Template Saratoga
Grande Roberto... funziona!!! Cioè per un : in più tanto casino :P

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

More
10 years 2 months ago #3411 by oss
Replied by oss on topic Template Saratoga
da poco mi è sparito il forecast di wu
e mi compare questa scritta:

Sorry.. this country forecast can not be processed by this script.

Locations in the United States and territories should use the carterlake NOAA script.

Locations in Canada should use the Environment Canada forecast script.

If this was a working non-USA, non-Canada forecast, then it is likely that WeatherUnderground has changed website design and you need an update to the WU-forecast.php script to handle this changed design.

sta capitando anche a voi?

Please Log in to join the conversation.

More
10 years 2 months ago #3412 by oss
Replied by oss on topic Template Saratoga
nulla è tornato a funzionare....mistero..

Please Log in to join the conversation.

More
10 years 2 months ago #3416 by pierpis
Replied by pierpis on topic Template Saratoga
Bene, il "freddo estremo" sistemato (Grazie a Roberto) ora prossima tappa....la luna, cioè :) :) non andarci, ma darle una sistemazione nel mio template.... che non c'è traccia :whistle: :whistle: :whistle:

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

More
10 years 2 months ago #3417 by oss
Replied by oss on topic Template Saratoga
io ho problemi con la piogga il totale, mi mette una cifra assurda,,,speravo si azzerasse ad inizio anno...bo
e poi mi compare la scritta doppia di
pioggia odierna:
pioggia odierna: 0


il resto mi pare ok

Please Log in to join the conversation.

More
10 years 2 months ago #3418 by roberto2011
Replied by roberto2011 on topic Template Saratoga
per la pioggia sto sistemando!

per la luna ullula
mi controllate se esiste questo file nella vostra cartella get-USNO-sunmoon.php?

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)

Please Log in to join the conversation.

More
10 years 2 months ago #3419 by pierpis
Replied by pierpis on topic Template Saratoga

roberto2011 wrote: per la pioggia sto sistemando!

per la luna ullula
mi controllate se esiste questo file nella vostra cartella get-USNO-sunmoon.php?


Mai visto.... in che cartella si trova?

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)

Please Log in to join the conversation.

More
10 years 2 months ago - 10 years 2 months ago #3420 by pierpis
Replied by pierpis on topic Template Saratoga
Forse sto sbagliando sezione, ma devo farvi vedere una cosa.... girovagando in rete mi sono imbattuto in un template molto simile al Saratoga e l'ho scaricato per vederlo meglio... questo: www.meteoportocervo.it/wsTemplate_2_4/weather2/index.php

lo avete mai visto? Addirittura ci sono siti meteo italiani (con nostro linguaggio) e sono molto accattivanti. Cliccate a sx sulla scritta "template information" in azzurro.

Sensori PCE-FWS20, DVB-T 820T2 SDR, BMP085, Raspberry Pi mod. B www.meteoportocervo.it (Abbiadori Porto Cervo - Arzachena - OT) 108 m s.l.m.)
Last edit: 10 years 2 months ago by pierpis.

Please Log in to join the conversation.

More
10 years 2 months ago - 10 years 2 months ago #3421 by roberto2011
Replied by roberto2011 on topic Template Saratoga
lasciate perdere c'e'!
il problema è che vi manca un file nella cache!
questo è il mio file luna sole ect.
roberto2011.altervista.org/saratoga/cache/USNO-moondata.txt
questo è il tuo
druss.alwaysdata.net/meteo/cache/USNO-moondata.txt
noto una notevole differenza :)

p.s.
anche questi non sono male come template.
weatherbyyou.com/we_sheet.php
l'ideale sarebbe creare un logger.php che genera un file realtime.txt con le specifiche di cumulus
wiki.sandaysoft.com/a/Realtime.txt

Sensori Davis +BME280 + Raspberry b+ webCam serrasanta.fleanet.it (Eremo di Serrasanta - Gualdo Tadino - 1.340 m s.l.m.)
Last edit: 10 years 2 months ago by roberto2011.

Please Log in to join the conversation.

Time to create page: 0.855 seconds