Standard log files: Difference between revisions

m
Line 72: Line 72:
You can see [[#Manipulation outside Cumulus]] below for more information.
You can see [[#Manipulation outside Cumulus]] below for more information.


== Accessing standard log file in admin interface of Cumulus MX ==
== The viewing and editing web page in admin interface of Cumulus MX ==


In the admin interface, there is a "Data Logs" tab, from it  select ''Data logs''.
In the admin interface, there is a "Data Logs" tab, from it  select ''Data logs''.
=== The viewing and editing web page ===
*On this screen,you see a box for selecting the log you want to display. The default month and year (shown on loading the web page) is taken from yesterday's date. No log is loaded at start up. You can '''either''' type in a period (one or two digit representing month, then hyphen, then four digits representing year) '''or''' select year then month in the data picker (this is produced by the bootstrap software MX uses, it is not the date picker provided by your browser), when you click on the month the box is updated with selected period.
*On this screen,you see a box for selecting the log you want to display. The default month and year (shown on loading the web page) is taken from yesterday's date. No log is loaded at start up. You can '''either''' type in a period (one or two digit representing month, then hyphen, then four digits representing year) '''or''' select year then month in the data picker (this is produced by the bootstrap software MX uses, it is not the date picker provided by your browser), when you click on the month the box is updated with selected period.
* Next to it is a "Load" button. Press it and the Cumulus MX engine will generate an application programming interface (api) table that will appear on the web page using dataTables software. There is a "Refresh" button, for when you want that api to refresh the table (without reloading the whole page).  
* Next to it is a "Load" button. Press it and the Cumulus MX engine will generate an application programming interface (api) table that will appear on the web page using dataTables software. There is a "Refresh" button, for when you want that api to refresh the table (without reloading the whole page).  


==== Pagination ====
=== Pagination ===


The table generated is paginated, it shows ten lines at a time, and there are arrow icons to move to next, and back to previous page.  
The table generated is paginated, it shows ten lines at a time, and there are arrow icons to move to next, and back to previous page.  


==== Deleting a line ====
=== Deleting a line ===


When you click on any single line, two extra buttons (for editing that line and for deleting that line) are enabled. The '''Delete a line''' button brings up what the editing software calls a modal, a pop up dialog where you see the fields on that row listed vertically and have two more buttons (Cancel and Delete) with obvious consequences.
When you click on any single line, two extra buttons (for editing that line and for deleting that line) are enabled. The '''Delete a line''' button brings up what the editing software calls a modal, a pop up dialog where you see the fields on that row listed vertically and have two more buttons (Cancel and Delete) with obvious consequences.


==== How to edit a line ====
=== Editing a line ===


==== The Edit Modal ====


*When you select a line,  two extra buttons (for editing that line and for deleting that line) are enabled
*When you select a line,  two extra buttons (for editing that line and for deleting that line) are enabled
Line 100: Line 98:
*## Clicking anywhere outside the dialog
*## Clicking anywhere outside the dialog


==== Derived Fields ====
It must be remembered that the standard log file contains some fields that are directly read from your weather station and some that are derived from those readings. Consequently, if you edit:
It must be remembered that the standard log file contains some fields that are directly read from your weather station and some that are derived from those readings. Consequently, if you edit:
#Temperature
#Temperature
Line 114: Line 113:
*Rain counter
*Rain counter
*Feels like temperature
*Feels like temperature
==== First time you edit a line ====
==== Second time you edit same line ====


=== Problems ===
=== Problems ===
5,838

edits