All / Vince, Must be painful dealing with simple questions, a problem I have struggled with for months just got solved thanks to finally understanding the relationship between Sudo giving permission to PI user ID over not. As such (below) that is my weather station talking to my Raspberry PI , hopefully back online in the next few days. Vince is several thousand miles from me but I would happily take him up , hopefully one day he will come home to "Blighty" :)
pi@weatherpi:~/weather $ sudo pywws-testweatherstation 06:33:44:pywws.Logger:pywws version 16.08.0, build 1361 (ca4543e) 0000 55 aa 80 10 20 bc 76 04 60 e1 0a fb 9f 1e f5 12 0f 00 08 20 41 00 00 00 00 7f 00 f0 0f 00 e0 5b 0020 7b 27 c7 27 00 00 00 00 00 00 00 14 02 28 06 30 41 23 c8 00 00 00 46 2d 2c 01 64 80 c8 00 00 00 0040 64 00 64 80 a0 28 80 25 a0 28 80 25 00 6f 00 00 df 00 00 0a 00 f4 01 12 00 00 00 00 00 00 00 64 0060 04 60 5c 14 63 10 92 01 00 00 5d 01 11 80 5d 01 11 80 e2 00 5a 80 1d 28 5d 26 ca 28 4e 26 7e 00 0080 b1 00 42 00 f6 00 41 01 5b 02 5c 01 00 14 01 01 12 23 14 01 01 18 31 14 01 07 04 00 14 01 06 16 00a0 32 14 01 18 16 54 14 01 03 03 57 14 01 18 13 31 14 01 03 02 25 14 01 18 13 31 14 01 03 02 25 14 00c0 02 07 07 42 14 01 06 16 32 14 01 03 04 39 16 07 01 14 13 14 01 03 04 39 16 07 01 14 13 16 05 31 00e0 02 17 16 05 31 02 17 16 06 23 05 40 16 06 23 18 31 16 06 23 18 31 16 06 30 08 05 14 02 25 00 48 pi@weatherpi:~/weather $ On Monday, October 3, 2016 at 7:04:11 PM UTC+1, Garrick Cruise-Smith wrote: > 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 > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
