Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Upload of weathercam image fails

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Upload of weathercam image fails

Post by HansR »

I am in the process of installing a weathercam.
I save a local image every 5 minutes and want that uploaded to the server. The upload is handled by cumulus during the internet update (see appendix, last entry). I set the upload to binary but al I get on the server side is a file of 4 bytes. No matter what I do, it's 4 bytes.

What do I do wrong?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Upload of weathercam image fails

Post by nitrx »

You don't have to process the image by cumulus , and I don't know why you checked binary .
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Upload of weathercam image fails

Post by steve »

It could be because you have 'process' ticked, so Cumulus is trying to process web tags in the file. 'Binary' and 'Process' is not normally a useful combination.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Upload of weathercam image fails

Post by steve »

nitrx wrote:I don't know why you checked binary .
Because it's a binary (i.e. not text) file.
Steve
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Upload of weathercam image fails

Post by HansR »

nitrx wrote:You don't have to process the image by cumulus , and I don't know why you checked binary .
1) Maybe I don't have to, but I do and I can, so why shouldn't I?
2) And I use binary because an image is a binary file?

Or do I miss the point?

btw : it fails in the processing because the tempfile which is created for the upload is already only 4 bytes.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Upload of weathercam image fails

Post by mcrossley »

If you tick "Process?" Cumulus will treat the image file as a text file. This option should not be ticked for binary files.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Upload of weathercam image fails

Post by HansR »

steve wrote:It could be because you have 'process' ticked, so Cumulus is trying to process web tags in the file. 'Binary' and 'Process' is not normally a useful combination.
Indeed, right. Sorry for this :oops:
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Post Reply