Thanks, but install is problem - I install it and edited weewx.conf
[Raw]
#
# This section is for configuration of the raw plugin. This plugin
stores the raw
# data off of the station, and can also push that data to a redis
pub/sub
# database.
#
# The database to persist the raw data..
# This should match a section under the [Databases] section.
raw_database = dbstats
# The max amount of raw data to retain specified in hours (set to 0 to
retain all data)
# This will in effect keep a rolling window of the data removing old
data based on.
# the time of the most recent record. It is recommended to set this to
at least 24.
#
# NOTE: if increasing this value (or setting to unlimited), keep in
mind that raw data.
# may consume VERY large amounts of space!
data_limit = 24
but I get error
File "/usr/share/weewx/weewx/engine.py", line 141, in loadServices
Aug 16 19:48:32 localhost weewx[9920]: ****
self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
Aug 16 19:48:32 localhost weewx[9920]: **** File
"/usr/share/weewx/user/raw.py", line 16, in __init__
Aug 16 19:48:32 localhost weewx[9920]: ****
self.setupRawDatabase(config_dict)
Aug 16 19:48:32 localhost weewx[9920]: **** File
"/usr/share/weewx/user/raw.py", line 58, in setupRawDatabase
Aug 16 19:48:32 localhost weewx[9920]: **** self.rawData =
RawData.open_with_create(config_dict['Databases'][raw_db],
self.defaultRawSchema)
Aug 16 19:48:32 localhost weewx[9920]: **** File
"/usr/lib/python2.7/dist-packages/configobj.py", line 554, in __getitem__
Aug 16 19:48:32 localhost weewx[9920]: **** val =
dict.__getitem__(self, key)
What else should I config?
Thanks.
Dne úterý 15. srpna 2017 15:52:27 UTC+2 Andrew Milner napsal(a):
>
> The mesowx extension saves the loop data should you need it.
>
> On Tuesday, 15 August 2017 15:48:20 UTC+3, Tom Keffer wrote:
>>
>> Sorry, but weewx stores only archive data to the database, never the real
>> time "LOOP" data.
>>
>> Did you see the "Cumulus Real Time
>> <https://github.com/weewx/weewx/wiki/crt>" extension? It may do what you
>> want.
>>
>> -tk
>>
>> On Tue, Aug 15, 2017 at 4:40 AM, Daniel Česák <[email protected]> wrote:
>>
>>> Hi, sorry I am beginner with Weewx. I installed Weewx and everythink is
>>> working. But I need something else - I need get data - realtime data - from
>>> weewx to mysql. I do this to archive db - but only archive data, not
>>> realtime. I see manual for this, and only archive is working, realtime data
>>> isnt.
>>>
>>> I do this, because I need create realtime.txt (cumulus format). I found,
>>> that is extension crt. It work nice, but for me has few value - I miss
>>> yesterday max and min temp, yesterday rainfall, this month rainfaill etc.
>>>
>>> Is possible read this data from mysql I think, or is some other solution?
>>>
>>> Thanks for help.
>>>
>>> --
>>> 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 [email protected].
>>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.