× Benvenuti sul nostro forum su Sint Wind PI!

Postate qui domande o segnalate problemi / bug che riscontrate,

file HELP - nuova stazione Firmware versione 2 1093

More
6 years 9 months ago #8106 by Pietro
Ciao, ho bisogno del vostro aiuto.
Sto lavorando ad una nuova stazione, ho scaricato il Firmware versione 2 1093 ma ho due problemi:
- data e ora non si aggiornano, la data rimane quella del 12/02/2018;
- l'e-mail non mi viene inviata, il comando viene ignorato.
Allego il file .cfg e parte del log:
Che ne pensate?

P.S.: a cosa serve il seguente parametro?
[mcp3002]
mcp3002_spidev = 0

Grazie
Pietro


[General]
offline = False
station_name = TO 17
config_web_server = True
config_web_server_port = 80
set_sistem_time_from_ntp_server_at_startup = True
ntp_server = pool.ntp.org
reboot_at = 00:14
shutdown_at = None
shutdown_hour_before_sunset = None
location_latitude = 45.04402
location_longitude = 7.67105
location_altitude = 258.0
wifi_reset_if_down = False
cloudbase_calib = 1.0
set_time_at_boot = None
wind_speed_units = kmh
ntp_url = None
disable_hdmi = False

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

[Security]
smspwd =

[DataLogging]
logdata = False
serverfile = www.yoursite.it/swpi_logger.php

[Upload]
upload_data = False
upload_folder = yoursite.it/folder

[Sensors]
sensor_type = PCE-SENSOR
davis_error = 0
use_wind_sensor = True
number_of_measure_for_wind_dir_average = 30
windspeed_offset = 0
windspeed_gain = 1
windmeasureinterval = 6
use_bmp085 = True
use_bme280 = False
use_tmp36 = False
use_dht = True
dht_type = DHT11
number_of_measure_for_wind_trend = 40
wind_trend_limit = 10
number_of_measure_for_wind_average_gust_calculation = 10
sensor_temp_out = Default
sensor_temp_in = Default
solarsensor = False
uvsensor = False

[mcp3002]
mcp3002_spidev = 0

[LoRa]
use_lora = False
lora_spidev = 1
lora_frequency = 868.0
lora_power = 23
lora_id = 1
lora_bw = 125
lora_cr = 4/5
lora_sf = 7
lora_mode = Bidirectional

[Sensor_PCE-FWS20]
set_system_time_from_weatherstation = False

[Sensor_serial]
sensor_serial_port = /dev/ttyUSB0

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

[RTL-SDR]
rtlsdr_frequency = 868
rtlsdr_bdl = 0
rtlsdr_ppm = 0
rtlsdr_timesync = False

[WebCam]
webcamdevice1 = None
webcamdevice2 = None
webcamlogo = www.yoursite.com - 333000000
sendimagestoserver = False
webcaminterval = 100
webcamdevice1captureresolution = 640x480
webcamdevice2captureresolution = 640x480
webcamdevice1finalresolution = 640x480
webcamdevice2finalresolution = 640x480
sendallimagestoserver = False
delete_images_on_sd = False
captureprogram = fswebcam

[Camera]
usecameradivice = False
cameradivicefinalresolution = 800x600
gphoto2options = ,,,,,,,,,,
gphoto2options_night = ,,,,,,,,,,
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
on_off_camera = False

[CameraPI]
use_camerapi = False
camerapi_day_settings =
camerapi_night_settings =

[ftp]
ftpserver = ftp.yoursite.it
ftpserverdestfolder = yoursite.it/img
ftpserverlogin = xxxxxxxxx
ftpserverpassowd = xxxxxxxxxx
use_thread_for_sending_to_server = False

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

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

[SMS]
send_ip_by_sms = False
number_to_send = +393330000000

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

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

[WindFinder]
windfinder_logdata = False
windfinder_id = XXXXXX
windfinder_password = ******

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

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

[IPCam]
ipcaminterval = 600
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

=======================

************************************************************************
* Sint Wind PI 01.25.95 *
* *
* 2012-2018 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.....
[12/02/2018-22:14:00] System revision (000e) : Raspberry Model B PCB 2.0
[12/02/2018-22:14:03] loading plugins
[12/02/2018-22:14:03] Starting sensor reading - Sensor type is : PCE-SENSOR
[12/02/2018-22:14:03] Initializing SPI un device : /dev/spidev0.0
[12/02/2018-22:14:03] Config Server running on port 80
/dev/ttyUSB0
[12/02/2018-22:14:03] Checking internet connection ...
[12/02/2018-22:14:03] Internet ok
[12/02/2018-22:14:03] Checking internet connection ...
[12/02/2018-22:14:03] Internet ok
[12/02/2018-22:14:23] ERROR - Failed to set time system from ntp server
[12/02/2018-22:14:30] BMP085 - Temperature: 24.4 C Pressure: 972.6
[12/02/2018-22:14:30] DHT - Temperature: 23.8 C Humidity: 6.8
[12/02/2018-22:14:30] Calculating Meteo data and statistics
[12/02/2018-22:14:30] Logging data to Database
[12/02/2018-22:14:30] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 24.4 - Tin: 23.8 - Hout: 6.8 - P: 1002 - CB: 4939
[12/02/2018-22:14:43] Disk space left = 1347 Mb
[12/02/2018-22:14:43] Sleeping 100 seconds
[12/02/2018-22:14:43] Starting General WatchDog
[12/02/2018-22:15:03] ERROR - Failed to set time system from ntp server
[12/02/2018-22:15:30] BMP085 - Temperature: 24.3 C Pressure: 972.6
[12/02/2018-22:15:30] DHT - Temperature: 23.7 C Humidity: 6.9
[12/02/2018-22:15:30] Calculating Meteo data and statistics
[12/02/2018-22:15:30] Logging data to Database
[12/02/2018-22:15:30] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 24.3 - Tin: 23.7 - Hout: 6.9 - P: 1002 - CB: 4914
[12/02/2018-22:16:23] Disk space left = 1347 Mb
[12/02/2018-22:16:23] Sleeping 100 seconds
[12/02/2018-22:16:30] BMP085 - Temperature: 24.3 C Pressure: 972.6
[12/02/2018-22:16:31] DHT - Temperature: 23.7 C Humidity: 7.0
[12/02/2018-22:16:31] Calculating Meteo data and statistics
[12/02/2018-22:16:31] Logging data to Database
[12/02/2018-22:16:32] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 24.3 - Tin: 23.7 - Hout: 7.0 - P: 1002 - CB: 4892

Please Log in to join the conversation.

More
6 years 9 months ago #8107 by Pietro
Ho fatto un tentativo, ho installato l'immagine 845 la quale a differenza della 1093 permette di dare il comando swpi-update, si aggiorna quindi alla versione 01.26.05, mi invia l'e-mail all'avvio e la data e l'ora si aggiornano da intenet..
A questo punto credo di sbagliare qualcosa con l'immagine 1093, è come se non comunicasse con l'esterno. Dopo l'installazione va dato un comando in particolare?
Grazie

Please Log in to join the conversation.

More
6 years 9 months ago #8108 by Pietro
Ho fatto un tentativo, ho installato l'immagine 845 la quale a differenza della 1093 permette di dare il comando swpi-update, si aggiorna quindi alla versione 01.26.05, mi invia l'e-mail all'avvio e la data e l'ora si aggiornano da intenet..
A questo punto credo di sbagliare qualcosa con l'immagine 1093, è come se non comunicasse con l'esterno. Dopo l'installazione va dato un comando in particolare?
Grazie

Please Log in to join the conversation.

More
6 years 9 months ago #8109 by asy961
Buongiorno,
scusami Pietro ma la configurazione che hai postato pare quella di default con la sola impostazione del tipo di sensori che usi.....
controlla la vecchia configurazione (che funziona) con quella che hai postato

Valerio

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
6 years 9 months ago #8111 by Pietro
Buonasera,
grazie della risposta.
La mia versione funzionante ha l'immagine 845 la quale dopo il comando swpi-update è aggiornata alla v.01.25.95.

La nuova stazione ha l'immagine 1093. Seguendo il tuo suggerimento ho ricopiato la configurazione della stazione funzionante ma siamo al punto di prima.

Allego la foto della videata che viene fuori dopo il comando swpi-update e
copio/incollo il file swpi.cfg e il log.
Noterete che la data non si aggiorna, rimane al 12/02/2018 e, come scrivevo nel primo post, all'avvio non viene inviata alcuna e-mail.

[General]
offline = False
station_name = TO 17
config_web_server = True
config_web_server_port = 80
set_sistem_time_from_ntp_server_at_startup = True
ntp_server = pool.ntp.org
reboot_at = 00:16
shutdown_at = None
shutdown_hour_before_sunset = None
location_latitude = 45.04402
location_longitude = 7.67105
location_altitude = 258.0
wifi_reset_if_down = False
cloudbase_calib = 1.0
set_time_at_boot = None
wind_speed_units = kmh
ntp_url = None
disable_hdmi = False

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

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

[DataLogging]
logdata = False
serverfile = www.yoursite.it/swpi_logger.php

[Upload]
upload_data = False
upload_folder = yoursite.it/folder

[Sensors]
sensor_type = PCE-SENSOR
davis_error = 0
use_wind_sensor = True
number_of_measure_for_wind_dir_average = 30
windspeed_offset = 0
windspeed_gain = 1
windmeasureinterval = 6
use_bmp085 = Truee
use_bme280 = False
use_tmp36 = False
use_dht = True
dht_type = DHT11
number_of_measure_for_wind_trend = 40
wind_trend_limit = 10
number_of_measure_for_wind_average_gust_calculation = 10
sensor_temp_out = Default
sensor_temp_in = Default
solarsensor = False
uvsensor = False

[mcp3002]
mcp3002_spidev = 0

[LoRa]
use_lora = False
lora_spidev = 1
lora_frequency = 868.0
lora_power = 23
lora_id = 1
lora_bw = 125
lora_cr = 4/5
lora_sf = 7
lora_mode = Bidirectional

[Sensor_PCE-FWS20]
set_system_time_from_weatherstation = False

[Sensor_serial]
sensor_serial_port = /dev/ttyUSB0

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

[RTL-SDR]
rtlsdr_frequency = 868
rtlsdr_bdl = 0
rtlsdr_ppm = 0
rtlsdr_timesync = False

[WebCam]
webcamdevice1 = None
webcamdevice2 = None
webcamlogo = www.yoursite.com - 333000000
sendimagestoserver = False
webcaminterval = 100
webcamdevice1captureresolution = 640x480
webcamdevice2captureresolution = 640x480
webcamdevice1finalresolution = 640x480
webcamdevice2finalresolution = 640x480
sendallimagestoserver = False
delete_images_on_sd = False
captureprogram = fswebcam

[Camera]
usecameradivice = False
cameradivicefinalresolution = 800x600
gphoto2options = ,,,,,,,,,,
gphoto2options_night = ,,,,,,,,,,
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
on_off_camera = False

[CameraPI]
use_camerapi = False
camerapi_day_settings =
camerapi_night_settings =

[ftp]
ftpserver = ftp.yoursite.it
ftpserverdestfolder = yoursite.it/img
ftpserverlogin = xxxxxxxxx
ftpserverpassowd = xxxxxxxxxx
use_thread_for_sending_to_server = False

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

[Mail]
gmail_user = This email address is being protected from spambots. You need JavaScript enabled to view it.
gmail_pwd = ************************
mail_to = This email address is being protected from spambots. You need JavaScript enabled to view it.
use_mail = True
mail_ip = True

[SMS]
send_ip_by_sms = False
number_to_send = +393330000000

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

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

[WindFinder]
windfinder_logdata = False
windfinder_id = XXXXXX
windfinder_password = ******

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

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

[IPCam]
ipcaminterval = 600
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



************************************************************************
10.....9.....8.....7.....6.....5.....4.....[12/02/2018-21:27:20] Starting SINT WIND PI ...
************************************************************************
* Sint Wind PI 01.25.95 *
* *
* 2012-2018 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.....
[12/02/2018-21:27:30] System revision (000e) : Raspberry Model B PCB 2.0
[12/02/2018-21:27:32] loading plugins
[12/02/2018-21:27:32] Starting sensor reading - Sensor type is : PCE-SENSOR
[12/02/2018-21:27:32] Initializing SPI un device : /dev/spidev0.0
[12/02/2018-21:27:32] Config Server running on port 80
/dev/ttyUSB0
[12/02/2018-21:27:33] Checking internet connection ...
[12/02/2018-21:27:33] Internet ok
[12/02/2018-21:27:33] Checking internet connection ...
[12/02/2018-21:27:33] Internet ok
[12/02/2018-21:27:53] ERROR - Failed to set time system from ntp server
[12/02/2018-21:28:13] Starting General WatchDog
[12/02/2018-21:28:30] DHT - Temperature: 22.9 C Humidity: 11.0
[12/02/2018-21:28:30] Calculating Meteo data and statistics
[12/02/2018-21:28:30] Logging data to Database
[12/02/2018-21:28:30] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.9 - Hout: 11.0 - CB: 4162
[12/02/2018-21:28:30] Disk space left = 1347 Mb
[12/02/2018-21:28:30] Sleeping 100 seconds
[12/02/2018-21:28:33] ERROR - Failed to set time system from ntp server
[12/02/2018-21:29:30] DHT - Temperature: 22.9 C Humidity: 10.4
[12/02/2018-21:29:30] Calculating Meteo data and statistics
[12/02/2018-21:29:30] Logging data to Database
[12/02/2018-21:29:30] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.9 - Hout: 10.4 - CB: 4249
[12/02/2018-21:30:10] Disk space left = 1347 Mb
[12/02/2018-21:30:10] Sleeping 100 seconds
[12/02/2018-21:30:31] DHT - Temperature: 22.8 C Humidity: 10.6
[12/02/2018-21:30:31] Calculating Meteo data and statistics
[12/02/2018-21:30:31] Logging data to Database
[12/02/2018-21:30:31] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.8 - Hout: 10.6 - CB: 4217
[12/02/2018-21:31:32] DHT - Temperature: 22.8 C Humidity: 10.5
[12/02/2018-21:31:32] Calculating Meteo data and statistics
[12/02/2018-21:31:32] Logging data to Database
[12/02/2018-21:31:32] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.8 - Hout: 10.5 - CB: 4232
[12/02/2018-21:31:50] Disk space left = 1347 Mb
[12/02/2018-21:31:50] Sleeping 100 seconds
[12/02/2018-21:32:30] DHT - Temperature: 22.8 C Humidity: 10.5
[12/02/2018-21:32:30] Calculating Meteo data and statistics
[12/02/2018-21:32:30] Logging data to Database
[12/02/2018-21:32:30] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.8 - Hout: 10.5 - CB: 4232
[12/02/2018-21:33:30] Disk space left = 1347 Mb
[12/02/2018-21:33:30] Sleeping 100 seconds
[12/02/2018-21:33:30] DHT - Temperature: 22.8 C Humidity: 10.6
[12/02/2018-21:33:30] Calculating Meteo data and statistics
[12/02/2018-21:33:30] Logging data to Database
[12/02/2018-21:33:30] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.8 - Hout: 10.6 - CB: 4217
[12/02/2018-21:34:30] DHT - Temperature: 22.8 C Humidity: 10.6
[12/02/2018-21:34:30] Calculating Meteo data and statistics
[12/02/2018-21:34:30] Logging data to Database
[12/02/2018-21:34:30] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.8 - Hout: 10.6 - CB: 4217
[12/02/2018-21:34:53] Last main Thread delay ratio: 0.8
[12/02/2018-21:35:10] Disk space left = 1347 Mb
[12/02/2018-21:35:10] Sleeping 100 seconds
[12/02/2018-21:35:31] DHT - Temperature: 22.7 C Humidity: 10.6
[12/02/2018-21:35:31] Calculating Meteo data and statistics
[12/02/2018-21:35:31] Logging data to Database
[12/02/2018-21:35:31] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.7 - Hout: 10.6 - CB: 4214
[12/02/2018-21:36:32] DHT - Temperature: 22.7 C Humidity: 10.7
[12/02/2018-21:36:32] Calculating Meteo data and statistics
[12/02/2018-21:36:32] Logging data to Database
[12/02/2018-21:36:32] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.7 - Hout: 10.7 - CB: 4200
[12/02/2018-21:36:33] Last main Thread delay ratio: 0.8
[12/02/2018-21:36:50] Disk space left = 1347 Mb
[12/02/2018-21:36:50] Sleeping 100 seconds
[12/02/2018-21:37:30] DHT - Temperature: 22.7 C Humidity: 10.7
[12/02/2018-21:37:30] Calculating Meteo data and statistics
[12/02/2018-21:37:30] Logging data to Database
[12/02/2018-21:37:30] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.7 - Hout: 10.7 - CB: 4200
[12/02/2018-21:38:13] Last main Thread delay ratio: 0.8
[12/02/2018-21:38:30] Disk space left = 1347 Mb
[12/02/2018-21:38:30] Sleeping 100 seconds
[12/02/2018-21:38:31] DHT - Temperature: 22.7 C Humidity: 10.7
[12/02/2018-21:38:31] Calculating Meteo data and statistics
[12/02/2018-21:38:31] Logging data to Database
[12/02/2018-21:38:31] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.7 - Hout: 10.7 - CB: 4200
[12/02/2018-21:39:30] DHT - Temperature: 22.7 C Humidity: 10.6
[12/02/2018-21:39:30] Calculating Meteo data and statistics
[12/02/2018-21:39:30] Logging data to Database
[12/02/2018-21:39:30] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.7 - Hout: 10.6 - CB: 4214
[12/02/2018-21:39:53] Last main Thread delay ratio: 0.8
[12/02/2018-21:40:10] Disk space left = 1347 Mb
[12/02/2018-21:40:10] Sleeping 100 seconds
[12/02/2018-21:40:31] DHT - Temperature: 22.7 C Humidity: 10.6
[12/02/2018-21:40:31] Calculating Meteo data and statistics
[12/02/2018-21:40:31] Logging data to Database
[12/02/2018-21:40:31] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.7 - Hout: 10.6 - CB: 4214
[12/02/2018-21:41:30] DHT - Temperature: 22.7 C Humidity: 10.6
[12/02/2018-21:41:30] Calculating Meteo data and statistics
[12/02/2018-21:41:30] Logging data to Database
[12/02/2018-21:41:30] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.7 - Hout: 10.6 - CB: 4214
[12/02/2018-21:41:34] Last main Thread delay ratio: 0.8
[12/02/2018-21:41:50] Disk space left = 1347 Mb
[12/02/2018-21:41:50] Sleeping 100 seconds
[12/02/2018-21:42:31] DHT - Temperature: 22.7 C Humidity: 10.6
[12/02/2018-21:42:31] Calculating Meteo data and statistics
[12/02/2018-21:42:31] Logging data to Database
[12/02/2018-21:42:31] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.7 - Hout: 10.6 - CB: 4214
[12/02/2018-21:43:14] Last main Thread delay ratio: 0.8
[12/02/2018-21:43:30] DHT - Temperature: 22.7 C Humidity: 10.7
[12/02/2018-21:43:30] Calculating Meteo data and statistics
[12/02/2018-21:43:30] Logging data to Database
[12/02/2018-21:43:30] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.7 - Hout: 10.7 - CB: 4200
[12/02/2018-21:43:31] Disk space left = 1347 Mb
[12/02/2018-21:43:31] Sleeping 100 seconds
[12/02/2018-21:44:30] DHT - Temperature: 22.7 C Humidity: 10.6
[12/02/2018-21:44:30] Calculating Meteo data and statistics
[12/02/2018-21:44:30] Logging data to Database
[12/02/2018-21:44:31] Dir: W - Spd: 0.0 - Gst: 0.0 - Tout: 22.7 - Hout: 10.6 - CB: 4214
Attachments:

Please Log in to join the conversation.

More
6 years 9 months ago #8112 by asy961
Buongiorno,
controlla anche il file interfaces (/etc/network/interfaces)
di entrambe le versioni e vedi se ci sono differenze
eventualmente usa quello della versione che funziona anche su l'altra

Valerio

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
6 years 9 months ago #8114 by Pietro
Ciao,
niente da fare, il file interfaces è il medesimo, al comando swpi-update mi ritrovo sempre la situazione come da videata allegata ... .
Non riesco a sbloccare il problema ...
Attachments:

Please Log in to join the conversation.

More
6 years 9 months ago #8115 by asy961
Buongiorno,
sembra un problema di collegamento alla rete

prima di dare il comando swpi-update
dai il comando ifconfig su entrambe le versioni
e vediamo le differenze (se puoi posta il risultato)


Valerio

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
6 years 9 months ago #8116 by Pietro
Ciao Valerio,
ecco fatto, allego le videate.

- Il file TO17 si riferisce all'immagine 1093 che continua a non aggiornare la data, non inviare e-mail e non far eseguire il comando swpi-update;
- il file Carducci si riferisce alla stazione funzionante, quella con l'immagine 845.

Grazie dell'aiuto.
Piero
Attachments:

Please Log in to join the conversation.

More
6 years 9 months ago - 6 years 9 months ago #8117 by asy961
Buongiorno,

potrebbe essere un impostazione del router....

proviamo a farli collegare con ip statico modificando il file interfaces cosi


auto lo

iface lo inet loopback
#iface eth0 inet dhcp
iface eth0 inet static
	address 192.168.1.200
	netmask 255.255.255.0
	gateway 192.168.1.1

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp



e vediamo che succede

Valerio

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: 6 years 9 months ago by asy961.

Please Log in to join the conversation.

More
6 years 9 months ago #8121 by Pietro
Ok, lo farò in serata, grazie.
Eppure il router è il medesimo al quale è collegata con cavo di rete l'altra raspberry già in rete con la stazione funzionante. Ieri sera ho provato anche a far girare la SD della nuova stazione sulla suddetta raspberry ma il problema permane.
In ogni caso stasera provo e ti faccio sapere.
Ciao
Pietro

Please Log in to join the conversation.

More
6 years 9 months ago #8129 by tony
A questo punto non verrei che il problema fosse il nuovo kernel 1093.
TT

Please Log in to join the conversation.

Time to create page: 1.142 seconds