Hi,
All I am a Microlight (ULM) pilot in Kent , England. We set up a weather station using old laptop running Windows 7 , Easywether , wireless hotspot and a Maplin Weather Station -
https://www.wunderground.com/personal-weather-station/dashboard?ID=ILINTON4 It worked really well but power issues have killed the project (Solar and Battery can't cope in Winter). I am now trying to get it up and running on a Raspberry PI . Five months of trying and my incompetence is reaching new heights, I have read every bit of information I can but just can't seem to figure out what is wrong.
Anyone who lives near Kent feel free to change advise for free flight around southern England , I have ten eager pilots who can fly but are as useless as me at working on a PI.
Info : Trying to get PI to connect to Weatherunderground but think there is a permissions problem with USB
pi@weatherPi:~ $ sudo tail -f /var/log/syslog
Oct 3 17:36:21 weatherPi wee_device[807]: fousb: Unable to claim USB interface 0: could not claim interface 0: Operation not permitted
Oct 3 17:37:11 weatherPi wee_device[808]: fousb: driver version is 1.8
Oct 3 17:37:11 weatherPi wee_device[808]: fousb: polling mode is PERIODIC
Oct 3 17:37:11 weatherPi wee_device[808]: fousb: polling interval is 60
Oct 3 17:37:11 weatherPi wee_device[808]: fousb: found station on USB bus=001 device=005
Oct 3 17:37:11 weatherPi wee_device[808]: fousb: Unable to claim USB interface 0: could not claim interface 0: Operation not permitted
Oct 3 17:38:19 weatherPi weewx[813]: engine: Initializing weewx version 3.5.0
Oct 3 17:38:19 weatherPi weewx[813]: engine: Using Python 2.7.9 (default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2]
Oct 3 17:38:19 weatherPi weewx[813]: engine: Platform Linux-4.4.22+-armv6l-with-debian-8.0
Oct 3 17:38:19 weatherPi weewx[813]: engine: Unable to open configuration file /home/pi/weewx.conf
pi@weatherPi:~ $ wee_debug --info
Using verbosity=1, displaying most info
wee_debug output will be sent to stdout(console)
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 'archive_sqlite'
System info
CPU implementer: 0x41
Features: half thumb fastmult vfp edsp java tls
CPU architecture: 7
BogoMIPS: 697.95
Hardware: BCM2708
CPU revision: 7
CPU part: 0xb76
model name: ARMv6-compatible processor rev 7 (v6l)
Serial: 00000000fa626280
processor: 0
CPU variant: 0x0
Revision: 0002
Operating system: debian 8.0
Linux weatherPi 4.4.22+ #912 Mon Sep 26 19:00:13 BST 2016 armv6l
1 minute load average: 0.08
5 minute load average: 0.02
15 minute load average: 0.01
General weewx info
Weewx version 3.5.0 detected.
Station info
Station type: FineOffsetUSB
Driver: weewx.drivers.fousb
Driver info
[FineOffsetUSB]
# This section is for the Fine Offset series of weather stations.
# The station model, e.g., WH1080, WS1090, WS2080, WH3081
model = N96FY
# How often to poll the station for data, in seconds
polling_interval = 60
# The driver to use:
driver = weewx.drivers.fousb
Currently installed extensions
No extensions installed
Traceback (most recent call last):
File "/usr/bin/wee_debug", line 402, in <module>
main()
File "/usr/bin/wee_debug", line 144, in main
options.verbosity)
File "/usr/bin/wee_debug", line 223, in generateDebugInfo
manager_info_dict = getManagerInfo(config_dict, db_binding_wx)
File "/usr/bin/wee_debug", line 342, in getManagerInfo
with weewx.manager.open_manager_with_config(config_dict, db_binding_wx) as dbmanager_wx:
File "/usr/share/weewx/weewx/manager.py", line 984, in open_manager_with_config
return open_manager(manager_dict, initialize)
File "/usr/share/weewx/weewx/manager.py", line 976, in open_manager
manager_dict['table_name'])
File "/usr/share/weewx/weewx/manager.py", line 99, in open
connection = weedb.connect(database_dict)
File "/usr/share/weewx/weedb/__init__.py", line 66, in connect
return driver_mod.connect(**db_dict)
File "/usr/share/weewx/weedb/sqlite.py", line 44, in connect
return Connection(database_name=database_name, SQLITE_ROOT=SQLITE_ROOT, **argv)
File "/usr/share/weewx/weedb/sqlite.py", line 100, in __init__
raise weedb.OperationalError("Attempt to open a non-existent database %s" % self.file_path)
weedb.OperationalError: Attempt to open a non-existent database /var/lib/weewx/weewx.sdb