software difference realtime.txt

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

Moderator: Mattk

Post Reply
Ger
Junior Boarder
Junior Boarder
Posts: 34
Joined: Tue Jun 02, 2015 12:13 pm

software difference realtime.txt

Post by Ger »

I have two meteobridges (and stations) in use, both V1.4

But the templates realtime.txt are different.
This is the output from the good one:

29/06/20 12:35:06 20.2 58 11.7 4.5 4.9 245 0.0 1.0 1009.3 WSW 3 m/s C hPa mm - 0.6 66.0 81.6 0.0 25.2 41 20.0 1.3 21.3 11:14 13.9 05:32 4.9 11:56 10.7 12:24 1010.9 00:00 1008.2 06:10 1.8.7 819 10.3 20.2 - - - - 238 0.0 - 1 0 WSW 3400 ft - 0.0 912 0

and this from the bad one:

14:40|7.5|5.4|7.5|23.0|5.8|2.4|5.8|7.5|5.4|0.0|0.0|0.5|0.5|233.0|231.0|1017.7|1009.9|1018.8|977.4|1045.1|0.0|0.0|0.0|89.0|77.0|89.0|30.0|7.3|20200221000002|20200221104651|20200221022121|20200221143414|20200221000002|20200221000002|20200221022121|20200221125834|20200221000002|20200221102520|1018.2|0|20200221000032|0.0|--|--|--|912.0|4.0|13084|2020:02:21:13:40:59|--|ver2015-04-24

What am i doing wrong?

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 466
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: software difference realtime.txt

Post by wvdkuil »

Ger wrote:
Mon Jun 29, 2020 12:41 pm
I have two meteobridges (and stations) in use, both V1.4

But the templates realtime.txt are different.
This is the output from the good one:

29/06/20 12:35:06 20.2 58 11.7 4.5 4.9 245 0.0 1.0 1009.3 WSW 3 m/s C hPa mm - 0.6 66.0 81.6 0.0 25.2 41 20.0 1.3 21.3 11:14 13.9 05:32 4.9 11:56 10.7 12:24 1010.9 00:00 1008.2 06:10 1.8.7 819 10.3 20.2 - - - - 238 0.0 - 1 0 WSW 3400 ft - 0.0 912 0

and this from the bad one:

14:40|7.5|5.4|7.5|23.0|5.8|2.4|5.8|7.5|5.4|0.0|0.0|0.5|0.5|233.0|231.0|1017.7|1009.9|1018.8|977.4|1045.1|0.0|0.0|0.0|89.0|77.0|89.0|30.0|7.3|20200221000002|20200221104651|20200221022121|20200221143414|20200221000002|20200221000002|20200221022121|20200221125834|20200221000002|20200221102520|1018.2|0|20200221000032|0.0|--|--|--|912.0|4.0|13084|2020:02:21:13:40:59|--|ver2015-04-24

What am i doing wrong?
The first file looks like a space separated "Cumulus" realtime file
The second one looks like a Leuven or HWS type realtime file.

A Meteobridge uses
  • a template-file with "tags"
  • to generate a file with "values"
  • and upload that file with a name to the specified server.
File-names are just names , the contents of your two files have a different layout => so the contents of the template files are different.
Please check the contents of those two template files.

Wim
Attachments
templ.jpeg
templ.jpeg (43.56 KiB) Viewed 318 times
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) https://pwsdashboard.com/

Ger
Junior Boarder
Junior Boarder
Posts: 34
Joined: Tue Jun 02, 2015 12:13 pm

Re: software difference realtime.txt

Post by Ger »

Thanks Wim, but both GUIs are different. In the wrong version i miss a field "select file for upload" and ín the "good one" I can choose the realtime.txt file.

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 466
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: software difference realtime.txt

Post by wvdkuil »

Ger wrote:
Mon Jun 29, 2020 1:43 pm
Thanks Wim, but both GUIs are different. In the wrong version i miss a field "select file for upload" and ín the "good one" I can choose the realtime.txt file.
In both versions you can set the link from the browser with which you tested first if that template-file is correct.
On a Nano/Pro you can store the template-file also on you local MB-disk, but wait with that for now.

It is easier testing to store the correct template file on one of your websites., give if a new name also f.i. "templ_rt_20200629.txt"
And use the same link with both MB's
If all is well and the both MB's are uploading correct translated files => then you copy the template file to your Nano
Keep the new name, otherwise make sure that that file-name is not used by some other script such as the built in Nano-weather34 dashboard

You then always have a backup of the template file, 1 is stored on your nano, the other one is stored on your website for the other MB

Wim
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) https://pwsdashboard.com/

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 6223
Joined: Mon Oct 01, 2007 10:51 pm

Re: software difference realtime.txt

Post by admin »

Ger wrote:
Mon Jun 29, 2020 1:43 pm
Thanks Wim, but both GUIs are different. In the wrong version i miss a field "select file for upload" and ín the "good one" I can choose the realtime.txt file.
Sounds like you have a PRO or NANO SD (with the upload-selection drop-down) and another type of Meteobridge without local storage and without the drop-down option.

Ger
Junior Boarder
Junior Boarder
Posts: 34
Joined: Tue Jun 02, 2015 12:13 pm

Re: software difference realtime.txt

Post by Ger »

Thanks, that means that I not can use another file?

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 6223
Joined: Mon Oct 01, 2007 10:51 pm

Re: software difference realtime.txt

Post by admin »

On non PRO or NANO SD you dont have any files on the Meteobridge. They need to be provided from a HTTP source.

Post Reply