Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

For New Users

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

:D
And assuming you are still is the same raspberry session

Code: Select all

lftp -c "set ftp:list-options -a;
open '$FTPURL';
cd RCD;
ls"

Shoud get you all cumulusutils files, if yes try

Code: Select all

lftp -c "set ftp:list-options -a;
open '$FTPURL';
cd RCD;
ln -s ../CumulusMX/dailyrain.json dailyrain.json"

If you get something like ln: Fatal error: 500 Unknown SITE command.
:( :( :(
else :clap: and we can add the remaining links :D
Image
stef942
Posts: 43
Joined: Mon 19 Oct 2009 8:17 pm
Weather Station: WMR200
Operating System: raspi3
Location: France-oise

Re: For New Users

Post by stef942 »

i have an error on first command :

cd: access failed :550 RCD: no such file or directory (/RCD)

i dont have any RCD directory
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

Sorry

Code: Select all

RCD="CMX"
lftp -c "set ftp:list-options -a;
open '$FTPURL';
cd RCD;
ls"

Does this work?
Maybe CMX is in a subfolder?
Image
stef942
Posts: 43
Joined: Mon 19 Oct 2009 8:17 pm
Weather Station: WMR200
Operating System: raspi3
Location: France-oise

Re: For New Users

Post by stef942 »

no same error
no CMX is a directory as CumulusMX
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

Sorry again ;-)
cd $RCD;
If OK now

Code: Select all

lftp -c "set ftp:list-options -a;
open '$FTPURL';
cd $RCD;
ln -s ../CumulusMX/dailyrain.json dailyrain.json"

Image
stef942
Posts: 43
Joined: Mon 19 Oct 2009 8:17 pm
Weather Station: WMR200
Operating System: raspi3
Location: France-oise

Re: For New Users

Post by stef942 »

error on the last command :

Code: Select all

> ln stef942.free.fr/CumulusMX/dailyrain.json=>dailyrain.json [Waiting for response...]
> ln: Access failed: 500 SITE not understood (stef942.free.fr/CumulusMX/dailyrain.json)
:|

i give up, thank you for your great help :clap:
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

OK
Your ftp server seems to have the limitations as mine!
I do get
ln: Fatal error: 500 Unknown SITE command.
when trying to create sym links via ftp
Image
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

If you are interested I could try to create a script to be run as Realtime program (A program or command to be run at each realtime interval) on internetsettings.html?
Image
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

Now, before we go and get ourselves a spaghetti monster of little scripts and programs, i would like to say that that is really against the design goal of cumulusutils. I believe the issue is still to get the location of the realtime files known to cutils isn't it?

Those links are a nice idea, but not the goal if you can't create them. So back to the basic question I think: the realtime files.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

Hans, I do agree!
If you can't create symlinks maybe create those entries on the Extra web files if you like to have CU on a page different than CumulusMX?

Code: Select all

LOCAL FILENAME
/home/pi/CumulusMX/web/dailyrain.json
/home/pi/CumulusMX/web/dailytemp.json
/home/pi/CumulusMX/web/graphconfig.json
/home/pi/CumulusMX/web/humdata.json
/home/pi/CumulusMX/web/pressdata.json
/home/pi/CumulusMX/web/raindata.json
/home/pi/CumulusMX/realtime.txt
/home/pi/CumulusMX/web/realtimegauges.txt
/home/pi/CumulusMX/web/solardata.json
/home/pi/CumulusMX/web/sunhours.json
/home/pi/CumulusMX/web/tempdata.json
/home/pi/CumulusMX/web/wdirdata.json
/home/pi/CumulusMX/web/winddata.json

Code: Select all

REMOTE FILENAME
CMX/dailyrain.json
CMX/dailytemp.json
CMX/graphconfig.json
CMX/humdata.json
CMX/pressdata.json
CMX/raindata.json
CMX/realtime.txt
CMX/realtimegauges.txt
CMX/solardata.json
CMX/sunhours.json
CMX/tempdata.json
CMX/wdirdata.json
CMX/winddata.json
With REALTIME and FTP ticked?
Image
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

I am beginning to miss the point here.

Will the website be on free.fr or on the raspberry?
If I understand it well, it will be on free.fr. That means the files are already there namely in the

Code: Select all

/CumulusMX
directory (see for yourself). In my view you have the following options:
  1. You keep the old site and place cutils' website beside it on the /CMX directory. As it is the same domain you just have to set

    Code: Select all

    CumulusRealTimeLocation=../CMX/
    and you are done.
  2. If you do not want to keep the old site, just change the location in CMX for the realtime files and everything will be copied to the right place. You then have to set nothing because the default for the website is to find the realtime files in the website root.
I think the confusion here is that @stef492 is not creating his site on the same machine as CMX, but on a real free.fr outside domain.
Or am I missing something?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
stef942
Posts: 43
Joined: Mon 19 Oct 2009 8:17 pm
Weather Station: WMR200
Operating System: raspi3
Location: France-oise

Re: For New Users

Post by stef942 »

hi, no its the same machine (pi) , i want to keep the original site as backup, that why i use and other folder for cumulus utils, all realtime files are in th original CumulusMX folder on the server


Image
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

That is very confusing, publishing a site on free.fr and then that NOT being the site you want support on. And by giving the name CumulusMX to the directory of the original site you add to the confusion. But anyway, you can run the CumulusUtils generated website on free.fr without disturbing the original site. Just put it on a different directory (e.g. CUtils or CMX or whatever).

Earlier in this thread you gave the address of the CUtils site as http://stef942.free.fr/CMX/. Could you be clear about where you want the site to go?

So I think you want the original site here: http://stef942.free.fr/CumulusMX/ and the CUtils generated site here: http://stef942.free.fr/CMX/
Can you confirm this or do you really want to have the site on the Raspberry (requiring a WebServer btw)?
And if all realtime files are in the CumulusMX directory on the server, then just set

Code: Select all

CumulusRealTimeLocation=../CumulusMX
and have the files generated to free.fr/CMX/

CumulusUtils MUST run in the CumulusMX directory (on the Cumulus machine, not confused with the site?) It will not get confused with any other site because all output is written to the utils directory from where it is brought to the site (automatically or manually). It is a website generator, not a website. CumulusUtils only has the executable and the inifile in the CumlusMX directory on the machine where CumulusMX runs (which is not the website). Output is written to the subdirectory utils.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

I had totally missed CumulusRealTimeLocation, sorry :bash: :!:
@stef942: No need for symlinks or Extra web files :D
Image
stef942
Posts: 43
Joined: Mon 19 Oct 2009 8:17 pm
Weather Station: WMR200
Operating System: raspi3
Location: France-oise

Re: For New Users

Post by stef942 »

HansR wrote: Mon 09 Nov 2020 11:50 am
So I think you want the original site here: http://stef942.free.fr/CumulusMX/ and the CUtils generated site here: http://stef942.free.fr/CMX/
yes that's what i want
Last edited by stef942 on Mon 09 Nov 2020 12:46 pm, edited 2 times in total.
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
Post Reply