× Benvenuti sul nostro forum su Sint Wind PI!

Postate qui domande o segnalate problemi / bug che riscontrate,

file Errore rain tot giorno

More
9 years 2 months ago - 9 years 2 months ago #5119 by raimaker
Ciao a tutti , volevo chiedere a tutti se avete riscotrato questa anomalia e come l'avete risolta.
Sto provando il raspberry con la stazione meteo pce-fws20 e nonostante ho resettato tutti i dati mi segnala come rain giornaliero il rain tot della satzione es. 236mm cioè il valore tot della pioggia, verificando sulla centralina il valore risulta 0.0 dopo averla resettata, con i primi accumuli il valore di rain incrementa es di 236mm + il dato di accumulo giornaliero , come si può azzerare ? ho provato anche a cambiare centralina e trasmette sempre un valore totale. Esiste un sistema di memoria sul sd del raspi che bisogna azzera ?
Nel db archivia il valore di rain totale e non giornaliero.
Last edit: 9 years 2 months ago by raimaker.

Please Log in to join the conversation.

More
9 years 2 months ago #5128 by raimaker
Replied by raimaker on topic Errore rain tot giorno
Ho cambiato consolle avendone 2 centraline ma non è cambiato niente nessun reset. mi segna sempre l' accumulo totale.

Please Log in to join the conversation.

More
9 years 2 months ago #5131 by roberto2011
Replied by roberto2011 on topic Errore rain tot giorno
prova a resettare il db di swpi.
prima fai un killswpi
poi sudo pyhton database.py

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
9 years 2 months ago - 9 years 2 months ago #5134 by raimaker
Replied by raimaker on topic Errore rain tot giorno
allora ho resettato il db ma non ha fatto niente
comunque confermatemi se ho d interpretato bene i dati del file meteo.txt

"rain": ACCUMULO ANNO
"rain_rate": ACCUMULO ODIERNO
"rain_rate_1h": ACCUMULO ULTIMA ORA
"rain_rate_24h": ACCUMULO ULTIME 24H

mentre il dato del rain-rate tasso di precipitazione mm/h lo swpi non lo calcola?
Last edit: 9 years 2 months ago by raimaker.

Please Log in to join the conversation.

More
9 years 2 months ago #5136 by roberto2011
Replied by roberto2011 on topic Errore rain tot giorno
Anche io sono un pò incerto sul Situazione rain

Rain è il totale letto dalla stazione.
Rain_rate intensità della precipitazione.
Rain_rate_24h pioggia nelle ultime 24 ore.
Rain_rate_1h pioggia caduta nell'ultima ora.

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
9 years 2 months ago #5137 by roberto2011
Replied by roberto2011 on topic Errore rain tot giorno
al paragrafo 4.8 c'e' una sezione riguardante il reset della pioggia.

Manuale pce Italia

magari ti può essere utile.

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
9 years 2 months ago - 9 years 2 months ago #5139 by tony
Replied by tony on topic Errore rain tot giorno
In effetti, come ho detto più volte, i nomi dei parametri pioggia possono essere un po fuorvianti. Questo per motivi storici nel codice.

"rain": totale letto dalla stazione
"rain_rate": ACCUMULO ODIERNO ( alle 00 ad ora )
"rain_rate_1h": ACCUMULO ULTIMA ORA
"rain_rate_24h": ACCUMULO ULTIME 24H

Il vero "rain rate" in mm/h è quindi rain_rate_1h

TT
Last edit: 9 years 2 months ago by tony.
The following user(s) said Thank You: roberto2011

Please Log in to join the conversation.

More
9 years 2 months ago #5145 by raimaker
Replied by raimaker on topic Errore rain tot giorno
X Roberto, avendo due centraline o fatto prova a sostituirle ma il dato non cambia, inoltre entrambe sono state azzerate come memoria e valori di rain,

X Tony il" rain rate 1h" più precisamente " rain 1h " sarebbe l' accumulo registrato in un ora e va bene come valore
ma il rain rate è il valore che dovrebbe calcolarsi la centralina per vedere quant'è l'intensità di precipitazione in quell'istante della misurazione che è diverso dall'accumulo in un ora, in quanto potremmo avere un accumulo in un ora di 20mm tot e dei picchi di precipitazione con una intensita di 150mm/h .

Please Log in to join the conversation.

More
9 years 2 months ago #5146 by asy961
Replied by asy961 on topic Errore rain tot giorno
@raimaker

potresti postare i seguenti file???

meteo.txt (sul server web)
swpi.cfg (sul raspberry) omettendo le password
l'ultimo LOG

forse con qualche dato in più potremo capire meglio

Stazione Meteo: Raspberry PI B, Sensori Vento PCE, BME280, Camera PI, Web Cam HD, Huawei K3765, Pannello Fotovoltaico 50W - 1 Batteria 12V-40Ah

Please Log in to join the conversation.

More
9 years 2 months ago - 9 years 2 months ago #5152 by raimaker
Replied by raimaker on topic Errore rain tot giorno
METEO.txt
{"winDayGustMin": 0, "uv": null, "TempInMin": 21.900000000000002, "cloud_base_altitude": 1132.5448440149664, "PressureMax": 1005.4720612784187, "UmOutMin": 54, "wind_dir_ave": 128.0, "hum_in": 61.0, "temp_out": 10.700000000000001, "location_altitude": 106.0, "station_name": "Stazione Meteo Raimaker", "winDayMin": 0, "wind_chill": 10.700000000000001, "UmOutMax": 56, "location_longitude": 12.743187, "wind_trend_limit": 10.0, "temp_in": 22.900000000000002, "illuminance": null, "abs_pressure": 987.0, "rain_rate_24h": 0.0, "winDayGustMax": 0, "dew_point": 2.2802791893892462, "TempOutMin": 10.600000000000001, "UmInMin": 59, "winDayMax": 0, "UmInMax": 61, "rain_rate": 0.0, "wind_ave": 0.0, "rain": 237.89999999999998, "TempCPU": 41.2, "freedisk": 946462720, "wind_trend": 0, "rel_pressure": 999.4973557073212, "pressure_trend": -5.974705571097502, "last_measure_time": "[08/02/2015-16:08:30]", "wind_dir": 128, "wind_dir_code": null, "hum_out": 56, "wind_gust": 0.0, "idx": "[08/02/2015-15:08:30]", "location_latitude": 43.351983, "temp_apparent": 9.07392346547688, "rain_rate_1h": 0.0, "PressureMin": 999.4973557073212, "TempInMax": 23, "wind_speed_units": "kmh", "TempOutMax": 10.9}

file cfg
[General]
station_name = Stazione Meteo Raimaker
config_web_server = True
set_sistem_time_from_ntp_server_at_startup = True
ntp_server = europe.pool.ntp.org
reboot_at = None
shutdown_at = None
shutdown_hour_before_sunset = None
location_latitude = 43.351983
location_longitude = 12.743187
location_altitude = 106.0
wifi_reset_if_down = False
config_web_server_port = 80
cloudbase_calib = 1.0
set_time_at_boot = None
wind_speed_units = kmh
ntp_url = None

[Dongle]
usedongle = False
alwaysoninternet = True
donglectrlport = /dev/ttyUSB2
dongleaudioport = /dev/ttyUSB1
dongledataport = /dev/ttyUSB0
usedonglenet = False
operator = tim
prober_timeout = 2.0
modem_baudrate = 460800
audio_baudrate = 115200
ctrl__baudrate = 9600
dialnum = *99#
pppd_path = /usr/sbin/pppd

[Security]
smspwd = ********

[DataLogging]
logdata = True
serverfile = raimaker.altervista.org/server/swpi_logger.php

[Upload]
upload_data = True
upload_folder = server/

[Sensors]
sensor_type = PCE-FWS20
davis_error = 0
use_wind_sensor = True
number_of_measure_for_wind_dir_average = 10
windspeed_offset = 0.0
windspeed_gain = 0.0
windmeasureinterval = 5
use_bmp085 = False
use_tmp36 = False
use_dht = False
dht_type = DHT11
number_of_measure_for_wind_trend = 30
wind_trend_limit = 10.0
number_of_measure_for_wind_average_gust_calculation = 10
sensor_temp_out = Default
sensor_temp_in = Default

[Sensor_PCE-FWS20]
set_system_time_from_weatherstation = True

[Sensor_serial]
sensor_serial_port = /dev/ttyUSB0

[RFM01]
rfm01_frequenzy = 868
rfm01_band = 134
rfm01_lna = 0
rfm01_rssi = 97

[WebCam]
webcamdevice1 = none
webcamdevice2 = none
webcamlogo =
sendimagestoserver = False
webcaminterval = 60
webcamdevice1captureresolution = 640x480
webcamdevice2captureresolution = 640x480
webcamdevice1finalresolution = 640x480
webcamdevice2finalresolution = 640x480
captureprogram = fswebcam
sendallimagestoserver = False
delete_images_on_sd = False

[Camera]
usecameradivice = False
cameradivicefinalresolution = 800x600
gphoto2options = --set-config zoom=2 --set-config imagesize=2 --set-config imagequality=1 --set-config iso=0 --set-config whitebalance=0 --set-config photoeffect=1 --set-config shootingmode=0
gphoto2options_night = --set-config zoom=2 --set-config imagesize=2 --set-config imagequality=1 --set-config iso=0 --set-config whitebalance=0 --set-config photoeffect=1 --set-config shootingmode=0
reset_usb = False
clear_all_sd_cards_at_startup = True
start_camera_number = 1
gphoto2_capture_image_and_download = True
use_camera_resetter = False
camera_resetter_normaly_on = True

[CameraPI]
use_camerapi = False
camerapi_day_settings = -n -w 800 -h 600 -ex auto -ev -5 -mm average
camerapi_night_settings = -n -w 800 -h 600 -ex sports -ss 1000000 -t 10000

[ftp]
ftpserver = ftp.raimaker.altervista.org
ftpserverdestfolder = server/
ftpserverlogin = raimaker
ftpserverpassowd = *******
use_thread_for_sending_to_server = True

[Radio]
use_ptt = False
radiointerval = 900
radio_verbosity = only_wind
useradio = False

[Mail]
gmail_user = style="width:
gmail_pwd = raspberrypi
mail_to = This email address is being protected from spambots. You need JavaScript enabled to view it.
use_mail = False
mail_ip = True

[SMS]
send_ip_by_sms = False
number_to_send = +393330000000

[WeatherUnderground]
weatherunderground_logdata = False
weatherunderground_id = KCASANFR5
weatherunderground_password = XXXXXXXX

[PWS]
pws_logdata = False
pws_id = KCASANFR5
pws_password = XXXXXXXX

[CWOP]
cwop_logdata = False
cwop_id = EW0000
cwop_password = -1

[DNSExit]
use_dnsexit = False
dnsexit_uname = user
dnsexit_pwd = pwd
dnsexit_hname = xxxx.linkpc.net

[IPCam]
ipcaminterval = 60
ipcamcfg = None
ipcamip1 = None
ipcamus1 = None
ipcampw1 = None
ipcamsn1 = None
ipcamip2 = None
ipcamus2 = None
ipcampw2 = None
ipcamsn2 = None
ipcamzzz = 0
ipcamposn = None
ipcamposne = None
ipcampose = None
ipcamposse = None
ipcamposs = None
ipcampossw = None
ipcamposw = None
ipcamposnw = None

[LayOut]
laycolortbc = FF99FF
laycolorttc = 0000FF
laycolorbbc = FF99FF
laycolorbtc = 0000FF

per il file log non so dove prenderlo

se nel file cfg ho inserito dati che non è conveniente pubblicare , gentilmente effettuate le correzioni. Grazie
Last edit: 9 years 2 months ago by raimaker.

Please Log in to join the conversation.

More
9 years 2 months ago #5154 by asy961
Replied by asy961 on topic Errore rain tot giorno

raimaker wrote: METEO.txt
{"winDayGustMin": 0, "uv": null, "TempInMin": 21.900000000000002, "cloud_base_altitude": 1132.5448440149664, "PressureMax": 1005.4720612784187, "UmOutMin": 54, "wind_dir_ave": 128.0, "hum_in": 61.0, "temp_out": 10.700000000000001, "location_altitude": 106.0, "station_name": "Stazione Meteo Raimaker", "winDayMin": 0, "wind_chill": 10.700000000000001, "UmOutMax": 56, "location_longitude": 12.743187, "wind_trend_limit": 10.0, "temp_in": 22.900000000000002, "illuminance": null, "abs_pressure": 987.0, "rain_rate_24h": 0.0, "winDayGustMax": 0, "dew_point": 2.2802791893892462, "TempOutMin": 10.600000000000001, "UmInMin": 59, "winDayMax": 0, "UmInMax": 61, "rain_rate": 0.0, "wind_ave": 0.0, "rain": 237.89999999999998, "TempCPU": 41.2, "freedisk": 946462720, "wind_trend": 0, "rel_pressure": 999.4973557073212, "pressure_trend": -5.974705571097502, "last_measure_time": "b]08/02/2015-16:08:30[/b", "wind_dir": 128, "wind_dir_code": null, "hum_out": 56, "wind_gust": 0.0, "idx": "[08/02/2015-15:08:30]", "location_latitude": 43.351983, "temp_apparent": 9.07392346547688, "rain_rate_1h": 0.0, "PressureMin": 999.4973557073212, "TempInMax": 23, "wind_speed_units": "kmh", "TempOutMax": 10.9}

file cfg


[IPCam]
ipcaminterval = 60 se non hai ipcam questo valore va messo a 1



@raimaker

il file LOG lo trovi in /swpi/log del raspberry

i valori sembrano normali.....
ma dov'è che leggi valori sballati?? sul sito internet??
su quale pagina??

Stazione Meteo: Raspberry PI B, Sensori Vento PCE, BME280, Camera PI, Web Cam HD, Huawei K3765, Pannello Fotovoltaico 50W - 1 Batteria 12V-40Ah

Please Log in to join the conversation.

More
9 years 2 months ago #5156 by raimaker
Replied by raimaker on topic Errore rain tot giorno
"rain": 237.89999999999998,

la centralina risulta a zero , questo è l'accumulo totale , nella centralina è stato tutto resettato. come mai esce questo valore ?
se cambio la centralina con un'altra esce lo stesso valore .

Please Log in to join the conversation.

More
9 years 2 months ago - 9 years 2 months ago #5158 by asy961
Replied by asy961 on topic Errore rain tot giorno
ma dove lo leggi quel valore??
su quale pagina web lo leggi??

altrimenti prova a reinstallare nuovamente SWPI sulla SD e se possibile porva a cambiare anche SD, fai anche un swpi-upgrade

Stazione Meteo: Raspberry PI B, Sensori Vento PCE, BME280, Camera PI, Web Cam HD, Huawei K3765, Pannello Fotovoltaico 50W - 1 Batteria 12V-40Ah
Last edit: 9 years 2 months ago by asy961.

Please Log in to join the conversation.

More
9 years 2 months ago #5165 by raimaker
Replied by raimaker on topic Errore rain tot giorno
Ciao asy961
mi riferisco al valore sul file Meteo.txt,
"rain": 237.89999999999998,
quel valore da dove lo preleva ?

la cosa strana è che ho provato con due centraline, 2 raspberry e 2 sd ,
l'unica variabile che è rimasta è il solo trasmettitore.
Secondo voi , il trasmettitore registra il totale degli accumuli ?
Perchè nel database vengono archiviati con il vaalore di rain Tot accumulo, poi la funzione php estrapola solo l'accumulo giornaliero.
Non so se sono stato chiaro. cosa molto strana.

Please Log in to join the conversation.

More
9 years 2 months ago #5167 by asy961
Replied by asy961 on topic Errore rain tot giorno
guarda a questa domanda non so proprio rispondere.....

non credo che il trasmettitore abbia una memoria interna.....
anche sul nostro file meteo.txt il valore rain è alto ma rain dovrebbe essere la pioggia totale misurata....
cioè da quando la stazione è accesa....
poi quel valore non viene mai visualizzato da nessuna parte nel sito web......
almeno nel nostro no

(leggi il cap.4.8 del maunale PCE per resettare i valori pioggia altrimenti prova a scrivere una mail ai tecnici PCE, forse loro sapranno risponderti in maniera esaustiva)

Stazione Meteo: Raspberry PI B, Sensori Vento PCE, BME280, Camera PI, Web Cam HD, Huawei K3765, Pannello Fotovoltaico 50W - 1 Batteria 12V-40Ah

Please Log in to join the conversation.

More
9 years 2 months ago #5168 by alegrechi
Replied by alegrechi on topic Errore rain tot giorno
Il trasmettitore memorizza la pioggia accumulata dall'ultimo reset. Non ha tantissimo senso, ma tant'è.
Se togli e rimetti le batterie vedrai che tale valore si azzera...
The following user(s) said Thank You: tony

Please Log in to join the conversation.

More
9 years 2 months ago #5171 by asy961
Replied by asy961 on topic Errore rain tot giorno
ah....grazie Alessandro
avrei chiesto alla PCE, proprio non avrei immaginato che il trasmettitore avesse una memoria interna....
ma che tu sappia memorizza solo la pioggia totale o anche altri valori??

Stazione Meteo: Raspberry PI B, Sensori Vento PCE, BME280, Camera PI, Web Cam HD, Huawei K3765, Pannello Fotovoltaico 50W - 1 Batteria 12V-40Ah

Please Log in to join the conversation.

More
9 years 2 months ago #5172 by raimaker
Replied by raimaker on topic Errore rain tot giorno
Ok, enigma risolto. Volevo sfruttare il file txt per leggere i dati meteo e gestirlo con PHP. Utili zero ill' archivio del database quando preparero' la pagina web. Grazie a tutti e scusa temi se ci ho assillato.

Please Log in to join the conversation.

More
9 years 2 months ago #5279 by raimaker
Replied by raimaker on topic Errore rain tot giorno
Buona sera, chiedo ancora un Vs. aiuto, hoi valori del vento sempre a zero, sia il wind ave che il wind gust.
Avete qualche consiglio da darmi ?
grazie

Forse è meglio caambiare l'oggetto a questa discussione a :
"errori vari rain e wind"

Please Log in to join the conversation.

More
9 years 2 months ago #5281 by raimaker
Replied by raimaker on topic Errore rain tot giorno
Confermi che la centralina visualizza tutti i dati. Se la collego al PC con cumulus o altri SW funziona tutto.

Please Log in to join the conversation.

More
9 years 2 months ago - 9 years 2 months ago #5286 by raimaker
Replied by raimaker on topic Errore rain tot giorno
il raspberry è collegata alla centralina pce
questo il file log
[18/02/2015-20:20:46] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 6.4 - Tin: 22.8 - Hout: 48.0 - Hin: 53.0 - P: 1032 - Rtot: 271.5 - RDay: 0.0 - R1h: 0.0 - R24h: 0.0 - CB: 1350
Last edit: 9 years 2 months ago by raimaker.

Please Log in to join the conversation.

More
9 years 2 months ago #5302 by raimaker
Replied by raimaker on topic Errore rain tot giorno
Non so proprio cosa fare ......
invertita la centralina,
un'altro raspberry
scheda sd

non so più cosa fare. possibile che solo a me non funziona mah????

Please Log in to join the conversation.

More
9 years 2 months ago #5303 by raimaker
Replied by raimaker on topic Errore rain tot giorno
OK ho risolto :)
se può essere utile ad altri dopo varie prove, ho fatto un download della configurazione e poi un upload e ha funzionato.
non so il perchè ma adesso funziona

Please Log in to join the conversation.

Time to create page: 0.916 seconds