Page 2 of 2

Re: Station appear offline

Posted: Tue 02 Jun 2020 4:14 pm
by ExperiMentor
Something has changed. Right now, the LED is GREEN, and the message now says "error: Forbidden"

Re: Station appear offline

Posted: Tue 02 Jun 2020 4:19 pm
by freddie
Yesterday your gauges banner was saying that the data was 147 days out of date. Yesterday's date is 147 days after its American equivalent 06/01. Today it is 117 days out of date. Todays date is 117 days after its American equivalent (06/02). Therefore I think there is a date format mismatch between Cumulus and Gauges JavaScript. Worth a look.

Re: Station appear offline

Posted: Tue 02 Jun 2020 4:39 pm
by ExperiMentor
Freddie, I like it, that's not a coincidence!

Predictions for the days ahead (will be correct on Saturday of course!)
Please don't fix it before Sunday, when the difference goes negative. We wanna see the explosion!

01-Jun-20 06-01-20 147
02-Jun-20 06-02-20 117
03-Jun-20 06-03-20 89
04-Jun-20 06-04-20 59
05-Jun-20 06-05-20 30
06-Jun-20 06-06-20 0
07-Jun-20 06-07-20 -29
08-Jun-20 06-08-20 -59
09-Jun-20 06-09-20 -89
10-Jun-20 06-10-20 -118
11-Jun-20 06-11-20 -148
12-Jun-20 06-12-20 -177
13-Jun-20 06-01-21 -207

Re: Station appear offline

Posted: Tue 02 Jun 2020 6:57 pm
by richard_newberry
Yep all updating fine. Console everything apart from that error message in gauges.htm.

Re: Station appear offline

Posted: Tue 02 Jun 2020 7:44 pm
by richard_newberry
NoSensorCheck = 0

Is that making it say the error message in Gauges.htm?

Next time I am up my parents house I'll have to turn debug on and see if it comes back with any errors.

Re: Station appear offline

Posted: Tue 02 Jun 2020 10:41 pm
by richard_newberry
I have tried putting gauges.js back to default and gauges.htm back to default and still saying currently offline...

Just because i went from 4.18.97+ to 4.18.118 its displaying that error.

I don't get it. The MXdiags says it's found the console via USB.

I have no idea what's up.

I can only think of, it's the version of Mono I have installed with Buster....

Re: Station appear offline

Posted: Wed 03 Jun 2020 7:20 am
by freddie
richard_newberry wrote: Tue 02 Jun 2020 10:41 pm I have tried putting gauges.js back to default and gauges.htm back to default and still saying currently offline...
Your message has changed to "Last updated 89 days ago" which is what I expected it to do due to the mis-match between date formats somewhere within your setup.

Looking at http://desford-weather.co.uk/realtimegauges.txt I see this:

Code: Select all

"timeUTC":"2020,3,6,7,12,24,",
The expected format is "Year,Month,Day,Hour,Minute,Second". Looking at your data, the "Month" and "Day" are swapped - i.e. the American style. This is very likely down to your locale setting on your pi. Type the following command in the console on your pi:

Code: Select all

locale
Post the result in a reply to this topic.

Re: Station appear offline

Posted: Wed 03 Jun 2020 8:15 am
by richard_newberry
locale
LANG=en_GB.UTF-8
LANGUAGE=
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

i will change round what you suggested.

Re: Station appear offline

Posted: Wed 03 Jun 2020 8:18 am
by richard_newberry
All working cheers.