1
0
mirror of https://github.com/agdsn/ancient-weatherstation.git synced 2026-06-19 23:07:59 +00:00

xml output added

git-svn-id: file:///home/jan/tmp/wetterstation/trunk@233 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
jan
2007-11-27 19:05:22 +00:00
parent 3e39cafa52
commit 470f2cf92c
12 changed files with 277 additions and 5 deletions
@@ -0,0 +1,45 @@
<Humidity>
<SensorId>{content:fill:sens_id}</SensorId>
<Location>{content:fill:sens_location}</Location>
<Description>{content:fill:sens_description}</Description>
<Now>
<Value>{content:fill:hum_now_val}</Value>
<Date>{content:fill:hum_now_date}</Date>
</Now>
<Average>
<Value>{content:fill:hum_av_value}</Value>
<Interval>{content:fill:hum_av_interval}</Interval>
</Average>
<Changing>
<Value>{content:fill:hum_changing}</Value>
</Changing>
<BoundMin>
<Value>{content:fill:hum_max_val}</Value>
<Date>{content:fill:hum_max_date}</Date>
</BoundMin>
<BoundMax>
<Value>{content:fill:hum_min_val}</Value>
<Date>{content:fill:hum_min_date}</Date>
</BoundMax>
<Charts>
<Chart>
<Type>hum</Type>
<Description>Luftfeuchtediagramm Sensor {content:fill:sens_id} - 30 Tage</Description>
<Interval>10</Interval>
<Link>{content:addChartImgLink:hum_10}</Link>
</Chart>
<Chart>
<Type>hum</Type>
<Description>Luftfeuchtediagramm Sensor {content:fill:sens_id} - 30 Tage</Description>
<Interval>30</Interval>
<Link>{content:addChartImgLink:hum_30}</Link>
</Chart>
<Chart>
<Type>hum</Type>
<Description>Luftfeuchtediagramm Sensor {content:fill:sens_id} - 365 Tage</Description>
<Interval>365</Interval>
<Link>{content:addChartImgLink:hum_365}</Link>
</Chart>
</Charts>
</Humidity>
@@ -0,0 +1,46 @@
<Pressure>
<SensorId>{content:fill:sens_id}</SensorId>
<Location>{content:fill:sens_location}</Location>
<Description>{content:fill:sens_description}</Description>
<Now>
<Value>{content:fill:press_now_val}</Value>
<Date>{content:fill:press_now_date}</Date>
</Now>
<Average>
<Value>{content:fill:press_av_value}</Value>
<Interval>{content:fill:press_av_interval}</Interval>
</Average>
<Changing>
<Value>{content:fill:press_changing}</Value>
</Changing>
<BoundMin>
<Value>{content:fill:press_max_val}</Value>
<Date>{content:fill:press_max_date}</Date>
</BoundMin>
<BoundMax>
<Value>{content:fill:press_min_val}</Value>
<Date>{content:fill:press_min_date}</Date>
</BoundMax>
<Charts>
<Chart>
<Type>press</Type>
<Description>Luftdruckdiagramm Sensor {content:fill:sens_id} - 30 Tage</Description>
<Interval>10</Interval>
<Link>{content:addChartImgLink:press_10}</Link>
</Chart>
<Chart>
<Type>press</Type>
<Description>Luftdruckdiagramm Sensor {content:fill:sens_id} - 30 Tage</Description>
<Interval>30</Interval>
<Link>{content:addChartImgLink:press_30}</Link>
</Chart>
<Chart>
<Type>press</Type>
<Description>Luftdruckdiagramm Sensor {content:fill:sens_id} - 365 Tage</Description>
<Interval>365</Interval>
<Link>{content:addChartImgLink:press_365}</Link>
</Chart>
</Charts>
</Pressure>
@@ -0,0 +1,43 @@
<Rain>
<SensorId>{content:fill:sens_id}</SensorId>
<Location>{content:fill:sens_location}</Location>
<Description>{content:fill:sens_description}</Description>
<Value interval="hour">{content:fill:rain_now_hour}</Value>
<Value interval="day">{content:fill:rain_now_day}</Value>
<Value interval="month">{content:fill:rain_now_month}</Value>
<Max interval="hour">
<Date>{content:fill:rain_max_hour_date}</Date>
<Value>{content:fill:rain_max_hour_val}</Value>
</Max>
<Max interval="day">
<Date>{content:fill:rain_max_day_date}</Date>
<Value>{content:fill:rain_max_day_val}</Value>
</Max>
<Max interval="month">
<Date>{content:fill:rain_max_month_date}</Date>
<Value>{content:fill:rain_max_month_val}</Value>
</Max>
<Charts>
<Chart>
<Type>rain</Type>
<Description>Regendiagramm Sensor {content:fill:sens_id} - 30 Tage</Description>
<Interval>10</Interval>
<Link>{content:addChartImgLink:rain_10}</Link>
</Chart>
<Chart>
<Type>rain</Type>
<Description>Regendiagramm Sensor {content:fill:sens_id} - 30 Tage</Description>
<Interval>30</Interval>
<Link>{content:addChartImgLink:rain_30}</Link>
</Chart>
<Chart>
<Type>rain</Type>
<Description>Regendiagramm Sensor {content:fill:sens_id} - 365 Tage</Description>
<Interval>365</Interval>
<Link>{content:addChartImgLink:rain_365}</Link>
</Chart>
</Charts>
</Rain>
@@ -0,0 +1,45 @@
<Temperature>
<SensorId>{content:fill:sens_id}</SensorId>
<Location>{content:fill:sens_location}</Location>
<Description>{content:fill:sens_description}</Description>
<Now>
<Value>{content:fill:temp_now_val}</Value>
<Date>{content:fill:temp_now_date}</Date>
</Now>
<Average>
<Value>{content:fill:temp_av_value}</Value>
<Interval>{content:fill:temp_av_interval}</Interval>
</Average>
<Changing>
<Value>{content:fill:temp_changing}</Value>
</Changing>
<BoundMin>
<Value>{content:fill:temp_max_val}</Value>
<Date>{content:fill:temp_max_date}</Date>
</BoundMin>
<BoundMax>
<Value>{content:fill:temp_min_val}</Value>
<Date>{content:fill:temp_min_date}</Date>
</BoundMax>
<Charts>
<Chart>
<Type>temp</Type>
<Description>Temparaturdiagramm Sensor {content:fill:sens_id} - 30 Tage</Description>
<Interval>10</Interval>
<Link>{content:addChartImgLink:temp_10}</Link>
</Chart>
<Chart>
<Type>temp</Type>
<Description>Temparaturdiagramm Sensor {content:fill:sens_id} - 30 Tage</Description>
<Interval>30</Interval>
<Link>{content:addChartImgLink:temp_30}</Link>
</Chart>
<Chart>
<Type>temp</Type>
<Description>Temparaturdiagramm Sensor {content:fill:sens_id} - 365 Tage</Description>
<Interval>365</Interval>
<Link>{content:addChartImgLink:temp_365}</Link>
</Chart>
</Charts>
</Temperature>
@@ -0,0 +1,42 @@
<Wind>
<SensorId>{content:fill:sens_id}</SensorId>
<Location>{content:fill:sens_location}</Location>
<Description>{content:fill:sens_description}</Description>
<Now>
<Value>{content:fill:wind_now_val}</Value>
<Date>{content:fill:wind_now_date}</Date>
</Now>
<Average>
<Value>{content:fill:wind_av_value}</Value>
<Interval>{content:fill:wind_av_interval}</Interval>
</Average>
<Changing>
<Value>{content:fill:wind_changing}</Value>
</Changing>
<BoundMax>
<Value>{content:fill:wind_max_val}</Value>
<Date>{content:fill:wind_max_date}</Date>
</BoundMax>
<Charts>
<Chart>
<Type>wind</Type>
<Description>Winddiagramm Sensor {content:fill:sens_id} - 30 Tage</Description>
<Interval>10</Interval>
<Link>{content:addChartImgLink:wind_10}</Link>
</Chart>
<Chart>
<Type>wind</Type>
<Description>Winddiagramm Sensor {content:fill:sens_id} - 30 Tage</Description>
<Interval>30</Interval>
<Link>{content:addChartImgLink:wind_30}</Link>
</Chart>
<Chart>
<Type>wind</Type>
<Description>Winddiagramm Sensor {content:fill:sens_id} - 365 Tage</Description>
<Interval>365</Interval>
<Link>{content:addChartImgLink:wind_365}</Link>
</Chart>
</Charts>
</Wind>