==> /var/lib/wview has been created with distro examples ==> /etc/wview has been created with distro examples This is a first time install so the station type will be set to "simulator". To change the station type, run "wviewconfig" or use the wviewmgmt web interface to change it. You will need to stop wview and clear the databases of simulator data after you have changed the station type: #> wviewcleardata This is a first time install so the generation templates will be set to "chrome-standard-US units". To change this run "wviewhtmlconfig" to configure the template directory after you have configured wview for metric units and-or extended data. If you have problems accessing the wviewmgmt site after installation, try restarting apache2: #> sudo apache2ctl restart so the PHP5-sqlite module gets loaded - this will never be required again. If you want start/stop control of wview from the Management Web Site (and you are comfortable giving the http server user account sudo privileges): Add the http user to the sudo group: #> sudo adduser www-data sudo Set the sudo group to no password required privileges in /etc/sudoers: #> sudo visudo (Make sure the line [%sudo ALL=NOPASSWD: ALL] is at the bottom of the /etc/sudoers file) To start/stop wview: "#> sudo /etc/init.d/wview start|stop" You may want to restart rsyslog so wview log file settings will take effect: "#> sudo /etc/init.d/rsyslog restart" wview logs will be found at: /var/log/wview.log You may want to restart logrotate so wview rotate settings will take effect. Starting wview daemons:
/etc/wview/wview-conf.sdb
⇒ Comme les chemins sont vides, les images sont generes dans le /
iris:/var/lib/wview/archive# ls -lrt total 132 -rw-r--r-- 1 root root 1040 Feb 23 14:09 wview-archive.sql -rw-r--r-- 1 root root 129 Feb 23 14:09 readme.txt -rw-r--r-- 1 root root 2048 Apr 5 00:00 wview-noaa.sdb -rw-r--r-- 1 root root 3072 Apr 5 10:21 wview-history.sdb -rw-r--r-- 1 root root 64512 Apr 5 22:10 wview-archive.sdb -rw-r--r-- 1 root root 47104 Apr 5 22:11 wview-hilow.sdb iris:/var/lib/wview/archive#
iris:/tmp# sqlite3 wview-hilow.sdb SQLite version 3.7.3 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> .table ET hail inTemp rain windDir UV hailRate metainfo rainRate windGust baromPressure heatIndex outHumidity solarRadiation windSpeed dewPoint inHumidity outTemp windChill sqlite> select * from InTemp; 1333490400|73.58|1333490769|74.66|1333493370|0.0|7784.76|105 1333494000|74.66|1333494000|75.02|1333495200|0.0|8993.396|120 1333497600|74.48|1333500360|74.84|1333497600|0.0|8962.985|120 1333501200|73.76|1333504680|74.48|1333501200|0.0|8893.501|120 1333504800|73.58|1333507110|73.76|1333504800|0.0|8843.461|120
En me balladant j'ai trouvé un outils qui semble interessant PhpLite via ce Forum
⇒ on va voire si l'USB ne pourrait pas alimenter aussi la station, au risque de cramer le NSLU2
: Test Fait, ca ne marche pas… (tout au moins, le logo d'alim ne disparait pas de la station)
adlp@RBS-ADLP-LNX:/tmp/wmr200/alone$ ./wmr100 WMR100 - WMR100 Station Reader v0.1 Based on driver.c generated by usbsnoop2libusb.pl - (c) timo.lindfors@iki.fi Adapted by denis ducret to WMR200- WindSpots.com - info@windspots.com Adapted by C.Euvrard to WMR100 d1 Record: d2 2a 0a 00 0b 08 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff e9 63 e9 33 00 00 08 00 35 2e 00 00 Record: d2 2a 0b 00 0b 08 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff e9 63 e9 33 00 00 08 00 35 2e 00 00 Record: d2 2a 00 01 0b 08 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff e9 63 e9 33 00 00 08 00 35 2e 00 00 d7 10 2d 17 01 01 07 00 e5 00 20 3c 00 00 75 02 Record: d7 10 2d 17 01 01 07 00 e5 00 20 3c 00 00 75 00 d6 0d 2d 17 01 01 07 f1 13 f1 33 58 03 d9 08 00 00 00 00 e1 00 Record: Record: d2 2a 01 01 0b 08 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff e9 63 e9 33 00 Record: d2 2a 03 01 0b 08 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff e9 63 e9 33 00 00 08 00 36 2e 00 00 ^C