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 4019) - 03 April 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

For New Users

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

stef942 wrote: Sat 07 Nov 2020 10:55 am Thank you for your help, dont be sorry, me im sorry to be still so noob :bash:
Don't worry, no problem, we've all been there.
stef942 wrote: Sat 07 Nov 2020 10:55 am so now this is cumulusutils.ini :
OK, we're getting there:

Code: Select all

[Maps]
Website=
fill in the website with which you want to be on the map (I suggest your CumulusUtils website URL).
Rerun CumulusUtils and it should work.

This is assuming your provider accepts plain FTP. If it does not, you will have to move the output of cumulusutils manually (see the manual).
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 »

Hello,

so..it's half working... :mrgreen: i got the page, history,graphs,etc.. but not the realtime datas

http://stef942.free.fr/CMX/

Does it have to see with realtimedata.txt location as im uploading from a different directory?


cumulusutils.ini :

Code: Select all

[General]
Language=en-GB
IgnoreDataErrors=true
GeneratejQueryInclude=true

[Thrifty]
Top10RecordsPeriod=1
RainGraphsPeriod=1
TempGraphsPeriod=1
WindGraphsPeriod=1
SolarGraphsPeriod=1
MiscGraphsPeriod=1
MapsPeriod=1

[Website]
ShowSolar=true
ShowUV=true
GoogleStatsId=
PermitGoogleOptout=false
ColorMenuBackground=Lightgrey
ColorMenuText=Black
ColorToggler=Black
ColorDropdownMenuBackground=Lightgrey
ColorDropdownMenuText=Black
ColorDropdownMenuHoverBackground=Silver
ColorDropdownMenuHoverText=Black
ColorTitleBar=#E87510
ColorTitleText=White
ColorTitleBackGroundImage=
ColorDashboardCellTitleBarBackground=#C5C55B
ColorDashboardCellTitleBarText=White
ColorDashboardCellText=Black
ColorDashboardCellBackground=White
ColorReportviewText=Black
ColorReportviewBackground=White
ColorReportviewTableData=Black
ColorFooterLink=#E87510
ColorFooterLinkHover=OrangeRed
ColorFooterBackground=lightgrey
ColorFooterText=Black
ColorBodyBackground=white
HeaderLeftText=
SiteTitleAddition=
HeaderRightText=
CumulusRealTimeInterval=15
CumulusRealTimeLocation=/
ColorDashboardTextAccent=Chartreuse
ColorDashboardUpIndicator=Chartreuse
ColorDashboardDownIndicator=Red
ShowInsideMeasurements=false
SteelseriesRainUseSectionColours=false
SteelseriesRainUseGradientColours=true
SteelseriesDirAvgPointertype=TYPE3
SteelseriesDirAvgPointerColour=BLUE
SteelseriesFramedesign=SHINY_METAL
SteelseriesBackgroundColor=BROWN
SteelseriesPointerColour=RED
SteelseriesPointerType=TYPE3
SteelseriesLcdColour=ORANGE
SteelseriesForegroundType=TYPE1
SteelseriesKnobType=STANDARD_KNOB
SteelseriesKnobStyle=SILVER
ThresholdTempVisible=false
ThresholdTempValue=30
ThresholdHumidityVisible=false
ThresholdHumidityValue=80
ThresholdWindVisible=false
ThresholdWindValue=50
ThresholdRainVisible=false
ThresholdRainValue=5
ThresholdRRateVisible=false
ThresholdRRateValue=10
ThresholdUVVisible=false
ThresholdUVValue=10
HomeGraphTempColor=#058DC7
HomeGraphDewPointColor=#50B432
HomeGraphApparentTempColor=#ED561B
HomeGraphFeelsLikeColor=#DDDF00
HomeGraphWindChillColor=#24CBE5
HomeGraphHeatIndexColor=#64E572
HomeGraphHumidexColor=#FF9655
HomeGraphInsideTempColor=#6AF9C4
HomeGraphPressureColor=#058DC7
HomeGraphBearingColor=#058DC7
HomeGraphAverageBearingColor=#ED561B
HomeGraphWindSpeedColor=#058DC7
HomeGraphWindGustColor=#ED561B
HomeGraphRainfallColor1=#50B432
HomeGraphRainfallColor2=
HomeGraphRainfallColor3=
HomeGraphRainRateColor=#058DC7
HomeGraphHumidityColor=#058DC7
HomeGraphInsideHumidityColor=#50B432
HomeGraphSolarTheoreticalMaxColor1=#DDDF00
HomeGraphSolarTheoreticalMaxColor2=
HomeGraphSolarTheoreticalMaxColor3=
HomeGraphSolarRadiationColor1=#FF9655
HomeGraphSolarRadiationColor2=
HomeGraphSolarRadiationColor3=
HomeGraphUVindexColor=#058DC7
HomeGraphSunHoursColor=gold
HomeGraphDailyRainColor=#058DC7
HomeGraphDailyTempAverageColor=#50B432
HomeGraphDailyTempMinColor=#058DC7
HomeGraphDailyTempMaxColor=#ED561B

[SysInfo]
ReportWidth=700

[Maps]
Website=stef942.free.fr

[StationMap]
StationMapMenu=true
ArrowLatitude=49.1067
ArrowLongitude=2.6831
CompassRoseType=1
WindArrowType=1
CompassRosePosition=topright
Zoomlevel=13

[Forecasts]
ForecastSystem=SPOTWX

[pwsFWI]
Analyse=30
WarningLevel=5
ResultFormat=Standard
FireImage=true
predictionURL=
CurrentIndexFormat=Standard
CurrentPwsFWI=<span id='CurrentPwsFWI' style="border: 1px solid black;text-align:center;background:green;color: white"> &nbsp;65.7&nbsp;pwsFWI</span>

[Graphs]
WindrunClassWidth=75
DailyRain=true
MonthlyRain=true
YearRainstats=true
YearMonthRainstats=true
MonthlyTemp=true
YearTempstats=true
YearMonthTempstats=true
WarmerDays=true
HeatMap=true
Windrun=true
WindRose=true
SolarHours=true
SolarHoursYearMonth=true
SolarEnergy=true
SolarEnergyYearMonth=true
DailyEVT=true
MonthlyEVT=true
AverageClash=false
WindRoseNrOfWindforceClasses=6
WindRoseMaxWindSpeed=60
UseHighchartsBoostModule=true
PeriodMovingAverage=180
GraphColors=['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4']
UseNormalRainReference=Normal
MaxNrOfSeriesVisibileInGraph=2
UseNormalTempReference=Normal
WindRoseColors=['lightgrey', 'green', 'blue', 'yellow', 'orange', 'red', 'deeppink', 'purple', 'black']
WindRoseInversed=false

[Top10]
BackgroundColorHeader=#d0d0d0
BackgroundColorTable=#f0f0f0
TextColorAccentTable=DarkOrange
TextColorHeader=Green
NumberOfColumns=3

[NOAA]
FTPDirectory=./reports/
StartInCurrentMonth=true
ColorNOAAText=Black
ColorNOAABackground=#f9f8EB

[FTP site]
DoUploadFTP=true
UploadDir=/CMX
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

OK, looks good.

Indeed it does not see the realtime.txt and the realtimegauges.txt.
Those two files are uploaded by CumulusMX. The location is determined by the Web/FTP site settings in CMX. That is where the directory is defined. Normally that would be the website root. If you have only one website - i.e. the CumulusUtils generated site - you would give the /CMX/ directory in CMX as the location to dump the realtime (and graphics JSON) files.

However if you have more websites (e.g. you have already the original CMX standard website) and you want to keep both, you have to tell CumulusUtils where it can find the realtime files. For this purpose in the cumulusutils.ini file you will find in section [Website] the parameter

Code: Select all

CumulusRealTimeLocation=/
That is where you enter the location of the realtime files relative to the website root from an FTP view. This may differ for each provider. So it can be

Code: Select all

/
But it might just as well be anywhere as long as it is on the same domain (see also the manual).

Good Luck
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: 516
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 »

Running nginx on my ASUS thinker board
I do have these sym link in cumulusutils folder, weather3 is the CumulusMX folder

Code: Select all

dailyrain.json -> ../weather3/dailyrain.json
dailytemp.json -> ../weather3/dailytemp.json
graphconfig.json -> ../weather3/graphconfig.json
humdata.json -> ../weather3/humdata.json
pressdata.json -> ../weather3/pressdata.json
raindata.json -> ../weather3/raindata.json
realtime.txt -> ../weather3/realtime.txt
realtimegauges.txt -> ../weather3/realtimegauges.txt
solardata.json -> ../weather3/solardata.json
sunhours.json -> ../weather3/sunhours.json
tempdata.json -> ../weather3/tempdata.json
wdirdata.json -> ../weather3/wdirdata.json
winddata.json -> ../weather3/winddata.json
Do you have ssh access to your web server?
Image
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

Ah yes, that's true. @rogerthn had a very nice unix sym link solution. :clap:
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 »

never tried, only with filezilla
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
User avatar
rogerthn
Posts: 516
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 able to access the web server with ssh e.g. using PuTTY
cd into the CMX folder (http://stef942.free.fr/CMX/)

Code: Select all

ln -s ../CumulusMX/dailyrain.json
ln -s ../CumulusMX/dailytemp.json
ln -s ../CumulusMX/graphconfig.json
ln -s ../CumulusMX/humdata.json
ln -s ../CumulusMX/pressdata.json
ln -s ../CumulusMX/raindata.json
ln -s ../CumulusMX/realtime.txt
ln -s ../CumulusMX/realtimegauges.txt
ln -s ../CumulusMX/tempdata.json
ln -s ../CumulusMX/wdirdata.json
ln -s ../CumulusMX/winddata.json
No solar i.e. no can skip solardata.json and sunhours.json
Image
User avatar
rogerthn
Posts: 516
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 »

Looks like port 22 isn't open :|

Code: Select all

nmap stef942.free.fr
.......
Not shown: 998 filtered ports
PORT   STATE SERVICE
21/tcp open  ftp
80/tcp open  http
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 »

not able to access free personal pages via ssh :(
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
User avatar
rogerthn
Posts: 516
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 »

stef942 wrote: Sun 08 Nov 2020 3:43 pm not able to access free personal pages via ssh :(
That's what nmap did tell me :( :(
Are you able to ftp from the raspberry?

Code: Select all

sudo apt install lftp
HOST="stef942.free.fr"
USER="YourUserName"
PASS="YourPassword"
FTPURL="ftp://$USER:$PASS@$HOST"
lftp -c "set ftp:list-options -a;
open '$FTPURL';
ls"
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 try
Last edited by stef942 on Sun 08 Nov 2020 4:50 pm, edited 1 time in total.
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
User avatar
rogerthn
Posts: 516
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 »

Good
Now extend lftp to verify that we are in the CMX folder

Code: Select all

HOST="stef942.free.fr"
USER="YourUserName"
PASS="YourPassword"
FTPURL="ftp://$USER:$PASS@$HOST"
LCD="/home/pi/CumulusMX"
RCD="CMX"
lftp -c "set ftp:list-options -a;
open '$FTPURL';
ls"
Do you see the cumulusutils files?
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 when i type ls it says :
open: .free.fr: Name or service not know
ls: Not connected
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
User avatar
rogerthn
Posts: 516
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 »

Paste as below with your username and password including the final <ENTER>

Code: Select all

HOST="stef942.free.fr"
USER="YourUserName"
PASS="YourPassword"
FTPURL="ftp://$USER:$PASS@$HOST"
LCD="/home/pi/CumulusMX"
RCD="CMX"
lftp -c "set ftp:list-options -a;
open '$FTPURL';
ls"

This should give you something?
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 »

yes it works i see all the files
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
Post Reply