Extra Sensors: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
mNo edit summary
A structure is created for each sensor present. Each AirQuality sensor is automatically coupled with an AirQualityAvg sensor (which is not a physical sensor by itself) for presentation. For each CO2 sensor all seven successive sensors (see strings.ini) are also created.
 
With the list of sensors the extrasensorsrealtime.txt is generated, followed by extrasensors.txt (the code) and the charts are added to CutilsCharts.def. The actuallast chartsline code is generated byof the compiler.userdefined The compiler runs implicitly when generating the website. Otherwise it has to be run separately when ExtraSensorscharts is run on its own and regeneration of the charts code would be required (e.g. when adding a sensor). The command then would be:
; ExtraSensorCharts
After this line no changes may be made. This line marks the beginning of the ''Extra Sensor Chart definitions''.
The actual charts code is generated by the compiler. The compiler runs implicitly when generating the website. Otherwise it has to be run separately when ExtraSensors is run on its own and regeneration of the charts code would be required (e.g. when adding a sensor). The command then would be:
utils/cumulusutils.exe ExtraSensors CompileOnly
 

Navigation menu