Re: [weewx-user] Creating custom graphs to display archive data

2018-01-20 Thread Thomas Keffer
I can't think of any way to do that with the existing reporting machinery without writing some pretty fancy custom search list extensions. Frankly, I think a SQL query would be easier. Even that would require some serious SQL-foo. Easiest would be to write a simple Python program that runs once a

[weewx-user] Re: Weewx, WMR300 and RaspberryPi "altimeter: none, barometer: none" no view ...?

2018-01-20 Thread Yngve Andersson
Ok ... I'll be back tomorrow Thanks / Yngve Den lördag 20 januari 2018 kl. 20:03:41 UTC+2 skrev mwall: > > yngve, > > what is the 'altitude' entered in your wmr300 console? > > please try the following: > > 1) stop weewx > > sudo /etc/init.d/weewx stop > > 2) ensure that the archive interval

Re: [weewx-user] Creating custom graphs to display archive data

2018-01-20 Thread Geoff Harris
Hi Tom, Sorry, I was thinking in unixtime meaning an hourly datetimestamp and making such a graph once per day, week or even month would be plenty. You are correct that I could make a script outside of weewx to query the database and spit this out. Was trying to keep it all within weewx. What

Re: [weewx-user] Transit alt error after moving from 3.7.1 to 3.8.0

2018-01-20 Thread Paul Bartholdi
Happy new year !Great weewx, great help. Thank you a lot! It works 100% OK. It was effectively working, as I has already put in place the "new" almanac.py which was replaced by the older one when I installed the new package (or could it be an other package?) Paul On 21 January 2018 at

Re: [weewx-user] Transit alt error after moving from 3.7.1 to 3.8.0

2018-01-20 Thread Thomas Keffer
I doubt this ever worked: this is a known bug that was fixed on 29 December 2017 , a month *after* V3.8.0 was released. To patch, replace your version of almanac.py with this version

[weewx-user] Transit alt error after moving from 3.7.1 to 3.8.0

2018-01-20 Thread Paul Bartholdi
Hello, I just updated today from 3.7.1 to 3.8.0 using .deb package. Every ting is instantly OK except for the following line, printing the altitude of the sun at transit. Hauteur au transit : $("%.1f" % $almanac($almanac_time=$almanac.sun.transit.raw).sun.alt) Now it returns the

Re: [weewx-user] Re: Data Issue

2018-01-20 Thread Dave McCreath
Tom About $90, but it'll also cover a Synology NAS plus the RPi and the Davis Vue console. Dave On Saturday, 20 January 2018 19:01:25 UTC, Tom Keffer wrote: > > I hit Amazon this morning for a UPS, it should be here by the end of the >> coming week. Maybe a bit of overkill but better to be

Re: [weewx-user] Read mqtt as a service

2018-01-20 Thread Andreas Otten
i like to report that it is not working, but the script is correct :) I go deeper in this when i have a second raspberry for testing Am Samstag, 20. Januar 2018 12:18:32 UTC+1 schrieb Andreas Otten: > > Thanks i have pulled it, and check it soon as possible! > > Thank you for your help > > mqtt

[weewx-user] ds18b20 multiple sensors from esp8266 nodemcu to file

2018-01-20 Thread Andreas Otten
Before i invent the wheel new :) anybody have a *ino file with a http post to write the values in a file from multiple ds18b20 sensors ? I have the weewx functions ready, but not the ino file for the esp8266 if yes, i am happy when you share it :) if not i made one :) -- You received this

Re: [weewx-user] Re: Davis Vantage Pro2 on RPI, problem with console time adjustment

2018-01-20 Thread Thomas Keffer
Incidentally, before you purge the fake clock, see if the file /etc/fake-hwclock.data is still around. That would cause your symptoms. Purging should remove the file. If it's not, remove it manually: sudo rm /etc/fake-hwclock.data -tk On Sat, Jan 20, 2018 at 12:12 PM, Thomas Keffer

Re: [weewx-user] Re: Davis Vantage Pro2 on RPI, problem with console time adjustment

2018-01-20 Thread Thomas Keffer
If you removed the fake clock, it should start at unix epoch time zero. If it's not, it's because the module was not removed properly. See the Wiki . In any case, the running an RTC is the right thing to do, particularly

Re: [weewx-user] Creating custom graphs to display archive data

2018-01-20 Thread Thomas Keffer
I'm not completely understanding your question. You say you want one hour averages, but your example has only one value per date. I would expect 24. Also, is this something you want to produce every archive cycle? Or, only as a one off? If the former, it will be a big file (many megabytes) and

Re: [weewx-user] Re: Data Issue

2018-01-20 Thread Thomas Keffer
> > I hit Amazon this morning for a UPS, it should be here by the end of the > coming week. Maybe a bit of overkill but better to be safe (and angst > free) rather than sorry. > ​Not at all overkill. It's one of the keys to a stable system, particularly with an RPi. Because the Pi's don't draw

[weewx-user] Re: Davis Vantage Pro2 on RPI, problem with console time adjustment

2018-01-20 Thread mwall
weewx will not process data until the time is after 00:00:00 01jan2000 utc. so perhaps your pi is reverting/starting at a time that is later than that. you can make the weewx time check a bit more robust by modifying engine.py change this: while weewx.launchtime_ts < 946684800: to a more

Re: [weewx-user] Creating custom graphs to display archive data

2018-01-20 Thread Geoff Harris
Hi Tom, Is there a creative way that one could make a text file with the data? I'm trying to figure out how to make a csv file with the last 5 years worth of data. Output CSV something like aggregate 1hr averages for outTemp Date, outTemp.0, outTemp.1, outTemp.2, outTemp.3, outTemp.4 Date1,

[weewx-user] Davis Vantage Pro2 on RPI, problem with console time adjustment

2018-01-20 Thread Zeky91
Hi. lately i started to use RPI with Raspbian Stretch(last version) to send data from Davis console with data logger online. Equipment is at my place at the moment, im testing it and it will go in remote location soon. Everything is working nice, I have adjusted to send archives from Davis

[weewx-user] Re: Weewx, WMR300 and RaspberryPi "altimeter: none, barometer: none" no view ...?

2018-01-20 Thread mwall
yngve, what is the 'altitude' entered in your wmr300 console? please try the following: 1) stop weewx sudo /etc/init.d/weewx stop 2) ensure that the archive interval in weewx.conf is 300 seconds. the archive interval of the wmr300 can be anything, but you might want to set it to 5

[weewx-user] Re: Weewx, WMR300 and RaspberryPi "altimeter: none, barometer: none" no view ...?

2018-01-20 Thread mwall
On Saturday, January 20, 2018 at 8:52:44 AM UTC-5, gjr80 wrote: > > Matthew, > > Would this situation not be able to be resolved if the WMR300 driver was > subjected to the (for want of a better term) 'removal of unnecessary > output' treatment that the vantage driver was given under 3.7.0? I

[weewx-user] Re: Weewx, WMR300 and RaspberryPi "altimeter: none, barometer: none" no view ...?

2018-01-20 Thread Yngve Andersson
Andrew and Gary Longer times does not seem to solve the problem of the presentation of pressure! I have now tried a totally crazy idea without any knowledge, I hope you have an earning with my ignorance ... I set the time weewx.conf back to 300 seconds and the WMR300 logging to 1 minute

Re: [weewx-user] Re: Question about latitude/longitude

2018-01-20 Thread k_herriage via weewx-user
Done and Done. thanks again. keith On Saturday, January 20, 2018 at 8:26:38 AM UTC-6, gjr80 wrote: > > Yes, suggest you edit weewx.conf and under [StdReport] comment out the > SteelSeries skin. The SteelSeries skin is set to copy all the necessary web > server files(including gauges.js) as

[weewx-user] Re: Data Issue

2018-01-20 Thread Dave McCreath
Gary I'm afraid that you are right again, no, I didn't use sudo before issueing the 'dump' command, never mind too late now. I hit Amazon this morning for a UPS, it should be here by the end of the coming week. Maybe a bit of overkill but better to be safe (and angst free) rather than sorry.

Re: [weewx-user] Re: Question about latitude/longitude

2018-01-20 Thread Gary Roderick
Yes, suggest you edit weewx.conf and under [StdReport] comment out the SteelSeries skin. The SteelSeries skin is set to copy all the necessary web server files(including gauges.js) as part of the first report cycle after a WeeWX start. Commenting out the skin will prevent this occurring in the

[weewx-user] Re: Data Issue

2018-01-20 Thread gjr80
Dave, The lines similar to: Jan 20 08:56:46 raspberrypi wee_device[2124]: manager: Unable to add record 2018-01-18 17:45:00 GMT (1516297500) to database 'weewx.sdb': attempt to write a readonly database indicate that data dumped from the logger by wee_device could not be written to the

[weewx-user] Re: Weewx, WMR300 and RaspberryPi "altimeter: none, barometer: none" no view ...?

2018-01-20 Thread gjr80
Matthew, Would this situation not be able to be resolved if the WMR300 driver was subjected to the (for want of a better term) 'removal of unnecessary output' treatment that the vantage driver was given under 3.7.0? I see there are archive records and loop packets where all 3 'pressures' are

[weewx-user] Re: Question about latitude/longitude

2018-01-20 Thread gjr80
On Saturday, 20 January 2018 23:20:36 UTC+10, k_her...@yahoo.com wrote: > > Downloaded 0.3.2, Fixed the cpu%. > Thanks again. > Good, and no problems. > How did the stargazing go? > Good, clouds cleared for a good couple of hours and saw some excellent nebula and clusters in telescopes far

[weewx-user] Re: Question about latitude/longitude

2018-01-20 Thread k_herriage via weewx-user
Gary, Ok, I try that this morning. Maybe I did make my self clear. I wanted the standard page that comes with weewx installation and ss gauges page. And I have that now. The standard report has been working for a while. I was thinking of the Standard vs rtgd, I didn't understand that rtgd and

Re: [weewx-user] Creating a first time config file

2018-01-20 Thread Thomas Keffer
Yes. Make sure you delete the database you used. Otherwise, it will consist of a mix of simulated and real data. The database is located in /var/lib/weewx/weewx.sdb sudo rm /var/lib/weewx/weewx.sdb -tk On Fri, Jan 19, 2018 at 10:35 PM, William wrote: > Thank you! I

[weewx-user] Re: LaCrosse ws1640 problems

2018-01-20 Thread cbergy
Thanks for your answer Adrew, I undertand what you say. The power supply is big enough to handle the Raspberry. In the meantime I recovered an USB powered hub and I started some testing, I'll let you know if it works Il giorno sabato 20 gennaio 2018 09:42:53 UTC+1, Andrew Milner ha scritto:

[weewx-user] Re: Weewx, WMR300 and RaspberryPi "altimeter: none, barometer: none" no view ...?

2018-01-20 Thread Yngve Andersson
Andrew I have now changed the time in weewx.conf to 1800 sec=30 minutes and WMR300 to 15 minutes (WMR300 can only select storage frequency to 1 minute, 5 minutes, 15 minutes and 60 minutes). We wait for results in an hour and then see. Thank you so much / Yngve Den lördag 20 januari

Re: [weewx-user] Read mqtt as a service

2018-01-20 Thread Andreas Otten
Thanks i have pulled it, and check it soon as possible! Thank you for your help mqtt is running i should be able to solve this. Am Samstag, 20. Januar 2018 10:39:55 UTC+1 schrieb Glenn McKechnie: > > Hi, > > I can't help with mqtt, or getting your project working, but the error in > that code

[weewx-user] Re: Weewx, WMR300 and RaspberryPi "altimeter: none, barometer: none" no view ...?

2018-01-20 Thread Andrew Milner
The .conf you posted had the interval set to 900 = 15 minutes, not 5, but the station only outputs the pressure every 15 minutes - so perhaps your archive interval needs to be 20-30 minutes in order to contain at least one pressure reading Does the weather station have its interval set to the

Re: [weewx-user] Read mqtt as a service

2018-01-20 Thread Glenn McKechnie
Hi, I can't help with mqtt, or getting your project working, but the error in that code is to reshuffle the 4 syslog defs back to the top of the code, so they are defined before they are called. Have a look at https://github.com/weewx/weewx/blob/master/examples/pmon/bin/user/pmon.py and you'll

[weewx-user] Re: Weewx, WMR300 and RaspberryPi "altimeter: none, barometer: none" no view ...?

2018-01-20 Thread Yngve Andersson
Andrew Ok! has now changed the WMR300 logging interval to 5 minutes. I have waited a period of 900 seconds for the first REC, giving unchanged results. Attaches weewx.conf as it is running now! Best regards / Yngve Den lördag 20 januari 2018 kl. 10:52:28 UTC+2 skrev Andrew Milner: > > Can you

[weewx-user] Re: Data Issue

2018-01-20 Thread Dave McCreath
Gary Many, many thanks for getting back and pointing me in the right direction. Done as you suggested, stopped weeWx, changed config back to hardware, dumped (for clarity), then cleared the station memory and then restarted weeWx. All seems to now be OK but I've attached the log below just in

[weewx-user] Re: Weewx, WMR300 and RaspberryPi "altimeter: none, barometer: none" no view ...?

2018-01-20 Thread Andrew Milner
Can you post your weewx.conf - with sensitive passwords removed of course. Weewx can be set to either generate archive records from hardware or generate them by software. If the hardware rec always has the right data then ensure that in weewx.conf - stdArchive section - you have got record

[weewx-user] Re: LaCrosse ws1640 problems

2018-01-20 Thread Andrew Milner
I have never tried the pizero-w with a usb connection, just via Bluetooth connected devices - but if it is anything like the other Pis - have you tried connecting the station via a POWERED USB hub rather than using the micro port of the pizero? It may work more reliably. Certainly I use

[weewx-user] Re: Weewx, WMR300 and RaspberryPi "altimeter: none, barometer: none" no view ...?

2018-01-20 Thread Yngve Andersson
Notes on ... After the Weewx program has stopped (for some reason?) And been turned off for a few hours, I now restart with the command "*sudo weewxd weewx.conf*". There is now a list of "REC" with historically stored values ​​from the time weewx stopped. Measurement values ​​displayed

[weewx-user] LaCrosse ws1640 problems

2018-01-20 Thread cbergy
Hi all, I own a brand new LaCrosse ws1640 directly connected to my Raspberry PI Zero W, and I'm trying to collect data using Weewx. Everything sould be up to date, I installed Raspbian recently and I installed Weewx on Raspbian using the repository as shown in the user guide. To get data from