If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Cumulus Realtime.txt Dashboard Template

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderators: daj, TNETWeather

User avatar
nitrx
Posts: 1300
Joined: Sun Dec 13, 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby nitrx » Sun Sep 03, 2017 3:52 pm

Ok sorry

In my browser (chrome) by investigating I see

Code: Select all

Uncaught ReferenceError: $ is not defined
    at index.php?lang=en:204
index.php?lang=en:250 Uncaught TypeError: Cannot read property 'simpleforecast' of undefined
    at Object.success (index.php?lang=en:250)
    at i (jquery.js:1)
    at Object.fireWith [as resolveWith] (jquery.js:1)
    at A (jquery.js:1)
    at XMLHttpRequest.<anonymous> (jquery.js:1)


Probably there's something wrong maybe the source of wunderground is blocked you have a local server , well let the experts come in :groan:

Anyway I think I make the template my maintemplate next week it's fast and informative :clap:

User avatar
spatieman
Posts: 7
Joined: Sun Sep 03, 2017 7:37 am
Weather Station: PCE-FWS20
Operating System: Win8

Re: Cumulus Realtime.txt Dashboard Template

Postby spatieman » Sun Sep 03, 2017 4:00 pm

steve wrote:
spatieman wrote:@nitrx no, the key is valid , if i entered it in cumulus it starts sending data to wunderground.
due teh fact i dont know if i can share they on 2 aplications i removed it from cumulus

Cumulus doesn't use the WU API and hence doesn't use a WU API key. It uses the identifier of your station and the password for your station.WU may have started referring to the password as a 'key' but I do not believe this is the same as an API key.


Ah!
that could be the bugger.

weatherist34
Posts: 380
Joined: Wed Apr 13, 2016 11:09 am
Weather Station: Fine Offset HP1000/2000
Operating System: OS X Sierra
Location: Istanbul
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby weatherist34 » Sun Sep 03, 2017 4:00 pm

spatieman wrote:@nitrx no, the key is valid , if i entered it in cumulus it starts sending data to wunderground.
due teh fact i dont know if i can share they on 2 aplications i removed it from cumulus ,i notice there no errorlog ,so i asume all is ok.

@paulmy ,to the weatherstation ? ,http://cumulus.xs4non.nl:85/index.php?lang=en


dont mistake your PWS password as the api key ...example key looks like this 9f4c86f1s72x7c85

goto https://www.wunderground.com/weather/api/

and generate a key

your current wuweatherupdate.txt returns
http://cumulus.xs4non.nl:85/jsondata/wu ... update.txt


{
"response": {
"version":"0.1",
"termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
"features": {
}
,
"error": {
"type": "keynotfound"
,"description": "this key does not exist"
}
}
}

alternatively via PM send your easyweathersetup.php password which you can change at anytime ..
Last edited by weatherist34 on Sun Sep 03, 2017 4:01 pm, edited 1 time in total.

User avatar
nitrx
Posts: 1300
Joined: Sun Dec 13, 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby nitrx » Sun Sep 03, 2017 4:01 pm

steve wrote:
spatieman wrote:@nitrx no, the key is valid , if i entered it in cumulus it starts sending data to wunderground.
due teh fact i dont know if i can share they on 2 aplications i removed it from cumulus

Cumulus doesn't use the WU API and hence doesn't use a WU API key. It uses the identifier of your station and the password for your station.WU may have started referring to the password as a 'key' but I do not believe this is the same as an API key.


I think he's using the WU id instead of an API key

weatherist34
Posts: 380
Joined: Wed Apr 13, 2016 11:09 am
Weather Station: Fine Offset HP1000/2000
Operating System: OS X Sierra
Location: Istanbul
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby weatherist34 » Sun Sep 03, 2017 4:02 pm

nitrx wrote:
steve wrote:
spatieman wrote:@nitrx no, the key is valid , if i entered it in cumulus it starts sending data to wunderground.
due teh fact i dont know if i can share they on 2 aplications i removed it from cumulus

Cumulus doesn't use the WU API and hence doesn't use a WU API key. It uses the identifier of your station and the password for your station.WU may have started referring to the password as a 'key' but I do not believe this is the same as an API key.


I think he's using the WU id instead of an API key



Most likely ..

User avatar
nitrx
Posts: 1300
Joined: Sun Dec 13, 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby nitrx » Sun Sep 03, 2017 4:02 pm

weatherist34 wrote:
spatieman wrote:@nitrx no, the key is valid , if i entered it in cumulus it starts sending data to wunderground.
due teh fact i dont know if i can share they on 2 aplications i removed it from cumulus ,i notice there no errorlog ,so i asume all is ok.

@paulmy ,to the weatherstation ? ,http://cumulus.xs4non.nl:85/index.php?lang=en


dont mistake your PWS password as the api key ...example key looks like this 9f4c86f1s72x7c85

goto https://www.wunderground.com/weather/api/

and generate a key

your current wuweatherupdate.txt returns
http://cumulus.xs4non.nl:85/jsondata/wu ... update.txt


{
"response": {
"version":"0.1",
"termsofService":"http://www.wunderground.com/weather/api/d/terms.html",
"features": {
}
,
"error": {
"type": "keynotfound"
,"description": "this key does not exist"
}
}
}

alternatively via PM send your easyweathersetup.php password which you can change at anytime ..


As I said ;)

User avatar
spatieman
Posts: 7
Joined: Sun Sep 03, 2017 7:37 am
Weather Station: PCE-FWS20
Operating System: Win8

Re: Cumulus Realtime.txt Dashboard Template

Postby spatieman » Sun Sep 03, 2017 4:45 pm

genereated,, now its waiting time
(and works)
still, i love the applet, Brian ++++ for the exelent work

User avatar
PaulMy
Posts: 1525
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby PaulMy » Sun Sep 03, 2017 5:28 pm

Yes, looking good http://cumulus.xs4non.nl:85/index.php

Enjoy,
Paul

User avatar
spatieman
Posts: 7
Joined: Sun Sep 03, 2017 7:37 am
Weather Station: PCE-FWS20
Operating System: Win8

Re: Cumulus Realtime.txt Dashboard Template

Postby spatieman » Mon Sep 04, 2017 6:48 am

ok, ONE final question.
i made in my SQL server the entry for the weatherstation.(typo fixed)
and entered name and pwd in the setup, but is it used anyway ?
there no tables created.

User avatar
Toxic17
Posts: 503
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby Toxic17 » Mon Sep 04, 2017 9:37 am

spatieman wrote:ok, ONE final question.
i made in my SQL server the entry for the weatherstation.(typo fixed)
and entered name and pwd in the setup, but is it used anyway ?
there no tables created.


homeweatherstation reads the mysql database entries created by CumulusMX. have you setup MySQL with Cumulus?
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
PaulMy
Posts: 1525
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby PaulMy » Mon Sep 04, 2017 1:20 pm

ok, ONE final question.
i made in my SQL server the entry for the weatherstation.(typo fixed)
and entered name and pwd in the setup, but is it used anyway ?
there no tables created.

Unless I have missed something, only the modified version by Tony, HRVista Weather, uses the MySQL Cumulus realtime data http://www.komokaweather.com/pws-mysql

Enjoy,
Paul

User avatar
spatieman
Posts: 7
Joined: Sun Sep 03, 2017 7:37 am
Weather Station: PCE-FWS20
Operating System: Win8

Re: Cumulus Realtime.txt Dashboard Template

Postby spatieman » Mon Sep 04, 2017 1:34 pm

not with cumulus it self. (or cumulusmx ,that btw crashes at startup)
but with Brian's template.
i was just wondering if the data was stored in it.

User avatar
PaulMy
Posts: 1525
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby PaulMy » Mon Sep 04, 2017 1:49 pm

Brian's HomeWeather does not store data anywhere, it obtains station data from the current realtime.txt, or with the recent changes can use the data from an existing MySQL realtime table (that would need to be continuously updated).
http://www.komokaweather.com/pws (realtime.txt source which is updated by Cumulus realtime)
http://www.komokaweather.com/pws-mysql (MySQL realtime table source which I update every minute)

Enjoy,
Paul

User avatar
spatieman
Posts: 7
Joined: Sun Sep 03, 2017 7:37 am
Weather Station: PCE-FWS20
Operating System: Win8

Re: Cumulus Realtime.txt Dashboard Template

Postby spatieman » Mon Sep 04, 2017 5:11 pm

Ah, that explains, ok, it works anyways...

User avatar
Toxic17
Posts: 503
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby Toxic17 » Tue Sep 05, 2017 10:37 am

Anyone else finding no data in the "Forecast Ahead" link forecast10.php ???

cant seem to see why data is not being populated.

https://www.conligwx.org/pws1/forecast/forecast10.php

All my other forecasts from WU work and

https://www.conligwx.org/pws1/forecast/hour.php

https://www.conligwx.org/pws1/forecast/outlook.php

work fine.

https://www.conligwx.org/pws1/jsondata/ ... update.txt

is populated.

Cant anyone help in diagnosing forecast10.php file is doing, or not in this case.
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 6 guests