Page 1 of 1

Units for pop-up graphs

Posted: Thu 22 Dec 2016 6:34 am
by jmfernandezz
Hello,
I am new with this skin and I have some problems to configure. I have installed in a Raspi with Weewx software.
I would like to configure the units for pop-up graphs in metrics. Actually, the gauges shows data in C, mbar, mm, etc... but the pop-up shows the graphs in F, inHg, etc...
How can I change these units?
Thank you and best regrads,

Re: Units for pop-up graphs

Posted: Thu 22 Dec 2016 2:36 pm
by mcrossley
The gauges code does not create the graphs - they must be coming from weewx?

Re: Units for pop-up graphs

Posted: Thu 22 Dec 2016 5:55 pm
by jmfernandezz
This is confusing for me.
I have configured Weewx with SU units (weewx.conf------target_unit = US).
Then, the Standard skin (skin.conf) is configured in order to write in metric units (I suppose skin.conf does the unit conversion):

[Units]
# This section is for managing the selection and formatting of units.

[[Groups]]
# For each group of measurements, this section sets what units to
# use for it.
# NB: The unit is always in the singular. I.e., 'mile_per_hour',
# NOT 'miles_per_hour'

group_altitude = meter # Options are 'foot' or 'meter'
group_degree_day = degree_C_day # Options are 'degree_F_day' or 'degree_C_day'
group_direction = degree_compass
group_moisture = centibar
group_percent = percent
................


I thought it would be similar in the skin of Steelseries. But skin.conf of Steelseries does not have a specific section for units

In another hand, Weewx generates two graphs for each parameter, one according Standard Skin and another for Steel skin. For example, I have to graphs for barometer:
- For Standard skin in "hPa" (according to skin.conf of Standard skin).
- For Steelseries skin in "inHg".

I am not sure what's wrong.
Any suggestion?

Thank you and best regards

Re: Units for pop-up graphs

Posted: Fri 23 Dec 2016 11:48 am
by mcrossley
No sorry, I think you'd be better asking on the weewx forum

Re: Units for pop-up graphs

Posted: Fri 23 Dec 2016 11:56 am
by jmfernandezz
Finally I have resolved the problem. I have included in the skin.conf of Steel the same section for units of the skin of Stabdard:
[Units]
# This section is for managing the selection and formatting of units.

[[Groups]]
# For each group of measurements, this section sets what units to
# use for it.
# NB: The unit is always in the singular. I.e., 'mile_per_hour',
# NOT 'miles_per_hour'

group_altitude = meter # Options are 'foot' or 'meter'
group_degree_day = degree_C_day # Options are 'degree_F_day' or 'degree_C_day'
group_direction = degree_compass
group_moisture = centibar
group_percent = percent
................

Thanks,