Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024

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

realtime.txt fails in raspberry Pi image

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

User avatar
dazza1223
Posts: 867
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: realtime.txt fails in raspberry Pi image

Post by dazza1223 »

hey ive just seen this on the x64 one i never put symlinks on there?

what are u running the X86 or X64? ive hade those image on test running with out any issue
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
dk6
Posts: 19
Joined: Mon 19 Feb 2024 9:14 am
Weather Station: Davis Vantange Pro2 + RPI
Operating System: CUMULUS PI image

Re: realtime.txt fails in raspberry Pi image

Post by dk6 »

I am using X86 version!

Should i use x64? I have Rpi3
User avatar
mcrossley
Posts: 12871
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: realtime.txt fails in raspberry Pi image

Post by mcrossley »

OK, I remember now, the data files are redirected to the /run folder which is a temporary in-memory folder.

Anyone got any ideas? I seem to recall the file had to exist in /run for the shortcut to work? But I don't recall how they were created, or maybe I just remembered that wrong.
User avatar
dazza1223
Posts: 867
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: realtime.txt fails in raspberry Pi image

Post by dazza1223 »

Haha yea mark I never Knew about them hence why I never put that on the x64 one.... so what the solution then with this image I've downloaded the image I don't mind modifying it?
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
mcrossley
Posts: 12871
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: realtime.txt fails in raspberry Pi image

Post by mcrossley »

dazza1223 wrote: Mon 19 Feb 2024 3:24 pm ...so what the solution then with this image I've downloaded the image I don't mind modifying it?
I wish I knew! Is there a sym link for the realtime.txt file in the web folder in the 32 bit image? Or is trying to create the file directly in the folder?
dk6
Posts: 19
Joined: Mon 19 Feb 2024 9:14 am
Weather Station: Davis Vantange Pro2 + RPI
Operating System: CUMULUS PI image

Re: realtime.txt fails in raspberry Pi image

Post by dk6 »

i will try to install the x64 image. i will give you feedback again!
User avatar
dazza1223
Posts: 867
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: realtime.txt fails in raspberry Pi image

Post by dazza1223 »

mcrossley wrote: Mon 19 Feb 2024 3:41 pm
dazza1223 wrote: Mon 19 Feb 2024 3:24 pm ...so what the solution then with this image I've downloaded the image I don't mind modifying it?
I wish I knew! Is there a sym link for the realtime.txt file in the web folder in the 32 bit image? Or is trying to create the file directly in the folder?
OK mark I think I'm going to wait utill this build it all done and stable then I'm going to rebuild both images with Bookworm?
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
mcrossley
Posts: 12871
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: realtime.txt fails in raspberry Pi image

Post by mcrossley »

@freddie, the sym links are to reduce SD card wear. Those data files are only used whilst MX is running and are recreated frequently, so it makes sense to redirect them to an in-memory disk.
dk6
Posts: 19
Joined: Mon 19 Feb 2024 9:14 am
Weather Station: Davis Vantange Pro2 + RPI
Operating System: CUMULUS PI image

Re: realtime.txt fails in raspberry Pi image

Post by dk6 »

Raspberry Pi3 B with

X64 bit cumulus image version i have no error after i have enable realtime.txt but i cannot enable the wifi … with raspi-config tool says no wireless lan detected…. I tried a lot things no luck

X32 bit cumulus image version i have wifi but error creating realtime.txt as i said before…

Both version work with Davis VP2 i have communication.

Now i think i will go manual to install cumulusMX…

Can you tell me where the realtime.txt file should be located?
I want to be accessed as http://myhost:8998/realtime.txt
What i have to do?
Thank you a lot guys!
User avatar
dazza1223
Posts: 867
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: realtime.txt fails in raspberry Pi image

Post by dazza1223 »

I'm sorry I think that was the wrong image was upload I will get this fix for you :bash:
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
dk6
Posts: 19
Joined: Mon 19 Feb 2024 9:14 am
Weather Station: Davis Vantange Pro2 + RPI
Operating System: CUMULUS PI image

Re: realtime.txt fails in raspberry Pi image

Post by dk6 »

dazza1223 wrote: Mon 19 Feb 2024 10:07 pm I'm sorry I think that was the wrong image was upload I will get this fix for you :bash:
it will be very useful!
dk6
Posts: 19
Joined: Mon 19 Feb 2024 9:14 am
Weather Station: Davis Vantange Pro2 + RPI
Operating System: CUMULUS PI image

Re: realtime.txt fails in raspberry Pi image

Post by dk6 »

I have successfully install manually CumulusMX in a Raspberry Pi Zero W now. I have no error reported in the logs.

I have only enable the realtime interval and the creation of the realtime.txt file.

Can you please tell me where is the location of this file?

Second step is to have access to this file from http://myhost:8998/realtime.txt to use it with the Cumulus iOS App. How can i do that?

Thanks! :)
SamiS
Posts: 390
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: realtime.txt fails in raspberry Pi image

Post by SamiS »

In my knowledge there is not any easy ”out-of-the-box-ready” way to access realtime.txt locally on your Raspberry via the CumulusMX Dashboard that is running on port 8998. Normally you are expected to upload it to your public website.

If I’m right, and you want to host the file only locally, then you need to install Apache or Nginx to run on a different port and configure CMX to do a local copy of the file to the webroot.
User avatar
mcrossley
Posts: 12871
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: realtime.txt fails in raspberry Pi image

Post by mcrossley »

If you just want to access it locally, then you could create the file as you are now. Then set up Extra Web Files to copy it to the /interface folder.

(Below is untested and from memory, I'm on my phone at the moment)

Local file name = web/realtime.txt
Remote file name = interface/realtime.txt
Real-time option ticked, the rest clear

Then you should be able to access it using the URL you have above.

But no access from the internet obviously. You will need a web site for that.
User avatar
PaulMy
Posts: 3875
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: realtime.txt fails in raspberry Pi image

Post by PaulMy »

(Below is untested and from memory, I'm on my phone at the moment)

Local file name = web/realtime.txt
Remote file name = interface/realtime.txt
Real-time option ticked, the rest clear
That works, except that the Local file name = is just realtime.txt as the default saving of realtime.txt is in CumulusMX

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
Post Reply