[weewx-user] Re: Problem with alarm.py in Weewx 4.0

2020-05-22 Thread Remy Lavabre
Hello, In fact I found a solution: alarm.py has been placed in the folder /usr/share/weewx/weewx (with engine.py, cheetagenerator.py and other..) ; and I changed the line in the weewx.conf : report_services = weewx.engine.StdPrint, weewx.engine.StdReport, weewx.alarm.MyAlarm Now it works we

Re: [weewx-user] Problem with evapotranspiration after upgrade from 3.9.2 to 4.0

2020-05-22 Thread IL
Hi Tom, Thanks for coming back to me. I think I have to apologize for starting this thread. I found the error that caused the bar diagram to fail and now things look quite normal. ET is similar to what I have seen before. Anyhow, I send you the output in case you would care to check that they l

Re: [weewx-user] Uṕgrade from 2.7.0 to 4.0.0 fail

2020-05-22 Thread BEIJY BUA
So I delete the complete cmon part. Now its Running but now i have this: ay 23 07:17:04 raspberrypi weewx[3100] INFO weewx.reportengine: Copied 0 files to /home/weewx/public_html May 23 07:17:05 raspberrypi weewx[3100] ERROR weewx.cheetahgenerator: Generate failed with exception '' May 23 0

Re: [weewx-user] Problem with alarm.py in Weewx 4.0

2020-05-22 Thread Remy Lavabre
Thanks you for jour answers but ; 1/ directory usr/share/weewx/bin/user does not existe ; 2/ Alarm.py is already in usr/share/weewx/user but it does not work... I have a "standard" weewx installation under raspbian raspberry. And when i put user.alarm.MyAlarm in [Engine] [[Services]]... As descr

Re: [weewx-user] Problem with alarm.py in Weewx 4.0

2020-05-22 Thread Tom Keffer
Not quite. It's /usr/share/weewx/user You will probably need 'sudo' to do the copy. -tk On Fri, May 22, 2020 at 6:21 PM Graham Eddy wrote: > bin/user under your weewx root. > if your weewx root is /usr/share/weewx, then /usr/share/weewx/bin/user > > On 23 May 2020, at 2:23 am, Remy Lavabre

Re: [weewx-user] Problem with alarm.py in Weewx 4.0

2020-05-22 Thread Graham Eddy
bin/user under your weewx root. if your weewx root is /usr/share/weewx, then /usr/share/weewx/bin/user > On 23 May 2020, at 2:23 am, Remy Lavabre wrote: > > > Hello, > I have a problem using Alarm.py: > > I entered the configuration in the weewx.conf file with the correct > parameters: > >

Re: [weewx-user] V4 with python2 OWFS errors

2020-05-22 Thread Glenn McKechnie
Strange, I wouldn't have thought that would bite with python2.7 ? It's really one for an expert, but you can try the following and see if it gets you any further. line 205 in owfs.py try changing that from... owbinding.init(iface) to... owbinding.init(iface.encode()) On 22/05/2020, Gazza wro

[weewx-user] Re: GUI date/time and current conditions frozen

2020-05-22 Thread gjr80
OK, starting to test the limits of my networking knowledge. One last thing to try, let's make sure the interceptor is listening to the correct IP address (and only the correct IP address). In weewx.conf under [Interceptor] can you add and the address = 192,168.2.41, ie: [Interceptor]

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

2020-05-22 Thread Tom Keffer
Sounds like a perfect job for the xtypes system. See this wiki article: *WeeWX V4 user defined types (xtypes)* . See if it answers your question. If you define a derived variable using xtypes, it becomes a first-class type and can be

Re: [weewx-user] Problem with evapotranspiration after upgrade from 3.9.2 to 4.0

2020-05-22 Thread Tom Keffer
Let's check by calculating the ET for the last hour in your database, a time when, hopefully, there is a meaningful ET. Use this select statement: select min(datetime), max(dateTime), max(outTemp), min(outTemp), avg(radiation), avg(windSpeed), max(outHumidity), min(outHumidity), min(usUnits), max(

[weewx-user] Re: GUI date/time and current conditions frozen

2020-05-22 Thread Zsolt Máté
Update, disabling MQTT didn't help. My time just jumped 10 hours in advance. From 12PM to 10PM. > > Log 10 minutes +/- 12PM -> https://pastebin.com/FjkM7Mg8 Problem occurs here May 23 12:00:19 weewx weewx[9805] DEBUG user.interceptor: raw packet: { 'wind_speed': 1.8, 'humidity_in': 46.0, 'temperat

[weewx-user] Re: GUI date/time and current conditions frozen

2020-05-22 Thread Zsolt Máté
Right now I've disabled MQTT in weewx.conf, cleaned the future records from the database, dropped and rebuild the daily stats. Last HTML generated is more than 30 minutes old. To paint a picture of my setup: I'm running this weather station -> https://www.jaycar.co.nz/7-inch-colour-wireless-wea

[weewx-user] Re: GUI date/time and current conditions frozen

2020-05-22 Thread gjr80
Thanks. I am trying to get my head around what is going on here. There seems to be a lot of double handling (posting) of records, for example the 22 May 19:50:20 record is published by the MQTT uploader six times: May 22 19:50:28 weewx weewx[5569] INFO weewx.restx: MQTT: Published record 2020-0

Re: [weewx-user] Re: Belchertown Skin Charts

2020-05-22 Thread Ron Sell
Do you know what tables the charts use? I loaded 209 data from a previous database and the data doesn't show on any of the charts. Thanks On Fri, May 22, 2020 at 11:37 AM Manfred Maier wrote: > So, I've just tried to replicate your slide: > > This is the syntax: > > [test] > > # Chart Time

[weewx-user] Re: Monitoring WeeWX with Nagios

2020-05-22 Thread Xant
Vince You correct, and apologies to MWall for missing the remarks. To note, there is a typo, or later name change (missing a 'd'): apt-get install libdb*d*-sqlite3-perl No longer DBI error, but still issues. I will keep posted, or try Maarten script. -- You received this message because yo

[weewx-user] Re: Belchertown MQTT update time is chaotic

2020-05-22 Thread Keimpe Bleeker
Reinstalled Belchertown, unfortunately no success :( Op maandag 18 mei 2020 19:44:51 UTC+2 schreef Keimpe Bleeker: > > Another try to find a solution for a weird problem! > > Problem: MQTT updates are working perfect, but the text and time of the > last update on the website is chaotic (see s

Re: [weewx-user] Re: Belchertown Skin Charts

2020-05-22 Thread Ron Sell
That worked. Thank you for your help. On Fri, May 22, 2020 at 11:37 AM Manfred Maier wrote: > So, I've just tried to replicate your slide: > > This is the syntax: > > [test] > > # Chart Timespan Defaults > > title = "Test for Ron" > > show_button = true > > button_text = "Test" >

[weewx-user] Problem with alarm.py in Weewx 4.0

2020-05-22 Thread Remy Lavabre
Hello, I have a problem using Alarm.py: I entered the configuration in the weewx.conf file with the correct parameters: [Alarm] expression = "outTemp < 40.0" time_wait = 3600 smtp_host = smtp.example.com smtp_user = myusername smtp_password = mypassword from = sa...@example.com mailto = j...@e

Re: [weewx-user] Re: Belchertown Skin Charts

2020-05-22 Thread Manfred Maier
So, I've just tried to replicate your slide: This is the syntax: [test] # Chart Timespan Defaults title = "Test for Ron" show_button = true button_text = "Test" time_length = year tooltip_date_format = " LL" aggregate_type = max aggregate_interval = 864

Re: [weewx-user] Re: Belchertown Skin Charts

2020-05-22 Thread Ron Sell
1.1 On Fri, May 22, 2020 at 10:38 AM Manfred Maier wrote: > What version of Belchertown are you running? There are slight differences > in the graphs syntax between 1.0 and 1.1 > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscri

Re: [weewx-user] Uṕgrade from 2.7.0 to 4.0.0 fail

2020-05-22 Thread BEIJY BUA
This is the log here it stops for 10 Minutes: May 22 16:53:12 raspberrypi systemd[1]: Starting LSB: weewx weather system... May 22 16:53:14 raspberrypi weewx[9685] INFO __main__: Initializing weewx version 4.0.0 May 22 16:53:14 raspberrypi weewx[9685] INFO __main__: Using Python 2.7.16 (default,

Re: [weewx-user] Uṕgrade from 2.7.0 to 4.0.0 fail

2020-05-22 Thread BEIJY BUA
Hello I delete the extension cmon completly now i have this: May 22 16:51:15 raspberrypi weewx[6825] INFO __main__: File "/home/weewx/bin/weewxd", line 154, in main May 22 16:51:15 raspberrypi weewx[6825] INFO __main__: engine.run() May 22 16:51:15 raspberrypi weewx[6

[weewx-user] Re: Belchertown Skin Charts

2020-05-22 Thread Manfred Maier
What version of Belchertown are you running? There are slight differences in the graphs syntax between 1.0 and 1.1 -- 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 t

[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 amount

[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 phone (Edge).

[weewx-user] Re: Belchertown Skin Charts

2020-05-22 Thread Ron Sell
Thanks when I commentaggregate_interval = 86400 # 1 day out the graph is blank. [image: 2020-05-22-090844_1920x1080_scrot.png] The graph should look like this: [image: image] On Wednesday, 20 May 2020 00:04:38 UTC-4, Ron Sell wrote: > > Having a little trouble with this one it showing i

[weewx-user] Problem with evapotranspiration after upgrade from 3.9.2 to 4.0

2020-05-22 Thread IL
Before upgrade I had a bar diagram for ET (hourly total) in the Seasons skin showing reasonable values. After upgrade the diagram is still there, but no bars. When I look into the database there are values > 0. Today, a day with beautiful weather and bright sunshine, I see values like 0.0009. B

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

2020-05-22 Thread 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 phone (Edge). Strangely, it shows at Safari. Anyway, I am now sure and convinced that nothing is wrong with the

Re: [weewx-user] Re: AcuRite 5-in-1 sensor and barometric pressure

2020-05-22 Thread steeple ian
Or you could get one of these:- https://www.ambientweather.com/amwh32b.html Works perfectly with SDR. Make sure you get the right frequency to match your other sensors. Ian On Fri, 22 May 2020 at 05:50, Bryan Parke wrote: > Hi Rich, > > Unfortunately, I didn't buy a console, just the outside

Re: [weewx-user] python3-ow for OWFS

2020-05-22 Thread Gazza
Thanks for that I was not sure if i needed to point to python or python2. Just looked in that location and both of those files are links to python2.7. So far have a new V4 python 2 install running with all the SDR stuff receiving data and about to try the OWFS service again. Gaz -- You rece

Re: [weewx-user] python3-ow for OWFS

2020-05-22 Thread Tom Keffer
It's pretty simple, really. Your weewx.service file will have a section that looks like [Service] ExecStart=/home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /home/weewx/weewx.conf ExecReload=/bin/kill -HUP $MAINPID Type=forking PIDFile=/var/run/weewx.pid You want to invoke python expl

Re: [weewx-user] AcuRite 5-in-1 sensor and barometric pressure

2020-05-22 Thread Greg Troxel
Bryan Parke writes: > Hi all. Weewx is great! I'm very impressed with all that it can do. Here > is a bit about my setup. > > 1) AcuRite 5-in-1 pro broadcasting on 433mhz > 2) Raspberry Pi with rtl-sdr capturing data using rtl_433 > 3) Using the sdr driver > 4) Using mosquitto to publish real-

Re: [weewx-user] python3-ow for OWFS

2020-05-22 Thread Gazza
I did a setup.py install. -- 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:

Re: [weewx-user] New Database weewx 4.0

2020-05-22 Thread Tom Keffer
WeeWX Version 4 introduces a new, more flexible, way of specifying schemas. The old way is still supported. If I understand you correctly, you're trying to use the new way on an old copy of WeeWX. Try upgrading WeeWX, then try again. -tk On Thu, May 21, 2020 at 9:26 PM Echo 7 Foxtrot < michael.f

Re: [weewx-user] python3-ow for OWFS

2020-05-22 Thread Tom Keffer
If you did a package install, look in /etc/default/weewx On Thu, May 21, 2020 at 8:32 PM Gazza wrote: > > Thanks for the info, I also want to add a BME280 sensor and have had a > look at the bme280wx driver by WJCarpenter and it seems to be python2 only > at this stage. > > So for the time being

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

2020-05-22 Thread Keimpe Bleeker
Aand now it's there: Doorlopend neerslagtekort (apr t/m sept) 149mm Laatste keer geregend op 03:45, 04-05-2020 Laagste grasminimum vandaag 8.3℃ om 03:55 uur :) Op vrijdag 22 mei 2020 12:52:11 UTC+2 schreef Keimpe Bleeker: > > Hoi Maarten, > > Both on PC (Chrome) and mobiel (Huawe

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

2020-05-22 Thread Keimpe Bleeker
Hoi Maarten, Both on PC (Chrome) and mobiel (Huawei, ANdroid, Chrome) there is no index_hook_after_station_info.inc text. In my case it works perfectly from the first minute. Have you restarted Weewx after making the changes? Regards, Keimpe Op vrijdag 22 mei 2020 10:

[weewx-user] Re: Interceptor receives empty packets - Netcat don't....

2020-05-22 Thread IL
My problem is now solved, thanks to this link: https://groups.google.com/d/msg/weewx-user/OocmnyeIhbM/I-yHmyabCAAJ. The reason for the problem was obviously a change of format in EasyWeather. Installing interceptor-0.54b.py took care of this. Den torsdag 21 maj 2020 kl. 10:38:12 UTC+2 skrev IL:

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

2020-05-22 Thread Manfred Maier
Hmm .. it also shows up in the Edge browser on my iPhone. Am Freitag, 22. Mai 2020 12:03:41 UTC+2 schrieb Maarten van der Hoeven: > > Thanks Manfred. I also have an iPhone, but am using the webbrowser Edge. > Doesnt show up there. Never occured to me to test with safari, there it > shows. Thanks

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

2020-05-22 Thread Maarten van der Hoeven
Thanks Manfred. I also have an iPhone, but am using the webbrowser Edge. Doesnt show up there. Never occured to me to test with safari, there it shows. Thanks for letting me know, it's a browser thing and not something with the Belchertown skin. Op vrijdag 22 mei 2020 11:56:37 UTC+2 schreef Man

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

2020-05-22 Thread 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 Belchertown in this > weewx-group. My apologies... > > Fairly easy que

Re: [weewx-user] confusion with manager and schema

2020-05-22 Thread RothMa
Hello, thank you for the answer. This helps, now it is quite simple and I can use my old database with the new manager and schema V4.0 (added according to the new method) without having to make any changes to the database. Thank you very much and best regards Martin Am Donnerstag, 21. Mai 202

[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 usi

[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: GUI date/time and current conditions frozen

2020-05-22 Thread Zsolt Máté
It stopped updating the html at local 08:00PM, and in the log I see an MQTT message dated tomorrow. It's MQTT related: May 22 20:00:20 weewx weewx[5569] INFO weewx.restx: MQTT: Published record 2020-05-23 07:00:00 NZST (1590174000) Log from 10 minutes before until 10 minutes after 8PM -> https:

[weewx-user] Re: GUI date/time and current conditions frozen

2020-05-22 Thread Zsolt Máté
Weird, I really don't know what's happening. This morning, I've deleted everything related to the past day from the database. 1. done 2. deleted two records, see attached image 3. I've deleted all the files from /var/www/html/weewx/ 4. ran wee_database --drop-daily and --rebuild-daily 5. debug i

Re: [weewx-user] Re: Weewx-interceptor stopped working

2020-05-22 Thread IL
Excellent! Upgrading to interceptor-054b.py did the trick. Thank you very much! Den fredag 22 maj 2020 kl. 09:33:46 UTC+2 skrev IL: > > > > Den fredag 22 maj 2020 kl. 03:42:05 UTC+2 skrev n yj: >> >> i had a similar problem linked below, see if it helps you >> >> https://groups.google.com/d/msg/w

Re: [weewx-user] Re: Weewx-interceptor stopped working

2020-05-22 Thread IL
Den fredag 22 maj 2020 kl. 03:42:05 UTC+2 skrev n yj: > > i had a similar problem linked below, see if it helps you > > https://groups.google.com/d/msg/weewx-user/OocmnyeIhbM/I-yHmyabCAAJ > >> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To u