meteocam to weathercloud

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

Moderator: Mattk

Post Reply
alexvanuxem
Senior Boarder
Senior Boarder
Posts: 40
Joined: Mon Jun 06, 2022 6:55 pm

meteocam to weathercloud

Post by alexvanuxem »

Hi all,

There's a new version of weathercloud (v14) where you now can ftp your weathercamera pics.

In MB i have a cam installed as device (ecowitt hp10), but to be able to send the pics to weathercloud I need to ftp to theire server with a user id, and password.

This is the how to https://weathercloud.net/nl/compatibele ... /ftpwebcam

How to do this with MB? in services, events, ftp upload, I can not specify a server, user, or password?

Thanks,
Alex
hymrog
Expert Boarder
Expert Boarder
Posts: 86
Joined: Sat Feb 01, 2014 1:25 am
Contact:

Re: meteocam to weathercloud

Post by hymrog »

alexvanuxem
Senior Boarder
Senior Boarder
Posts: 40
Joined: Mon Jun 06, 2022 6:55 pm

Re: meteocam to weathercloud

Post by alexvanuxem »

Hi,

Thanks, but I already entered a FTP service to FTP my personal 'public_html' websites....

Or can I have second, probably not.

Can please elaborate?

thanks

Alex
hymrog
Expert Boarder
Expert Boarder
Posts: 86
Joined: Sat Feb 01, 2014 1:25 am
Contact:

Re: meteocam to weathercloud

Post by hymrog »

You can have a second FTP service. Access the service tab add FTP then select your event type and put the credentials in the Path as explained in the wiki:

“When you want to upload data to another FTP server, you can use a fully qualified URL-like FTP notation in the "Path" field. Format of the FTP URI has to be: ftp://user:password@host:port/path.”

If I understand you correctly you have a camera sending snapshots to MB and you want to take the snapshots sent to MB and send to weathercloud..you would also need to configure to grab those snapshots from MB so you can send weather cloud.

g
LudwigD
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Thu Dec 11, 2025 12:58 pm

Re: meteocam to weathercloud

Post by LudwigD »

In MB i have a cam installed as device (), but to be able to send the pics to weathercloud I need to ftp to theire server with a user id, and password.
I'm in the same situation, but it was told to me that ftp on the MB can only be used to transfer data, no jpg 's.
So I also look forward for a solution.
Correct me if I'm wrong.


LD
alexvanuxem
Senior Boarder
Senior Boarder
Posts: 40
Joined: Mon Jun 06, 2022 6:55 pm

Re: meteocam to weathercloud

Post by alexvanuxem »

hi I'm using FTP Cam in the service events, very 5 minutes to ftp://XXXXX:XXXXX@ftp.weathercloud.net:21/webcam.jpg
but the monitor upload status says : 2026-04-06 10:41:12 Error: 2026-04-06 10:40:31 Server hungup immediately after connect. Server hungup immediately after connect. Server hungup immediately after connect. ncftpput: cannot open ftp.weathercloud.net: could not connect to remote host, but can try again. (no more tries):

I have partial succes with a script on my raspiberry pi, where i first download the webcam.jpg from the MB cloud, and then send it to weathercloud.

Works often, but not always.

Maybe the @admin can help?

Cheers

Alex
alexvanuxem
Senior Boarder
Senior Boarder
Posts: 40
Joined: Mon Jun 06, 2022 6:55 pm

Re: meteocam to weathercloud

Post by alexvanuxem »

i've made a sript to upload your webcam from meteobridge to weatgercloud (pro users only)

fill in your user and password id, and the cloud webcam url from meteobridge.

trigger the script in events, every 5 minutes.

you can monitor the log when you ssh to root@ipadress of MB and do cat /var/log/upload_wc.log

it works with me,

have fun

alex
upload_wc.zip
(751 Bytes) Downloaded 3 times
LudwigD
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Thu Dec 11, 2025 12:58 pm

Re: meteocam to weathercloud

Post by LudwigD »

Looks very interesting !
I now have a webcam.sh script running on a Raspberry Pi. It works, but only with a successful rate between 35 - 40 %

I'm not a Meteobridge expert, so can jou please say how and where I have tot put the upload_wc.sh file on the Meteobridge (running the last firmware)...

And is ncftpput always active on the MB?


Many thanks!
LD
alexvanuxem
Senior Boarder
Senior Boarder
Posts: 40
Joined: Mon Jun 06, 2022 6:55 pm

Re: meteocam to weathercloud

Post by alexvanuxem »

hi,

It's not 100% succes rate, at random it fails, maybe 70% succes rate?

I guess it's at their side, if their server gets overloaded? I have sent them a message to explain.

One thing I forgot to mention, you need to use the http url not https of your cloud webcam url.

You make on your pc a network link to the MB, once made, when opening the link, tou will see a data folder of your MB? place the file there.

In the gui of the MB, go to services, events, add script event, choose periodical, reload scripts, choose script, add 5 minutes period, and save, you can test the script using the test button.

Then you can monitor also on monitor, upload status.

cheers Alex
LudwigD
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Thu Dec 11, 2025 12:58 pm

Re: meteocam to weathercloud

Post by LudwigD »

Thanks, I'm still having some problems implementing the script:

2026-04-08 17:52:09 - Snapshot Download Succes: /tmp/webcam.jpg
2026-04-08 17:52:09 - Start upload passive mode
Server hungup immediately after connect.
ncftpput: cannot open 5.175.47.188: could not connect to remote host, but can try again.
2026-04-08 17:52:09 - Passive mode failed, try active mode
Server hungup immediately after connect.
ncftpput: cannot open 5.175.47.188: could not connect to remote host, but can try again.
2026-04-08 17:52:09 - Error uploading to Weathercloud! rc=1
2026-04-08 17:52:09 - Script ended

don't know where is the fault.... perhaps ncftpput is not active on my Meteobridge ?

Thanks,
LD
alexvanuxem
Senior Boarder
Senior Boarder
Posts: 40
Joined: Mon Jun 06, 2022 6:55 pm

Re: meteocam to weathercloud

Post by alexvanuxem »

hi I have that sometimes too, let it run for a day.

has it always failed?

to see if you have ncftpput in the root@ip of MB type which ncftpput. If you have ncftpput it should say something like usr/bin/ncftpput.

i used the 5.175.47.188 as it is adress of ftp.weathercloud.net server. in my testing it starting working when I cahnged to that.

But maybe i was too impatient?

I will test that asap (change to ftp.weathercloud.net).

First keep running please, and tell me the outcome? So we can finetune the script?

cheers

Alex
Post Reply