Simple Website setup: Difference between revisions

m
no edit summary
mNo edit summary
Line 165: Line 165:
#*It has been set in both illustrated examples below to '''5''' minutes as that is quite good when you first start so you can see all your pages being updated frequently.  Typically people set this to 10 or 15 minutes on established sites. It is tempting to change this to 1 minute, but little is gained from this as on most web pages very few figures change that frequently.
#*It has been set in both illustrated examples below to '''5''' minutes as that is quite good when you first start so you can see all your pages being updated frequently.  Typically people set this to 10 or 15 minutes on established sites. It is tempting to change this to 1 minute, but little is gained from this as on most web pages very few figures change that frequently.
[[File:Web_settings.JPG | Left]](Left hand picture is Cumulus 1.x.y interface, right hand picture is Cumulus MX settings screen)[[File:Cumulus MX realtime settings.png |Right]]
[[File:Web_settings.JPG | Left]](Left hand picture is Cumulus 1.x.y interface, right hand picture is Cumulus MX settings screen)[[File:Cumulus MX realtime settings.png |Right]]
Next, click on the '''Files''' tab if you are using Cumulus 1, or within the "Settings" menu on Cumulus MX select '''Extra Files''':
What you do here depends on which Cumulus version you are using.
=== Cumulus 1 ===
{{Version badge 1}}
[[File:SimpleInternet-StandardTicks.png]]
Make sure both “Include Standard” Files and “Include Standard Images” are ticked in Cumulus 1.
You have now told Cumulus how to update your web space with the [[Customised_templates#The_Standard_Templates |Standard Cumulus Template]] files for the web.


=== Admin Interface: Settings Menu: Internet settings: '''Web/FTP settings'''  ===
=== Admin Interface: Settings Menu: Internet settings: '''Web/FTP settings'''  ===


[[File:Include graph data files.PNG|right]]
{{Version badge Mx}}[[File:Include graph data files.PNG|right]]
#Click on this heading to expand settings as per illustration.
#Click on this heading to expand settings as per illustration.
#''Auto update''
#''Auto update''
Line 188: Line 201:
#*Standard web pages are updated on the hour and every x minutes thereafter, where x is the number you enter here. Most people would choose 10, 15, 20, or 30, here depending how much uploading they want, and how up to date they want the displayed information to be.
#*Standard web pages are updated on the hour and every x minutes thereafter, where x is the number you enter here. Most people would choose 10, 15, 20, or 30, here depending how much uploading they want, and how up to date they want the displayed information to be.
#*As an aside, if you are not using the standard web pages, many [[:Category:User Contributions|third party]] web pages use ajax (don't worry about what that is) to allow some of the web page content to be updated far more frequently than the actual web pages get uploaded.
#*As an aside, if you are not using the standard web pages, many [[:Category:User Contributions|third party]] web pages use ajax (don't worry about what that is) to allow some of the web page content to be updated far more frequently than the actual web pages get uploaded.
#The realtime settings are only needed for the gauges page in the standard set up, and all should be ticked, with an interval selected dependent on how often your web station is able to send new readings to MX.
#The realtime settings are only needed for the gauges page and settings depend on your MX version.
 
== Optional Pseudo Real-Time Data ==
 
#As part of the Standard set-up you can request Cumulus to provide pseudo real-time data. The blue arrows in the illustration shows the relevant items for Cumulus 1 in the left hand drawing and for Cumulus MX in the right hand drawing.
##There are now three 'Enable...' boxes for Realtime;
##* if you want Cumulus to upload (at the real-time interval you choose) the ''realtime.txt'' file for the 'Flash' gauges on the standard Cumulus 1 gauges page, you need to '''tick all three boxes'''.  (In reality, the standard cumulus 1 web templates used in this Simple setup only include two ‘realtime’ elements to show wind speed and direction on the gauges page - it does not need the rest of the information in the file). 
##*For Cumulus MX, if you want Cumulus to upload (at the real-time interval you choose) the ''realtime.txt'' file, this requires all 3 boxes to be selected as shown in the right hand  illustration. 
##*If you are running Cumulus 1.x.y, and do not wish to provide real-time data, un-tick the 3 “Enable Realtime” boxes, and comment out the last two graphics on the 'gaugesT.htm' template.
##The next selection is the time Cumulus will wait after sending a burst of real-time information until it re-starts for producing another burst of real-time information.
##*In this example, '''90''' seconds.  Consider Real-time carefully -- firstly this impacts on your internet connection as Cumulus will update a very small file on your website every XX seconds.  Also, some weather stations only update Cumulus less often (e.g. The Fine OffSet stations are updating every 48 or 60 seconds) so a 15 second real-time update is wasteful and unnecessary.


== Determining which files are either uploaded by FTF to a remote web site or copied to a local web site ==
From build 3042, MX automatically uploads the realtimegauges.txt file.


Next, click on the '''Files''' tab if you are using Cumulus 1, or within the "Settings" menu on Cumulus MX select '''Extra Files''':
Note that the realtimegaugesT.txt file for MX is slightly different to the one for Cumulus 1, and it is important to use the one supplied with MX for MX.  
What you do here depends on which Cumulus version you are using.
 
=== Cumulus 1 ===
{{Version badge 1}}
 
 
[[File:SimpleInternet-StandardTicks.png]]
 
Make sure both “Include Standard” Files and “Include Standard Images” are ticked in Cumulus 1.
 
You have now told Cumulus how to update your web space with the [[Customised_templates#The_Standard_Templates |Standard Cumulus Template]] files for the web.
 
 
=== Cumulus MX ===
{{Version badge Mx}}
 
From build 3042, MX automatically uploads the realtimegauges.txt file. Note that the realtimegaugesT.txt file for MX is slightly different to the one for Cumulus 1, and it is important to use the one supplied with MX for MX.  


You have now told Cumulus how to update your web space with the [[Customised_templates#The_Standard_Templates |Standard Cumulus Template]] files for the web.
You have now told Cumulus how to update your web space with the [[Customised_templates#The_Standard_Templates |Standard Cumulus Template]] files for the web.
Line 238: Line 224:
#'UTF-8?' column
#'UTF-8?' column
#*This is irrelevant for this file.
#*This is irrelevant for this file.
== Optional Pseudo Real-Time Data ==
#As part of the Standard set-up you can request Cumulus to provide pseudo real-time data. The blue arrows in the illustration shows the relevant items for Cumulus 1 in the left hand drawing and for Cumulus MX in the right hand drawing.
##There are now three 'Enable...' boxes for Realtime;
##* if you want Cumulus to upload (at the real-time interval you choose) the ''realtime.txt'' file for the 'Flash' gauges on the standard Cumulus 1 gauges page, you need to '''tick all three boxes'''.  (In reality, the standard cumulus 1 web templates used in this Simple setup only include two ‘realtime’ elements to show wind speed and direction on the gauges page - it does not need the rest of the information in the file). 
##*For Cumulus MX, if you want Cumulus to upload (at the real-time interval you choose) the ''realtime.txt'' file, this requires all 3 boxes to be selected as shown in the right hand  illustration. 
##*If you are running Cumulus 1.x.y, and do not wish to provide real-time data, un-tick the 3 “Enable Realtime” boxes, and comment out the last two graphics on the 'gaugesT.htm' template.
##The next selection is the time Cumulus will wait after sending a burst of real-time information until it re-starts for producing another burst of real-time information.
##*In this example, '''90''' seconds.  Consider Real-time carefully -- firstly this impacts on your internet connection as Cumulus will update a very small file on your website every XX seconds.  Also, some weather stations only update Cumulus less often (e.g. The Fine OffSet stations are updating every 48 or 60 seconds) so a 15 second real-time update is wasteful and unnecessary.


== Testing ==
== Testing ==


# You can force an immediate web update to test your settings by, in File menu within Cumulus 1, clicking Web Update.
# This will display a window of progress as it uploads the necessary files to your web space (or show a failure message). (Within the Configuration menu, you can turn on 'FTP logging' for full diagnostics).
#* Once completed the Cumulus 1 progress display will end with “Logging Out” and you can close the window.


Both Cumulus 1.x.y, and Cumulus MX, while running should create the 9 standard web pages in the local 'web' sub-directory, and upload these to the web space by FTP.  
# You can force an immediate web update to test your settings by clicking  '''FTP now''' in MX found at the bottom of the settings menu,, it simply returns a message there when it has run.
*Cumulus 1.x.y should also upload by FTP a moon image (moon.bmp), the 3 images wind images (compass.png, windgauge.png, windrose.png) as seen on Cumulus main screen, and graphs for 'trends.htm' page (hum.png, humsm.png, intemp.png, intempsm.png, press.png, presssm.png, rain.png, rainsm.png, raind.png, raindsm.png, raint.png, raintsm.png, temp.png tempsm.png, tempm.png, and tempmsm.png; optionally depending on settings it also uploads  solar.png, solarsm.png, sunshine.png, sunshinesm.png, uv.png, and uvsm.png) from the 'web\images' sub-directory to the 'images' folder on your web space.  
#* The equivalent is in File menu within Cumulus 1, clicking '''Web Update''' there.
*Cumulus MX should also upload by FTP eleven .json files that Cumulus MX creates in the top level directory (that is, the one it's been installed in), for the graphs ("graphconfig.json", "tempdata.json", "pressdata.json", "winddata.json", "wdirdata.json", "humdata.json", "raindata.json", "solardata.json", "dailyrain.json", "sunhours.json", "dailytemp.json").
#*# In Cumulus 1 this will display a window of progress as it uploads the necessary files to your web space (or show a failure message). (Within the Configuration menu, you can turn on 'FTP logging' for full diagnostics).
#*# Once completed the Cumulus 1 progress display will end with “Logging Out” and you can close the window.
 
Both Cumulus 1.x.y, and Cumulus MX, while running should create the 9 standard web pages in the local 'web' sub-directory, and upload these to the web space by FTP.
*Cumulus 1.x.y should upload by FTP:
** a moon image (moon.bmp),  
**the 3 images wind images (compass.png, windgauge.png, windrose.png) as seen on Cumulus main screen,  
**and graphs for 'trends.htm' page (hum.png, humsm.png, intemp.png, intempsm.png, press.png, presssm.png, rain.png, rainsm.png, raind.png, raindsm.png, raint.png, raintsm.png, temp.png tempsm.png, tempm.png, and tempmsm.png;  
**optionally depending on settings it also uploads  solar.png, solarsm.png, sunshine.png, sunshinesm.png, uv.png, and uvsm.png) from the 'web\images' sub-directory to the 'images' folder on your web space.  
*Cumulus MX should also upload by FTP a total of 22 files:
** a moon image (moon.png)
**9 standard web pages
**realtimegauges.txt
**11 .json files that Cumulus MX creates in the top level directory (that is, the one it's been installed in), for the graphs ("graphconfig.json", "tempdata.json", "pressdata.json", "winddata.json", "wdirdata.json", "humdata.json", "raindata.json", "solardata.json", "dailyrain.json", "sunhours.json", "dailytemp.json").
 


Apart from the differences in the user interface, and the differences in web pages for 'gauges.htm' and 'trends.htm', both versions of Cumulus generate the same web pages. When looking at the uploaded web pages using a browser, both can be tested in the same way.  
Apart from the differences in the user interface, and the differences in web pages for 'gauges.htm' and 'trends.htm', both versions of Cumulus generate the same web pages. When looking at the uploaded web pages using a browser, both can be tested in the same way.  
5,838

edits