No almanac data on website

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
steviebaby59
Senior Boarder
Senior Boarder
Posts: 47
Joined: Wed Jun 11, 2014 2:52 pm

No almanac data on website

Post by steviebaby59 »

Since July 1, 2014, my almanac data is not displaying on my website. http://www.empireprairieweather.com I am using the meteobridge plug-in software for this site.

It may be something else causing this issue, but the website developer seems to believe this data come from my meteobridge server. Anyone have any suggestions? :roll:
xcom
Senior Boarder
Senior Boarder
Posts: 79
Joined: Mon Jun 16, 2014 5:11 am

Re: No almanac data on website

Post by xcom »

Can you be more specific?

Regards.
steviebaby59
Senior Boarder
Senior Boarder
Posts: 47
Joined: Wed Jun 11, 2014 2:52 pm

Re: No almanac data on website

Post by steviebaby59 »

Here is what displays on my website:
Sunrise: 6:00pm
Sunset: 6:00pm
Moonrise: N/A
Moonset: N/A

It's been displaying this ever since July 1, 2014.
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 606
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: No almanac data on website

Post by wvdkuil »

steviebaby59 wrote:Here is what displays on my website:
Sunrise: 6:00pm
Sunset: 6:00pm
Moonrise: N/A
Moonset: N/A

It's been displaying this ever since July 1, 2014.
Running Meteobridge Linux 3.3.8 mips (LE), FW 1.0, MeteoBridge 2.3 (2547) on a Asus WL-330N3G

At my meteobridge test site:http://www.wiri.be/weather2/index.php?p ... MB&lang=en
all values are displayed correctly using the following MB-tags.

Code: Select all

$ws['sunrise']				= '[mbsystem-sunrise]';
$ws['sunset']				= '[mbsystem-sunset]';
$ws['moonrise']				= '[mbsystem-moonrise:<00:00]';
$ws['moonset']				= '[mbsystem-moonset:>00:00]';
$ws['lunarPhasePerc']		        = '[mbsystem-lunarpercent]';
$ws['lunarAge']				= '[mbsystem-lunarage]';


$ws['sunrise']				= '05:33';
$ws['sunset']				= '21:58';
$ws['moonrise']				= '11:58';
$ws['moonset']				= '00:05';
$ws['lunarPhasePerc']		        = '32.5';
$ws['lunarAge']				= '5';
Also on the MB Saratoga test site http://www.wiri.be/saratoga/ the values are displayed correctly.

Code: Select all

Sunrise:	 05:33
Sunset:	 21:58
Moonset:	 00:05
Moonrise:	 11:58
So better check your tag files on your Meteobridge, do a "Reload template" push button on the MB push services tab and see if anything changes on your site.

Wim
steviebaby59
Senior Boarder
Senior Boarder
Posts: 47
Joined: Wed Jun 11, 2014 2:52 pm

Re: No almanac data on website

Post by steviebaby59 »

Well, I tried that just now. No change. I tried this the other day also.

I'm lost! :(
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 606
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: No almanac data on website

Post by wvdkuil »

steviebaby59 wrote:Well, I tried that just now. No change. I tried this the other day also.

I'm lost! :(
Well, then we have to check the files as uploaded by Meteobridge.
http://www.empireprairieweather.com/MBtags.php?sce=view
Seems perfectly OK to me, these lines are directly from your upload file.

Code: Select all

. . . shortened . . .
These tags generated on 2014-07-03 19:07:44 GMT
   From MBtags-template.txt updated 2014-03-24 18:03:31 GMT
. . . shortened . . .
mbsystem-sunrise|05:54|// time of sunrise in local time. Can be converted to UTC by applying "=utc" to the variable (example: "06:47", resp. "05:47"):|:
mbsystem-sunset|20:51|// time of sunset in local time. Can be converted to UTC by applying "=utc" to the variable (example: "18:15", resp. "17:15"):|:
mbsystem-civilsunrise|05:22|// alternative computation for sunrise.:|:
mbsystem-civilsunset|21:24|// alternative computation for sunset.:|:
mbsystem-nauticalsunrise|04:41|// alternative computation for sunrise.:|:
mbsystem-nauticalsunset|22:05|// alternative alternative computation for sunset..:|:
mbsystem-daynightflag|D|// returns "D" when there is daylight, otherwise "N".:|:
mbsystem-moonrise|11:54|// time of moonrise in local time. Please notice that not every day has a moonrise time, therefore, variable can be non-existent on certain days (example: "05:46", resp. "04:46"):|:
mbsystem-moonset|--|// time of moonset in local time. Please notice that not every day has a moonset time, therefore, variable can be non-existent on certain days.:|:
The data is arriving at your webserver.
Maybe someone made a script change the last days?
Maybe a new version of a script added on june 30?
Any ideas about that?
Keep us posted,
Wim
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 606
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: No almanac data on website

Post by wvdkuil »

steviebaby59 wrote:Well, I tried that just now. No change. I tried this the other day also.

I'm lost! :(
Sorry to bother you again. The error is definitly not in Meteobridge.
When you look into the source (html) of your page (right click in chrome, select "view source" or something like that):

Code: Select all

<!-- get-USNO-sunmoon.php - Version 1.02 - 03-Dec-2011 -->
<!-- loading ./cache/USNO-moondata.txt from http://aa.usno.navy.mil/cgi-bin/aa_pap.pl -->
<!-- POST /cgi-bin/aa_pap.pl HTTP/1.1 
      Host: aa.usno.navy.mil  Port: 80 IP=199.211.133.93-->
<!-- Sending:
POST /cgi-bin/aa_pap.pl HTTP/1.1

. . . shortened . . .
-->
<!-- HTTP stats:  dns=0.046 conn=0.073 put=0.000 get(37 blocks)=0.292 close=0.000 total=0.412 secs -->
<!-- fetch function elapsed= 1 secs. -->
<!-- loading finished. -->
<!-- USNOdata
Array
(
)
 -->
The moon information is loaded form the USNO website using get-USNO-sunmoon.php - Version 1.02 - 03-Dec-2011.
The information retrieved is EMPTY. So that is the explanation.
This is the error returned, check http://www.empireprairieweather.com/cac ... ondata.txt:

Code: Select all

<h3>Sun and Moon Data for One Day</h3>

37
 <p>No latitude specified.
 <p>No time zone specified.
5c
<br>
Better post this error on the http://www.wxforum.net/index.php
There is more know-how of errors with the USNO script then here at Meteobridge.

By the way, the Meteobridge supplies all that data fine. No need to use an extra script, I think. Curious why this script is there.

Maybe you used WeatherLink in the past?

Wim
steviebaby59
Senior Boarder
Senior Boarder
Posts: 47
Joined: Wed Jun 11, 2014 2:52 pm

Re: No almanac data on website

Post by steviebaby59 »

I got it resolved this morning! It was something weird. I was trying to cater my website more for my community. I entered a sentence in the location line not realizing this would affect things. I guess I just need to leave stuff alone. :oops:
Post Reply