Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

pas de prévisions

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
martialTh
Posts: 80
Joined: Thu 25 Nov 2021 3:09 pm
Weather Station: https://www.vieuxboucau.info/wxi
Operating System: windows 10
Location: Vieux Boucau France
Contact:

pas de prévisions

Post by martialTh »

Bonjour Ken
je vous écrit sur le conseil de Paul.
J'ai je pense mis les bonnes clés au bon endroit
Settings
// --- Aerisweather.net forecast variables ---
$SITE['fcstscript'] = 'AW-forecast.php';
$SITE['fcstorg'] = 'Aerisweather'; // set to 'Aerisweather' for Aerisweather.net

$SITE['AWAPIkey'] = '077185bce9d856fa2e50f3c04a36da94'; // Your API Access ID key
$SITE['AWAPIsecret'] =xxxxxxx'; // Your API Secret Key

sans résultats.
et dans AW forecast
/ Settings ---------------------------------------------------------------
// REQUIRED: api.aerisapi.com API Access ID and Secret keys.
// If you are uploading to pwsweather.com, you can get a free key at https://www.aerisweather.com/signup/pws/
$AWAPIkey = '077185bce9d856fa2e50f3c04a36da94-specify-for-standalone-use-here'; // Aeris Access ID; use this only for standalone / non-template use
$AWAPIsecret = 'xxxxxxx-specify-for-standalone-use-here'; // Aeris Secret Key; use this only for standalone / non-template use

les xxxx pour
masquer mon mot de passe.
Esce le specify ...... qui n'est pas au bon endroit ?


Hello Ken
I am writing to you on Paul's advice.
I think I put the right keys in the right place
Settings
// --- Aerisweather.net forecast variables ---
$SITE['fcstscript'] = 'AW-forecast.php';
$SITE['fcstorg'] = 'Aerisweather'; // set to 'Aerisweather' for Aerisweather.net

$SITE['AWAPIkey'] = '077185bce9d856fa2e50f3c04a36da94'; // Your API Access ID key
$SITE['AWAPIsecret'] =xxxxxxx'; // Your API Secret Key

without results.
and in AW forecast
/Settings------------------------------------------------ ---------------
// REQUIRED: api.aerisapi.com API Access ID and Secret keys.
// If you are uploading to pwsweather.com, you can get a free key at https://www.aerisweather.com/signup/pws/
$AWAPIkey = '077185bce9d856fa2e50f3c04a36da94-specify-for-standalone-use-here'; // Aeris AccessID; use this only for standalone / non-template use
$AWAPIsecret = 'xxxxxxx-specify-for-standalone-use-here'; // Aeris Secret Key; use this only for standalone / non-template use

the xxxx for
hide my password.
Et ce specify it ...... who is not in the right place?

merci
Martial
martialTh
Posts: 80
Joined: Thu 25 Nov 2021 3:09 pm
Weather Station: https://www.vieuxboucau.info/wxi
Operating System: windows 10
Location: Vieux Boucau France
Contact:

Re: pas de prévisions

Post by martialTh »

RE
je ne pense pas avoir fait d'erreur, mais ils ne reçoivent pas mes datas.


Résultats de traduction
I don't think I made a mistake, but they don't receive my data.
You do not have the required permissions to view the files attached to this post.
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: pas de prévisions

Post by PaulMy »

Hi Martial,
I don't use Aeris Weather for forecast in Canada so hopefully Ken can have a look at your https://vieuxboucau.info/D/wxindex.php site and https://vieuxboucau.info/D/check-fetch- ... w=settings
And also see the documentation
For more information on customization of the AW-forecast.php script, please see the documentation at
https://saratoga-weather.org/scripts-AWforecast.php.

On the PWS Weather settings you've attached that is for CumulusMX Third-party upload to PWS Weather and likely you have not yet registered on their site https://www.pwsweather.com/frequently-asked-questions Registering there will give you a unique Station ID and you set the password https://www.pwsweather.com/station/pws/komoka

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
saratogaWX
Posts: 1170
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: pas de prévisions

Post by saratogaWX »

Looking at view-source:https://vieuxboucau.info/D/wxforecast.php?force=1 shows
<!-- AW-forecast.php (ML) Version 1.02 - 19-Jan-2022 on PHP 7.4.25 -->
<!-- temps in C -->
<!-- autoSetTemplate using narrow aspect. -->
<!-- loading from https://api.aerisapi.com/forecasts/?p=4 ... F1972c1973&. -->
<!-- curl fetching 'https://api.aerisapi.com/forecasts/?p=4 ... F1972c1973&' -->
<!-- HTTP stats: RC=401 dest=65.9.61.53 port=443 (from sce=82.165.88.148)
Times: dns=0.010 conn=0.014 pxfer=0.021 get=0.293 total=0.314 secs -->
<!-- headers:
HTTP/2 401
content-type: application/json; charset=utf-8
date: Sat, 29 Jan 2022 20:01:05 GMT
server: nginx/1.17.10
pragma: public
x-cacheaction-stored: action__error_error_0f76d56534d180e0037bba5f6b41a3b8 ttl 1200
expires: Sat, 29 Jan 2022 20:21:05 GMT
cache-control: public,max-age=1200,s-maxage=1200
access-control-allow-origin: *
access-control-allow-methods: GET, POST, OPTIONS
access-control-allow-headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range
access-control-expose-headers: Content-Length,Content-Range
x-cache: Error from cloudfront
via: 1.1 98997c223299d9efd138e7fb9a08a072.cloudfront.net (CloudFront)
x-amz-cf-pop: FRA56-C1
x-amz-cf-id: izlqDv3yCqbIAs364V-v1c3r9I0LhxCt-47Gv_HLxTlJvCGGnxcs7w==
-->
<!-- RC=401, bytes=882 -->
<!-- bad return from https://api.aerisapi.com/forecasts/?p=4 ... F1972c1973&
HTTP/2 401
content-type: application/json; charset=utf-8
date: Sat, 29 Jan 2022 20:01:05 GMT
server: nginx/1.17.10
pragma: public
x-cacheaction-stored: action__error_error_0f76d56534d180e0037bba5f6b41a3b8 ttl 1200
expires: Sat, 29 Jan 2022 20:21:05 GMT
cache-control: public,max-age=1200,s-maxage=1200
access-control-allow-origin: *
access-control-allow-methods: GET, POST, OPTIONS
access-control-allow-headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range
access-control-expose-headers: Content-Length,Content-Range
x-cache: Error from cloudfront
via: 1.1 98997c223299d9efd138e7fb9a08a072.cloudfront.net (CloudFront)
x-amz-cf-pop: FRA56-C1
x-amz-cf-id: izlqDv3yCqbIAs364V-v1c3r9I0LhxCt-47Gv_HLxTlJvCGGnxcs7w==

{"success":false,"error":{"code":"invalid_client","description":"The client provided is invalid."},"response":[]}
-->
<!-- cache ./cache/AW-forecast-json-0-si-fr.txt missing or contains invalid contents -->
The entries in Settings.php for $SITE['AWAPIkey'] and $SITE['AWAPIsecret'] are not correct.
Register for and acquire a free Aerisweather API key IF your weather station is uploading to PWSweather.com.

Browse to https://www.aerisweather.com/signup/pws/ and associate your pwsweather.com User ID to get your Access ID and Secret Key.
insert the Access ID in $SITE['AWAPIkey'] in Settings.php for Saratoga template users.
and insert the Secret Key in $SITE['AWAPIsecret'] in Settings.php for Saratoga template users.
User avatar
saratogaWX
Posts: 1170
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: pas de prévisions

Post by saratogaWX »

If you have already registered with PWSweather/Aerisweather, then go to https://account.aerisweather.com/account/apps and at the bottom of the page it shows the ID and SECRET strings to use.

Copy the contents of the ID string to Settings.php $SITE['AWAPIkey'] entry (it is the shorter of the two API strings)
Copy the contents of the SECRET string to Settings.php $SITE['AWAPIsecret'] entry (it is the longer of the two API strings).
Save and upload Settings.php

Load view-source:https://vieuxboucau.info/D/wxforecast.php?force=1 in your browser and look for the results (like I did above). If you see RC=200 (meaning success), then you have correctly entered the two API strings and you will have a forecast.
martialTh
Posts: 80
Joined: Thu 25 Nov 2021 3:09 pm
Weather Station: https://www.vieuxboucau.info/wxi
Operating System: windows 10
Location: Vieux Boucau France
Contact:

Re: pas de prévisions

Post by martialTh »

Bonjour Ken,
c'est encore pire que je ne le pensait!
Je n'ai plus rien, pas d'acces.
Voir copie écran.
Merci de me remettre en selle!!
Martial

Hello Ken,
It's even worse than I thought!
I have nothing, no access.
See screenshot.
Thank you for putting me back in the saddle!!
Martial
You do not have the required permissions to view the files attached to this post.
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: pas de prévisions

Post by PaulMy »

Hi Martial,
I suspect the cause of your flyout menu issue is that you may have attempted to modify flyout-menu.xml to add or remove an item, but instead you edited flyout-menu.php. I suggest you re-upload the original flyout-menu.php from your downloaded-unzip and that should get the flyout menu working again.

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
Post Reply