[weewx-user] Weewx 5.01 ReportThread throws KeyError: 'skin'

2024-02-08 Thread Maarten van der Hoeven
Hi, Nut sure this came up after the Weewx 5 upgrade, and it seems to not breaking any functionallity, but I want to find out why this is being reported (KeyError: 'skin'). Feb 9 08:44:56 weewx weewxd[1051]: Exception in thread ReportThread: Feb 9 08:44:56 weewx weewxd[1051]: Traceback (most

[weewx-user] Re: Recalculate rainrate values

2023-01-15 Thread Maarten van der Hoeven
Hi, thx for the response.I must be overlooking something, as the rainrate becomes zero. I took just one day, January 12, 2023. Below what I did: 1. Stop weewx: /etc/init.d/weewx stop 2. Set rainrate to NULL for 12-01-2023 SQL: update archive set rainrate = NULL where

[weewx-user] Recalculate rainrate values

2023-01-14 Thread Maarten van der Hoeven
Hi. I have a Davis Vantage Pro 2. StdWxCalculate says that rainrate should be taken from 'prefered hardware'. However, I needed to add some rainticks into the database, to correct daily rainfall sums (long story, tipping bucket broke down). I want to recalculate all rainrate values. What is

[weewx-user] Wlink driver not compatible with Python3?

2020-06-20 Thread Maarten van der Hoeven
Hi, I tried to connect to weatherlink.com, and used the wlink driver (https://github.com/weewx/weewx/wiki/wlink). I am running the latest weewx 4.1.1, Python3. I got this error. Does this mean the driver is not ready for Python3? I did some digging, httplib is not available, and should be

[weewx-user] Re: Weatherlink IP Discontinued... What are folks using now?

2020-06-20 Thread Maarten van der Hoeven
But -correct me if wrong- WLL is only supplying current records. There is not an archive available to pull previous records from. In other words, if for some reason WeeWX is not running for a day, and you fire it up again, you cannot retrieve the previous records anymore, as was the case with

[weewx-user] Using Weatherlink Live for loops and Weatherlink.com for archived records

2020-06-16 Thread Maarten van der Hoeven
Hi, If I understood correctly, WeatherLink Live is only capable of delivering loop-records (besides uploads to Weatherlink.com of course). So, Weewx will only get loop-records, if connected to a WeatherLink Live. Am I correct? If that's the situation, what is the way to retrieve archived

[weewx-user] Re: Weewx tag to show last time it rained

2020-06-08 Thread Maarten van der Hoeven
Thanks Gary, for the pointer. This makes sense. In fact, it is working now! Adding user.lastrain.getRainTags to the existing search_list_extentions in the skin.conf of Belchertown. Now moving it to the weewx.conf, to make it less vulnerable to skin-changes of Belchertown. Op maandag 8 juni

[weewx-user] Re: Weewx tag to show last time it rained

2020-06-08 Thread Maarten van der Hoeven
Well, speaking for me, I would like to show this information (last time it rained) using a tag, and put it in index_hook_after_station_info.inc The tag is $time_since_last_rain. Having done that (putting the tag in that inc-file), it throws an error NameMapper.NotFound while the generator is

[weewx-user] Re: Weewx tag to show last time it rained

2020-06-03 Thread Maarten van der Hoeven
s/lastrain > /tmp/extensions/lastrain > -2/ sudo wee_extension --install=/tmp/extensions/lastrain > -3/ sudo /etc/init.d/weewx stop > -4/ sudo /etc/init.d/weewx start > -5/ Enjoy ! ;-) > > > Le mercredi 3 juin 2020 10:14:29 UTC+2, Maarten van der Hoeven a écrit : >>

[weewx-user] Weewx tag to show last time it rained

2020-06-03 Thread Maarten van der Hoeven
Hi, What would be the weewx tag to show the date the last time is has rained? I have a feeling I need to do some scripting/programming to retrieve this. Or am I overlooking a nifty tag? -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To

Re: [weewx-user] Plotting an extended variable with Belchertown graphs just like rainTotal

2020-05-30 Thread Maarten van der Hoeven
gt; > -tk > > On Sat, May 30, 2020 at 3:39 AM Maarten van der Hoeven > wrote: > >> Hi, >> >> I wrote an extension to weewx, that calculates the amount of drought >> (evapotranspiration minus rain). Basilcally, drought is a 'bucket'-type. >> Every

[weewx-user] Plotting an extended variable with Belchertown graphs just like rainTotal

2020-05-30 Thread Maarten van der Hoeven
Hi, I wrote an extension to weewx, that calculates the amount of drought (evapotranspiration minus rain). Basilcally, drought is a 'bucket'-type. Every time a rain-tick of an evaotranspiration (ET)-calculation (on top every hour), drought is calculated as ET minus rain. I am talking about a

Re: [weewx-user] Re: event.record['ET'] throws me a KeyError. Why?

2020-05-27 Thread Maarten van der Hoeven
= event.record.get('ET') > if ET is not None: > event.record['neerslagtekort'] = ... > > 3. Incidentally, you really should change the names to something more > meaningful than "electricity.py" and "AddElectricity". > > -tk > > On Wed, May 27, 20

[weewx-user] Re: event.record['ET'] throws me a KeyError. Why?

2020-05-27 Thread Maarten van der Hoeven
Yes, the simulator doesnt provide ET, whereas the Vantage driver does provide ET. But, bingo, your suggestion did the trick. Now I've placed my service just after StdWxCalculate, and now there is an ET popping up Thanks! Op woensdag 27 mei 2020 22:26:49 UTC+2 schreef gjr80: > > As you say the

[weewx-user] Re: event.record['ET'] throws me a KeyError. Why?

2020-05-27 Thread Maarten van der Hoeven
(), 'inTempBatteryStatus': BatteryStatus(), 'consBatteryVoltage': BatteryVoltage(), Op dinsdag 26 mei 2020 23:38:26 UTC+2 schreef Maarten van der Hoeven: > > Hi group, > > Having programming experience, but new to python. Want to write some piece > of code,

[weewx-user] Re: event.record['ET'] throws me a KeyError. Why?

2020-05-27 Thread Maarten van der Hoeven
Hi, thanks for the pointer. While coding and testing, I use the Simulator to generate loops and archive records. When I connect my real Vantage Pro to WeeWX, the error disappears. The station is now providing all the value, including ET. Simulator is not providing ET, thats for sure now. When

[weewx-user] event.record['ET'] throws me a KeyError. Why?

2020-05-26 Thread Maarten van der Hoeven
Hi group, Having programming experience, but new to python. Want to write some piece of code, that calculates the amount of precipitation shortage (rain minus evaotranspiration). It's a measure of drought. Using some example coding, and extended those. See the piece of code below.

Re: [weewx-user] How to calculate, process and store a derived variable

2020-05-23 Thread Maarten van der Hoeven
t; -tk > > On Fri, May 22, 2020 at 7:14 AM Maarten van der Hoeven > wrote: > >> Hi group, >> >> Running weewx 4, Python 3, Mysql-database, Vantage Pro 2 with solar, UV. >> >> Within Weewx, I want to calculate a derived value from two existing >>

[weewx-user] How to calculate, process and store a derived variable

2020-05-22 Thread Maarten van der Hoeven
Hi group, Running weewx 4, Python 3, Mysql-database, Vantage Pro 2 with solar, UV. Within Weewx, I want to calculate a derived value from two existing values that's provided by my weather station. To be more specific, in the Netherlands, the shortage of precipitation is calculated by the

[weewx-user] Re: Question about Belchertown script (index_hook_after_station_info.inc)

2020-05-22 Thread Maarten van der Hoeven
Sorry, it is Keimpe Op vrijdag 22 mei 2020 14:37:39 UTC+2 schreef Maarten van der Hoeven: > > Thanks for testing, guys. I have restarted Weewx 1 day and 14 minutes ago, > so that's not the point. All that time (since restart), it showed okay on > my website, and never on my mobile

[weewx-user] Re: Question about Belchertown script (index_hook_after_station_info.inc)

2020-05-22 Thread Maarten van der Hoeven
e is no >> index_hook_after_station_info.inc text. In my case <http://oentsjerk.eu> >> it works perfectly from the first minute. Have you restarted Weewx after >> making the changes? >> >> Regards, Keimpe >> >> >> >> Op vrijdag 22 mei 202

[weewx-user] Re: Question about Belchertown script (index_hook_after_station_info.inc)

2020-05-22 Thread Maarten van der Hoeven
Manfred Maier: > > On my phone (iPhone) the text is visible. > It's located beneath your webcam picture. > > Manfred > > > Am Freitag, 22. Mai 2020 10:58:12 UTC+2 schrieb Maarten van der Hoeven: >> >> I know, it not really the place to ask something about Bel

[weewx-user] Question about Belchertown script (index_hook_after_station_info.inc)

2020-05-22 Thread Maarten van der Hoeven
I know, it not really the place to ask something about Belchertown in this weewx-group. My apologies... Fairly easy question, I've added custom text at my website using index-Hook_after_station.inc. Working okay when watching the website on my computer. However, the custom text is not shown

[weewx-user] Re: Monitoring WeeWX with Nagios

2020-05-22 Thread Maarten van der Hoeven
What I am doing now, is checking how 'old' the latest records are in the MySQL-database. If the last 10 minutes no records are found, then there must be something wrong. perl-script: #!/usr/bin/perl -w use strict; use DBI; #definition of variables my $db="weewx"; my $host="x.x.x.x"; my

[weewx-user] Re: Belchertown skin 1.1 released!

2020-05-09 Thread Maarten van der Hoeven
Hi, I have a general question about the skin. I calculate myself (using a php-script that reads mysql-data and write the output to a txt-file) the amount of lack of rain. It's a sum of daily Evapotranspìration (ET) minus the amounted precipitation. So I have this value inside a single

[weewx-user] Re: Installing Weewx 4, Belchertown 1.1 and MQTT from scratch. Almost fully succesful (fails on python-cjson)

2020-05-06 Thread Maarten van der Hoeven
Update by myself. In stead of trying to install python-cjson, I succeeded with installing sudo pip3 install ujson All set now, data published live on my webpage. Op woensdag 6 mei 2020 22:27:37 UTC+2 schreef Maarten van der Hoeven: > > Hi, > > hard disc crashed, rebuilding

[weewx-user] Installing Weewx 4, Belchertown 1.1 and MQTT from scratch. Almost fully succesful (fails on python-cjson)

2020-05-06 Thread Maarten van der Hoeven
Hi, hard disc crashed, rebuilding the complete environment. Backup was sound, no data lost. Running Ubuntu 20.04, installed Weewx4 with python 3, Belchertown 1.1 skin succesfully implemented. Got mosquitto running okay. Now busy implementing weewx-mqtt. Instuctions: sudo pip3 install

[weewx-user] Monitoring WeeWX with Nagios

2019-06-19 Thread Maarten van der Hoeven
I want to monitor the WeeWX-process, whether that process is alive or not. To monitor things (such as http-servers, mysql-database, down-/uplink internet-connection, etc), I am using Nagios. I am wondering if someone already has written a Nagios-plugin to monitor the WeeWX-process, and is

Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-06-14 Thread Maarten van der Hoeven
9 at 8:19 PM Colin Larsen > wrote: > >> I think it would need a Weewx restart, again hopefully Pat can confirm I >> have the right spot. >> >> On Fri, 14 Jun 2019, 20:17 Maarten van der Hoeven, > > wrote: >> >>> Thanks again Colin! I did a quick ch

Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-06-14 Thread Maarten van der Hoeven
erature1 can be changed in >>> either skin.conf or Weewx.conf. Don't forget to get all of your config >>> settings into weewx.conf so they don't get overwritten by an update to >>> skin.conf. Again it's in the Wiki. Let me go and look for that setting

Re: [weewx-user] Re: Belchertown skin 1.0 released!

2019-06-14 Thread Maarten van der Hoeven
y Rain with Rain Rate in 1 line station_observations = "barometer", >> "dewpoint", "outHumidity", "rainWithRainRate >> >> >> On Fri, Jun 14, 2019 at 6:46 PM Maarten van der Hoeven > > wrote: >> >>> Hi, >>> >>

[weewx-user] Re: Belchertown skin 1.0 released!

2019-06-14 Thread Maarten van der Hoeven
Hi, Thanks for the skin 1.0. Running without a flaw, and looking nice :) One question... I am using a second temperature sensor (temperature on the grass, 10cm above the surface), data is stored in the database as extraTemp1. What I understood from the wiki-chart, it should not be a problem

[weewx-user] Re: Twitter feed on top of the hour

2017-05-31 Thread Maarten van der Hoeven
4, 2017 at 3:34:47 PM UTC-4, Maarten van der Hoeven wrote: >> >> Hi, >> >> I've configured a Twiiter-feed in Weewx, working perfectly. With >> post_interval=3600, I told weewx to send the twitter feed every hour. >> Working okay. >> >> But, this

[weewx-user] Twitter feed on top of the hour

2017-05-14 Thread Maarten van der Hoeven
Hi, I've configured a Twiiter-feed in Weewx, working perfectly. With post_interval=3600, I told weewx to send the twitter feed every hour. Working okay. But, this hourly feed is initiated when weewx is started. For example, if I start weewx at 08:17, immediately a twitter feed is send, the