Page 1 of 1

How to get Meteobridge to auto upload "camplus" image?

Posted: Thu Dec 04, 2014 3:27 pm
by Ladd
For reasons unknown to me, Weather Underground is now accepting images using the Meteobridge Weather Cam Upload service (on the Weather Networks tab). But my Ubiquiti UVC bullet cam produces a photo that is too large for WU (the "cam.jpg" image). I know that I can crop the image, but would prefer to keep it as large as possible.

What can I change in Meteobridge so that it uploads the "camplus.jpg" image, which is smaller in size?

Re: How to get Meteobridge to auto upload "camplus" image?

Posted: Thu Dec 04, 2014 11:50 pm
by admin
Please have a look at the string that generates the camplus image (meteobridge, "weather network" tab, "meteobridge weather cam"), like:

Code: Select all

-resize 852x480 -fill black -draw "fill-opacity 0.7 rectangle 0 460 852 480" -pointsize 12 -fill orange -draw "text 5 475 '[YYYY]-[MM]-[DD] [hh]:[mm]'" -fill white -draw "text 110 475 'Temp: [th0temp-act.1:--] °C    Humidity: [th0hum-act.0:--] %    Pressure: [thb0seapress-act.1:--] hPa    Wind Chill: [wind0chill-act.1:--] °C    Wind: [wind0avgwind-act=kmh.1:--] km/h    Gust: [wind0wind-max5=kmh.1:--] km/h    Rain today: [rain0total-sumday.1:--] mm'"
Here the "-resize 852x480" does what you are looking for.

Re: How to get Meteobridge to auto upload "camplus" image?

Posted: Fri Dec 05, 2014 2:48 am
by Ladd
Through your examples and help from the board here, I have my "camplus" image string modified to what I want, although now that I have moved to the next step of working on image upload to Weather Underground, the image size might still be too large. I have no problem again modifying the "camplus.jpg" image to a smaller size so that it will work with WU. I would prefer to NOT modify the "cam.jpg" image.

How do I get the "Weather Underground Camera" on the Weather Network Tab of Meteobridge to upload the "camplus.jpg" image instead of the "cam.jpg" image?


FWIW:
Here is my current camplus code:
-resize 1050x591 -fill black -draw "fill-opacity 0.7 rectangle 0 568 1050 591" -pointsize 15 -fill orange -draw "text 5 585 '[YYYY]-[MM]-[DD] [hh]:[mm]'" -fill white -draw "text 150 585 'Temp: [th0temp-act=F.1:--] °F Humidity: [th0hum-act.0:--] % Pressure: [thb0seapress-act=inhg.2:--] inHg Wind Chill: [wind0chill-act=F.1:--]°F Wind: [wind0avgwind-act=mph.1:--] mph Gust: [wind0wind-max5=mph.1:--] mph Rain today: [rain0total-sumday=in.2:--] in'"

Re: How to get Meteobridge to auto upload "camplus" image?

Posted: Sat Dec 06, 2014 12:07 am
by admin
The "meteobridge weather cam" function generates both, cam.jpg and camplus.jpg and provides a unique URL
to grab these images from.

WU FTP cam upload just takes the original image, but as said, you can instruct WU to take a cam pic from an URL.
Therefore simply direct WU to the URL of your linking and all should be fine. As WU cam services have some stability issues
the problems you are facing might not necessarily relate to pic sizes but can be some internal WU problems.

Re: How to get Meteobridge to auto upload "camplus" image?

Posted: Sat Dec 06, 2014 12:23 am
by Ladd
Interestingly, WU has been posting my (too large) photo for almost 24 hours now.

I think we are not on the same page -- I am using the FTP version of the "Weather Underground Camera" on the Weather Network Tab of Meteobridge to upload the photo to WU, not the WU "give us the URL and we will fetch it" version of submitting a photo from Meteobridge to WU.

WU continues to reject my attempts to upload via URL.

So, since I have to use the FTP method to get photos to WU, how do I get Meteobridge to upload the "camplus.jpg" image instead of the "cam.jpg" image?

If I am still misunderstanding how to do this, I beg your forgiveness.
Screen Shot 2014-12-05 at 5.20.43 PM.png
Screen Shot 2014-12-05 at 5.20.43 PM.png (130.86 KiB) Viewed 4075 times

Re: How to get Meteobridge to auto upload "camplus" image?

Posted: Sat Dec 06, 2014 12:30 am
by admin
You cant upload the "camplus" image by WU cam feature. But WU allows you the specify a URL to grab the pic from instead of using the FTP upload technique. I would propose to go that way.

Re: How to get Meteobridge to auto upload "camplus" image?

Posted: Sat Dec 06, 2014 12:59 am
by Ladd
I would love to go that way, but as I have said several times, WU rejects my application to upload via URL with no explanation and I have yet to find any way I can contact them and ask. FTP is the only way that works.

So, it would seem that I can't do what I wish.

Please allow me to politely request that you consider adding a "radio button" option in Meteobridge to select either "cam.jpg" or "camplus.jpg" to be uploaded via FTP.

Thanks for your time and thanks for listening.

Ladd

Re: How to get Meteobridge to auto upload "camplus" image?

Posted: Sat Dec 06, 2014 9:02 am
by admin
There is no easy way to do this, as the resizing and other image operations are done on the Meteobridge server and not on your client. So the Meteobridge client does not have the camplus image. Downloading this to the Meteobridge client first, in order to send it then to WU via FTP just to work-around a WU bug, that their "load picture from URL" feature is not working reliable, is not a really appealing procedure.

Re: How to get Meteobridge to auto upload "camplus" image?

Posted: Sat Dec 06, 2014 2:43 pm
by Ladd
Ahh, I understand now. Thanks for explaining.