Done the revert ,

Just copied the whole units settings from your link, only updated on HTML_root with /var/www/html/weewx/belchertown

Now the settings are :

[[StandardReport]]
        # See the customizing guide to change the units, plot types and line         # colors, modify the fonts, display additional sensor data, and other         # customizations. Many of those changes can be made here by overriding
        # parameters, or by modifying templates within the skin itself.

        # The StandardReport uses the 'Standard' skin, which contains the
        # images, templates and plots for the report.
        skin = Standard
        [[[Units]]]
            [[[[Groups]]]]
                group_altitude = meter
                group_speed2 = meter_per_second2
                group_pressure = mbar
                group_rain = mm
                group_rainrate = mm_per_hour
                group_temperature = degree_C
                group_degree_day = degree_C_day
                group_speed = meter_per_second

    [[Belchertown]]
            skin = Belchertown
            HTML_ROOT = /var/www/html/weewx/belchertown
            [[[Units]]]
                [[[[Groups]]]]
                group_altitude = meter
                    group_degree_day = degree_C_day
                    group_pressure = mbar
                    group_rain = mm
                    group_rainrate = mm_per_hour
                    group_speed = meter_per_second
                    group_speed2 = meter_per_second2
                    group_temperature = degree_C
        [[[Extras]]]
                earthquake_enabled = 1
            forecast_enabled = 1
                darksky_secret_key = "e5cc045c0bd4853f885e24683cbc5f7a"
            site_title = "Home, sweet home"
            radar_html =""

    [[Highcharts_Belchertown]]
            skin = Highcharts_Belchertown
            HTML_ROOT = /var/www/html/weewx/belchertown
            [[[Units]]]
            [[[[Groups]]]]
                    group_altitude = meter
                    group_degree_day = degree_C_day
                    group_pressure = mbar
                    group_rain = mm
                    group_rainrate = mm_per_hour
                    group_speed = meter_per_second
                    group_speed2 = meter_per_second2
                    group_temperature = degree_C
 but still no effect .  Also in records at "Largest Daily temperature range " and "Smallest ..." the values are in F

About auto refresh I don't know exactly what file contains the index.html template to add the meta tag . there are many index.html :)

On Mqtt I was using Mqtt to publish the values to a broker before using Belchertown with the standard skin

Thank for help
Paul
On 18/09/2018 19:48, Pat wrote:
I'd say revert your changes and follow the guide here on how to setup Metric <https://github.com/poblabs/weewx-belchertown#using-metric>. It's working for others, so I think you have something off a little somewhere with the config.

For refreshing, there's 2 options:

1. You can use David's meta refresh code to refresh the page. The content="30" is in seconds. You may want something like 300 seconds refresh. 2. Or you can setup MQTT if you want real time updates <https://github.com/poblabs/weewx-belchertown#mqtt-optional>. Getting everything setup with MQTT isn't covered on the setup guide, but I'm working on another guide that can help.


On Tuesday, September 18, 2018 at 11:01:01 AM UTC-4, Paul Lacatus wrote:

    I have tried to change it in
    /etc/weewx/skins/Highcharts_Belchertown/skin.conf and
    /etc/weewx/skins/Belchertown/skin.conf to [Units] [[Groups]]

    group_temperature  = degree_C

    but still the Today temperature  trend is in imperial units and
    all others are in metric . Even on the Y axis the unit is written
    degree Celsius but the values are in Fahrenheit

    you can check :
    http://www.paul-lacatus.ro:8881/weewx/belchertown/
    <http://www.paul-lacatus.ro:8881/weewx/belchertown/>

    Other question : is possible to generate a Html code to force the
    Browser to update on the page update ? I am using an android
    tablet with Chrome browser to show the weews/belchertown page and
    for Android chrome is not trivial to force an autoupdate

    Thank you  all
    Paul


    On 15-Sep-18 00:04, Colin Larsen wrote:

        Better to do it in the weewx.conf then it isn't overwritten by
        updates

        On Sat, 15 Sep 2018, 08:58 Juan Antonio Mosquera,
        <juananton...@juanantoniomosquera.com <javascript:>> wrote:

            You have  to modify skin.conf of highcharts template.

            Greetings.

            El viernes, 14 de septiembre de 2018, 18:10:09 (UTC+2),
            Paul Lacatus escribió:

                Maybe I just missed the explanation on HighCharts. 
                Still some strange things on temperature charts .
                Maybe I have to wait more for graphs updates.  In home
                page the indication on the graph are in Celsius but
                the values are in Fahrenheit .  The same in Today graphs

                On 14-Sep-18 18:50, Pat wrote:

                    Don't forget to restart weewx once done

                    On Friday, September 14, 2018 at 11:46:56 AM
                    UTC-4, Pat wrote:

                        I thought I had updated the docs - guess I
                        forgot.

                        Please add the metric updates to the
                        Highcharts_Belchertown skin section in
                        weewx.conf too.

                        On Friday, September 14, 2018 at 11:39:09 AM
                        UTC-4, Paul Lacatus wrote:

                            Dear Pat,

    ...

--
You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com <mailto:weewx-user+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to