Thanks for your much appreciated assistance!

I would not dare to change someting deep in de system like in 
/weewx/skins/Belchetown/js/belchertown.js.tmpl. Nevertheless and on your 
advice, I checked line 839 and it is exactly as you mentioned.

In /weewx/skins/Belchertown/skin.conf I have these Dutch terms:

        header_last_updated         = Laatste update
        mqtt_websockets_connecting  = Verbinden met weerstation,
        mqtt_websockets_waiting     = Verbonden, wacht op data.
        mqtt_websockets_connected   = Verbonden met weerstation,
        mqtt_websockets_stopped     = Updates zijn gestopt
        mqtt_websockets_continue    = Updates hervatten
        mqtt_websockets_failed      = Verbinding verbroken
        mqtt_websockets_lost        = Verbinding verbroken

In weewx.conf the term '...websockets...' was not found.  





Op zondag 24 mei 2020 20:03:47 UTC+2 schreef Jacques Terrettaz:
>
> The text is defined by the variable *mqtt_websockets_connected * in 
> skin.conf.
>
> If it does not correspond, check your skin.conf as well as your weewx.conf 
> to be sure that you have not the variable   *mqtt_websockets_connected  
> *defined 
> also elsewhere*.*
> If you have changed something in the template 
> weewx/skins/Belchetown/js/belchertown.js.tmpl, verify that the line 839 is :
>
> updated_text = "$obs.label.mqtt_websockets_connected " + updated;
>  
>
> Le dimanche 24 mai 2020 19:38:27 UTC+2, Keimpe Bleeker a écrit :
>>
>> Thank you so much Jacques Terrettaz, you have solved my time-issue; it 
>> seems that I have spoiled a variable!
>>
>> Last issue is to get the text 'Connected to weather station live. Data 
>> received <date, time>' up and running. 
>>
>>
>> [image: Brackets_24052020.jpg]
>> As you can see on the screencap, I only get (in Dutch) 'Connected to 
>> weatherstation' between brackets and single quotes...
>>
>>
>>
>>
>> Op zondag 24 mei 2020 10:13:36 UTC+2 schreef Jacques Terrettaz:
>>>
>>> I think I have found the problem :
>>>
>>> In your first post I see :
>>>
>>>     # moment.js default labels formats
>>>         time_earthquake                                        = "LLL"
>>>         time_lastUpdated                                       = "LL, 
>>> LTS"
>>>         time_snapshot_records_today_header      = "dddd, LL"
>>>         time_snapshot_records_month_header     = "MMMM YYYY"
>>>         ...
>>>
>>> You should replace 
>>>  time_lastUpdated by time_last_updated :
>>>
>>>  # moment.js default labels formats
>>>         time_earthquake                                        = "LLL"
>>>         *time_last_updated  *                                     = 
>>> "LL, LTS"
>>>         time_snapshot_records_today_header      = "dddd, LL"
>>>         time_snapshot_records_month_header     = "MMMM YYYY"
>>>         ....      
>>>
>>>
>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3780bac0-f59b-4ec5-9112-920ea9665206%40googlegroups.com.

Reply via email to