Hello everyone,
At: http://lecourtilauxepines.eu/
I use the Cumulus version Version: 3.0.0 Creation: b-3022
and
Script by Mark Crossley - Version 2.4.4 - 2013-08-25
and realtimegaugesT.txt (home made)
to view local data into the scroll;
Everything is OK
if I use:
Script by Mark Crossley - Version 2.5.5
with this version of home made realtimegaugesT.txt
Scrolling goes into error:
"Parse Error: Unexpected Token"
or
"Parse Error - Syntax Error parse Json bad control
Bad character in string literal at line 36 column 262 of the json data "
Where is my mistake?
Thank you for everything.
Best Regards
Michael said Courtil
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
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
realtimegaugesT.txt. display data
Moderator: mcrossley
-
- Posts: 124
- Joined: Thu 16 Jan 2014 1:31 pm
- Weather Station: Vantage PRO2
- Operating System: Windows 11
- Location: France
- Contact:
realtimegaugesT.txt. display data
You do not have the required permissions to view the files attached to this post.
OS : Windows 11 Familial
Station Météo : Vantage PRO2
Cumulus MX 3.14.2 b3169
CumulusUtils
http://meteo621.free.fr/
Station Météo : Vantage PRO2
Cumulus MX 3.14.2 b3169
CumulusUtils
http://meteo621.free.fr/
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: realtimegaugesT.txt. display data
Can you show an example of the processed file that is failing, or a link to the page?
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: realtimegaugesT.txt. display data
Ah! Version 2.5.5 of the script also has an updated version of realtimeGaugesT.txt, were you using that file to customise?
-
- Posts: 124
- Joined: Thu 16 Jan 2014 1:31 pm
- Weather Station: Vantage PRO2
- Operating System: Windows 11
- Location: France
- Contact:
Re: realtimegaugesT.txt. display data
Hello,
Thank you for your response.
I now use the script "home made" realtimegaugesT.txt
single line of script
"forecast", "<# forecastenc>"
is replaced by:
The error is visible in the top of the scrolling Gauges:
http://lecourtilauxepines.eu/ternois/index.htm
Thank you for your information.
Best Regards
Michel said Courtil
Thank you for your response.
I now use the script "home made" realtimegaugesT.txt
single line of script
"forecast", "<# forecastenc>"
is replaced by:
Code: Select all
"forecast":"Dernière mise à jour le <#date format=hh:nn>H locale -- Voici les conditions Météo actuelles à; CROISETTE -- Le Soleil se lève à <#sunrise> et se couche à <#sunset> -- Temps actuel : <#currcond> -- La Température est de <#temp>, °C -- L'Humidité relative à <#hum>,% -- La Pression Atmosphérique est de <#press> hPa -- Les Précipitations du jour sont de <#rfall> mm ",
http://lecourtilauxepines.eu/ternois/index.htm
Thank you for your information.
Best Regards
Michel said Courtil
OS : Windows 11 Familial
Station Météo : Vantage PRO2
Cumulus MX 3.14.2 b3169
CumulusUtils
http://meteo621.free.fr/
Station Météo : Vantage PRO2
Cumulus MX 3.14.2 b3169
CumulusUtils
http://meteo621.free.fr/
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: realtimegaugesT.txt. display data
You have a corrupt string in 'forecast'...
You have new line breaks in the middle of the string definition, that is not allowed in JavaScript.
Code: Select all
"forecast":"Dernière mise à jour le 04:nnH locale -- Voici les conditions Météo actuelles à CROISETTE -- Le Soleil se lève à 06:36 et se couche à 19:16 -- Temps actuel : Frais, ciel couvert, Faible bruine, Brume
-- La Température est de 13,2, °C -- L'Humidité relative à 82,% -- La Pression Atmosphérique est de 1013,9 hPa -- Les Précipitations du jour sont de 1,2 mm ",
-
- Posts: 124
- Joined: Thu 16 Jan 2014 1:31 pm
- Weather Station: Vantage PRO2
- Operating System: Windows 11
- Location: France
- Contact:
Re: realtimegaugesT.txt. display data
Thank you for your information.
I will try to change this line of script !!!
My knowledge in JavaScript are zero ....
Best Regards
Michael said Courtil
I will try to change this line of script !!!
My knowledge in JavaScript are zero ....
Best Regards
Michael said Courtil
OS : Windows 11 Familial
Station Météo : Vantage PRO2
Cumulus MX 3.14.2 b3169
CumulusUtils
http://meteo621.free.fr/
Station Météo : Vantage PRO2
Cumulus MX 3.14.2 b3169
CumulusUtils
http://meteo621.free.fr/