I don't think there are any errors in the database, the barometer trend is displayed in my season <https://affolter.familyds.net/wetter/Seasons/>with a credible value that also matches the value in the index.html from the weatherboard (as documented in the older answer). I also attached the file loop-data-xxx.txt, in the upper part you can see the values generated by loop-data in the lower part my entry in weewx.conf. It is striking that the values "trend.barometerRate.desc" and "trend.barometerRate" are missing. Yesterday at noon I noticed that the value of the "trend.barometer.formatted", which is now> 300 is exactly at 12h (GTM + 2) on the expected value. Will watch this today).
jo...@johnkline.com schrieb am Freitag, 17. Juli 2020 um 16:23:27 UTC+2: > > As the documentation states, trend.barometer and 10m.windGust are special > cases. > > In this case, where we are talking about trend.barometer, it is alway the > delta from three hours ago and uses archive records to compute the starting > reading. Also, it is expressed as a per hour rate. Thus, it would be 1/3 > of the three hour delta. I did it this way because my sole purpose was to > compute the text description (e.g., rising slowly). > > Perhaps you have some bad data in your database? Have you checked that to > see what the actual delta and per hour delta should be? > > In any event, I need to make trend less special. I think I’ll do that > this weekend. It should honor the $delta.time_delta for the skin and > report the actual delta, not on a per hour basis. While I’m doing that, > I’ll make sure my tests around trend.barometer are good enough. If there > is a bug, I should find it then. > > > On Jul 16, 2020, at 11:07 PM, geni08...@gmail.com <geni08...@gmail.com> > wrote: > > Thank you very much, the script is a good idea. > > > > There was another question regarding "trend.barometerRate.formatted". At > the beginning this gave plausible values, from yesterday evening it > delivers impossible values. > Is it possible that 2 sources supply data and interfere? > I tried to keep a momentary status. > > Display liveboard > > <loopdata1.jpg> > > > index.html > <loopdata2.jpg> > > > loop-data.txt > > <loopdata3.jpg> > > > index.html.tmpl > <tr> > <td style="text-align:center;font-family:monospace;font-size:70px"> > <span id="current.barometer">$current.barometer</span> (<span > id="trend.barometer.formatted">$trend.barometer.formatted</span>)<span> - </span><span > > id="current.outHumidity">$current.outHumidity</span> > </td> > </tr> > > > jo...@johnkline.com schrieb am Freitag, 17. Juli 2020 um 00:02:36 UTC+2: > >> I’m not sure which parts of Bechlertown rely on MQTT and which parts rely >> on auto refreshing the page. For the former, if the info is available in >> LoopData, you would need to add an id to the HTML element and then set the >> contents via javascript in the same way as WeatherBoard does it. >> >> Bechlertown appears to be a well supported skin with frequent updates. >> You do need to worry about taking updates of the skin since you’ll be >> making modifications. Ideally, you would write a script to add the ids in >> the right place and add a line to include the javascript. >> >> On Jul 16, 2020, at 8:18 AM, geni08...@gmail.com <geni08...@gmail.com> >> wrote: >> >> >> >> Hi John, Thank you for your help so far, my next goal is to update the >> Belchertown template with weewx-loopdata. >> MQTT needs an infrastructure there ... I find your solution really >> elegant. Do you have a tip for me where to start? >> >> >> jo...@johnkline.com schrieb am Donnerstag, 16. Juli 2020 um 15:46:28 >> UTC+2: >> >>> It looks like you are on a roll! >>> >>> I think you are asking why I don’t have the actual values filled in for >>> windGust in the template. >>> >>> The answer for $10m.windGust.max is that the $10m period is only >>> understood by LoopData. If you put $10m.windGust.max in the template, it >>> would cause an error. There is probably a way to compute the 10 minute >>> high gust, but I didn’t bother to figure that out since the value will >>> appear anyway on the next loop. >>> >>> For $day.windGust.max, adding it to the template should work just fine. >>> It’s not needed. In fact, none of the values are needed since they are >>> overwritten by the JavaScript. >>> >>> >>> >>> On Jul 16, 2020, at 5:26 AM, geni08...@gmail.com <geni08...@gmail.com> >>> wrote: >>> >>> Hi John, it could even add winDir and barometer and humidity! >>> >>> What I would like to know why is enough for the two windGust values only >>> the id in index.html.tmpl >>> https://affolter.familyds.net/wetter/live/ >>> >>> <loop02.jpg> >>> >>> >>> jo...@johnkline.com schrieb am Mittwoch, 15. Juli 2020 um 22:32:15 >>> UTC+2: >>> >>>> Thanks for sending those links. >>>> >>>> Again, I don’t think it’s necessary to move the file to ram disk. With >>>> modern SSDs and wear leveling, and especially with a file this size. You >>>> might want to do some web searches before deciding if its worth the effort. >>>> >>>> On Jul 15, 2020, at 1:14 PM, 'hctp...@googlemail.com' via weewx-user < >>>> weewx...@googlegroups.com> wrote: >>>> >>>> John, >>>> >>>> so maybe a project for the next days to put the loop-data.tx into ram >>>> and serve it via apache2. >>>> The WeatherBoard site: >>>> >>>> https://livewetter.hcpeters.de >>>> >>>> and my main weather site: >>>> >>>> https://wetter.hcpeters.de/ >>>> >>>> . >>>> The gauges you see on the main site seems to use Javascript so that's >>>> why I asked...! :-D >>>> At the moment I just give a fixed value and render the entire site >>>> every minute...near realtime... ;-) >>>> >>>> But diving into java would be a big task.... not sure I'm ready for >>>> that....already fighting with Python...! :-D >>>> >>>> Regards, >>>> >>>> Christian >>>> >>>> >>>> >>>> jo...@johnkline.com schrieb am Mittwoch, 15. Juli 2020 um 21:59:47 >>>> UTC+2: >>>> >>>>> I do not personally regard it as a problem. Others may have a >>>>> different opinion. >>>>> >>>>> It certainly is not necessary to have it on the SSD, but you would >>>>> have to configure apache2 (or whatever web server you are using), to be >>>>> able to serve loop-data.txt. >>>>> >>>>> BTW, is your site visible externally? If so, would you send a link? >>>>> >>>>> On Jul 15, 2020, at 12:46 PM, 'hctp...@googlemail.com' via weewx-user >>>>> <weewx...@googlegroups.com> wrote: >>>>> >>>>> John, >>>>> >>>>> >>>>> is this a problem to write the loop-data.txt file every 2sec on a SSD >>>>> regarding durability!? >>>>> Or would it be better to place it on a ramdisk (tmpfs) like /dev/shm >>>>> ... >>>>> >>>>> Regards, >>>>> >>>>> Christian >>>>> >>>>> jo...@johnkline.com schrieb am Mittwoch, 15. Juli 2020 um 21:35:27 >>>>> UTC+2: >>>>> >>>>>> Great news! >>>>>> >>>>>> The purpose of LoopData is to be able to add to any skin, but it does >>>>>> require knowledge of JavaScript. >>>>>> >>>>>> On Jul 15, 2020, at 12:33 PM, John Kline <jo...@johnkline.com> wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> tail -f loop-data.txt won’t work because a new file is created on >>>>>> every loop. >>>>>> >>>>>> You can use: >>>>>> watch cat loop-data.txt >>>>>> >>>>>> You screen shots are not of any javascript errors that might be on >>>>>> the page. >>>>>> >>>>>> Would you send me the following file? >>>>>> /var/www/html/weewx/weatherboard/index.html >>>>>> >>>>>> On Jul 15, 2020, at 12:07 PM, 'hctp...@googlemail.com' via >>>>>> weewx-user <weewx...@googlegroups.com> wrote: >>>>>> >>>>>> ok...last post for now...maybe this is the problem, see screenshot... >>>>>> >>>>>> hctp...@googlemail.com schrieb am Mittwoch, 15. Juli 2020 um >>>>>> 20:54:42 UTC+2: >>>>>> >>>>>>> ...and the error form the browser after changes as screenshot.... >>>>>>> >>>>>>> hctp...@googlemail.com schrieb am Mittwoch, 15. Juli 2020 um >>>>>>> 20:49:18 UTC+2: >>>>>>> >>>>>>>> Ok, >>>>>>>> >>>>>>>> cat /var/www/html/weewx/loop-data.txt >>>>>>>> >>>>>>>> {"current.dateTime.raw": 1594838795, >>>>>>>> "current.windDir.ordinal_compass": "NW", "day.rain.sum": "3,0 mm", >>>>>>>> "current.dewpoint": "8,9\u00b0C", "current.outTemp": "16,7\u00b0C", >>>>>>>> "current.rainRate": "0,0 mm/h", "current.windSpeed": "3,2 km/h", >>>>>>>> "day.windGust.max": "27,4 km/h", "10m.windGust.max": "8,0 >>>>>>>> km/h", "current.windSpeed.raw": 3.218688} >>>>>>>> >>>>>>>> (with missing "current.windSpeed.raw") >>>>>>>> >>>>>>>> .... >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> hctp...@googlemail.com schrieb am Mittwoch, 15. Juli 2020 um >>>>>>>> 20:39:01 UTC+2: >>>>>>>> >>>>>>>>> John, >>>>>>>>> >>>>>>>>> strange...maybe I really should delete anything and start from >>>>>>>>> scratch? >>>>>>>>> >>>>>>>>> But before one more try.. I'm sure the loopdata is made, see some >>>>>>>>> 'cat' of the file: >>>>>>>>> >>>>>>>>> *cat /var/www/html/weewx/loop-data.txt {"current.dateTime.raw": >>>>>>>>> 1594836959, "current.windDir.ordinal_compass": "NW", "day.rain.sum": >>>>>>>>> "3,0 >>>>>>>>> mm", "current.dewpoint": "8,7\u00b0C", "current.outTemp": >>>>>>>>> "17,1\u00b0C", >>>>>>>>> "current.rainRate": "1,2 mm/h", "current.windSpeed": "3,2 km/h", >>>>>>>>> "day.windGust.max": "27,4 km/h", "10m.windGust.max": "14,5 km/h"}* >>>>>>>>> >>>>>>>>> >>>>>>>>> *cat /var/www/html/weewx/loop-data.txt {"current.dateTime.raw": >>>>>>>>> 1594836976, "current.windDir.ordinal_compass": "NNW", "day.rain.sum": >>>>>>>>> "3,0 >>>>>>>>> mm", "current.dewpoint": "8,7\u00b0C", "current.outTemp": >>>>>>>>> "17,1\u00b0C", >>>>>>>>> "current.rainRate": "1,0 mm/h", "current.windSpeed": "8,0 km/h", >>>>>>>>> "day.windGust.max": "27,4 km/h", "10m.windGust.max": "14,5 km/h"}* >>>>>>>>> >>>>>>>>> >>>>>>>>> *cat /var/www/html/weewx/loop-data.txt {"current.dateTime.raw": >>>>>>>>> 1594836979, "current.windDir.ordinal_compass": "NNW", "day.rain.sum": >>>>>>>>> "3,0 >>>>>>>>> mm", "current.dewpoint": "8,7\u00b0C", "current.outTemp": >>>>>>>>> "17,1\u00b0C", >>>>>>>>> "current.rainRate": "1,0 mm/h", "current.windSpeed": "6,4 km/h", >>>>>>>>> "day.windGust.max": "27,4 km/h", "10m.windGust.max": "14,5 km/h"}* >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> * cat /var/www/html/weewx/loop-data.txt {"current.dateTime.raw": >>>>>>>>> 1594836981, "current.windDir.ordinal_compass": "NNW", "day.rain.sum": >>>>>>>>> "3,0 >>>>>>>>> mm", "current.dewpoint": "8,7\u00b0C", "current.outTemp": >>>>>>>>> "17,1\u00b0C", >>>>>>>>> "current.rainRate": "1,0 mm/h", "current.windSpeed": "6,4 km/h", >>>>>>>>> "day.windGust.max": "27,4 km/h", "10m.windGust.max": "14,5 km/h"} * >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> *cat /var/www/html/weewx/loop-data.txt {"current.dateTime.raw": >>>>>>>>> 1594836985, "current.windDir.ordinal_compass": "NW", "day.rain.sum": >>>>>>>>> "3,0 >>>>>>>>> mm", "current.dewpoint": "8,7\u00b0C", "current.outTemp": >>>>>>>>> "17,1\u00b0C", >>>>>>>>> "current.rainRate": "1,0 mm/h", "current.windSpeed": "4,8 km/h", >>>>>>>>> "day.windGust.max": "27,4 km/h", "10m.windGust.max": "14,5 km/h"}# * >>>>>>>>> >>>>>>>>> What I think is a little bit strange, a: >>>>>>>>> >>>>>>>>> *tail -f /var/www/html/weewx/loop-data.txt * >>>>>>>>> >>>>>>>>> doesn't show any changes after two seconds? Is there some >>>>>>>>> caching....I dont use the rsync.... Anyway... >>>>>>>>> ' >>>>>>>>> by the way, I sometimes see floats at the time value like >>>>>>>>> "current.dateTime.raw": 1594837199.0..? >>>>>>>>> >>>>>>>>> Yes, I added this >>>>>>>>> >>>>>>>>> *report_services = weewx.engine.StdPrint, weewx.engine.StdReport, >>>>>>>>> user.loopdata.LoopData* >>>>>>>>> >>>>>>>>> and if I turn on debug=1 I see the file is written every loop. >>>>>>>>> a >>>>>>>>> *cat /var/www/html/weewx/loop-data.txt*: >>>>>>>>> {"current.dateTime.raw": 1594837649, >>>>>>>>> "current.windDir.ordinal_compass": "N", "day.rain.sum": "3,0 mm", >>>>>>>>> "current.dewpoint": "9,0\u00b0C", "current.outTemp": "16,8\u00b0C", >>>>>>>>> "current.rainRate": "0,0 mm/h", "current.windSpeed": "4,8 km/h", >>>>>>>>> "day.windGust.max": "27,4 km/h", "10m.windGust.max": "11,3 km/h"} >>>>>>>>> {"current.dateTime.raw": 1594837577, >>>>>>>>> "current.windDir.ordinal_compass": "NW", "day.rain.sum": "3,0 mm", >>>>>>>>> "current.dewpoint": "9,1\u00b0C", "current.outTemp": "16,9\u00b0C", >>>>>>>>> "current.rainRate": "0,0 mm/h", "current.windSpeed": "6,4 km/h", >>>>>>>>> "day.windGust.max": "27,4 km/h", "10m.windGust.max": "11,3 km/h"} >>>>>>>>> >>>>>>>>> a* ls -laht /var/www/html/weewx/weatherboard* >>>>>>>>> >>>>>>>>> drwxr-xr-x 12 www-data www-data 4,0K Jul 15 20:28 .. >>>>>>>>> drwxr-xr-x 2 root root 4,0K Jul 15 20:27 . >>>>>>>>> -rw-r--r-- 1 root root 12K Jul 15 20:27 index.html >>>>>>>>> -rw-r--r-- 1 root root 1,7K Jul 15 19:41 weatherboard.css >>>>>>>>> -rw-r--r-- 1 root root 3,5K Jul 15 19:41 favicon.ico >>>>>>>>> >>>>>>>>> So I'm not familiar with .js, I hope I opened the right one in my >>>>>>>>> FF browser. Never did anything with JavaScript! :-O But I got some >>>>>>>>> errors, >>>>>>>>> see attached screenshot. >>>>>>>>> Thanks for your patience! >>>>>>>>> Maybe something is blocked by Apache2 (I host the site by >>>>>>>>> myself).... >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> Christian >>>>>>>>> jo...@johnkline.com schrieb am Mittwoch, 15. Juli 2020 um >>>>>>>>> 20:12:27 UTC+2: >>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Hi Christian, >>>>>>>>>> >>>>>>>>>> wee_extension should not have been using python2 if you did a >>>>>>>>>> python3 install of weewx; but let’s put that aside. >>>>>>>>>> >>>>>>>>>> Of course, you should care that WeatherBoard is not updating on >>>>>>>>>> every loop cycle, that’s the whole point of it. >>>>>>>>>> >>>>>>>>>> I might be better if you deleted all you have done manually and >>>>>>>>>> do a proper install, but let’s try to work with what you have. >>>>>>>>>> >>>>>>>>>> Are you sure loop-data.txt is being generated? >>>>>>>>>> >>>>>>>>>> If in weewx.conf, under [Engine][[Services]], on the >>>>>>>>>> report_services line, do you see user.loopdata.LoopData? >>>>>>>>>> >>>>>>>>>> Would you send me a copy of /var/www/html/weewx/loop-data.txt? >>>>>>>>>> >>>>>>>>>> Would you send me a directory listing of /var/www/html/weewx/ >>>>>>>>>> weatherboard? >>>>>>>>>> >>>>>>>>>> Lastly, from your browser, would you bring up the JavaScript >>>>>>>>>> console and tell me the error(s) you see? >>>>>>>>>> >>>>>>>>>> On Jul 15, 2020, at 10:53 AM, 'Christian Peters' via weewx-user < >>>>>>>>>> weewx...@googlegroups.com> wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> John, >>>>>>>>>> >>>>>>>>>> I struggeld installing the extension. I got: >>>>>>>>>> Traceback (most recent call last): >>>>>>>>>> File "/usr/share/weewx/wee_extension", line 13, in <module> >>>>>>>>>> import weecfg.extension >>>>>>>>>> File "/usr/share/weewx/weecfg/__init__.py", line 22, in >>>>>>>>>> <module> >>>>>>>>>> import configobj >>>>>>>>>> ImportError: No module named configobj >>>>>>>>>> >>>>>>>>>> ..but the module was installed! >>>>>>>>>> I then figured out that wee_extension uses python2 but not >>>>>>>>>> python3 so the module was missing in python 2! ;-) >>>>>>>>>> I treid to gove Python3 a try with weewx this time as I >>>>>>>>>> reinstalled it! >>>>>>>>>> I changed in we_extension the first line to >>>>>>>>>> >>>>>>>>>> #!/usr/bin/env python3 >>>>>>>>>> >>>>>>>>>> and it works. >>>>>>>>>> >>>>>>>>>> But first I installed the loop-data exxtension by hand...but I >>>>>>>>>> think all is in the right place as the loop-data.txt is build. >>>>>>>>>> >>>>>>>>>> The WeatherBoardReport section in weewx.conf: >>>>>>>>>> >>>>>>>>>> [[WeatherBoardReport]] >>>>>>>>>> HTML_ROOT = /var/www/html/weewx/weatherboard >>>>>>>>>> enable = true >>>>>>>>>> skin = WeatherBoard >>>>>>>>>> [[[Extras]]] >>>>>>>>>> meta_title = Live-Wetter Langenseifen, Hessen >>>>>>>>>> Weather at a Glance WeatherBoard™ >>>>>>>>>> title = Live-Wetter Langenseifen Hessen WeatherBoard& >>>>>>>>>> trade; >>>>>>>>>> subtitle = Fortlaufend aktualisiert. >>>>>>>>>> logo = "" >>>>>>>>>> loop_data_file = ../loop-data.txt >>>>>>>>>> contact_email = "" >>>>>>>>>> expiration_time = 4 >>>>>>>>>> page_update_pwd = foobar >>>>>>>>>> googleAnalyticsId = "" >>>>>>>>>> analytics_host = "" >>>>>>>>>> show_purple = False >>>>>>>>>> [[[Labels]]] >>>>>>>>>> [[[[Generic]]]] >>>>>>>>>> air_quality_index = Air Quality Index >>>>>>>>>> contact = Kontakt >>>>>>>>>> legend = Legende >>>>>>>>>> rain_today = Regen heute >>>>>>>>>> ten_min_max_gust = 10min Boee >>>>>>>>>> time_of_day = Uhrzeit >>>>>>>>>> high_gust_today = Booe max. >>>>>>>>>> [[[Units]]] >>>>>>>>>> [[[[StringFormats]]]] >>>>>>>>>> mile_per_hour = %.1f >>>>>>>>>> degree_C = %.1f >>>>>>>>>> km_per_hour = %.1f >>>>>>>>>> degree_F = %.1f >>>>>>>>>> >>>>>>>>>> This section I added at the end of weewx.conf by hand: >>>>>>>>>> >>>>>>>>>> # >>>>>>>>>> ==================================================================================== >>>>>>>>>> # Options for extension 'weewx-loopdata' >>>>>>>>>> >>>>>>>>>> [LoopData] >>>>>>>>>> [[FileSpec]] >>>>>>>>>> loop_data_dir = /var/www/html/weewx >>>>>>>>>> filename = loop-data.txt >>>>>>>>>> [[Formatting]] >>>>>>>>>> target_report = WeatherBoardReport >>>>>>>>>> [[RsyncSpec]] >>>>>>>>>> enable = false >>>>>>>>>> remote_server = foo.bar.com >>>>>>>>>> remote_user = root >>>>>>>>>> remote_dir = /var/www/html >>>>>>>>>> compress = False >>>>>>>>>> log_success = False >>>>>>>>>> ssh_options = -o ConnectTimeout=1 >>>>>>>>>> timeout = 1 >>>>>>>>>> skip_if_older_than = 3 >>>>>>>>>> [[Include]] >>>>>>>>>> fields = current.dateTime.raw, current.windDir. >>>>>>>>>> ordinal_compass, day.rain.sum, current.dewpoint, current.outTemp, >>>>>>>>>> current.rainRate, current.windSpeed, day.windGust.max, 10m. >>>>>>>>>> windGust.max, current.windSpeed >>>>>>>>>> >>>>>>>>>> But there is even a skin.conf at /etc/weew/skinWeatherboard/ ... >>>>>>>>>> >>>>>>>>>> # Copyright (C)2020 by John A Kline (jo...@johnkline.com) >>>>>>>>>> # Distributed under the terms of the GNU Public License (GPLv3) >>>>>>>>>> # See LICENSE for your rights. >>>>>>>>>> >>>>>>>>>> [Extras] >>>>>>>>>> # Fill path of loop data file. If not a full path, >>>>>>>>>> # it will be interpreted as relative to this skin's >>>>>>>>>> HTML_ROOT. >>>>>>>>>> loop_data_file = '../loop-data.txt' >>>>>>>>>> >>>>>>>>>> # Refresh rate is the rate at which the report should >>>>>>>>>> refresh with >>>>>>>>>> # the latest readings. A good choice is the rate at which >>>>>>>>>> your >>>>>>>>>> # weather stations driver is feeing loop data. Expressed in >>>>>>>>>> units >>>>>>>>>> # of seconds. Default: 2 seconds. >>>>>>>>>> refresh_rate = 2 >>>>>>>>>> >>>>>>>>>> # Fill in a sutiable title/subtitle for the report. >>>>>>>>>> title = 'my-weather-website.com WeatherBoard™' >>>>>>>>>> subtitle = 'Updated continuously.' >>>>>>>>>> >>>>>>>>>> # If you have a log, specify it here. >>>>>>>>>> logo = '' >>>>>>>>>> >>>>>>>>>> # Fill in contact email to display on the report. >>>>>>>>>> contact_email = 'weath...@my-weather-website.com' >>>>>>>>>> >>>>>>>>>> # Choose your own password. without ?page_update_pwd='xxx' >>>>>>>>>> # at the end of the URL, auto updating will timeout. >>>>>>>>>> # Note: This password will be viaible to users looking >>>>>>>>>> # at page source in their browser. >>>>>>>>>> page_update_pwd = 'foobar' >>>>>>>>>> >>>>>>>>>> # Page expiration time is the number of hours the report >>>>>>>>>> will request >>>>>>>>>> # loop data and update. After which, a mouse clice will be >>>>>>>>>> needed >>>>>>>>>> # to start refreshing again. Default 4 hours. >>>>>>>>>> expiration_time = 4 >>>>>>>>>> >>>>>>>>>> # If you have a google analytics id, uncomment the following >>>>>>>>>> line >>>>>>>>>> # and fill in the ID. >>>>>>>>>> # googleAnalyticsId = >>>>>>>>>> # If you only want to use the ID on a certain host, >>>>>>>>>> uncomment the >>>>>>>>>> # following line and fill in the hostname. >>>>>>>>>> # analytics_host = www.example.com >>>>>>>>>> >>>>>>>>>> # If a PurpleAir sensor is set up and both weewx-purple and >>>>>>>>>> # purple-proxy are installed, or just weewx-purple is >>>>>>>>>> installed; >>>>>>>>>> # change the 'False' below to 'True'. >>>>>>>>>> # The weewx-purple extension can be found here: >>>>>>>>>> # https://github.com/chaunceygardiner/weewx-purple >>>>>>>>>> # The purple-proxy server can be found here: >>>>>>>>>> # https://github.com/chaunceygardiner/purple-proxy >>>>>>>>>> # It is preferable to install both weewx-purple and purple >>>>>>>>>> proxy >>>>>>>>>> # as the proxy returns averages over the archive period (as >>>>>>>>>> # opposed to one shot readings). >>>>>>>>>> show_purple = False >>>>>>>>>> >>>>>>>>>> [Labels] >>>>>>>>>> [[Generic]] >>>>>>>>>> # Some specialized labels >>>>>>>>>> air_quality_index = Air Quality Index >>>>>>>>>> contact = Contact >>>>>>>>>> legend = Legend >>>>>>>>>> rain_today = Rain Today >>>>>>>>>> ten_min_max_gust = 10m Gust >>>>>>>>>> time_of_day = Time >>>>>>>>>> high_gust_today = Today's High Gust >>>>>>>>>> >>>>>>>>>> [CheetahGenerator] >>>>>>>>>> encoding = html_entities >>>>>>>>>> [[ToDate]] >>>>>>>>>> [[[index]]] >>>>>>>>>> template = index.html.tmpl >>>>>>>>>> >>>>>>>>>> [CopyGenerator] >>>>>>>>>> copy_once = favicon.ico, weatherboard.css >>>>>>>>>> copy_always = , >>>>>>>>>> >>>>>>>>>> [Generators] >>>>>>>>>> generator_list = weewx.cheetahgenerator.CheetahGenerator, >>>>>>>>>> weewx.reportengine.CopyGenerator >>>>>>>>>> >>>>>>>>>> Do I have to care about!? >>>>>>>>>> >>>>>>>>>> The WeatherBoard site seems to update with the interval given in >>>>>>>>>> weewx (here 1min)....but the JS seems not to work? >>>>>>>>>> It's starnge too that there are some obersavervations missing and >>>>>>>>>> the time not catched and printed on the WB site...but Temp is >>>>>>>>>> changein (all >>>>>>>>>> 1min while refreshing)? >>>>>>>>>> >>>>>>>>>> Hope you could figure something out of my setting!? >>>>>>>>>> >>>>>>>>>> Thanks in advance! >>>>>>>>>> >>>>>>>>>> Christian >>>>>>>>>> >>>>>>>>>> Am Mittwoch, 15. Juli 2020 16:11:06 UTC+2 schrieb John Kline: >>>>>>>>>>> >>>>>>>>>>> Hi Christian, >>>>>>>>>>> >>>>>>>>>>> Please let me know what was tricky about installing loop-data. >>>>>>>>>>> >>>>>>>>>>> Since you are getting loop-data, I suspect that the LoopData >>>>>>>>>>> extension and the WeatherBoard extension don’t agree about where to >>>>>>>>>>> find >>>>>>>>>>> the loop-data.txt file. >>>>>>>>>>> >>>>>>>>>>> Would you send both the LoopData section and the WeatherBoard >>>>>>>>>>> section of weewx.conf? >>>>>>>>>>> >>>>>>>>>>> Cheers, >>>>>>>>>>> John >>>>>>>>>>> >>>>>>>>>>> On Jul 15, 2020, at 5:16 AM, 'Christian Peters' via weewx-user < >>>>>>>>>>> weewx...@googlegroups.com> wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> John, >>>>>>>>>>> >>>>>>>>>>> I just installed the loop-data extension and the weatherboard >>>>>>>>>>> skin to give it a try. :-) >>>>>>>>>>> A really nice extension. >>>>>>>>>>> >>>>>>>>>>> It was a bit tricky to install it but I hope loop-data is >>>>>>>>>>> running. I get this >>>>>>>>>>> /var/www/html/weewx/loop-data.txt file with this text: >>>>>>>>>>> >>>>>>>>>>> {"current.dateTime.raw": 1594814866, >>>>>>>>>>> "current.windDir.ordinal_compass": "N", "day.rain.sum": "2,6 mm", >>>>>>>>>>> "current.dewpoint": "11,3\u00b0C", "current.outTemp": >>>>>>>>>>> "20,3\u00b0C", >>>>>>>>>>> "current.rainRate": "0,0 mm/h", "current.windSpeed": "6,4 km/h", >>>>>>>>>>> "day.windGust.max": "19,3 km/h", "10m.windGust.max": "11,3 km/h"} >>>>>>>>>>> >>>>>>>>>>> It updates every 2 sec, winddir for example changes....so it >>>>>>>>>>> seems to work I think. >>>>>>>>>>> >>>>>>>>>>> What not works it the wartherboard skin. >>>>>>>>>>> >>>>>>>>>>> https://livewetter.hcpeters.de >>>>>>>>>>> >>>>>>>>>>> It doesn't update (only if I do a manual refresh on the borwser >>>>>>>>>>> and not every time it really refreshes to the most recent values). >>>>>>>>>>> and there is something not working as the time field is missing, >>>>>>>>>>> even 10m.windGust.max and day.windGust.max ... see screenshot. >>>>>>>>>>> >>>>>>>>>>> Am I doing something wrong? I got the most recent .zip files >>>>>>>>>>> from your site (today). But I'm not sure where to tweak the >>>>>>>>>>> weatherboard >>>>>>>>>>> skin ( in weewx.conf or in weatherboard/skin/skin.conf ) ? >>>>>>>>>>> >>>>>>>>>>> Thanks in advance for any idea or hint! >>>>>>>>>>> >>>>>>>>>>> Regards, >>>>>>>>>>> >>>>>>>>>>> Christian >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> 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...@googlegroups.com. >>>>>>>>>>> To view this discussion on the web visit >>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/adaaa9c1-dbdd-4534-bda8-784875ce2103o%40googlegroups.com >>>>>>>>>>> >>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/adaaa9c1-dbdd-4534-bda8-784875ce2103o%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>>>>> . >>>>>>>>>>> <weatherboard.png> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>> 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+...@googlegroups.com. >>>>>>>>>> To view this discussion on the web visit >>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/155cc6a5-2234-44a0-94f2-99f6fbda1057o%40googlegroups.com >>>>>>>>>> >>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/155cc6a5-2234-44a0-94f2-99f6fbda1057o%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>>>> . >>>>>>>>>> >>>>>>>>>> -- >>>>>> 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+...@googlegroups.com. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/c28e82d7-4a36-42f2-832c-4eed5cb5438dn%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/c28e82d7-4a36-42f2-832c-4eed5cb5438dn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> <Bildschirmfoto 2020-07-15 um 21.05.54.png> >>>>>> >>>>>> -- >>>>> 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+...@googlegroups.com. >>>>> >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/31847230-f79f-4b2d-a74c-e2c167bf1c2dn%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/31847230-f79f-4b2d-a74c-e2c167bf1c2dn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>>> -- >>>> 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+...@googlegroups.com. >>>> >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/82a39a64-d6b0-4b76-8791-0d1c801c975an%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/82a39a64-d6b0-4b76-8791-0d1c801c975an%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> -- >>> 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+...@googlegroups.com. >>> >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/a4aa08bf-45d4-45bd-b867-89d280396b3an%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/a4aa08bf-45d4-45bd-b867-89d280396b3an%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> <loop02.jpg> >>> >>> -- >> 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+...@googlegroups.com. >> >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/222a401c-95a9-4131-a176-be6125ec6af1n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/222a401c-95a9-4131-a176-be6125ec6af1n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> -- > 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+...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/3997a5f9-0144-4982-8db8-36ec802fc706n%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/3997a5f9-0144-4982-8db8-36ec802fc706n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > <loopdata1.jpg> > <loopdata2.jpg> > <loopdata3.jpg> > > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3fbd6936-afac-4cd9-ad69-ef40bcc61299n%40googlegroups.com.
{"current.dateTime.raw": 1595051617, "current.windDir": "31\u00b0", "current.windDir.ordinal_compass": "NNE", "current.windchill": "15.4\u00b0C", "current.windSpeed": "1.6 km/h", "current.windSpeed.raw": 1.609344, "day.windGust.max": "8.0 km/h", "10m.windGust.max": "6.4 km/h", "10m.windGust.max.formatted": "6.4", "current.barometer": "1018.6 hPa", "trend.barometer.formatted": "329.5", "current.rain": "0.0 mm", "current.rainRate": "0 mm/h", "day.rain.sum": "0.0 mm", "current.appTemp": "16.0\u00b0C", "current.outTemp": "15.4\u00b0C", "current.inTemp": "22.8\u00b0C", "current.dewpoint": "12.9\u00b0C", "current.inHumidity": "53%", "current.outHumidity": "85%"} [[Include]] fields = current.dateTime.raw, current.windDir, current.windDir.ordinal_compass, current.windchill, current.windSpeed, current.windSpeed.raw, day.windGust.max, 10m.windGust.max, 10m.windGust.max.formatted, trend.barometerRate.desc, current.barometer, trend.barometerRate, trend.barometer.formatted, current.rain, current.rainRate, day.rain.sum, current.appTemp, current.outTemp, current.inTemp, current.dewpoint, current.inHumidity, current.outHumidity