Page 1 of 1
Meteobridge Client -- Graphs in Metric
Posted: Fri Aug 16, 2013 10:05 pm
by RickNY
Im using Meteobridge as the Meteoplug client. When I view any of the graphs, they are in metric format. How do I easily make them show up with imperial units?
Thanks,
Rick
Re: Meteobridge Client -- Graphs in Metric
Posted: Sat Aug 17, 2013 7:41 am
by admin
This will need you to change the graph definition.
As anexample, there is a definition called "*t"
Code: Select all
timeframe=1D # set total time frame of today
zoom=MAX # select actual day
gtitle=Temp/Hum # name of graph
gheight=450 # height in pixels of graph
gwidth=700 # width in pixels of graph
glunit=°C # unit of left y-axis
grunit=% # unit of right y-axis
gtype=line # type of graph
gtrim=0
sid0=th* sname0=temp ssel0=temp # sensor 0, temperature
sid1=th* sname1=dew ssel1=dew # sensor 1, dew point
sid2=th* syaxis2=r sname2=hum ssel2=hum # sensor 2, humidity
# sid3=wind* sname3=chill ssel3=chill
# sid4=th* sname4=heat ssel4=heat
When you want imperial units, you change lines to
and
Code: Select all
sid0=th* sname0=temp ssel0=temp sfactor0=1.8 soffset0=32 # sensor 0, temperature
sid1=th* sname1=dew ssel1=dew sfactor1=1.8 soffset1=32 # sensor 1, dew point
That applies formular °F = (°C x 1.8°) + 32° to temp and dew.