[weewx-user] Re: weewx4 - vantagepro issue

2020-03-18 Thread rich T
In addition to Tom and Vince replies, might want to look into a RTC module or GPS USB Dongle. > > > -- 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] Re: New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread Bill Arthur
Thank you both. I can certainly wait for for a bit. I'm just happy that it wasn't something stupid I did during install. And I look forward to helping test the new copy. On Wednesday, March 18, 2020 at 1:56:56 PM UTC-5, Bill Arthur wrote: > > I just reinstalled Weewx and Weather34. It's

[weewx-user] Re: Trying to decide between multiple weewx instances or expanding the weewx database

2020-03-18 Thread vince
On Wednesday, March 18, 2020 at 11:17:23 AM UTC-7, Patrick Mendiuk wrote: > I have been running some Weatherflow Sky and Air sensors along with a > number of MQTT sensors feeding into one instance of weewx. I recently > added a Tempest sensor and a Vantage 2 Pro ISS. I am trying to decide if

Re: [weewx-user] Re: New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread steeple ian
Bill, Thomas is correct. The reason I asked about your WeeWX version is that we are moving away from CanvasJS to Highcharts. We have not completed our testing on WeeWX 4 builds but it is looking good for 3.9.2. If you can hold fire for a couple of days I can let you have a copy to try. The whole

Re: [weewx-user] Re: New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread Thomas Keffer
This is almost surely a problem in the skin "Weather34Report." Somewhere in the template Weather34/w34charts/chartdata/result.csv.tmpl is some arithmetic, where two numbers are getting added together. One of them is value Python None, rather than a number. In general, when writing code or

[weewx-user] Re: New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread Bill Arthur
Thanks for the quick response! 3.9.2 Downloaded and installed last night. On Wednesday, March 18, 2020 at 1:56:56 PM UTC-5, Bill Arthur wrote: > > I just reinstalled Weewx and Weather34. It's working OK, but I get the > following error messages. Any idea where the problem lies? > > Mar 18

Re: [weewx-user] Dato nuevo en la estructura de la tabla mysql

2020-03-18 Thread Thomas Keffer
See the section *Adding a new type to the database * in the Customizing Guide for instructions on how to add new fields to the database. On Wed, Mar 18, 2020 at 8:38 AM jose riaño wrote: > Buenos días > > > Quiero agregar un dato nuevo

Re: [weewx-user] New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread steeple ian
Which version of WeeWX are you running? > On 18 Mar 2020, at 18:56, Bill Arthur wrote: > > I just reinstalled Weewx and Weather34. It's working OK, but I get the > following error messages. Any idea where the problem lies? > > Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generate

[weewx-user] New Weewx/W34 install works OK, but with error msgs

2020-03-18 Thread Bill Arthur
I just reinstalled Weewx and Weather34. It's working OK, but I get the following error messages. Any idea where the problem lies? Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Generate failed with exception '' Mar 18 13:50:27 OpiQ-2 weewx[498]: cheetahgenerator: Ignoring template

Re: [weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Mike Revitt
Thanks Thomas, easy when you know how On Wednesday, March 18, 2020 at 6:27:59 PM UTC, Thomas Keffer wrote: > > import weewx > > if event.record['usUnits'] == weewx.US: > event.record['extraTemp1'] = ( cpu.temperature * 1.8 ) + 32 > else: > event.record['extraTemp1'] = cpu.temperature > >

Re: [weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Thomas Keffer
import weewx if event.record['usUnits'] == weewx.US: event.record['extraTemp1'] = ( cpu.temperature * 1.8 ) + 32 else: event.record['extraTemp1'] = cpu.temperature -tk On Wed, Mar 18, 2020 at 8:38 AM Mike Revitt wrote: > Thanks Thomas, > > Was looking at that but didn't know how, my

Re: [weewx-user] Re: weewx4 - vantagepro issue

2020-03-18 Thread Thomas Keffer
In addition to Vince's recommendation: 1. you should also set debug=1 in weewx.conf, then restart. It may give you more clues as to what is going on. 2. Run the command "dmesg". This will show you if anything is going on with the kernel. Long shot, but worth checking. 3. Is your

[weewx-user] Trying to decide between multiple weewx instances or expanding the weewx database

2020-03-18 Thread Patrick Mendiuk
Hi, I have been running some Weatherflow Sky and Air sensors along with a number of MQTT sensors feeding into one instance of weewx. I recently added a Tempest sensor and a Vantage 2 Pro ISS. I am trying to decide if I should setup two additional weewx instances or expand the original

[weewx-user] Re: weewx4 - vantagepro issue

2020-03-18 Thread vince
On Wednesday, March 18, 2020 at 9:02:49 AM UTC-7, weerstation Maurik wrote: > How can a RPi loose 6 seonds when not running weewx for maybe 15min > > All computers can do this if they are starting to fail. You should be running ntp or systemd equivalent to keep the clock in sync with reality.

[weewx-user] Re: Belchertown Development & WeeWX 4 b10 Error

2020-03-18 Thread G Hammer
On Tuesday, March 17, 2020 at 1:13:32 PM UTC-4, G Hammer wrote: > > The issue is resolved by the following: > > I installed > libfreetype6-dev > libjpeg-dev > python-cjson > > I uninstalled the skin, made certain the directories were gone, rebooted > and installed the skin again. > > After

Re: [weewx-user] Re: small problem with database binding

2020-03-18 Thread 'angry tux' via weewx-user
Thanks a lot to both of you, it surely works. Sorrry to bother, I saw the hints for bindings and the aggregation, but I have overlooked how to combine them. Great to have this examples :-) Regards -- You received this message because you are subscribed to the Google Groups "weewx-user"

Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Luftfahrtverein Grünstadt
I got an answer from the data center which confirm that everything is running fine on their side. Apparently something got wrong after updating the pi - does anyone know if there were recent updates on the pi, e.g. concerning a firewall or virus protection which could lead to the bad

[weewx-user] Re: weewx4 - vantagepro issue

2020-03-18 Thread weerstation Maurik
> > Restarted the RPi and same things occurred. > Decided to remove the old database and see what happened then. command line runned as it should be, all updating database and website = all good ctrl-c on command line and executed the daemon commands. Mar 18 16:31:31 rpi-weather weewx[1217]

Re: [weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Mike Revitt
Thanks Thomas, Was looking at that but didn't know how, my Raspberry Pi reports the temperature in Celsius and the database is in Fahrenheit and obviously a check would be best. But how to do that easily? On Wednesday, March 18, 2020 at 2:14:32 PM UTC, Thomas Keffer wrote: > > Well done! >

[weewx-user] Dato nuevo en la estructura de la tabla mysql

2020-03-18 Thread jose riaño
Buenos días Quiero agregar un dato nuevo a la estructura de la tabla weewx: por ejemplo mi tabla CREATE TABLE Tabla (`dateTime` INTEGER NOT NULL UNIQUE PRIMARY KEY, `usUnits` INTEGER NOT NULL, `interval` INTEGER NOT NULL, `barometer` REAL, `pressure` REAL, `altimeter` REAL, `inTemp`

Re: [weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Thomas Keffer
Well done! However, your extension makes the assumption that the archive record is always in US Customary. Best to put a check in there before doing the conversion. -tk On Wed, Mar 18, 2020 at 6:34 AM Mike Revitt wrote: > Not sure if you are still looking for solutions, but I liked you idea

Re: [weewx-user] Re: small problem with database binding

2020-03-18 Thread steeple ian
Try $week($data_binding='SMA_binding', $weeks_ago=2).grid_energy.max.formatted On Wed, 18 Mar 2020 at 09:50, 'angry tux' via weewx-user < weewx-user@googlegroups.com> wrote: > Hi, > > Thats what I tried in different ways, honestly, I never learned to code, > just puzzle around as good as I

[weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Mike Revitt
Not sure if you are still looking for solutions, but I liked you idea so had a look at implementing it in Python. Turns out it was easier than I thought. 1) create a python file and put it into the bin/user directory, this file gets the CPU temperature, coverts it to Fahrenheit and puts it

Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Thomas Keffer
If you are using a database connection to a remote server in the cloud, you can almost surely expect poor performance. MySQL servers typically have logs for queries. Can't speak for where your data center put them, but they are usually in /var/log/mysql or something similar. -tk On Wed, Mar 18,

Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Luftfahrtverein Grünstadt
okay, since it is a paid service in a large data center I will give them a call. Is there a way for getting more debug information, e.g. log the fired sql queries to fire them manually directly on the database? Am Mittwoch, 18. März 2020 13:16:23 UTC+1 schrieb Thomas Keffer: > > Well, there is

Re: [weewx-user] Installation issues on Synology DS918+ -- No module named configobj

2020-03-18 Thread Ivan Schrooyen
Hello, Thanks for your fast answer. I have actually run all installation as root user. In order to do that on Synology, I had to issue the command "sudo -i" before hand. In any case, I have tried both options mentioned in your last post a couple of seconds ago, and I am still stuck with the

Re: [weewx-user] Installation issues on Synology DS918+ -- No module named configobj

2020-03-18 Thread Thomas Keffer
Because you installed configobj using pip, but *without root privileges*, pip did what's called a "user" install. Because "sudo" was not specified, it could not install configobj in the system directories, so, instead, it installed in a subdirectory (usually ".local") of your home directory.

[weewx-user] Re: weewx4 - vantagepro issue

2020-03-18 Thread weerstation Maurik
> > Thanks for the quick reply Thomas. > I have restarted the RPi, now wait half an hour or so and then start weewx from the commandline. Wait another half an hour and see what I got. Will report back here later. The time thing I noticed the 640sec or so but didn't see the fast and slow ! The

[weewx-user] Installation issues on Synology DS918+ -- No module named configobj

2020-03-18 Thread Ivan Schrooyen
Hello, I would like to become a new user of Weewx and install it on my Synology NAS (DS918+). The NAS is running the latest OS from Synology: DSM 6.2.2-24922. The installation procedure to be followed is according to me the one with python. The NAS has 2 versions of python installed: 2.7.12

Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Thomas Keffer
Well, there is something wrong on the external server or, possibly, the connection between. In general, installations that use MySQL are less reliable than those using SQLite. See the Wiki article *SQLite vs MySQL *. -tk On Wed, Mar 18, 2020

Re: [weewx-user] weewx4 - vantagepro issue

2020-03-18 Thread Thomas Keffer
I think WeeWX is probably working fine when you ran it from the command line. It's just that its archive interval is 10 minutes, and you did not let it run that long, so you did not see any new reports. As for the I/O errors while running as a daemon: I noticed that the time on the Vantage clock

Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Luftfahrtverein Grünstadt
Hi Thomas, thank you for your answer. No, the MySQL database is not on the pi, it is externally hosted. Am Mittwoch, 18. März 2020 12:16:20 UTC+1 schrieb Thomas Keffer: > > I take it you are running MySQL on a Raspberry Pi? Could be that the SD > card is failing. > > On Wed, Mar 18, 2020 at

[weewx-user] weewx4 - vantagepro issue

2020-03-18 Thread weerstation Maurik
I have installed version 4 according to the docs in the install archive on my RPi. Added my old databases (54MB) in the weewx/archive folder and started weewx from the command line. A full import of the database took place and it grew to 60MB. I have however problems getting data in the system

Re: [weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Thomas Keffer
I take it you are running MySQL on a Raspberry Pi? Could be that the SD card is failing. On Wed, Mar 18, 2020 at 12:23 AM Luftfahrtverein Grünstadt < webmas...@luftfahrtverein-gruenstadt.de> wrote: > Hi all, > > after updating our raspberry pi (apt-get update & upgrade) I experience > very bad

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

2020-03-18 Thread Gil Hutcheson
Hello- I am trying to get this working, but I do not get any output to the /var/www/html directory. The syslog entry and the StdReport entry are below. Not seeing any errors just no output. Suggestions? Thanks in advance! Mar 18 06:25:22 raspberrypi weewx[18585]: manager: Added record

[weewx-user] Re: small problem with database binding

2020-03-18 Thread gjr80
Nothing to do with coding, I gave you a big clue. Here is a bigger one, have a look at what you tried that did not work: $week($weeks_ago=2)($data_binding='SMA_binding').grid_energy.max.formatted Now have a look at the tag syntax from the link I provided: $period($data_binding=binding_name,

[weewx-user] Re: small problem with database binding

2020-03-18 Thread 'angry tux' via weewx-user
Hi, Thats what I tried in different ways, honestly, I never learned to code, just puzzle around as good as I understand. But for this I don´t get it whats wrong. Is there nobody with a hint? Regards -- You received this message because you are subscribed to the Google Groups "weewx-user"

[weewx-user] Very bad performance leading to "lost connection to mysql server" and weewx endless loop

2020-03-18 Thread Luftfahrtverein Grünstadt
Hi all, after updating our raspberry pi (apt-get update & upgrade) I experience very bad performance of weewx resulting in an endless loop of retrying. Here is an excerpt of the log: Mar 18 08:10:18 raspberrypi weewx[467]: manager: Added record 2020-03-18 08:10:00 CET (1584515400) to database

[weewx-user] Re: Insallation of Weewx on Synology NAS

2020-03-18 Thread Nicolas CUVILLIER
I did not install weewx on my NAS I used to have weatherDisplay running on a win10 vm on my Synology NAS. every time weatherDisplay write a data in a file, the disk of the NAS were awake, while disks are usually sleeping in out-of-work hours. Also I had to stop all unnecessary services running