Re: [weewx-user] Aggregation generates empty plots in daily images (customized Seasons skin)

2019-07-07 Thread mph


[image: daytemphilow_line_gap_0.2.png]
Thanks for the advice.

Changing line_gap_fraction to 0.2 did the trick. I've tested another values 
down to 0.03.
The 0.04 is the smallest value, when the graph is plotted right.

I've noticed in this image a small gap at the start and the end of the data 
lines (left and right side).
None of my other images does have this.

But as a workarround the line_gap_fraction trick is reasonable good for me.
Although the trick helped, I did the manager.py test. Resulting output is 
in attachment.

Thank you a lot for your help
Pavel 


-- 
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/42b71920-100c-45a1-98cf-095b486311b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
pi@rpi-meteo:~ $ sudo wee_reports
Using configuration file /etc/weewx/weewx.conf
Generating for all time
timespan=[2019-07-07 06:00:00 CEST (1562472000) -> 2019-07-08 09:00:00 CEST 
(1562569200)]; sql_type=outTemp; aggregate_type=min; aggregate_interval=3600
start_vec= [1562472000, 1562475600, 1562479200, 1562482800, 1562486400, 
156249, 1562493600, 1562497200, 1562500800, 1562504400, 1562508000, 
1562511600, 1562515200, 1562518800, 1562522400, 1562526000, 1562529600, 
1562533200, 1562536800, 1562540400, 1562544000, 1562547600, 1562551200, 
1562554800, 1562558400]
stop_vec= [1562475600, 1562479200, 1562482800, 1562486400, 156249, 
1562493600, 1562497200, 1562500800, 1562504400, 1562508000, 1562511600, 
1562515200, 1562518800, 1562522400, 1562526000, 1562529600, 1562533200, 
1562536800, 1562540400, 1562544000, 1562547600, 1562551200, 1562554800, 
1562558400, 1562562000]
data_vec= [67.5, 68.97176470588235, 71.52631578947367, 67.540002, 
69.5475, 68.20941176470589, 66.64736842105265, 66.44842105263157, 66.15, 67.14, 
68.44235294117645, 70.250006, 71.450002, 69.080003, 
66.62842105263158, 64.470003, 62.8100024, 60.21, 
58.78588235294116, 57.77, 55.78, 53.748, 51.84, 
51.8039995, 52.559997]
timespan=[2019-07-07 06:00:00 CEST (1562472000) -> 2019-07-08 09:00:00 CEST 
(1562569200)]; sql_type=outTemp; aggregate_type=max; aggregate_interval=3600
start_vec= [1562472000, 1562475600, 1562479200, 1562482800, 1562486400, 
156249, 1562493600, 1562497200, 1562500800, 1562504400, 1562508000, 
1562511600, 1562515200, 1562518800, 1562522400, 1562526000, 1562529600, 
1562533200, 1562536800, 1562540400, 1562544000, 1562547600, 1562551200, 
1562554800, 1562558400]
stop_vec= [1562475600, 1562479200, 1562482800, 1562486400, 156249, 
1562493600, 1562497200, 1562500800, 1562504400, 1562508000, 1562511600, 
1562515200, 1562518800, 1562522400, 1562526000, 1562529600, 1562533200, 
1562536800, 1562540400, 1562544000, 1562547600, 1562551200, 1562554800, 
1562558400, 1562562000]
data_vec= [68.90210526315792, 75.14, 75.712499, 70.222501, 
71.820001, 71.27, 68.03, 67.5, 67.19, 
68.230002, 70.02, 71.96, 72.1042105263158, 71.27, 
68.9021052631579, 66.42, 64.21, 62.64, 59.9400026, 58.64823529411763, 
57.779998, 55.980001, 53.52352941176472, 52.459998, 
53.274]


Re: [weewx-user] Aggregation generates empty plots in daily images (customized Seasons skin)

2019-07-07 Thread Thomas Keffer
That all looks OK.

Do two things for me:

1. Go into skin.conf and try setting the value of line_gap_fraction to
something larger, say 0.2. Restart weewx and see if that does anything.

2. If that doesn't help, then replace your copy of manager.py (most likely
in /usr/share/weewx/weewx/manager.py) with the attached. Then run the
utility wee_reports (no need to stop weewx). Post the output. It will print
the results of the min and max aggregations.

-tk


On Sun, Jul 7, 2019 at 9:22 AM mph  wrote:

> I've installed the sqlite3.
>
> Result is in the attachment.
>
> --
> 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/a49793f4-703c-4c9f-b01a-7f4229fcd2cd%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPq0zEDPs7%2BK0hDiVS8mzMiR4XbSdW668fmrY1tUoqZYtYi%3DFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
#
#Copyright (c) 2009-2017 Tom Keffer 
#
#See the file LICENSE.txt for your full rights.
#
"""Classes and functions for interfacing with a weewx archive."""

from __future__ import print_function
import math
import syslog
import sys
import datetime
import time

import weewx.accum
from weewx.units import ValueTuple
import weewx.units
import weeutil.weeutil
import weedb
from weeutil.weeutil import timestamp_to_string, isStartOfDay, to_int

#==
# class Manager
#==

class Manager(object):
"""Manages a database table. Offers a number of convenient member
functions for querying and inserting data into the table. 
These functions encapsulate whatever sql statements are needed.

A limitation of this implementation is that it caches the timestamps of the 
first and last record in the table. Normally, the caches get updated as data comes
in. However, if one manager is updating the table, wile another is doing
aggregate queries, the latter manager will be unaware of later records in
the database, and may choose the wrong query strategy. In this might be the case,
call member function _sync() before starting the query. 

USEFUL ATTRIBUTES

database_name: The name of the database the manager is bound to.

table_name: The name of the main, archive table.

sqlkeys: A list of the SQL keys that the database table supports.

obskeys: A list of the observation types that the database table supports.

std_unit_system: The unit system used by the database table.

first_timestamp: The timestamp of the earliest record in the table.

last_timestamp: The timestamp of the last record in the table."""

def __init__(self, connection, table_name='archive', schema=None):
"""Initialize an object of type Manager.

connection: A weedb connection to the database to be managed.

table_name: The name of the table to be used in the database. Default
is 'archive'.

schema: The schema to be used. Optional. If not supplied, then an
exception of type weedb.ProgrammingError will be raised if the database
does not exist, and of type weedb.UnitializedDatabase if it exists, but
has not been initialized.
"""

self.connection = connection
self.table_name = table_name

# Now get the SQL types. 
try:
self.sqlkeys = self.connection.columnsOf(self.table_name)
except weedb.ProgrammingError:
# Database exists, but is uninitialized. Did the caller supply
# a schema?
if schema is None:
# No. Nothing to be done.
syslog.syslog(syslog.LOG_ERR, "manager: Cannot get columns of table %s, and no schema specified" % self.table_name)
raise
# Database exists, but has not been initialized. Initialize it.
self._initialize_database(schema)
# Try again:
self.sqlkeys = self.connection.columnsOf(self.table_name)

# Set up cached data:
self._sync()

@classmethod
def open(cls, database_dict, table_name='archive'):
  

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

2019-07-07 Thread Radek Dohnal
Sorry, my mistake - I have local address here, but external address (url) 
is necessary.
Now everything work perfectly. Thanks!

On Saturday, 6 July 2019 01:45:12 UTC+2, Pat wrote:
>
> Make sure you set the belchertown_root_url 
>  which is 
> required in version 1.0 
>
> (but will be removed in 1.1)
>
> Example in weewx.conf:
>
> [StdReport]
> [[Belchertown]]
> skin = Belchertown
> HTML_ROOT = belchertown
> [[[Extras]]]
> belchertown_root_url = "https://belchertownweather.com;
>
>
>
> On Friday, July 5, 2019 at 3:06:16 PM UTC-4, Radek Dohnal wrote:
>>
>> Thanks - you were right. I had 1 line in weewx.conf double. After delete 
>> second line everything work fine.
>>
>> Now I try to upload html (var/www/html) folder via FTP to webserver. It 
>> works fine (upload) but I have a problem that only home page works almost 
>> ok (but values from sunrise and sunset isnt on webserver display...). When 
>> I want to click for example on shotcut to "Recors" it redirect me to local 
>> address 192.168.x.x/recors. What doesnt work  (when Im watch on my web 
>> site).
>>
>>
>> On Tuesday, 2 July 2019 14:21:49 UTC+2, Pat wrote:
>>>
>>> Thanks Gary - I understood that there's a duplicate section - it just 
>>> doesn't tell me what section is duplicated. Which is what I meant by not 
>>> much to go off of. 
>>>
>>> In trying to keep things as simple as possible I've kept the "bin/user" 
>>> generic. I can change this of course, but I fear that portions of my 
>>> documentation are a bit tl;dr and folks gloss over it. 
>>>
>>>
>>> On Tuesday, July 2, 2019 at 8:06:13 AM UTC-4, gjr80 wrote:

 That error message is pretty straightforward; there is a duplicate 
 section name in weewx.conf. Probably not unlikely given that the 
 instructions being followed involved some editing of weewx.conf. Not all 
 is 
 lost, wee_extension generally needs access to two things to remove an 
 extension; the original extension installer and weewx.conf. If all else 
 fails you can manually remove the extension and it’s settings. In this 
 case 
 I would post a copy of weewx.conf some can find and fix the duplicate 
 section. You may then be able to use wee_extension or you may need to 
 manually uninstall. 

 Pat. You might want to look at things like bin/user in your 
 instructions, does that refer specifically to the bin/user directory 
 (which 
 may or may not exist depending on WeeWX install type) or do you mean 
 $BIN/user ? Some folks will have enough WeeWX experience/knowledge to work 
 out what is meant, others won’t. In this case the user has a package 
 install so the WeeWX ‘user’ directory is in usr/share/ 

 Gary
>>>
>>>

-- 
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/8f8659c1-904d-45a1-97f6-fea94af4dc99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Wunderground data

2019-07-07 Thread Jim Snider
Looking at the syslog file again, it seems odd that every other temperature 
read comes from a different device but I only have the one defined in 
sensor_map.



On Sunday, July 7, 2019 at 11:41:48 AM UTC-4, Jim Snider wrote:
>
> Is there a way to trace the temperature data going tow underground?  I 
> have an outdoor sensor mapped as my temperature instead of the higher 
> temperature from my 5 in 1.  My webpage on my Pi and PWS Weather is showing 
> the correct temperature but underground is still showing the higher one.
>
>
> Jim
>
>

-- 
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/eb48433a-f756-4469-b41a-a97a174cb9e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Wunderground data

2019-07-07 Thread Thomas Keffer
Sorry, but I don't know anything about the interceptor driver. Hopefully,
someone else can help.

But, it does seem odd to me that you're intercepting traffic to the WU,
then posting to the WU. Seems very circular.

On Sun, Jul 7, 2019 at 9:18 AM Jim Snider  wrote:

> Here's the sensor_map from my weewx.conf file
>
>
>
>
> On Sunday, July 7, 2019 at 11:41:48 AM UTC-4, Jim Snider wrote:
>>
>> Is there a way to trace the temperature data going tow underground?  I
>> have an outdoor sensor mapped as my temperature instead of the higher
>> temperature from my 5 in 1.  My webpage on my Pi and PWS Weather is showing
>> the correct temperature but underground is still showing the higher one.
>>
>>
>> Jim
>>
>> --
> 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/32b1760d-01f1-4d17-b9fb-99391f70905c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPq0zEA8KBddM3Lc-3nScmNTO1mzKUJTjUBKvEQ%2BZKaRVJdsrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: weewx-highcharts problem with rainfall & US units

2019-07-07 Thread MikeQ
Gary -

Thanks for the easy fix!  Those two edits fixed the problem.

Just a couple of notes in case someone else tries to use this fix in the 
future:
1.  My file is plots.js instead of plot.js
2.  The lines I needed to edit were off one line number in my plots.js file 
which was easy enough to figure out - 810 instead of 809 & 818 instead of 
817.

Thanks,
Mike

-- 
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/9583c375-10f6-4dc6-bfab-c9d80599e26b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Belchertown Earthquake data error

2019-07-07 Thread Pat
This should be all set now in commit f4b62e1 

 
and will appear in 1.1 (unless you manually add the changes now)

-- 
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/cb0a9df5-d0ea-45fc-b3d7-aa6ff9d8b6c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Belchertown Earthquake data error

2019-07-07 Thread Pat
As other's have said probably a timeout or website down error. I'll add an 
error catcher in Belchertown 1.1 so the skin will generate even if no data 
is available. I should have done that before. Sorry about that

On Saturday, July 6, 2019 at 7:25:19 PM UTC-4, Patrick Mendiuk wrote:
>
> I have been running the Belchertown skin without any errors for a while 
> now and this started happening after the California earthquakes.  Is anyone 
> else getting this error?
>
> Jul  6 16:04:26 MITX-6930 weewx[22281]: reportengine: Running report 
> 'Belchertown'
> Jul  6 16:04:26 MITX-6930 weewx[22281]: reportengine: Found configuration 
> file /etc/weewx/skins/Belchertown/skin.conf for report 'Belchertown'
> Jul  6 16:04:26 MITX-6930 weewx[22281]: cheetahgenerator: using search 
> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
> 'user.belchertown.getData']
> Jul  6 16:04:26 MITX-6930 weewx[22281]: manager: Daily summary version is 
> 2.0
> Jul  6 16:04:26 MITX-6930 weewx[22281]: reportengine: Caught 
> unrecoverable exception in generator 
> 'weewx.cheetahgenerator.CheetahGenerator'
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   No JSON object 
> could be decoded
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   Traceback (most 
> recent call last):
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 204, in run
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   obj.start()
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/share/weewx/weewx/reportengine.py", line 300, in start
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   self.run()
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 160, in run
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   ngen = self.
> generate(gen_dict[section_name], self.gen_ts)
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 234, in generate
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   ngen += self.
> generate(section[subsection], gen_ts)
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 234, in generate
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   ngen += self.
> generate(section[subsection], gen_ts)
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   default_binding)
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 374, in _getSearchList
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   searchList += 
> obj.get_extension_list(timespan, db_lookup)
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/share/weewx/user/belchertown.py", line 636, in get_extension_list
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   eqdata = json.
> load( read_file )
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/lib/python2.7/json/__init__.py", line 291, in load
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   **kw)
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/lib/python2.7/json/__init__.py", line 339, in loads
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   return 
> _default_decoder.decode(s)
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/lib/python2.7/json/decoder.py", line 364, in decode
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   obj, end = self.
> raw_decode(s, idx=_w(s, 0).end())
> Jul  6 16:04:26 MITX-6930 weewx[22281]: File 
> "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   raise ValueError
> ("No JSON object could be decoded")
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   ValueError: No JSON 
> object could be decoded
> Jul  6 16:04:26 MITX-6930 weewx[22281]:   Generator terminated
> Jul  6 16:04:26 MITX-6930 weewx[22281]: copygenerator: copied 2 files to /
> var/www/html
>
> Patrick
>
>
>
>

-- 
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/9444bf74-a29b-4fdd-a655-9dc1d574f3f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: "wee_device" not working after new install

2019-07-07 Thread Christian Nimmervoll
Great!

In your answer i found the solution.
I made a weewx installation via setup.py.
All is found in my case in /home/weewx

So i changed the directory in the command line to /home/weewx/bin

and when i type:
wee_device --help

--> i get the error again.

but when i type:
./wee_device --help

--> it works! :)

so i'm no linux profi but the "point" make the different.

When i try this on my old raspberry, the "." isn't important.
It works everywhere...

Should i change the path?

Thanks a lot for yout tipp!
Chris

-- 
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/d8f56c58-cb4b-4d98-93c5-7366c71a3934%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] AS3935 database issue

2019-07-07 Thread Mikael Fredriksson
Hi.

Trying to get the AS3935 lightning detector module to work in Weewx. 
Seems like the module sends data to Weewx but there seems to be some issue 
with the database. I´m stuck!
Got this in syslog, as3935: callback failed: Missing value for record field 
'interval'

Don´t know how to fix it, hope someone can help me out here!


/Micael

-- 
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/0ee4401e-403c-4309-ae0d-7b751e11ee39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jul  7 17:39:03 raspberrypi systemd[1]: Starting Clean php session files...
Jul  7 17:39:03 raspberrypi systemd[1]: Started Clean php session files.
Jul  7 17:40:04 raspberrypi systemd[1]: Reloading LSB: weewx weather system.
Jul  7 17:40:04 raspberrypi weewx[2617]: engine: Main loop exiting. Shutting 
engine down.
Jul  7 17:40:04 raspberrypi weewx[2835]: Reloading weewx weather system: weewx.
Jul  7 17:40:04 raspberrypi systemd[1]: Reloaded LSB: weewx weather system.
Jul  7 17:40:04 raspberrypi weewx[2617]: engine: Received signal HUP. 
Restarting.
Jul  7 17:40:04 raspberrypi weewx[2617]: engine: Using configuration file 
/etc/weewx/weewx.conf
Jul  7 17:40:04 raspberrypi weewx[2617]: engine: Loading station type 
FineOffsetUSB (weewx.drivers.fousb)
Jul  7 17:40:04 raspberrypi weewx[2617]: fousb: driver version is 1.9
Jul  7 17:40:04 raspberrypi weewx[2617]: fousb: polling mode is PERIODIC
Jul  7 17:40:04 raspberrypi weewx[2617]: fousb: polling interval is 60
Jul  7 17:40:04 raspberrypi weewx[2617]: fousb: found station on USB bus= 
device=
Jul  7 17:40:04 raspberrypi weewx[2617]: engine: StdConvert target unit is 0x1
Jul  7 17:40:04 raspberrypi weewx[2617]: wxcalculate: The following values will 
be calculated: barometer=prefer_hardware, windchill=prefer_hardware, 
dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, 
windrun=prefer_hardware, heatindex=prefer_hardware, 
maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, 
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, 
cloudbase=prefer_hardware
Jul  7 17:40:04 raspberrypi weewx[2617]: wxcalculate: The following algorithms 
will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Jul  7 17:40:04 raspberrypi weewx[2617]: as3935: service version is 0.6
Jul  7 17:40:04 raspberrypi weewx[2617]: as3935: address=0x03
Jul  7 17:40:04 raspberrypi weewx[2617]: as3935: bus=1
Jul  7 17:40:04 raspberrypi weewx[2617]: as3935: indoors=True
Jul  7 17:40:04 raspberrypi weewx[2617]: as3935: noise_floor=0
Jul  7 17:40:04 raspberrypi weewx[2617]: as3935: calibration=0x06
Jul  7 17:40:04 raspberrypi weewx[2617]: as3935: pin=17
Jul  7 17:40:04 raspberrypi weewx[2617]: as3935: data_binding=lightning_binding
Jul  7 17:40:04 raspberrypi weewx[2617]: as3935: binding=archive
Jul  7 17:40:05 raspberrypi weewx[2617]: engine: Archive will use data binding 
wx_binding
Jul  7 17:40:05 raspberrypi weewx[2617]: engine: Record generation will be 
attempted in 'software'
Jul  7 17:40:05 raspberrypi weewx[2617]: engine: Using archive interval of 600 
seconds (software record generation)
Jul  7 17:40:05 raspberrypi weewx[2617]: engine: Using binding 'wx_binding' to 
database 'weewx.sdb'
Jul  7 17:40:05 raspberrypi weewx[2617]: manager: Starting backfill of daily 
summaries
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: Zambretti: 
forecast version 3.3.0
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: Zambretti: 
interval=600 max_age=604800 winddir_period=1800 pressure_period=10800 
hemisphere=NORTH lower_pressure=950.0 upper_pressure=1050.0
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: NWS: forecast 
version 3.3.0
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: NWS: location ID 
(lid) is not specified
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: NWS: forecast 
office ID (foid) is not specified
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: NWS: forecast 
will not be run
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: WU: forecast 
version 3.3.0
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: WU: API key 
(api_key) is not specified
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: WU: forecast 
will not be run
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: OWM: forecast 
version 3.3.0
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: OWM: 
interval=10800 max_age=604800 api_key=2250 
location=57.96187839996,13.7503143 fc=5day3hour
Jul  7 17:40:05 raspberrypi weewx[2617]: forecast: MainThread: UKMO: forecast 
version 3.3.0
Jul  7 17:40:05 

Re: [weewx-user] Aggregation generates empty plots in daily images (customized Seasons skin)

2019-07-07 Thread mph
I've installed the sqlite3.

Result is in the attachment.

-- 
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/a49793f4-703c-4c9f-b01a-7f4229fcd2cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1562454300|2019-07-07 01:05:00|70.38
1562454600|2019-07-07 01:10:00|70.2952941176471
1562454900|2019-07-07 01:15:00|70.16
1562455200|2019-07-07 01:20:00|69.93
1562455500|2019-07-07 01:25:00|69.6070588235294
1562455800|2019-07-07 01:30:00|69.41
1562456100|2019-07-07 01:35:00|69.264
1562456400|2019-07-07 01:40:00|69.04
1562456700|2019-07-07 01:45:00|68.8235294117647
1562457000|2019-07-07 01:50:00|68.59
1562457300|2019-07-07 01:55:00|68.36
1562457600|2019-07-07 02:00:00|68.2105263157895
1562457900|2019-07-07 02:05:00|67.92
1562458200|2019-07-07 02:10:00|67.77
1562458500|2019-07-07 02:15:00|67.5
1562458800|2019-07-07 02:20:00|67.5
1562459100|2019-07-07 02:25:00|67.5
1562459400|2019-07-07 02:30:00|67.4258823529412
1562459700|2019-07-07 02:35:00|67.32
156246|2019-07-07 02:40:00|67.33
1562460300|2019-07-07 02:45:00|67.5
1562460600|2019-07-07 02:50:00|67.42
1562460900|2019-07-07 02:55:00|67.4364705882353
1562461200|2019-07-07 03:00:00|67.5
1562461500|2019-07-07 03:05:00|67.5
1562461800|2019-07-07 03:10:00|67.5
1562462100|2019-07-07 03:15:00|67.5
1562462400|2019-07-07 03:20:00|67.5
1562462700|2019-07-07 03:25:00|67.37625
1562463000|2019-07-07 03:30:00|67.17
1562463300|2019-07-07 03:35:00|67.14
1562463600|2019-07-07 03:40:00|67.14
1562463900|2019-07-07 03:45:00|67.14
1562464200|2019-07-07 03:50:00|67.14
1562464500|2019-07-07 03:55:00|67.18
1562464800|2019-07-07 04:00:00|67.32
1562465100|2019-07-07 04:05:00|67.32
1562465400|2019-07-07 04:10:00|67.32
1562465700|2019-07-07 04:15:00|67.32
1562466000|2019-07-07 04:20:00|67.33
1562466300|2019-07-07 04:25:00|67.5
1562466600|2019-07-07 04:30:00|67.5
1562466900|2019-07-07 04:35:00|67.5
1562467200|2019-07-07 04:40:00|67.5
1562467500|2019-07-07 04:45:00|67.5
1562467800|2019-07-07 04:50:00|67.44375
1562468100|2019-07-07 04:55:00|67.5
1562468400|2019-07-07 05:00:00|67.491
1562468700|2019-07-07 05:05:00|67.39
1562469000|2019-07-07 05:10:00|67.48875
1562469300|2019-07-07 05:15:00|67.43
1562469600|2019-07-07 05:20:00|67.5
1562469900|2019-07-07 05:25:00|67.4526315789474
1562470200|2019-07-07 05:30:00|67.3875
1562470500|2019-07-07 05:35:00|67.39
1562470800|2019-07-07 05:40:00|67.33
1562471100|2019-07-07 05:45:00|67.5
1562471400|2019-07-07 05:50:00|67.5
1562471700|2019-07-07 05:55:00|67.4576470588235
1562472000|2019-07-07 06:00:00|67.47
1562472300|2019-07-07 06:05:00|67.5
1562472600|2019-07-07 06:10:00|67.5
1562472900|2019-07-07 06:15:00|67.54
1562473200|2019-07-07 06:20:00|67.6326315789474
1562473500|2019-07-07 06:25:00|67.86
1562473800|2019-07-07 06:30:00|68.0873684210526
1562474100|2019-07-07 06:35:00|68.22
1562474400|2019-07-07 06:40:00|68.22
1562474700|2019-07-07 06:45:00|68.2729411764706
1562475000|2019-07-07 06:50:00|68.5
1562475300|2019-07-07 06:55:00|68.76
1562475600|2019-07-07 07:00:00|68.9021052631579
1562475900|2019-07-07 07:05:00|68.9717647058824
1562476200|2019-07-07 07:10:00|69.28
1562476500|2019-07-07 07:15:00|69.8611764705882
1562476800|2019-07-07 07:20:00|70.5789473684211
1562477100|2019-07-07 07:25:00|71.1
1562477400|2019-07-07 07:30:00|71.17
1562477700|2019-07-07 07:35:00|71.64
1562478000|2019-07-07 07:40:00|71.64
1562478300|2019-07-07 07:45:00|71.85
1562478600|2019-07-07 07:50:00|73.0482352941177
1562478900|2019-07-07 07:55:00|74.592
1562479200|2019-07-07 08:00:00|75.14
1562479500|2019-07-07 08:05:00|75.7125
1562479800|2019-07-07 08:10:00|75.06
1562480100|2019-07-07 08:15:00|74.83
1562480400|2019-07-07 08:20:00|74.6
1562480700|2019-07-07 08:25:00|74.205
1562481000|2019-07-07 08:30:00|74.0747368421053
1562481300|2019-07-07 08:35:00|73.9482352941177
1562481600|2019-07-07 08:40:00|73.6411764705882
1562481900|2019-07-07 08:45:00|73.18
1562482200|2019-07-07 08:50:00|72.7623529411765
1562482500|2019-07-07 08:55:00|72.2223529411765
1562482800|2019-07-07 09:00:00|71.5263157894737
1562483100|2019-07-07 09:05:00|70.2225
1562483400|2019-07-07 09:10:00|69.6917647058824
1562483700|2019-07-07 09:15:00|69.0670588235295
1562484000|2019-07-07 09:20:00|68.7917647058823
1562484300|2019-07-07 09:25:00|68.46
1562484600|2019-07-07 09:30:00|68.088
1562484900|2019-07-07 09:35:00|67.54
1562485200|2019-07-07 09:40:00|67.76
1562485500|2019-07-07 09:45:00|67.9764705882353
1562485800|2019-07-07 09:50:00|68.13
1562486100|2019-07-07 09:55:00|68.5694117647059
1562486400|2019-07-07 10:00:00|68.99
1562486700|2019-07-07 10:05:00|69.5475
1562487000|2019-07-07 10:10:00|69.75
1562487300|2019-07-07 10:15:00|70.1470588235294
1562487600|2019-07-07 10:20:00|70.3482352941177
1562487900|2019-07-07 10:25:00|70.38

[weewx-user] Re: Wunderground data

2019-07-07 Thread Jim Snider
Here's the sensor_map from my weewx.conf file




On Sunday, July 7, 2019 at 11:41:48 AM UTC-4, Jim Snider wrote:
>
> Is there a way to trace the temperature data going tow underground?  I 
> have an outdoor sensor mapped as my temperature instead of the higher 
> temperature from my 5 in 1.  My webpage on my Pi and PWS Weather is showing 
> the correct temperature but underground is still showing the higher one.
>
>
> Jim
>
>

-- 
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/32b1760d-01f1-4d17-b9fb-99391f70905c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


weewxconf.rtf
Description: RTF file


[weewx-user] Re: Wunderground data

2019-07-07 Thread Jim Snider
OK.  here's a capture ofmy syslog.  Looks like the temperature is reporting 
two different values?  Very odd




On Sunday, July 7, 2019 at 11:41:48 AM UTC-4, Jim Snider wrote:
>
> Is there a way to trace the temperature data going tow underground?  I 
> have an outdoor sensor mapped as my temperature instead of the higher 
> temperature from my 5 in 1.  My webpage on my Pi and PWS Weather is showing 
> the correct temperature but underground is still showing the higher one.
>
>
> Jim
>
>

-- 
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/87ec103c-9258-46f2-95a5-1f9a7be20005%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


syslog.rtf
Description: RTF file


[weewx-user] Re: Wunderground data

2019-07-07 Thread Jim Snider
OK.  I'll start there.


Thanks



On Sunday, July 7, 2019 at 11:41:48 AM UTC-4, Jim Snider wrote:
>
> Is there a way to trace the temperature data going tow underground?  I 
> have an outdoor sensor mapped as my temperature instead of the higher 
> temperature from my 5 in 1.  My webpage on my Pi and PWS Weather is showing 
> the correct temperature but underground is still showing the higher one.
>
>
> Jim
>
>

-- 
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/ccad9629-72f0-4849-8443-e7f815c59c28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Wunderground data

2019-07-07 Thread Thomas Keffer
If you set debug=2, weewx will log exactly what URL it is sending to the
weather underground.

-tk

On Sun, Jul 7, 2019 at 8:41 AM Jim Snider  wrote:

> Is there a way to trace the temperature data going tow underground?  I
> have an outdoor sensor mapped as my temperature instead of the higher
> temperature from my 5 in 1.  My webpage on my Pi and PWS Weather is showing
> the correct temperature but underground is still showing the higher one.
>
>
> Jim
>
> --
> 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/1b2b2ec8-3643-499e-97b2-cbfa5acb03de%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPq0zECvEqOcEUG6jw0H1TJJbd0koKWbXXE2ggx_drgOgzHU0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Wunderground data

2019-07-07 Thread Jim Snider
Is there a way to trace the temperature data going tow underground?  I have 
an outdoor sensor mapped as my temperature instead of the higher 
temperature from my 5 in 1.  My webpage on my Pi and PWS Weather is showing 
the correct temperature but underground is still showing the higher one.


Jim

-- 
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/1b2b2ec8-3643-499e-97b2-cbfa5acb03de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Aggregation generates empty plots in daily images (customized Seasons skin)

2019-07-07 Thread Thomas Keffer
You've got me stumped. A few things to check:

   1. Make sure the copy of skin.conf that you are editing is the copy of
   skin.conf that weewx is using. They should both be
/etc/weewx/skins/Seasons/skin.conf

   2. Make sure something in weewx.conf is not overriding the values you
   are setting in skin.conf. If you wish, you can obfuscate any passwords in
   weewx.conf then forward it. (Or use the tool wee_debug
    to do this).
   3. Check the database to make sure there are not unexpected values. this
   can be done with

sqlite3 /var/lib/weewx/weewx.sdb
sqlite> select dateTime, datetime(dateTime, 'unixepoch','localtime'),
outTemp from archive where dateTime> 1562454000;

I know these suggestions are not terribly helpful. If worse comes to worse,
I'll send you an instrumented copy of imagegenerator.py which can pin down
the problem.

-tk

On Sun, Jul 7, 2019 at 7:33 AM mph  wrote:

> [image: agg_hilow_error_s.png]
>
> Hello,
>
> I am working on my weewx and faced a trouble generating daily images with
> outTemp aggregation.
>
> The specific part of my Seasons/skin.conf:
>
>> [[[daytemphilow]]]
>> low
>> data_type = outTemp
>> aggregate_type = min
>> aggregate_interval = 3600
>> label = Nejnižší
>> hi
>> data_type = outTemp
>> aggregate_type = max
>> aggregate_interval = 3600
>> label = Nejvyšší teplota
>>
> generates an empty graph, with no data lines. The same result will
> generate another types of aggregation (sum, avg).
> Another daily images are generated fine.
>
> If I do comment the aggregation lines, the graph is generated fine (but
> with no aggregation of course).
> Even the exact example from weewx User guide ([[[daytemp_with_avg]]])
> doesn't work for me.
>
> Please note that the generated graph does have correct units, X and Y
> scales, title and generation date/time, but no data lines.
> My another aggregation graphs (rain-sum, yearly-hilow-outtemp) work fine.
>
> There's no message in the debug log. I've tried almost everything (shorten
> aggregation time, interval, use another data_types), but nothing helps. Any
> advice will be appreciated.
> Thank you
>
> --
> 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/064a15a2-ffb3-4aa5-9bba-0a0f10380f2a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPq0zEB6%2ByNirM8S0jncMWLBrVNEVWHphpKOnMQF2qzdiHVCRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: "wee_device" not working after new install

2019-07-07 Thread Leon Shaner
Christian,

 What happens if you change to the /usr/share/weewx/bin dir an run it as:

$ ./wee_device --help

Or use the fully-qualified path?

$ /usr/share/weewx/bin/wee_device --help

By default the current path (.) is not in your PATH environment variable.
You may have changed that in user pi's "dot" files on the RPI where things are 
working (~/.bashrc, ~/.bash_profile, /etc/bash.bashrc, ~/.profile, 
/etc/profile, etc.).

It's better to leave the current path (.) out of your PATH for security reasons 
and always pretend ./ to the command or use the fully-qualified path to the 
exec/script.

You can "simulate" the "not found" using any command that doesn't exist.  For 
example,

$ oog
-bash: oog: command not found

Don't forget if you're running from pkgs, most weewx commands need to be 
prefaced with sudo.

Other than that, I would use "sudo apt list --installed" on each RPI and then 
diff the outputs to see what packages you are missing.  Seems unlikely that you 
are missing python, but that's wee_device is using:

 $ head wee_device
#!/usr/bin/python

If you don't have /usr/bin/python then that would explain a lot, but it would 
also be surprising to me that an RPI could function without it.  ;-)

Regards,
\Leon
--
Leon Shaner :: Dearborn, Michigan (iPad)

> On Jul 7, 2019, at 9:37 AM, Christian Nimmervoll 
>  wrote:
> 
> 
> For an example:
> 
> On the old Device I a get an answer when i type this:
> wee_device --help
> 
> On the new install - i get only the erros message - not found...
> 
> 
> 
> Am Sonntag, 7. Juli 2019 15:35:47 UTC+2 schrieb Christian Nimmervoll:
>> 
>> Hello,
>> 
>> I've run WEEWX on an existing Raspberry and installed a new one today.
>> Everything works so far on the new device again without problems.
>> Only one function doen't work...
>> 
>> wee_device works without problems on the old device but wee_device is not 
>> running on the new device.
>> I get the error message: "command not found".
>> 
>> In the weewx.conf the station_type is entered correctly:
>> station_type = Vantage
>> 
>> And the new Raspberry communicate also without errors with the Davis VP2 
>> Console.
>> 
>> What can be the reason that the function: "wee_device" is not working?
>> Is there another important setting in the software?
>> 
>> Thanks for infos.
>> Chris
> 
> -- 
> 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/d5efbb2c-80fd-45ba-80c6-9c8e9eefba11%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/DED8418C-4667-4433-A792-FBA3EB6AADBE%40isylum.org.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: require additional external sensors. Max. Number of stations reached

2019-07-07 Thread Michael
Hi m,

thank you very much for your answer. that's exactly what i was looking for. 
now just read, understand and put into action 


Am Donnerstag, 4. Juli 2019 05:55:29 UTC+2 schrieb mwall:
>
>
>
> On Saturday, June 29, 2019 at 1:27:23 PM UTC-4, Michael wrote:
>>
>>
>> The goal is to use up to 8 more external sensors.
>> Now my questions:
>> How are these other sensors differentiated? Does each sensor have an 
>> individual feature which can be read out (e.g. serial number)?
>> Can anyone recommend me a USB stick and external sensors? 
>> How can I ensure that the new sensors do not overlap with the already 
>> existing sensors, or that confusion can occur?
>>
>
> you can easily add more sensors with a USB SDR - just run another instance 
> of weewx on the same pi, and add any number of sensors.  keep the weather 
> station configuration as-is.  here is a general guide to different ways you 
> can collect data from multiple sensors:
>
> https://github.com/weewx/weewx/wiki/intake-strategies
>
> and this is a general guide for how to combine the data:
>
> https://github.com/weewx/weewx/wiki/dashboards
>
> here is an explicit example of how to do it using temperature and humidity 
> sensors from acurite or from fine offset:
>
> https://github.com/weewx/weewx/wiki/sdr-rpi-recipe
>
> sensors from other vendors work in a similar way.
>
> m
>

-- 
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/79257a66-0255-4bf9-bd29-7786947f9cc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: WeeWX Interceptor: Rain not registering

2019-07-07 Thread manfred
hi Jan,

I'm planning to get a Ventus w830 as well; can you let us know how well it 
worked for you (including any success in upgrading to latest firmware)?  
I'm also interested to learn how frequent the intervals are that you get 
updates from the station, as one of my usecases involves closing a suncover 
if there's sudden wind or rain.

thanks in advance!
Manfred


Op zaterdag 13 januari 2018 14:26:18 UTC+1 schreef jan hallink:
>
> Hello Maarten
> I tried several times to upgrade my station from 1.1.2 to 1.1.4 firmware 
> through the ws tool app, But I didn't succeeded, I got the message download 
> fails. 
> So I cannot give you at this moment an answer if WOW works directly.
> But with the weewx coupled to my station it is working with WOW 
>

-- 
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/3f37acf4-b3de-4378-b2b0-c4fde248ac99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] require additional external sensors. Max. Number of stations reached

2019-07-07 Thread Michael
Hi Peter,

thank you very much for your answer. the projects sound interesting, but 
they are not really something for me...too much self-made ;)

Am Samstag, 29. Juni 2019 20:11:25 UTC+2 schrieb p q:
>
> You don't have to go with commercial sensors and SDR. And you don't need 
> another raspberry Pi. Google for Raspberry Pi weather sensors and you 
> should be able find some examples:
> https://projects.raspberrypi.org/en/projects/build-your-own-weather-station
>  
>  
> https://www.hackster.io/papernotesmusic/piweatherman-raspberry-pi-weather-station-4aad39
>
> https://hackaday.com/2019/05/03/low-power-weather-station-blows-the-competition-away/
>  
>
> I added my own extra temperature sensor. Project here:  
> https://hackaday.io/project/101680-solar-powered-wifi-temperature-sensor-for-weewx
>
>
> On Sat, Jun 29, 2019 at 10:27 AM Michael > 
> wrote:
>
>> Hello,
>> I use as weather station TFA-Nexus with 5 external sensors 
>> (temperature+humidity). Now it is so that these 5 external sensors are not 
>> sufficient and I would like to integrate further external sensors. The 
>> TFA-Nexus only supports 5 external sensors. 
>> Weewx runs on a Raspi 3b
>> If I understand all this correctly I need another Raspi and a USB stick 
>> that can receive 433 MHz and 868 MHz data and of course more sensors.
>> The goal is to use up to 8 more external sensors.
>> Now my questions:
>> How are these other sensors differentiated? Does each sensor have an 
>> individual feature which can be read out (e.g. serial number)?
>> Can anyone recommend me a USB stick and external sensors? 
>> How can I ensure that the new sensors do not overlap with the already 
>> existing sensors, or that confusion can occur?
>>
>> Only as a clarification. I want to keep the existing weather station and 
>> the data of the new sensors should only be displayed in weewx.
>>
>> Many thanks for your tips and hints.
>>
>> Translated with www.DeepL.com/Translator
>>
>> Michael
>>
>> -- 
>> 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/4aa6f546-f584-4a2f-90c6-00f986f3cd06%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Peter Quinn
> (415)794-2264
>

-- 
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/32f1de35-2d7f-4044-89a6-aaa36761d699%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: "wee_device" not working after new install

2019-07-07 Thread Christian Nimmervoll
For an example:

On the old Device I a get an answer when i type this:
wee_device --help 
On the new install - i get only the erros message - not found...



Am Sonntag, 7. Juli 2019 15:35:47 UTC+2 schrieb Christian Nimmervoll:
>
> Hello,
>
> I've run WEEWX on an existing Raspberry and installed a new one today.
> Everything works so far on the new device again without problems.
> Only one function doen't work...
>
> wee_device works without problems on the old device but wee_device is not 
> running on the new device.
> I get the error message: "command not found".
>
> In the weewx.conf the station_type is entered correctly:
> station_type = Vantage
>
> And the new Raspberry communicate also without errors with the Davis VP2 
> Console.
>
> What can be the reason that the function: "wee_device" is not working?
> Is there another important setting in the software?
>
> Thanks for infos.
> Chris
>

-- 
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/d5efbb2c-80fd-45ba-80c6-9c8e9eefba11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] "wee_device" not working after new install

2019-07-07 Thread Christian Nimmervoll
Hello,

I've run WEEWX on an existing Raspberry and installed a new one today.
Everything works so far on the new device again without problems.
Only one function doen't work...

wee_device works without problems on the old device but wee_device is not 
running on the new device.
I get the error message: "command not found".

In the weewx.conf the station_type is entered correctly:
station_type = Vantage

And the new Raspberry communicate also without errors with the Davis VP2 
Console.

What can be the reason that the function: "wee_device" is not working?
Is there another important setting in the software?

Thanks for infos.
Chris

-- 
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/880900b3-fcba-4d64-9c50-bff3a172b0f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] evaluation in templates

2019-07-07 Thread gjr80
Well I didn’t know that, always thought though there must have been a more 
direct way, just never found it.

Gary

-- 
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/3a79aefc-f485-4666-a410-6c108a6d9a80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] evaluation in templates

2019-07-07 Thread Thomas Keffer
You need to surround the expression with $(...) to get Cheetah to evaluate
it, instead of just turn it into HTML. So, you want

$($current.extraTemp6.raw - $current.extraHumid6.raw)


-tk

On Sun, Jul 7, 2019 at 5:00 AM Mic G77  wrote:

> Hello,
> in the current.html.tmpl, i have written this code:
>  class="stats_data">$current.extraTemp6.raw-$current.extraHumid6.raw
>
> I was  expecting an evaluation of
> $current.extraTemp6.raw-$current.extraHumid6.raw
> but i get (i suppose a string) : 13.7-70.0
>
> How could the template evaluate the expression ?
> I think it is possible because in the user_guide (
> usr/share/doc/weewx/customizing.htm#Comprehensive_example), I've seen this
> line :
>
> $hour.start.format("%H:%M")-$hour.end.format("%H:%M")
>
>
>
> Thanks in advance,
>
> Mic
>
> --
> 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/d10751ed-ce27-465f-a19c-acffde9f3c8c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPq0zEA6uqZZPv9OEyKQLTJBtyqxhfRXwDQJJseVz5D%2BLnfw2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: time/date issue in my INDEX.HTML file

2019-07-07 Thread Thomas Keffer
I was referring to running wee_device (not sqlite3).

Stop weewxd, then clear the memory.

Then restart weewxd.

-tk

On Sun, Jul 7, 2019 at 5:08 AM Eric Gammeter  wrote:

>
> No joy-  It is stopped.
>
> pi@raspberrypi:/var/lib/weewx $ sqlite3 /var/lib/weewx/weewx.sdb
> SQLite version 3.16.2 2017-01-06 16:32:41
> Enter ".help" for usage hints.
> sqlite> delete from archive where dateTime > x;
> Error: no such column: x
> sqlite>
>
>
>
>
>
>
>
> On Friday, July 5, 2019 at 3:58:01 PM UTC-4, Eric Gammeter wrote:
>>
>> Hi-  My INDEX.HTML file is being produced each half hour as it should
>> be...but the timestamp (in the file) is incorrect!  The report (attached)
>> shows it is 8/6/2036 @ 08:22:00PM.
>>
>> I can see that the reports fire off every 30 mins- and that a new
>> (correct time stamp) INDEX.HTML file is created in the /var/www/html/weewx
>> filesystem-- but that file's info is incorrect.
>>
>> I tested (with minicom) and that TEST's fine.
>>
>> I have shutdown and rebooted the VantageVue station to no avail.
>>
>> Thanks for reading!
>>
>> /Eric
>>
> --
> 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/1965823f-b442-45cd-a875-84974d65bec2%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPq0zECAeoNTmGtjg%2B2tOGuzJ_FtN%3DQVMtQq-nDnK1JaUFKaBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: evaluation in templates

2019-07-07 Thread Andrew Milner
seems a very strange thing to want to evaluate anyway - subtracting a 
humidity value from a temperature value!!



On Sunday, 7 July 2019 15:13:35 UTC+3, gjr80 wrote:
>
> Hi,
>
> What you saw in the template was not an evaluation (arithmetic) as such, 
> but simply showing two times in hour:minute format separated by a hyphen, 
> much like the result from your code. To do in-template arithmetic you need 
> to have some in-line python code to do the arithmetic and assign the result 
> to a variable then use the variable as a tag later in your template. 
> Something like (untested):
>
> #set $my_result = $current.extraTemp6.raw-$current.extraHumid6.raw
> $my_result
>
> The above is a very simplistic example (formatting will probably not be 
> what you want) but it gives you a start. You will find in-line python in a 
> number of the templates included with WeeWX.
>
> Gary
>
>

-- 
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/81e08575-3c57-44d5-8314-5f31295580a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: time/date issue in my INDEX.HTML file

2019-07-07 Thread Andrew Milner
you need to replace x with an actual epoch date time value!

so, for example:
delete from archive where dateTime > 1561983540;

to convert a date / time into an epoch date use a site such as:  
https://www.freeformatter.com/epoch-timestamp-to-date-converter.html



On Sunday, 7 July 2019 15:08:15 UTC+3, Eric Gammeter wrote:

>
> No joy-  It is stopped.  
>
> pi@raspberrypi:/var/lib/weewx $ sqlite3 /var/lib/weewx/weewx.sdb
> SQLite version 3.16.2 2017-01-06 16:32:41
> Enter ".help" for usage hints.
> sqlite> delete from archive where dateTime > x;
> Error: no such column: x
> sqlite> 
>
>
>
>
>
>
>
> On Friday, July 5, 2019 at 3:58:01 PM UTC-4, Eric Gammeter wrote:
>>
>> Hi-  My INDEX.HTML file is being produced each half hour as it should 
>> be...but the timestamp (in the file) is incorrect!  The report (attached) 
>> shows it is 8/6/2036 @ 08:22:00PM.  
>>
>> I can see that the reports fire off every 30 mins- and that a new 
>> (correct time stamp) INDEX.HTML file is created in the /var/www/html/weewx 
>> filesystem-- but that file's info is incorrect.  
>>
>> I tested (with minicom) and that TEST's fine.
>>
>> I have shutdown and rebooted the VantageVue station to no avail.  
>>
>> Thanks for reading!  
>>
>> /Eric 
>>
>

-- 
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/cb6da8fc-c972-4d41-a48e-5aee0ceab63c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] evaluation in templates

2019-07-07 Thread gjr80
Hi,

What you saw in the template was not an evaluation (arithmetic) as such, but 
simply showing two times in hour:minute format separated by a hyphen, much like 
the result from your code. To do in-template arithmetic you need to have some 
in-line python code to do the arithmetic and assign the result to a variable 
then use the variable as a tag later in your template. Something like 
(untested):

#set $my_result = $current.extraTemp6.raw-$current.extraHumid6.raw
$my_result

The above is a very simplistic example (formatting will probably not be what 
you want) but it gives you a start. You will find in-line python in a number of 
the templates included with WeeWX.

Gary

-- 
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/af743629-2527-4e27-b315-9f6c3b988f24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: time/date issue in my INDEX.HTML file

2019-07-07 Thread Eric Gammeter

No joy-  It is stopped.  

pi@raspberrypi:/var/lib/weewx $ sqlite3 /var/lib/weewx/weewx.sdb
SQLite version 3.16.2 2017-01-06 16:32:41
Enter ".help" for usage hints.
sqlite> delete from archive where dateTime > x;
Error: no such column: x
sqlite> 







On Friday, July 5, 2019 at 3:58:01 PM UTC-4, Eric Gammeter wrote:
>
> Hi-  My INDEX.HTML file is being produced each half hour as it should 
> be...but the timestamp (in the file) is incorrect!  The report (attached) 
> shows it is 8/6/2036 @ 08:22:00PM.  
>
> I can see that the reports fire off every 30 mins- and that a new (correct 
> time stamp) INDEX.HTML file is created in the /var/www/html/weewx 
> filesystem-- but that file's info is incorrect.  
>
> I tested (with minicom) and that TEST's fine.
>
> I have shutdown and rebooted the VantageVue station to no avail.  
>
> Thanks for reading!  
>
> /Eric 
>

-- 
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/1965823f-b442-45cd-a875-84974d65bec2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] evaluation in templates

2019-07-07 Thread Mic G77
Hello,
in the current.html.tmpl, i have written this code:
$current.extraTemp6.raw-$current.extraHumid6.raw

I was  expecting an evaluation of 
$current.extraTemp6.raw-$current.extraHumid6.raw
but i get (i suppose a string) : 13.7-70.0

How could the template evaluate the expression ?
I think it is possible because in the user_guide ( 
usr/share/doc/weewx/customizing.htm#Comprehensive_example), I've seen this 
line :

$hour.start.format("%H:%M")-$hour.end.format("%H:%M")



Thanks in advance,

Mic

-- 
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/d10751ed-ce27-465f-a19c-acffde9f3c8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.