Re: [weewx-user] Inform front end about certain events

2023-08-21 Thread Karen K
michael.k...@gmx.at schrieb am Dienstag, 22. August 2023 um 05:37:25 UTC+2: I don't know Belchertown's mechanism so I cannot answer this question. The Bootstrap skin also supports close real time measurements, if you enable it's MQTT feature, which I, the author, consider good enough, but still

Re: [weewx-user] Inform front end about certain events

2023-08-21 Thread michael.k...@gmx.at
I don't know Belchertown's mechanism so I cannot answer this question. The Bootstrap skin also supports close real time measurements, if you enable it's MQTT feature, which I, the author, consider good enough, but still improvable. vince schrieb am Montag, 21. August 2023 um 22:37:52 UTC+2:

[weewx-user] Re: Mqtt / Belchertown skin

2023-08-21 Thread Lorin Tremblay
Figured it out, my mistake was in the websocket on my mosquito server running on a sinology NAS Websocket wasn't properly configured! Thanks On Monday, August 21, 2023 at 10:27:44 PM UTC-4 vince wrote: > In the absence of any information about your os and revision level, which > broker

[weewx-user] Re: AirLink + Highcharts + Belchertown integration

2023-08-21 Thread vince
Do a google search for "weewx airlink" and add/configure/enable that extension so your AirLink data gets saved to a database. Then adding a graph is done the same as adding any other graph in Belchertown. On Monday, August 21, 2023 at 3:35:02 PM UTC-7 Lorin Tremblay wrote: > As anyone

[weewx-user] Re: Mqtt / Belchertown skin

2023-08-21 Thread vince
In the absence of any information about your os and revision level, which broker you're running, or anything related to your broker configuration or weewx MQTT configuration, can't help you. Sorry. You might google for "Client disconnected due to malformed packet." and look at the top hits,

[weewx-user] Mqtt / Belchertown skin

2023-08-21 Thread Lorin Tremblay
Anyone ever come across this issue 1692666712: New client connected from 10.36.50.120:56807 as weewx_51a9e36a (p2, c1, k60, u'oscar'). 1692666718: New connection from 129.222.204.46:62214 on port 1883. 1692666718: Client disconnected due to malformed packet. 1692666718: New connection from

[weewx-user] AirLink + Highcharts + Belchertown integration

2023-08-21 Thread Lorin Tremblay
As anyone integrate their Davis AirLink to the belchertown skin with the highchart util? I would be interested in doing so, but I would need some help on where to start. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this

Re: [weewx-user] Inform front end about certain events

2023-08-21 Thread vince
Belchertown supports close to realtime measurements if you enable its websockets feature. Why isn't that mechanism good enough ? On Monday, August 21, 2023 at 12:19:46 PM UTC-7 michael.k...@gmx.at wrote: Thanks for your input Karen, what I've been talking about is very skin specific. The skin

Re: [weewx-user] Inform front end about certain events

2023-08-21 Thread michael.k...@gmx.at
Thanks for your input Karen, what I've been talking about is very skin specific. The skin produces a JS File which is uploaded (This one: https://www.kainzbauer.net/weather/Rif/de/ts.json) and the front end handles everything else in javascript. If the front end finds an updated timestamp

Re: [weewx-user] Inform front end about certain events

2023-08-21 Thread Karen K
One fix: "interval" ("interval_minute" to be exact) is the only indicator for ARCHIVE records within the MQTT data. Or you compare the timestamps in dateTime. Karen K schrieb am Montag, 21. August 2023 um 18:28:37 UTC+2: michael.k...@gmx.at schrieb am Montag, 21. August 2023 um 14:48:30 UTC+2:

[weewx-user] Re: Weewx cheetahgenerator / template bug: how to debug?

2023-08-21 Thread Karen K
michael.k...@gmx.at schrieb am Montag, 21. August 2023 um 12:10:29 UTC+2: #if $val > $other And you could change it to: #if $val is not None and $val>$other or #if $val is None or $val>$other depending on what you want to do with the None value. -- You received this message because you

Re: [weewx-user] Inform front end about certain events

2023-08-21 Thread Karen K
michael.k...@gmx.at schrieb am Montag, 21. August 2023 um 14:48:30 UTC+2: I'll take a step back and describe the challenge more detailed: I am not sure I understand the problem. In MQTT you can distinguish between LOOP and ARCHIVE packets by the existence of the dateTime and interval key. If

Re: [weewx-user] Inform front end about certain events

2023-08-21 Thread michael.k...@gmx.at
I'll take a step back and describe the challenge more detailed: I have a skin (Bootstrap) which is showing live data in charts. One design goal is to have the most accurate and most up to date values shown in the front end. The charts are updated with every loop value (received by the MQTT-JS

[weewx-user] Re: Weewx cheetahgenerator / template bug: how to debug?

2023-08-21 Thread michael.k...@gmx.at
The problem is in /home/weewx/skins/External/index.html.tmpl There is a comparision (greater than) between two values, where one of them (the left) is None. something like: #if $val > $other Where $val is None and $other an integer. Where is the template from, who made it? When it happens

[weewx-user] Weewx cheetahgenerator / template bug: how to debug?

2023-08-21 Thread Invisible Man
Hello, I occasionally have an error in my Weewx logs that indicate that, at some point, I receive for a given value the value None where I was expected an int. Because of this error, cheetahgenerator fails to produce the correct HTML file. ``` Aug 21 00:02:29 vegan weewx[20951] ERROR