Iso template

This section covers the Meteobridge PRO units exclusively

Moderator: Mattk

Post Reply
oudmans
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Wed Nov 07, 2018 3:02 pm

Iso template

Post by oudmans » Wed Nov 07, 2018 3:18 pm

Hi, Ron from Holland here.

I am new to the MB pro red but I got it to work, even data upload to my own website
I only wonder one thing:
Is it possible to modify the data of the iso template?
I would like to add some more data to the template

Thanks in advance

Mattk
Platinum Boarder
Platinum Boarder
Posts: 521
Joined: Mon Sep 22, 2014 3:24 am

Re: Iso template

Post by Mattk » Wed Nov 07, 2018 9:55 pm

For sure, all the templates are only text files and can be edited/changed to whatever you want them to be. I wouldn't change the original examples, make a copy and you can also name it how ever you want.

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

Re: Iso template

Post by admin » Wed Nov 07, 2018 11:20 pm

you can mount the needed folders from your PC as network shares.

oudmans
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Wed Nov 07, 2018 3:02 pm

Re: Iso template

Post by oudmans » Thu Nov 08, 2018 10:58 pm

So what you are saying is to make a new template and put it on a different share. Am i right when i say that i only have to make a new service in Meteobridge that points to that share? If so, how can i select the data that i want in the template? Thanks again.

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

Re: Iso template

Post by admin » Thu Nov 08, 2018 11:02 pm

Not exactly. You mount the share, navigate to the templates folder and there you store the new template. Now Meteobridge web interface allows you to select this template when defining a data export job.

oudmans
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Wed Nov 07, 2018 3:02 pm

Re: Iso template

Post by oudmans » Sat Nov 10, 2018 11:33 am

Clear, but where can i find the original iso template?

Mattk
Platinum Boarder
Platinum Boarder
Posts: 521
Joined: Mon Sep 22, 2014 3:24 am

Re: Iso template

Post by Mattk » Sat Nov 10, 2018 12:19 pm

\\your.mbpro.ip.address\data\templates where your.mbpro.ip.address will be your actual MBPro IP address, as an example something that looks like 192.168.2.12

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

Re: Iso template

Post by admin » Sat Nov 10, 2018 12:22 pm

1) Mount the Meteobridge PRO as a network share from your PC (as Mattk gave an example for). If you have allowed guest login ("System" tab of MB PRO), you can do as guest, otherwise user is "meteobridge" and password ist the SMB password you defined on "System" tab (can differ from HTTP password!).

2) On the network share you find different folders, the "templates" folder is the one to look into.

3) Make a copy of the "standard-iso.txt" template file and work on that.

oudmans
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Wed Nov 07, 2018 3:02 pm

Re: Iso template

Post by oudmans » Sun Nov 11, 2018 10:40 am

Hi guys,
Mounting went well, copy of the iso template to my local drive also also.
But i think that I mistakenly thought how to make the new template.
First, i opened the standard iso.exp in notepad++, but i noticed that a file couldn't be saved as .exp, so i just saved.
I thought because you could only receive the lastexport.txt by mail that i had to adjust that to.
Anyway, that didn't work and i put the original files back in place. (at least i thought i did)
After that i noticed that de lastexport.txt didn't fill with data anymore.
Also noticed that the standard-iso-2018-hour.txt hasn't filled up from yesterday after 10 'O clock and that i didn't touch at all.
Any ideas what i did wrong? Is het possible to send me the origanal files so i can replace them.
I adapt the lastexport, lastexport.exp and the standard iso template
Ik you want you can check my meteobridge, it can be reached from outside.
If so, you can mail me to info@weerstation-daalhof.nl, then i send you the link with username and password.
Hope you can help me out, i already hit myself for my stupidity.

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

Re: Iso template

Post by admin » Sun Nov 11, 2018 1:49 pm

standard file are replaced with originals on each boot. So just reboot and you should be fine again.

"lastexport" and "lastchart" are not files but symbolic links the Meteobridge does use to point to
the latest generated export or chart. So please don't take this as name for your definition.
Any file ending with .exp will be shown on drop-down list as export template. It might need a
page reload in your browser to have it listed when you added it freshly.

oudmans
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Wed Nov 07, 2018 3:02 pm

Re: Iso template

Post by oudmans » Sun Nov 11, 2018 2:24 pm

Thanks for the feedback but after a reboot i triggered an export for lastexport but this is still empty.
Formerly i got this every day past midnight for the last day and it was Always fine.

oudmans
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Wed Nov 07, 2018 3:02 pm

Re: Iso template

Post by oudmans » Sun Nov 11, 2018 2:50 pm

please see the attachment.
You said all .exp files will be shown in the dropdown menu.
I see only .txt files and the borgervejr is extension .mail
Attachments
MB Files.jpg
MB Files.jpg (251.09 KiB) Viewed 73 times

oudmans
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Wed Nov 07, 2018 3:02 pm

Re: Iso template

Post by oudmans » Mon Nov 12, 2018 12:18 pm

Hi,
No need for an answer anymore, everything works how it should.
Thanks.

Post Reply