How to FTP camplus.jpg to WU

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

Moderator: Mattk

Post Reply
User avatar
WessexWeather
Senior Boarder
Senior Boarder
Posts: 54
Joined: Sun Apr 17, 2016 9:54 am
Location: Wimborne, Dorset, UK
Contact:

How to FTP camplus.jpg to WU

Post by WessexWeather »

Hi all,

This is my webcam image with overlays, processed by Meteobridge Weather Camera in the Weather Network tab: -

http://content.meteobridge.com/cam/ff27 ... amplus.jpg

And this is the image uploaded from Weather Underground Camera in the same tab: -

http://www.wessexweather.net/iegeek/web ... mimage.jpg

How can I upload the camplus.jpg with all the overlays to WU rather than the unprocessed image that Meteobridge uploads? Could a php or shell script be used to be run by a cron job every 5 minutes, which gets the camplus.jpg, renames it to image.jpg and sends it to WU with the required credentials (username,password,webcam.wunderground.com)?

I have managed to run a php script every 5 minutes that saves the camplus.jpg as image.jpg to my server every 5 minutes, but have been stumped from here. Uploading this from my server every 5 minutes with FTP, or automating the whole get/rename/upload process as above, is what I would like to achieve.

FTP seems to be the way to go. Asking WU to retrieve the images from a URL no longer seems to work.

Thanks in advance,
Simon

Image
engelbert
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: Mon Mar 14, 2016 5:14 pm
Location: Slochteren
Contact:

Re: How to FTP camplus.jpg to WU

Post by engelbert »

Hi,
I like your camera view. please tell me how you did this. with what kind of attitude.
Thanks in advance.
nice picture.png
nice picture.png (126.68 KiB) Viewed 1560 times
Gr Engelbert
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: How to FTP camplus.jpg to WU

Post by admin »

Meteobridge server does compute the overlays. Therefore, the camplus image is on the server and cannot be uploaded by the Meteobridge client as it does not have it.
Post Reply