Linea Meteo


Strumenti meteo - Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva



lb81 [ Mar 26 Giu, 2018 11:48 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
andrea75 ha scritto: [Visualizza Messaggio]
Prova così...

Codice: [Nascondi]
  1. $ export LANGUAGE=en_US.UTF-8 
  2. $ export LANG=en_US.UTF-8 
  3. $ export LC_ALL=en_US.UTF-8 
  4. $ locale-gen en_US.UTF-8 
  5. $ dpkg-reconfigure locales 


ho fatto,pare sparito


immagine


andrea75 [ Mar 26 Giu, 2018 11:59 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva
lb81 ha scritto: [Visualizza Messaggio]
andrea75 ha scritto: [Visualizza Messaggio]
Prova così...

Codice: [Nascondi]
  1. $ export LANGUAGE=en_US.UTF-8 
  2. $ export LANG=en_US.UTF-8 
  3. $ export LC_ALL=en_US.UTF-8 
  4. $ locale-gen en_US.UTF-8 
  5. $ dpkg-reconfigure locales 


ho fatto,pare sparito


immagine


Ottimo, meglio così! :ok:


lb81 [ Mar 26 Giu, 2018 12:01 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
andrea75 ha scritto: [Visualizza Messaggio]
lb81 ha scritto: [Visualizza Messaggio]
andrea75 ha scritto: [Visualizza Messaggio]
Prova così...

Codice: [Nascondi]
  1. $ export LANGUAGE=en_US.UTF-8 
  2. $ export LANG=en_US.UTF-8 
  3. $ export LC_ALL=en_US.UTF-8 
  4. $ locale-gen en_US.UTF-8 
  5. $ dpkg-reconfigure locales 


ho fatto,pare sparito


immagine


Ottimo, meglio così! :ok:


ma non vedo nulla su ipraspb/meteo/ oppure /weewx ecc..ecc..


andrea75 [ Mer 27 Giu, 2018 00:18 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva
Hai controllato nella cartella public_html di Weewx?


lb81 [ Mer 27 Giu, 2018 14:19 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
andrea75 ha scritto: [Visualizza Messaggio]
Hai controllato nella cartella public_html di Weewx?



dove la trovo ?


andrea75 [ Mer 27 Giu, 2018 14:24 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva
Dovresti trovarla in /home/weewx/public_html


lb81 [ Mer 27 Giu, 2018 14:28 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
andrea75 ha scritto: [Visualizza Messaggio]
Dovresti trovarla in /home/weewx/public_html


non c'e,forse non l'ho installata ? i passaggi li ho seguiti tutti credo :D


immagine


andrea75 [ Mer 27 Giu, 2018 18:29 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva
No, non c'è, ma evidentemente non te l'ha creata perché c'è qualche problema... la stazione l'hai configurata correttamente? Controlla il file log nella cartella /var/log. Evidentemente qualcosa non è andato a buon fine...


lb81 [ Gio 28 Giu, 2018 14:57 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
andrea75 ha scritto: [Visualizza Messaggio]
No, non c'è, ma evidentemente non te l'ha creata perché c'è qualche problema... la stazione l'hai configurata correttamente? Controlla il file log nella cartella /var/log. Evidentemente qualcosa non è andato a buon fine...



nella cartella /var/log ci sono una marea di file e cartelle


immagine_1530190652_865249


lb81 [ Gio 28 Giu, 2018 15:14 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
ora c'e'!! ho dovuto fare questa modifica (grazie a un noto forum)


Apri e modifica questo file weewx.cfg che si trova in /home/weewx/

cerca queste righe:

[[FTP]]
# FTP'ing the results to a webserver is treated as just another report,
# albeit one with an unusual report generator!
skin = Ftp

# If you wish to use FTP, uncomment and fill out the next four lines.
#user = replace with the ftp username
#password = replace with the ftp password
#server = replace with the ftp server name, e.g, Home
#path = replace with the ftp destination directory (e.g., /weather)


cancella i # rossi (serve ad attivare l'invio) e configura per Aruba le credenziali di accesso.

Se tutto è configurato dovrebbe scaricarti sul sito di Aruba tutti i files che hai in /home/weewx/public_html


lb81 [ Gio 28 Giu, 2018 15:19 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
pero' non si aggiornano i dati


andrea75 [ Gio 28 Giu, 2018 18:57 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva
Non si aggiornano sul sito (server) o non si aggiornano nemmeno sulla cartella del Raspberry?

Nella carella /log cerca il syslog o il weewx.log per vedere eventuali errori.


lb81 [ Ven 29 Giu, 2018 07:15 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
sulla cartella del raspberry si,sul server non saprei :ohno: :mrgreen:



ecco log/syslog

Jun 29 07:00:56 raspberrypi weewx[10299]: manager: Added record 2018-06-29 07:00:00 CEST (1530248400) to database 'weewx.sdb'
Jun 29 07:00:56 raspberrypi weewx[10299]: manager: Added record 2018-06-29 07:00:00 CEST (1530248400) to daily summary in 'weewx.sdb'
Jun 29 07:00:58 raspberrypi weewx[10299]: cheetahgenerator: Generated 14 files for report StandardReport in 2.05 seconds

Jun 29 07:01:02 raspberrypi weewx[10299]: imagegenerator: Generated 24 images for StandardReport in 4.00 seconds
Jun 29 07:01:02 raspberrypi weewx[10299]: copygenerator: copied 0 files to /home/weewx/public_html
Jun 29 07:01:02 raspberrypi weewx[10299]: reportengine: Caught unrecoverable exception in generator weewx.reportengine.FtpGenerator
Jun 29 07:01:02 raspberrypi weewx[10299]: **** getaddrinfo() argument 1 must be string or None
Jun 29 07:01:02 raspberrypi weewx[10299]: **** Traceback (most recent call last):
Jun 29 07:01:02 raspberrypi weewx[10299]: **** File "/home/weewx/bin/weewx/reportengine.py", line 239, in run
Jun 29 07:01:02 raspberrypi weewx[10299]: **** obj.start()
Jun 29 07:01:02 raspberrypi weewx[10299]: **** File "/home/weewx/bin/weewx/reportengine.py", line 273, in start
Jun 29 07:01:02 raspberrypi weewx[10299]: **** self.run()
Jun 29 07:01:02 raspberrypi weewx[10299]: **** File "/home/weewx/bin/weewx/reportengine.py", line 325, in run
Jun 29 07:01:02 raspberrypi weewx[10299]: **** n = ftp_data.run()
Jun 29 07:01:02 raspberrypi weewx[10299]: **** File "/home/weewx/bin/weeutil/ftpupload.py", line 102, in run
Jun 29 07:01:02 raspberrypi weewx[10299]: **** ftp_server.connect(self.server, self.port)
Jun 29 07:01:02 raspberrypi weewx[10299]: **** File "/usr/lib/python2.7/ftplib.py", line 135, in connect
Jun 29 07:01:02 raspberrypi weewx[10299]: **** self.sock = socket.create_connection((self.host, self.port), self.timeout)
Jun 29 07:01:02 raspberrypi weewx[10299]: **** File "/usr/lib/python2.7/socket.py", line 553, in create_connection
Jun 29 07:01:02 raspberrypi weewx[10299]: **** for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Jun 29 07:01:02 raspberrypi weewx[10299]: **** TypeError: getaddrinfo() argument 1 must be string or None
Jun 29 07:01:02 raspberrypi weewx[10299]: **** Generator terminated


andrea75 [ Ven 29 Giu, 2018 19:18 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva
Qui si cominciano a fermare le mie competenze... sembrano esserci degli errori credo di configurazione, o in weewx.conf o nel file di configurazione del template skin.conf, però per capirne la causa andrebbe fatta un'analisi un po' più approfondita...cosa non molto semplice a distanza.
Il consiglio che posso darti è di stoppare weewx, riavviarlo, ed analizzare bene il file LOG per capire passo passo i vari errori, partendo dal primo a scendere.


Columbia [ Ven 29 Giu, 2018 21:46 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
Ciao a tutti, installato tutto e gira alla meraviglia, unica cosa non riesco ad inserire lo skin sofaskin su weewx, quando lo vado a cambiare nel file weewx.conf e inserisco il nuovo skin mi da errore nella compilazione.
Questa è la parte da me cambiata:
-----------------------------------------------------------
[[StandardReport]]
# See the customizing guide to change the units, plot types and line
# colors, modify the fonts, display additional sensor data, and other
# customizations. Many of those changes can be made here by overriding
# parameters, or by modifying templates within the skin itself.

# The StandardReport uses the 'Standard' skin, which contains the
# images, templates and plots for the report.
#skin = Standard
skin = sofaskin
[[[Units]]]
[[[[Groups]]]]
group_altitude = meter
group_speed2 = meter_per_second2
group_pressure = mbar
group_rain = mm
group_rainrate = mm_per_hour
group_temperature = degree_C
group_degree_day = degree_C_day
group_speed = meter_per_second
-----------------------------------------------------------------------------------
questo è l'errore che mi da weewx:
Jun 29 21:44:47 raspberrypi weewx[4716]: **** Traceback (most recent call last):
Jun 29 21:44:47 raspberrypi weewx[4716]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 330, in generate
Jun 29 21:44:47 raspberrypi weewx[4716]: **** print >> _file, compiled_template
Jun 29 21:44:47 raspberrypi weewx[4716]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Jun 29 21:44:47 raspberrypi weewx[4716]: **** rc = getattr(self, mainMethName)()
Jun 29 21:44:47 raspberrypi weewx[4716]: **** File "_home_weewx_skins_sofaskin_index_html_tmpl.py", line 707, in respond
Jun 29 21:44:47 raspberrypi weewx[4716]: **** NotFound: cannot find 'cameratitle2' while searching for 'Extras.cameratitle2'
Jun 29 21:44:51 raspberrypi weewx[4716]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
Jun 29 21:44:51 raspberrypi weewx[4716]: cheetahgenerator: **** Ignoring template /home/weewx/skins/sofaskin/text.php.tmpl
Jun 29 21:44:51 raspberrypi weewx[4716]: cheetahgenerator: **** Reason: cannot find 'cwop' while searching for 'Extras.cwop'
Jun 29 21:44:51 raspberrypi weewx[4716]: **** Traceback (most recent call last):
Jun 29 21:44:51 raspberrypi weewx[4716]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 330, in generate
Jun 29 21:44:51 raspberrypi weewx[4716]: **** print >> _file, compiled_template
Jun 29 21:44:51 raspberrypi weewx[4716]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Jun 29 21:44:51 raspberrypi weewx[4716]: **** rc = getattr(self, mainMethName)()
Jun 29 21:44:51 raspberrypi weewx[4716]: **** File "_home_weewx_skins_sofaskin_text_php_tmpl.py", line 146, in respond
Jun 29 21:44:51 raspberrypi weewx[4716]: **** NotFound: cannot find 'cwop' while searching for 'Extras.cwop'
Jun 29 21:44:52 raspberrypi weewx[4716]: cheetahgenerator: Generated 8 files for report StandardReport in 11.09 seconds
Jun 29 21:44:56 raspberrypi weewx[4716]: imagegenerator: Generated 11 images for StandardReport in 3.37 seconds
Jun 29 21:44:56 raspberrypi weewx[4716]: copygenerator: copied 9 files to /home/weewx/public_html
Jun 29 21:45:23 raspberrypi weewx[4716]: manager: Added record 2018-06-29 21:45:00 CEST (1530301500) to database 'weewx.sdb'
Jun 29 21:45:23 raspberrypi weewx[4716]: manager: Added record 2018-06-29 21:45:00 CEST (1530301500) to daily summary in 'weewx.sdb'
Jun 29 21:45:23 raspberrypi weewx[4716]: historygenerator.py: Generated 8 tables in 0.15 seconds
Jun 29 21:45:24 raspberrypi weewx[4716]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
Jun 29 21:45:24 raspberrypi weewx[4716]: cheetahgenerator: **** Ignoring template /home/weewx/skins/sofaskin/index.html.tmpl
Jun 29 21:45:24 raspberrypi weewx[4716]: cheetahgenerator: **** Reason: cannot find 'cameratitle2' while searching for 'Extras.cameratitle2'
Jun 29 21:45:24 raspberrypi weewx[4716]: **** Traceback (most recent call last):
Jun 29 21:45:24 raspberrypi weewx[4716]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 330, in generate
Jun 29 21:45:24 raspberrypi weewx[4716]: **** print >> _file, compiled_template
Jun 29 21:45:24 raspberrypi weewx[4716]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Jun 29 21:45:24 raspberrypi weewx[4716]: **** rc = getattr(self, mainMethName)()
Jun 29 21:45:24 raspberrypi weewx[4716]: **** File "_home_weewx_skins_sofaskin_index_html_tmpl.py", line 707, in respond
Jun 29 21:45:24 raspberrypi weewx[4716]: **** NotFound: cannot find 'cameratitle2' while searching for 'Extras.cameratitle2'
Jun 29 21:45:25 raspberrypi weewx[4716]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
Jun 29 21:45:25 raspberrypi weewx[4716]: cheetahgenerator: **** Ignoring template /home/weewx/skins/sofaskin/text.php.tmpl
Jun 29 21:45:25 raspberrypi weewx[4716]: cheetahgenerator: **** Reason: cannot find 'cwop' while searching for 'Extras.cwop'
Jun 29 21:45:25 raspberrypi weewx[4716]: **** Traceback (most recent call last):
Jun 29 21:45:25 raspberrypi weewx[4716]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 330, in generate
Jun 29 21:45:25 raspberrypi weewx[4716]: **** print >> _file, compiled_template
Jun 29 21:45:25 raspberrypi weewx[4716]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Jun 29 21:45:25 raspberrypi weewx[4716]: **** rc = getattr(self, mainMethName)()
Jun 29 21:45:25 raspberrypi weewx[4716]: **** File "_home_weewx_skins_sofaskin_text_php_tmpl.py", line 146, in respond
Jun 29 21:45:25 raspberrypi weewx[4716]: **** NotFound: cannot find 'cwop' while searching for 'Extras.cwop'
Jun 29 21:45:26 raspberrypi weewx[4716]: cheetahgenerator: Generated 8 files for report StandardReport in 2.45 seconds
Jun 29 21:45:28 raspberrypi weewx[4716]: imagegenerator: Generated 9 images for StandardReport in 2.29 seconds
Jun 29 21:45:28 raspberrypi weewx[4716]: copygenerator: copied 0 files to /home/weewx/public_html
---------------------------------------------------------
qualche idea
Grazie


andrea75 [ Sab 30 Giu, 2018 10:15 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva
La procedura sembra giusta. La cartella /sofaskin l'hai inserita in /skins?
Hai fatto modifiche nel file skin.conf?


lb81 [ Sab 30 Giu, 2018 15:26 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
andrea75 ha scritto: [Visualizza Messaggio]
Qui si cominciano a fermare le mie competenze... sembrano esserci degli errori credo di configurazione, o in weewx.conf o nel file di configurazione del template skin.conf, però per capirne la causa andrebbe fatta un'analisi un po' più approfondita...cosa non molto semplice a distanza.
Il consiglio che posso darti è di stoppare weewx, riavviarlo, ed analizzare bene il file LOG per capire passo passo i vari errori, partendo dal primo a scendere.




Jun 30 15:17:11 raspberrypi systemd[1]: Started User Manager for UID 1000.
Jun 30 15:17:14 raspberrypi dbus[406]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service'
Jun 30 15:17:14 raspberrypi systemd[1]: Starting Disk Manager...
Jun 30 15:17:14 raspberrypi udisksd[895]: udisks daemon version 2.1.3 starting
Jun 30 15:17:15 raspberrypi dbus[406]: [system] Successfully activated service 'org.freedesktop.UDisks2'
Jun 30 15:17:15 raspberrypi udisksd[895]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Jun 30 15:17:15 raspberrypi systemd[1]: Started Disk Manager.
Jun 30 15:17:15 raspberrypi org.gtk.Private.AfcVolumeMonitor[846]: Volume monitor alive
Jun 30 15:17:16 raspberrypi dhcpcd[432]: eth0: leased 192.168.188.20 for 864000 seconds
Jun 30 15:17:16 raspberrypi avahi-daemon[395]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.188.20.
Jun 30 15:17:16 raspberrypi dhcpcd[432]: eth0: adding route to 192.168.188.0/24
Jun 30 15:17:16 raspberrypi avahi-daemon[395]: New relevant interface eth0.IPv4 for mDNS.
Jun 30 15:17:16 raspberrypi avahi-daemon[395]: Registering new address record for 192.168.188.20 on eth0.IPv4.
Jun 30 15:17:16 raspberrypi dhcpcd[432]: eth0: adding default route via 192.168.188.1
Jun 30 15:17:17 raspberrypi systemd[1]: Stopping LSB: Start NTP daemon...
Jun 30 15:17:17 raspberrypi ntpd[612]: ntpd exiting on signal 15
Jun 30 15:17:17 raspberrypi ntp[1039]: Stopping NTP server: ntpd.
Jun 30 15:17:17 raspberrypi systemd[1]: Starting LSB: Start NTP daemon...
Jun 30 15:17:17 raspberrypi ntpd[1056]: ntpd 4.2.6p5@1.2349-o Mon Jul 25 22:35:28 UTC 2016 (1)
Jun 30 15:17:17 raspberrypi ntp[1049]: Starting NTP server: ntpd.
Jun 30 15:17:17 raspberrypi ntpd[1057]: proto: precision = 1.354 usec
Jun 30 15:17:17 raspberrypi ntpd[1057]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Jun 30 15:17:17 raspberrypi systemd[1]: Started LSB: Start NTP daemon.
Jun 30 15:17:17 raspberrypi ntpd[1057]: Listen and drop on 1 v6wildcard :: UDP 123
Jun 30 15:17:17 raspberrypi ntpd[1057]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jun 30 15:17:17 raspberrypi ntpd[1057]: Listen normally on 3 eth0 192.168.188.20 UDP 123
Jun 30 15:17:17 raspberrypi ntpd[1057]: Listen normally on 4 lo ::1 UDP 123
Jun 30 15:17:17 raspberrypi ntpd[1057]: Listen normally on 5 eth0 fe80::2c99:87b0:1c66:6d52 UDP 123
Jun 30 15:17:17 raspberrypi ntpd[1057]: peers refreshed
Jun 30 15:17:17 raspberrypi ntpd[1057]: Listening on routing socket on fd #22 for interface updates
Jun 30 15:17:19 raspberrypi dhcpcd[432]: eth0: no IPv6 Routers available
Jun 30 15:20:12 raspberrypi systemd[798]: Time has been changed
Jun 30 15:20:12 raspberrypi systemd[1]: Time has been changed
Jun 30 15:20:20 raspberrypi ntpd_intres[618]: parent died before we finished, exiting
Jun 30 15:20:41 raspberrypi CRON[1082]: (pi) CMD (sudo sh /var/www/html/./scatto2.sh)
Jun 30 15:20:41 raspberrypi CRON[1084]: (pi) CMD (sudo python /var/www/html/./tempyo1.py)
Jun 30 15:20:41 raspberrypi CRON[1086]: (weewx) CMD (/usr/local/bin/realtime.sh)
Jun 30 15:20:41 raspberrypi CRON[1070]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:20:41 raspberrypi CRON[1109]: (weewx) CMD (/usr/local/bin/realtime.sh)
Jun 30 15:20:41 raspberrypi CRON[1111]: (pi) CMD (sudo python /var/www/html/./canon.py)
Jun 30 15:20:41 raspberrypi CRON[1096]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:20:41 raspberrypi CRON[1132]: (pi) CMD (sudo sh /var/www/html/./scatto2.sh)
Jun 30 15:20:41 raspberrypi CRON[1131]: (pi) CMD (sudo python /var/www/html/./tempyo1.py)
Jun 30 15:20:41 raspberrypi CRON[1135]: (weewx) CMD (/usr/local/bin/realtime.sh)
Jun 30 15:20:41 raspberrypi CRON[1116]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:20:43 raspberrypi CRON[1072]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:20:43 raspberrypi CRON[1118]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:20:45 raspberrypi CRON[1071]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:20:45 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Sat Jun 30 15:21:15 2018 [try http://www.rsyslog.com/e/2007 ]
Jun 30 15:20:45 raspberrypi CRON[1117]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:21:01 raspberrypi CRON[1097]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:21:01 raspberrypi CRON[1297]: (weewx) CMD (/usr/local/bin/realtime.sh)
Jun 30 15:21:01 raspberrypi CRON[1296]: (pi) CMD (sudo python /var/www/html/./canon.py)
Jun 30 15:21:01 raspberrypi CRON[1288]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:21:15 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Sat Jun 30 15:21:45 2018 [try http://www.rsyslog.com/e/2007 ]
Jun 30 15:21:18 raspberrypi CRON[1289]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:21:40 raspberrypi systemd[1]: Starting user-1001.slice.
Jun 30 15:21:40 raspberrypi systemd[1]: Created slice user-1001.slice.
Jun 30 15:21:40 raspberrypi systemd[1]: Starting User Manager for UID 1001...
Jun 30 15:21:40 raspberrypi systemd[1]: Starting Session c3 of user weewx.
Jun 30 15:21:41 raspberrypi systemd[1]: Started Session c3 of user weewx.
Jun 30 15:21:41 raspberrypi systemd[1360]: Starting Paths.
Jun 30 15:21:41 raspberrypi systemd[1360]: Reached target Paths.
Jun 30 15:21:41 raspberrypi systemd[1360]: Starting Timers.
Jun 30 15:21:41 raspberrypi systemd[1360]: Reached target Timers.
Jun 30 15:21:41 raspberrypi systemd[1360]: Starting Sockets.
Jun 30 15:21:41 raspberrypi systemd[1360]: Reached target Sockets.
Jun 30 15:21:41 raspberrypi systemd[1360]: Starting Basic System.
Jun 30 15:21:41 raspberrypi systemd[1360]: Reached target Basic System.
Jun 30 15:21:41 raspberrypi systemd[1360]: Starting Default.
Jun 30 15:21:41 raspberrypi systemd[1360]: Reached target Default.
Jun 30 15:21:41 raspberrypi systemd[1360]: Startup finished in 32ms.
Jun 30 15:21:41 raspberrypi systemd[1]: Started User Manager for UID 1001.
Jun 30 15:22:01 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Sat Jun 30 15:22:31 2018 [try http://www.rsyslog.com/e/2007 ]
Jun 30 15:22:01 raspberrypi CRON[1395]: (pi) CMD (sudo python /var/www/html/./tempyo1.py)
Jun 30 15:22:01 raspberrypi CRON[1396]: (weewx) CMD (/usr/local/bin/realtime.sh)
Jun 30 15:22:01 raspberrypi CRON[1384]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:22:01 raspberrypi CRON[1401]: (pi) CMD (sudo sh /var/www/html/./scatto2.sh)
Jun 30 15:22:02 raspberrypi CRON[1386]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:22:04 raspberrypi CRON[1385]: (CRON) info (No MTA installed, discarding output)
Jun 30 15:22:04 raspberrypi systemd[1]: Starting Session c4 of user pi.
Jun 30 15:22:04 raspberrypi systemd[1]: Started Session c4 of user pi.
Jun 30 15:22:51 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Sat Jun 30 15:23:21 2018 [try http://www.rsyslog.com/e/2007 ]
Jun 30 15:22:51 raspberrypi systemd[1]: Starting Session c5 of user pi.
Jun 30 15:22:51 raspberrypi systemd[1]: Started Session c5 of user pi.


andrea75 [ Sab 30 Giu, 2018 19:16 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva
Da questo LOG non ci sono errori di Weewx... apparentemente è tutto ok. Puoi postare il contenuto del file weewx.conf? Magari allegandolo come file di testo....


Columbia [ Dom 01 Lug, 2018 10:45 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
Ciao risolto, era un problema nella configurazione del file skin.conf all'interno della cartella Sofaskin per capirci meglio non era inserito l'indirizzo del sito:
-------------------------------
[Extras]
# Template Extras

# Website URL
web_url = http://www.cusighe.it #questa è la parte mancante

# Current radar image
---------------------------------
ora vedo di sistemare il resto, per vedere come procede ecco l'indirizzo web del sito meteocusighe.altervista.org


lb81 [ Dom 01 Lug, 2018 11:45 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
andrea75 ha scritto: [Visualizza Messaggio]
Da questo LOG non ci sono errori di Weewx... apparentemente è tutto ok. Puoi postare il contenuto del file weewx.conf? Magari allegandolo come file di testo....


https://www48.zippyshare.com/v/2rE4jPH0/file.html


Columbia [ Dom 01 Lug, 2018 12:41 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
rieccomi con un'altro errore che non riesco a capire:
------------------
Jul 1 12:36:47 raspberrypi weewx[13621]: cheetahgenerator: **** Ignoring template /home/weewx/skins/Sofaskin/text.php.tmpl
Jul 1 12:36:47 raspberrypi weewx[13621]: cheetahgenerator: **** Reason: cannot find 'cwop' while searching for 'Extras.cwop'
Jul 1 12:36:47 raspberrypi weewx[13621]: **** Traceback (most recent call last):
Jul 1 12:36:47 raspberrypi weewx[13621]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 330, in generate
Jul 1 12:36:47 raspberrypi weewx[13621]: **** print >> _file, compiled_template
Jul 1 12:36:47 raspberrypi weewx[13621]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Jul 1 12:36:47 raspberrypi weewx[13621]: **** rc = getattr(self, mainMethName)()
Jul 1 12:36:47 raspberrypi weewx[13621]: **** File "_home_weewx_skins_Sofaskin_text_php_tmpl.py", line 146, in respond
Jul 1 12:36:47 raspberrypi weewx[13621]: **** NotFound: cannot find 'cwop' while searching for 'Extras.cwop'
Jul 1 12:36:48 raspberrypi weewx[13621]: cheetahgenerator: Generated 9 files for report StandardReport in 10.85 seconds
Jul 1 12:36:52 raspberrypi weewx[13621]: imagegenerator: Generated 9 images for StandardReport in 3.30 seconds
Jul 1 12:36:52 raspberrypi weewx[13621]: copygenerator: copied 9 files to /home/weewx/public_html
Jul 1 12:37:00 raspberrypi weewx[13621]: ftpgenerator: ftp'd 27 files in 8.28 seconds
Jul 1 12:37:21 raspberrypi weewx[13621]: manager: Added record 2018-07-01 12:37:00 CEST (1530441420) to database 'weewx.sdb'
Jul 1 12:37:21 raspberrypi weewx[13621]: manager: Added record 2018-07-01 12:37:00 CEST (1530441420) to daily summary in 'weewx.sdb'
Jul 1 12:37:22 raspberrypi weewx[13621]: historygenerator.pyc: Generated 8 tables in 0.15 seconds
Jul 1 12:37:24 raspberrypi weewx[13621]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
Jul 1 12:37:24 raspberrypi weewx[13621]: cheetahgenerator: **** Ignoring template /home/weewx/skins/Sofaskin/text.php.tmpl
Jul 1 12:37:24 raspberrypi weewx[13621]: cheetahgenerator: **** Reason: cannot find 'cwop' while searching for 'Extras.cwop'
Jul 1 12:37:24 raspberrypi weewx[13621]: **** Traceback (most recent call last):
Jul 1 12:37:24 raspberrypi weewx[13621]: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 330, in generate
Jul 1 12:37:24 raspberrypi weewx[13621]: **** print >> _file, compiled_template
Jul 1 12:37:24 raspberrypi weewx[13621]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Jul 1 12:37:24 raspberrypi weewx[13621]: **** rc = getattr(self, mainMethName)()
Jul 1 12:37:24 raspberrypi weewx[13621]: **** File "_home_weewx_skins_Sofaskin_text_php_tmpl.py", line 146, in respond
Jul 1 12:37:24 raspberrypi weewx[13621]: **** NotFound: cannot find 'cwop' while searching for 'Extras.cwop'
---------------------------------------
questo extra CWOP so che è un sito per radioamatori ed non ho la registrazione ma nel skin.conf è escluso con il segno # alla riga cwop, Gigi se leggi come hai risolto? Grazie


andrea75 [ Dom 01 Lug, 2018 12:53 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva
Columbia ha scritto: [Visualizza Messaggio]

questo extra CWOP so che è un sito per radioamatori ed non ho la registrazione ma nel skin.conf è escluso con il segno # alla riga cwop, Gigi se leggi come hai risolto? Grazie


Lo hai commentato anche nel file weewx.conf?


Columbia [ Dom 01 Lug, 2018 14:36 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
decomentatto, controllato su tutti e 2 i file.conf se c'era altro con cwop ed extra ma niente.
Sto usando lo skin in italiano non quello originale in inglese.
Il bello che comunque carica sul sito tutto


lb81 [ Dom 01 Lug, 2018 14:47 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
andrea75 ha scritto: [Visualizza Messaggio]
Da questo LOG non ci sono errori di Weewx... apparentemente è tutto ok. Puoi postare il contenuto del file weewx.conf? Magari allegandolo come file di testo....


https://www48.zippyshare.com/v/2rE4jPH0/file.html


andrea75 [ Dom 01 Lug, 2018 21:30 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva
Columbia ha scritto: [Visualizza Messaggio]
decomentatto, controllato su tutti e 2 i file.conf se c'era altro con cwop ed extra ma niente.
Sto usando lo skin in italiano non quello originale in inglese.
Il bello che comunque carica sul sito tutto


Allora ignora.... cioè, era meglio se non c'erano errori, ma a questo punto se non riesci a trovare l'inghippo lascialo così.

lb81 ha scritto: [Visualizza Messaggio]
andrea75 ha scritto: [Visualizza Messaggio]
Da questo LOG non ci sono errori di Weewx... apparentemente è tutto ok. Puoi postare il contenuto del file weewx.conf? Magari allegandolo come file di testo....


https://www48.zippyshare.com/v/2rE4jPH0/file.html


Dal file sembra tutto a posto... ho solo qualche dubbio sui dati FTP. Sicuro siano giusti?


Columbia [ Lun 02 Lug, 2018 18:39 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
Grazie Andrea lascio cosi vediamo come funziona, poi lo porto in altura con tutta la stazione.
:bye: :bye: :ok: :ok:


Columbia [ Sab 21 Lug, 2018 15:32 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): La Guida Definitiva
Ciao, una informazione hai più smanettoni su weewx, non trovo nulla su come inviare un file in una directory dedicata, per capirci:
weewx carica tutti i file della cartella standard nella cartella radice del server, ma se voglio spostare un file in altra cartella cosa bisogna settare? :confuso:
su mulusuxmx c'è la possibilità per singolo file di dare la cartella di destinazione sul server

cumulusmx


ma su weewx non saprei


andrea75 [ Lun 23 Lug, 2018 00:18 ]
Oggetto: Re: Orange Pi Lite + La Crosse WS2300 + WeeWX (CumulusMX): la guida definitiva
Columbia ha scritto: [Visualizza Messaggio]
Ciao, una informazione hai più smanettoni su weewx, non trovo nulla su come inviare un file in una directory dedicata, per capirci:
weewx carica tutti i file della cartella standard nella cartella radice del server, ma se voglio spostare un file in altra cartella cosa bisogna settare? :confuso:
su mulusuxmx c'è la possibilità per singolo file di dare la cartella di destinazione sul server

cumulusmx


ma su weewx non saprei


Che intendi per file? Un file specifico, o il template?

Ad ogni modo, all'interno del file weewx.conf troverai la sezione [[ftp]] dove appunto impostare i parametri di connessione al tuo spazio web. E lì troverai anche l'impostazione della cartella:

# If you wish to use FTP, uncomment and fill out the next four lines.
user = ***********
password = ***********
server = ftp.*********.it
path = /weewx




Powered by Icy Phoenix