Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Commit

Permalink
WOW config added to weewx -docs
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed Sep 17, 2015
1 parent d170bc9 commit 7bdadb8
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 5 deletions.
Binary file added docs/_static/geonovum-on-wow.knmi.nl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions docs/raspberrypi-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,57 @@ Steps. ::
allow all;
}

Extra voor TFA Nexus Pro
------------------------

TE923 driver. Nodig `pyusb` ::

pip install pyusb
# geeft: DistributionNotFound: No distributions matching the version for pyusb

# tweede try:
apt-get install python-usb
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
python-usb
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 17.7 kB of archives.
After this operation, 132 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main python-usb armhf 0.4.3-1 [17.7 kB]
Fetched 17.7 kB in 0s (37.9 kB/s)
Selecting previously unselected package python-usb.
(Reading database ... 83706 files and directories currently installed.)
Unpacking python-usb (from .../python-usb_0.4.3-1_armhf.deb) ...
Setting up python-usb (0.4.3-1) ...

# root@otterpi:/opt/weewx/weewxinst# lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 005: ID 1130:6801 Tenx Technology, Inc.
Bus 001 Device 006: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

# nu andere error van weewx
Dec 10 15:02:51 otterpi weewx[2645]: te923: Found device on USB bus=001 device=005
Dec 10 15:02:51 otterpi weewx[2645]: te923: Unable to claim USB interface 0: could not claim interface 0: Operation not permitted
Dec 10 15:02:51 otterpi weewx[2645]: wxengine: Unable to open WX station hardware: could not claim interface 0: Operation not permitted
Dec 10 15:02:51 otterpi weewx[2645]: wxengine: Caught WeeWxIOError: could not claim interface 0: Operation not permitted
Dec 10 15:02:51 otterpi weewx[2645]: **** Exiting...

# may have to do with udev usb rules
http://www.tdressler.net/ipsymcon/te923.html

vi /etc/udev/rules.d/99-te923.rules
Inhalt:
ATTRS{idVendor}=="1130", ATTRS{idProduct}=="6801", MODE="0660", GROUP="plugdev", RUN="/bin/sh -c 'echo -n $id:1.0 > /sys/bus/usb/drivers/usbhid/unbind'"

udevadm control --reload-rules

adduser sadmin plugdev

Installation - Weather Hardware
===============================

Expand Down
11 changes: 10 additions & 1 deletion docs/weatherstation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,16 @@ The station is registered as **IUTRECHT96**, http://www.wunderground.com/persona
.. figure:: _static/geonovum-on-wunderground1.png
:align: center

*Figure 6 - Geonovum station on Weather Underground*
*Figure 6a - Geonovum station on Weather Underground*

Also, `weewx` has been configured (in sept 2015) to report to the MET UK Weather Observations Website (WOW).
The station is registered with WOW site ID **929236001**, http://wow.metoffice.gov.uk/sitehandlerservlet?requestedAction=READ&siteID=929236001.
The Dutch KNMI has a localized version, called `WOW-NL <https://wow.knmi.nl/>`_.

.. figure:: _static/geonovum-on-wow.knmi.nl.png
:align: center

*Figure 6b - Geonovum station on KNMI Weather Observations Website (WOW-NL)*

PostgreSQL Database
-------------------
Expand Down
9 changes: 7 additions & 2 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h1>SOSPilot</h1>
particular those related to <a href="http://inspire.ec.europa.eu/">INSPIRE</a> and
<a href="http://www.eionet.europa.eu/aqportal">Eionet</a>. For this purpose a technical
platform, "SOSPilot" has been developed. This website provides links to various
elements of the SOSPilot platform.
elements of the SOSPilot platform. In addition, a weather station has been added to the platform.

</p>
<h1 id="doc-index" class="page-header">Documentation</h1>
Expand Down Expand Up @@ -213,7 +213,12 @@ <h1 id="clients" class="page-header">Clients - AQ Data</h1>
================================================== -->
<div class="bs-docs-section">
<h1 id="weather" class="page-header">Clients - Weather Data</h1>
<p>In addition to AQ data, weather data is also exercised in the project.</p>
<p>In addition to AQ data, weather data is also exercised in the project using a Davis Vantage Pro2 weather station
at the Geonovum building roof.
<a href="http://sospilot.readthedocs.org/en/latest/weatherstation.html">Read more info</a>
how the weather station has been setup and connected to OWS and
public weather services.
</p>

<div class="table-responsive">
<table class="table table-bordered">
Expand Down
5 changes: 3 additions & 2 deletions www/kiosk/pages/knmi.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<table>
<tr>
<td>
<img border="3" src="http://www.knmi.nl/waarschuwingen_en_verwachtingen/images/short_term_vandaag_dag.png" alt="knmi">
<img border="3" src="http://cdn.knmi.nl/knmi/map/current/weather/forecast/kaart_verwachtingen_Vandaag_dag.gif" alt="knmi">

</td>
<td>
Expand All @@ -20,7 +20,8 @@
</tr>
<tr>
<td>
<img src="http://www.knmi.nl/actueel/images/windbftgmt.png" alt="knmi">
<!-- <img src="http://www.knmi.nl/actueel/images/windbftgmt.png" alt="knmi"> -->
&nbsp;

</td>
<td>
Expand Down

0 comments on commit 7bdadb8

Please sign in to comment.