cloudy cloudy

Author Topic: HWS-template (WD34 ) April release  (Read 8449 times)

0 Members and 1 Guest are viewing this topic.

Offline ms372591

  • Posts: 12
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.66
Re: HWS-template (WD34 / weather34) April release
« Reply #120 on: June 03, 2019, 05:58:15 PM »
I'm currently using Weather Underground for my Acurite 5in1 Weather station. I have my station set up and my web address is https://pendulous-here.000webhostapp.com/pwsWD/?units=us
I could use some help setting up the database to keep my daily data. I followed the instructions and set one up but the website doesn't appear to be writing to it. Any help will be greatly appreciated.

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,357
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 74.0.3729.169
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34 / weather34) April release
« Reply #121 on: June 03, 2019, 07:42:33 PM »
Hello,

Was checking out the template and noticed this on the forecast popup, with the text longer than the window and wrapping over the forecast.

Just wanted to mention it.
That probably is the April release.
In the next version the font-size is smaller when there is a long description,
http://wd34.weather-template.com/pws07/

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline Tlowe

  • Posts: 157
  • Minneapolis, MN, US
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
Re: HWS-template (WD34 / weather34) April release
« Reply #122 on: June 03, 2019, 07:54:32 PM »
Anyone have any more info on the WU data? It has worked sporadically, for me. But today it did not work at all again.

I'm not seeing any more info at this thread either. https://www.wxforum.net/index.php?topic=36954.25

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,357
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 74.0.3729.169
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34 / weather34) April release
« Reply #123 on: June 03, 2019, 07:59:11 PM »
I'm currently using Weather Underground for my Acurite 5in1 Weather station. I have my station set up and my web address is https://pendulous-here.000webhostapp.com/pwsWD/?units=us
I could use some help setting up the database to keep my daily data. I followed the instructions and set one up but the website doesn't appear to be writing to it. Any help will be greatly appreciated.
The next release, due in  a few weeks, will not need a "database". Far to much problems.

How does it works in the april release.
1. The station-cron (w34_cron_stationcron.php) fetches the data from WU so that is can be displayed in the blocks
2. The station-cron also writes one line to the daily file  ./chartsmysql/result.csv
3. The station-cron also writes one line to the SQL table

4. Another cron-job (w34_cron_addtoyear.php) should run at 23:55 , it calculates the daily high-lows from the SQL table
AND stores those values in the year (./chartsmydata/2019.txt) and month (./chartsmydata/2019_06.txt) files to use for the graphs

5. Another cron-job should run at 00:05 to clear the SQL table and the daily result.csv.

https://pendulous-here.000webhostapp.com/pwsWD/w34_graph_xx.php?period=day&type=temp&script=temperature_block.php
It seems to me that your your daily file is correctly filled as the graph shows.
But it contains data for today and yesterday.
So I assume that you only use the station-cron-job not the other two.

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline ms372591

  • Posts: 12
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.66
Re: HWS-template (WD34 / weather34) April release
« Reply #124 on: June 03, 2019, 08:09:15 PM »
The next release, due in  a few weeks, will not need a "database". Far to much problems.

How does it works in the april release.
1. The station-cron (w34_cron_stationcron.php) fetches the data from WU so that is can be displayed in the blocks
2. The station-cron also writes one line to the daily file  ./chartsmysql/result.csv
3. The station-cron also writes one line to the SQL table

4. Another cron-job (w34_cron_addtoyear.php) should run at 23:55 , it calculates the daily high-lows from the SQL table
AND stores those values in the year (./chartsmydata/2019.txt) and month (./chartsmydata/2019_06.txt) files to use for the graphs

5. Another cron-job should run at 00:05 to clear the SQL table and the daily result.csv.

https://pendulous-here.000webhostapp.com/pwsWD/w34_graph_xx.php?period=day&type=temp&script=temperature_block.php
It seems to me that your your daily file is correctly filled as the graph shows.
But it contains data for today and yesterday.
So I assume that you only use the station-cron-job not the other two.

Wim

Thanks Wim, I was already running the w34_cron_stationcron.php every 15 minutes to keep the page updated. I set up the other 2 to run tonight. Should I use the cron jobs setting for this menu item in the setup (Which script will load the weather-data to your databse?)   

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,357
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 74.0.3729.169
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34 / weather34) April release
« Reply #125 on: June 03, 2019, 08:10:20 PM »
Anyone have any more info on the WU data? It has worked sporadically, for me. But today it did not work at all again.

I'm not seeing any more info at this thread either. https://www.wxforum.net/index.php?topic=36954.25
WU-data
There has never been any announcement from WU .
So it is unclear if the .CSV files will ba available again or that they will not come back.

Using SQL / own CSV files
The new wd34 release already has a solution for storing the data in .csv files without the need of an SQL table. I need more time to test all consequences.
The big advantage of using the WU-data was: "always available even after a total loss of the site"
When we start using our own website storage we do not have that advantage.

Another alternative:
There are ways to use your WU historical data with the WU-api but that only works for the last 7 days.

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,357
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 74.0.3729.169
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34 / weather34) April release
« Reply #126 on: June 03, 2019, 08:11:48 PM »
Thanks Wim, I was already running the w34_cron_stationcron.php every 15 minutes to keep the page updated. I set up the other 2 to run tonight. Should I use the cron jobs setting for this menu item in the setup (Which script will load the weather-data to your databse?)
You should always use station cron as there is no alternative when using WU.
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline nolatron

  • Posts: 11
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Local Weather
Re: HWS-template (WD34 / weather34) April release
« Reply #127 on: June 03, 2019, 09:57:43 PM »
That probably is the April release.
In the next version the font-size is smaller when there is a long description,
http://wd34.weather-template.com/pws07/

Wim

Ah great! One other thing I noticed was the Nearby Metar doesn't seem to be using the nearby Airport code I entered into settings (KMSY). It's showing EBBR Brussels instead.  Is that using the W34 airport code or is that coming from Weather Display?

Thanks!

Offline bitsostring

  • Posts: 991
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: HWS-template (WD34 / weather34) April release
« Reply #128 on: June 03, 2019, 10:15:24 PM »
One other thing I noticed was the Nearby Metar doesn't seem to be using the nearby Airport code I entered into settings (KMSY).

Have you entered your CheckWX API code? (See Setup.)

It's meant to be fun. . .

Offline nolatron

  • Posts: 11
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Local Weather
Re: HWS-template (WD34 / weather34) April release
« Reply #129 on: June 03, 2019, 10:23:07 PM »
Have you entered your CheckWX API code? (See Setup.)

Bingo! Thanks!

Offline nolatron

  • Posts: 11
  • OS/Browser:
  • Mac OS X 10.12.6
  • Chrome 74.0.3729.169
    • Local Weather
Re: HWS-template (WD34 / weather34) April release
« Reply #130 on: June 04, 2019, 02:32:58 AM »
I noticed my blocks are showing kinda bouncing from showing offline to showing a time. When I do a test/Update the popup shows "successBad Data: 1146" Would that be related?

I also noticed by UV block is almost always offline. do have the option "Send Solar" and "Send UN" checked in the w34 option menu in WD.

Sorry for the all questions.  It's a great template. :)
« Last Edit: June 04, 2019, 02:57:03 AM by nolatron »

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,357
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 74.0.3729.169
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34 / weather34) April release
« Reply #131 on: June 04, 2019, 06:00:37 AM »
I noticed my blocks are showing kinda bouncing from showing offline to showing a time. When I do a test/Update the popup shows "successBad Data: 1146" Would that be related?

I also noticed by UV block is almost always offline. do have the option "Send Solar" and "Send UN" checked in the w34 option menu in WD.

Sorry for the all questions.  It's a great template. :)
As I am not clairvoyant, it is impossible to help  without a link to your website.

@ALL
PLEASE ALWAYS INCLUDE THE URL TO YOUR SITE

Wim
« Last Edit: June 04, 2019, 06:06:27 AM by wvdkuil »
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline ms372591

  • Posts: 12
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.66
Re: HWS-template (WD34 / weather34) April release
« Reply #132 on: June 04, 2019, 05:34:14 PM »
The next release, due in  a few weeks, will not need a "database". Far to much problems.

How does it works in the april release.
1. The station-cron (w34_cron_stationcron.php) fetches the data from WU so that is can be displayed in the blocks
2. The station-cron also writes one line to the daily file  ./chartsmysql/result.csv
3. The station-cron also writes one line to the SQL table

4. Another cron-job (w34_cron_addtoyear.php) should run at 23:55 , it calculates the daily high-lows from the SQL table
AND stores those values in the year (./chartsmydata/2019.txt) and month (./chartsmydata/2019_06.txt) files to use for the graphs

5. Another cron-job should run at 00:05 to clear the SQL table and the daily result.csv.

https://pendulous-here.000webhostapp.com/pwsWD/w34_graph_xx.php?period=day&type=temp&script=temperature_block.php
It seems to me that your your daily file is correctly filled as the graph shows.
But it contains data for today and yesterday.
So I assume that you only use the station-cron-job not the other two.

Wim

Wim, what would cause me to get "Bad Data: 1366" when my cron job runs w34_cron_stationcron.php?

Thanks,
Mike

Offline nolatron

  • Posts: 11
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
    • Local Weather
Re: HWS-template (WD34 / weather34) April release
« Reply #133 on: June 04, 2019, 06:49:44 PM »
As I am not clairvoyant, it is impossible to help  without a link to your website.

@ALL
PLEASE ALWAYS INCLUDE THE URL TO YOUR SITE

Wim

Doh! sorry.  Site is at https://weather.nolatron.net/   

So currently the only 2 issues I'm having are:

1) The pushing of data from WD to the WDapi.txt file.

I have a picture of my Weather34 setup attached, and I have the Main Internet Switch turned on. If I press the Test/Update button in the Home Weather Station API menu, I get a success message and the file updates. Everything looks good.   But then it never updates again on it's own.  So I'm not sure if I'm missing some other setting in WD that's needed to push data or something else.

2) The Darksky forecast doesn't seem to be showing any rain values even though their site is showing rain chances in the coming days.

Thanks!
« Last Edit: June 04, 2019, 10:41:57 PM by nolatron »

Offline Tlowe

  • Posts: 157
  • Minneapolis, MN, US
  • OS/Browser:
  • Win NT 10.0
  • Chrome 74.0.3729.169
Re: HWS-template (WD34 / weather34) April release
« Reply #134 on: June 04, 2019, 07:10:59 PM »
WU-data
There has never been any announcement from WU .
So it is unclear if the .CSV files will ba available again or that they will not come back.

Using SQL / own CSV files
The new wd34 release already has a solution for storing the data in .csv files without the need of an SQL table. I need more time to test all consequences.
The big advantage of using the WU-data was: "always available even after a total loss of the site"
When we start using our own website storage we do not have that advantage.

Another alternative:
There are ways to use your WU historical data with the WU-api but that only works for the last 7 days.

Wim

According to these two posts  on Wxforum.net, posted by Weather Underground they are trying to make the CSV download work, but it may take awhile.

Folks, there's no conspiracy, no one here is mad at IBM. 
Every single thing needs to be re-written. 
Every single part of weather underground. 
What is currently running was built with spit and bailing wire, when something stops working, 90% of the time its because it broke.  When a feature on the new pages is missing, its because we didn't have time make it work efficiently.

I think we have a pretty good general idea of the complaints you all have, we're working on getting some of them addressed.  Some probably won't be addressed.


Folks, if something doesn't come from wu pm or me, its speculation and panic.  Please take a deep breath and realize we're trying to help get you what you want.  I've said this other places, but i'll re-iterate here.  Be reasonable and i'll hear you out, throw a fit, say the sky is falling and wu is evil and we should be ashamed of ourselves and I'll quite happily ignore you.

Names  - working on it
decimals - working on it

csv download - investigating a way for owners to get their data via csv
custom date range - maybe, will take a long time to implement this


data access - still there, you can access through the API easily.

 

cumulus