Meteobridge Pro (Red) Query. **solved**

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
G4MHJ
Expert Boarder
Expert Boarder
Posts: 111
Joined: Fri Aug 24, 2018 9:40 pm

Meteobridge Pro (Red) Query. **solved**

Post by G4MHJ »

After quite a number of years running a Davis Vantage Pro Plus into the MB via RF the system failed. I also receive data into a Console so I knew the ISS was sending data so I have now managed to get it going again via redirecting the data from the console. I am gradually getting everything back again to my website which includes running HWS Weather 34, Twitter, APRS, WU etc. My final task is to sort out the creation and ftp-ing of clientraw.txt. Where and how is this acheived in MB?
Image
MGS
Junior Boarder
Junior Boarder
Posts: 25
Joined: Sun Mar 12, 2023 10:17 am
Contact:

Re: Meteobridge Pro (Red) Query

Post by MGS »

Hi,

If you create a WD-Live FTP Upload event in events with the type Periodical and fill in the destination path info and the frequency that should do it.

Screenshot 2023-04-15 at 19.37.33.png
Screenshot 2023-04-15 at 19.37.33.png (30.31 KiB) Viewed 1419 times


Regards


Mark.
My Weather Website http:\\www.harpendenweatherstation.co.uk
MGS
Junior Boarder
Junior Boarder
Posts: 25
Joined: Sun Mar 12, 2023 10:17 am
Contact:

Re: Meteobridge Pro (Red) Query

Post by MGS »

Hi Again,

You also need to set your Station name and the data you want to send in the clientraw file this can be don't in the GUI and the defaults should be fine or were for me.


Mark.

Screenshot 2023-04-15 at 19.49.31.png
Screenshot 2023-04-15 at 19.49.31.png (151.27 KiB) Viewed 1419 times
My Weather Website http:\\www.harpendenweatherstation.co.uk
G4MHJ
Expert Boarder
Expert Boarder
Posts: 111
Joined: Fri Aug 24, 2018 9:40 pm

Re: Meteobridge Pro (Red) Query

Post by G4MHJ »

Thanks for these replies. Found the WD event but having issues with the path as nothing is going to the root where I have an old clientraw.txt. All good fun and I am enjoying the challenge for an oldie!
Image
G4MHJ
Expert Boarder
Expert Boarder
Posts: 111
Joined: Fri Aug 24, 2018 9:40 pm

Re: Meteobridge Pro (Red) Query

Post by G4MHJ »

My clietraw.txt upload is giving this error:
2023-04-16 12:53:54 Error: 2023-04-16 12:53:52 ncftpput /tmp/mnt/data/export/clientraw.txt: server said: Requested action not taken. File unavailable (e.g., file not found, no access). ncftpput /tmp/mnt/data/export/clientrawextra.txt: server said: Requested action not taken. File unavailable (e.g., file not found, no access). ncftpput /tmp/mnt/data/export/clientrawdaily.txt: server said: Requested action not taken. File unavailable (e.g., file not found, no access). ncftpput /tmp/mnt/data/export/clientrawhour.txt: server said: Requested action not taken. File unavailable (e.g., file not found, no access). (no more tries):
I have set up an event with a Path / as I want clientraw.txt to go back to the root of my website where it has always gone in the past.
I really only want the clientraw for the WDliveapp on my iPhone.
Image
G4MHJ
Expert Boarder
Expert Boarder
Posts: 111
Joined: Fri Aug 24, 2018 9:40 pm

Re: Meteobridge Pro (Red) Query

Post by G4MHJ »

Just to follow up on my clientraw.txt problem.

I found the current clientraw.txt file in data/export and I manually copied it to my desktop and sent to my root of my website. The Weather Display App then showed my data as expected.

I have followed instructions given to me and set up a Service for FTP WDL but it never arrives. In the Path (folder) I just have a / entered which I assume puts the file in the root.

Any ideas would be most welcome.
Image
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Meteobridge Pro (Red) Query

Post by Mattk »

Just entering a / in the [Events] Path (file) will be reliant on FTP/SFTP Host configuration along with obviously the correct User/Password & Port. On the Service Settings page what happens when you do a [Test FTP]?
G4MHJ
Expert Boarder
Expert Boarder
Posts: 111
Joined: Fri Aug 24, 2018 9:40 pm

Re: Meteobridge Pro (Red) Query

Post by G4MHJ »

The FTP in Service is set up with the full path to the root and a ftp test puts a file in the root of my website sp I assume that is correct.
Image
G4MHJ
Expert Boarder
Expert Boarder
Posts: 111
Joined: Fri Aug 24, 2018 9:40 pm

Re: Meteobridge Pro (Red) Query

Post by G4MHJ »

Just read this on the meteobridge website.

* fixes a bug that crashes on generating clientraw files as part of WD-Live uploads. * Meteobridge PRO, NANO SD, RPI: fixes a shortly introduced bug on WD-Live (clientraw) exports.
160 KB (24,843 words) - 13:59, 15 April 2023

Is this the reason for my issues. I am using an old version 4.3 that always worked for me having tried later version that gave me missing data etc.

As I have said before a MB creates a clientraw.txt that appears to be valid in data/export. Manually moving it to my website works on WDL. If only I could get it to do it automatically.
Image
MGS
Junior Boarder
Junior Boarder
Posts: 25
Joined: Sun Mar 12, 2023 10:17 am
Contact:

Re: Meteobridge Pro (Red) Query

Post by MGS »

Hi,

Just thought I would share my Upload event settings it may help you sort the issue. Some web hosting sites have a specific directory you need to store the files in which is not the root directory. For me it is /public_html. I put the data in a "Live" sub directory to keep it separate from the rest of the website but that is just me. My setup looks like the information below and the path I configure in MB for the FTP WDL event is /public_html/Live/ and that works for me. If I just use the root "/" the transfer is successful but the file is in the wrong place for the website to use correctly as it is not in the websites base directory hope that makes sense.

WDL Event.png
WDL Event.png (3.72 KiB) Viewed 1324 times

As a test you could also set the FTP/FTPS service and fill in the test directory and test it to make sure the test-upload file is placed in the correct place and the path that works and puts the file in the correct place, will be the path you need to put in on the FTP WDL event.

TestUpload.png
TestUpload.png (28.04 KiB) Viewed 1324 times

Hope it helps :D


Regards


Mark
My Weather Website http:\\www.harpendenweatherstation.co.uk
G4MHJ
Expert Boarder
Expert Boarder
Posts: 111
Joined: Fri Aug 24, 2018 9:40 pm

Re: Meteobridge Pro (Red) Query

Post by G4MHJ »

Well after a lot of head scratching I finally managed to get clientraw.txt to my website. My thanks to MGS for giving me the idea.

In Services configuration I had a test path of /customers/1/1/e/bobhewitt.co.uk/httpd.www/

Why this is so complicated I don't know but my Host One.Com changed it this this after the PHP 8.1 upgrade.

So, in Event Definition I created a FTP WDL with just a / in Path (folder) - this didn't work but by adding /customers/1/1/e/bobhewitt.co.uk/httpd.www/ it worked.

Thanks all for your help.


PS - to MGS I tried sending you an email of thanks but your web based emails were rejected.
Image
Post Reply