Weather Software > WeeWX Software

weewx-Weather34 Update

(1/5) > >>

steepleian:
Version W34-HC-IMJD-2.0.0

1. New air quality modules (US/Global AQI and UK/DAQI) for the top row and an updated main air quality module. These all rely on you using the new default extended database schema which includes records for particle concentrations. You must have an air quality particle detector which is able to populate these fields. There are Highcharts setup to plot particle data concentrations. These new modules are selectable from the settings page.

2. Cloud Coverage. Cloud coverage is displayed in the current conditions module expressed as % and oktas(eighths). There are Highcharts set up to plot % coverage. The cloud coverage is measured from satellite images and is adapted from a method proposed by David Marshall.

3. For Geographical European users only, Meteoalarm weather alerts. The warnings are flagged in the advisory top row module which has a hot link to a pop-up window showing the full detail. Up to four different warnings for a location can be displayed in the pop-up window. Again thanks to David Marshall for this proposal. All settings are contained in the web services section of the setup page. I am keen to expand this idea for other parts of the globe. As I am not familiar with warning/advisory services in other places, I am open to any users' contribution of working code which fits in with the Weather34 design.

4. Connections to a remote server. Thanks to Jerry Dietrich, a more robust method of connection to a remote server has been written into the weather34.py code. Please see separate instructions for setting up a remote server.
 
5. Additional Highcharts from Jerry Dietrich include twin wind rose, wind Hays chart, cloud coverage, air particle concentrations, improved radial charts. 

https://github.com/steepleian/weewx-Weather34

Gyvate:
Hi
I installed the skin yesterday following the installation.mb (method 1 as the link in method 2 led to a http 404) and I got it working to 67-75%.
what does not work is the forecast and the parts of the current conditions. Also the METAR remains offline.
Forecast remains 0. At the current conditions, the cloud base value changes, not automatically but on page refresh only.

What am I missing ? Or might have forgotten ?

Weewx 4.3.0, python3, php 7.3+, apache2 - Raspbian 10 on RPi4-B

 in the syslog there's an error message regarding forecast
Jan 27 12:39:51 raspberrypi weewx[30263] INFO user.weather34: zambretti forecast: False
Jan 27 12:39:51 raspberrypi weewx[30263] ERROR user.weather34: Forecast Not Installed ForecastData No services found
But not sure if this is related.

I cross-checked my WU API key in weewx.conf - if I enter the URL in my web browser it produces reasonable results.
Looks like these results are not processed resp. don't make their way into the skin.

the weewx.conf W34 related stanzas below:
################################################################################

# Apply your own latitude and longitude and continent to the URLs in this section


[Weather34CloudCover]
    db_field = signal8
    cc1_url = https://api.sat24.com/crop?type=visual5hdcomplete&lat=49.2673&lon=7.0325&width=300&height=300&zoom=1.00&continent=eu
    enable = True
    cc_interval = 300
    cc2_url = https://api.sat24.com/crop?type=infraPolair&lat=49.2673&lon=7.0325&width=300&height=300&zoom=1.00&continent=eu
#
################################################################################

[Weather34RealTime]
    weewx_port = 25252
    HTML_ROOT = ""
    cache_enable = True
    unit_system = METRICWX
    weewx_file_transfer = ""
    webserver_address = ""
    cache_stale_time = 900
    weewxserver_address = ""
    exclude_fields = rain
#
################################################################################

# Air quality, your own latitude, longitude, token and interval in seconds are required

# Dark Sky, your own latitude, longitude, API key, language, units and interval in seconds required

# DarkSky Units key us = US Units, ca = METRIC Units, si = METRICWX Units, uk2 = UK(metric with mph) Units

# Example https://api.forecast.io/forecast/yourtokenhere/51.94,-0.987?lang=en&units=uk2

# Weather Underground, your own latitude, longitude, API key, language, units and interval in seconds required

# Weather Underground Units key e = US, m = METRIC, s = SI(with m/s Scandinavia), h = UK(with mph)

# Example https://api.weather.com/v3/wx/forecast/daily/5day?geocode=51.94,-0.987&language=en&format=json&units=h&apiKey=yourapikeyhere

# Earthquake reports interval in seconds required

# K-Index reports interval in seconds required

# Metar reports airport code, API Key and interval in seconds required

# Example https://api.checkwx.com/metar/EGTK/decoded

# Example X-API-Key:yourapikeyhere

# Purpleair reports device ID and interval in seconds required

# Example https://www.purpleair.com/json?show=38365

# Meteoalrm European weather warnings country code, region code and interval in seconds required

# Example http://192.168.1.232/weewx/weather34/eualert.php?country=UK&region=013

# Select the services you require by creating a string of the services above

# Example services = ds.me.eq.ki.wu.aq.al.ah.ao.aa.pu

# Select your prefered time interval in seconds for each service


[Weather34WebServices]
    aq_url = https://api.waqi.info/feed/geo:49.2673;7.0325/?token=
    wu_interval = 900
    wu_url = https://api.weather.com/v3/wx/forecast/daily/5day?geocode=49.2673,7.0325&language=en&format=json&units=m&apiKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    ds_interval = 900
    ds_url = https://api.forecast.io/forecast//49.2673,7.0325?lang=en&units=si
    me_interval = 900
    pu_url = https://www.purpleair.com/json?show=
    services = ""
    me_url = https://api.checkwx.com/metar/EDDR/decoded
    ki_interval = 43200
    me_header = X-API-Key:
    pu_interval = 3600
    al_interval = 3600
    al_url = http://192.168.1.24/weewx/weather34/eualert.php?country=Germany&region=
    ki_url = https://services.swpc.noaa.gov/products/geospace/planetary-k-index-dst.json
    aq_interval = 3600

steepleian:
Hi,

It looks to me that you have not set the services string. This a string of two character period seperated codes which represent the web services you need to run which you place at the end of the [Weather34WebServices] stanza like this: -

      services = me.ki.wu.aq.al

Only use the codes of the services you wish to use.

For future reference could you please raise problems in the issues log at the Github repository as it makes it easier for other users who may have similar problems to track. See attached.
Thank you,
Ian

WA4OPQ:
Yesterday I noticed that I don't have weather advisories or forecasts.
Did Darksky stop their service this week? Is everyone else seeing this, or is it just me?

Gyvate:

--- Quote from: WA4OPQ on February 06, 2021, 03:00:27 PM ---Yesterday I noticed that I don't have weather advisories or forecasts.
Did Darksky stop their service this week? Is everyone else seeing this, or is it just me?

--- End quote ---
https://blog.darksky.net/
Last information was that the use of existing api keys will be discontinued by the end of 2021.

Navigation

[0] Message Index

[#] Next page

Go to full version