Meteobridge Pro (Red) Query. **solved**
Moderator: Mattk
Meteobridge Pro (Red) Query. **solved**
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?
Re: Meteobridge Pro (Red) Query
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.
Regards
Mark.
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.
Regards
Mark.
My Weather Website http:\\www.harpendenweatherstation.co.uk
Re: Meteobridge Pro (Red) Query
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.
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.
My Weather Website http:\\www.harpendenweatherstation.co.uk
Re: Meteobridge Pro (Red) Query
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!
Re: Meteobridge Pro (Red) Query
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.
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.
Re: Meteobridge Pro (Red) Query
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.
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.
Re: Meteobridge Pro (Red) Query
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]?
Re: Meteobridge Pro (Red) Query
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.
Re: Meteobridge Pro (Red) Query
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.
* 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.
Re: Meteobridge Pro (Red) Query
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.
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.
Hope it helps
Regards
Mark
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.
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.
Hope it helps

Regards
Mark
My Weather Website http:\\www.harpendenweatherstation.co.uk
Re: Meteobridge Pro (Red) Query
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.
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.