Re: [weewx-user] Modified schema for my sqlite database

2018-02-13 Thread Thomas Keffer
What operating system are you using? I am wondering whether you are seeing
the complete log.

-tk

On Mon, Feb 12, 2018 at 12:42 PM, Tryphon Cosinus 
wrote:

> 1. Yes I used the setup.py method and the database in weewx/archive/
> 2. cd weewx/archive
> echo "select count(dateTime) from archive;" | sqlite3 weewx.sdb
> ->  212000 records
> echo "select count(dateTime) from archive;" | sqlite3 weewx.sdb_new
>  ->  30 records
>
> Both weewx.sdb and weewx.sdb_new have the same column names except the
> extra ones I created with the schema method described in the guide.
>
> 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.
> 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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Modified schema for my sqlite database

2018-02-13 Thread Tryphon Cosinus

I use QTS 4.3 (Qnap server) based on Debian. Weewx weather page is fully 
working in this OS.

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


[weewx-user] Re: WMR300 testing LAST Driver

2018-02-13 Thread Ruben Navarro Huedo
It is set to 5 minutes both values.
I cleared the console log but stability problem continues with RC5.

El domingo, 11 de febrero de 2018, 7:01:59 (UTC+1), Cameron D escribió:
>
> Hello Ruben,
> I cannot see where you have already said this, but can you report the 
> logging frequency of the WMR300 console and the archive interval you have 
> set in weewx.
> From the logs it look like WMR300 is set to 5 minutes.
>
> There is an odd section at the start of the console's history log, where 
> it has saved data from before the clock was set up.  Can you please clear 
> the log from the console touch panel.
> And I'll try mine as well, because I have just noticed that my system  
> also has some junk in the first 30 history packets.
>

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


Re: [weewx-user] Modified schema for my sqlite database

2018-02-13 Thread Thomas Keffer
1. Are you confident you are seeing the entire log?

2. How much memory does this thing have? Could you try wee_database on
something with more memory, such as an RPi?

-tk

On Tue, Feb 13, 2018 at 6:02 AM, Tryphon Cosinus 
wrote:

>
> I use QTS 4.3 (Qnap server) based on Debian. Weewx weather page is fully
> working in this OS.
>
> 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.
> 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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Modified schema for my sqlite database

2018-02-13 Thread Tryphon Cosinus
1. I repeated the wee_database command and I see the same log.
2. Total is 8 GB and the current usage is about 2 GB. I have a desktop with 
8 GB but to try the command on it I will have to install Weewx. If it 
helps, I will do.

Thank you.

Le mardi 13 février 2018 09:11:52 UTC-5, Tom Keffer a écrit :
>
> 1. Are you confident you are seeing the entire log?
>
> 2. How much memory does this thing have? Could you try wee_database on 
> something with more memory, such as an RPi?
>
> -tk
>
> On Tue, Feb 13, 2018 at 6:02 AM, Tryphon Cosinus  > wrote:
>
>>
>> I use QTS 4.3 (Qnap server) based on Debian. Weewx weather page is fully 
>> working in this OS.
>>
>> 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+...@googlegroups.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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Weewx Localization multilingual + Weewx Drupal

2018-02-13 Thread Andrew Milner
have you tried the smartphone and mobile pages which are part of the 
standard skin, and for which there are links on the standard index page



On Wednesday, 14 February 2018 03:35:00 UTC+2, Markus Roth wrote:

> Hello
>
> At http://www.weewx.com/docs/customizing.htm#localization 
>
> Below is how to translate Weewx into another language.
> But what if you want to provide Weewx in multiple languages?
>
> As far as I understand it, that is not possible at the moment.
>
> It would be good if you could integrate this in your Weewx versions.
> It could work similar to Drupal.
> zb https://rothlive.de/de/blog
> https://rothlive.de/en/blog
> Over the URL.
>
> I am also looking for a better way to integrate Weewx into Drupal.
> At the moment still by html code: https://rothlive.de/Wetter/; width="160%">
>
> But it is a problem on mobile Phones. Of the screen size.
> https://rothlive.de/de/Wetterstation
>
> Can anyone Help me to make it better ?
>

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


Re: [weewx-user] Re: Change archive interval for single report

2018-02-13 Thread A.J. Burnett
So I've managed to get the JSON file to update every minute, but would love
to get it every 2.5 seconds. I installed the SGRT skin, but still only get
the file every minute. What should I be doing now?

Thank you all for all your help!

A.J.

On Mon, Feb 12, 2018 at 11:50 PM, gjr80  wrote:

> If your pages are updating at 10 minute intervals that sounds like the
> archive interval being used is 10 minutes (if you are using the SteelSeries
> skin that would further support this idea). With a Davis station any
> archive interval setting in the console will override the [StdArchive]
> archive_interval setting. To confirm what is happening go back and look
> at your log from when you last started weeWX, you will probably see
> something like this in the start up logging:
>
> Feb 13 13:45:18 stretch22 weewx[1589]: engine: The archive interval in
> the configuration file (300) does not match the station hardware interval
> (600).
> Feb 13 13:45:18 stretch22 weewx[1589]: engine: Using archive interval of
> 600 seconds
>
> If you can't find it stop then start weeWX and have a look at the startup
> log.
>
> To fix it, stop weeWX and then use wee_device to set the desired archive
> interval in the console
> .
>
> Note, the only effect this will have on gauge-dat.txt is to generate it
> every 5 minutes rather than every 10 minutes. Refer to my previous post.
>
> Gary
>
>
> On Tuesday, 13 February 2018 13:51:22 UTC+10, A.J. Burnett wrote:
>>
>> Hi Andrew,
>>
>> Station type is a VP2. My StdArchive interval is set to 300, which should
>> be every 5 minutes, but the gauge-data.txt file only updates every 10
>> minutes. My web page only updates at that same 10-minute interval too.
>> 
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/TEahPOTTAVI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Burnett Media Group
"Giving you a voice."
E-mail: a...@ajburnettonline.net 
Web: www.AJBurnettOnline.com 
Phone: 978-595-2329

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


Re: [weewx-user] Re: Change archive interval for single report

2018-02-13 Thread gjr80
I think it is time you post weewx.conf and a log extract so we can see what is 
installed and what is going on (I have not heard of the 'SRGT skin'). Please 
post a copy of weewx.conf making sure you remove any sensitive info, passwords 
etc. Also, set debug=1 in weewx.conf, save weewx.conf, restart weeWX and let it 
run for 10 minutes. Take an extract/copy of your weeWX log (nominally 
/var/log/syslog) from when you restarted weeWX to the point 10 minutes after 
the restart and post the extract here.

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


Re: [weewx-user] Re: Change archive interval for single report

2018-02-13 Thread A.J. Burnett
Sorry, meant RTSG (Real-time Steel Guage).

On Tue, Feb 13, 2018 at 6:30 PM, gjr80  wrote:

> I think it is time you post weewx.conf and a log extract so we can see
> what is installed and what is going on (I have not heard of the 'SRGT
> skin'). Please post a copy of weewx.conf making sure you remove any
> sensitive info, passwords etc. Also, set debug=1 in weewx.conf, save
> weewx.conf, restart weeWX and let it run for 10 minutes. Take an
> extract/copy of your weeWX log (nominally /var/log/syslog) from when you
> restarted weeWX to the point 10 minutes after the restart and post the
> extract here.
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/TEahPOTTAVI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Burnett Media Group
"Giving you a voice."
E-mail: a...@ajburnettonline.net 
Web: www.AJBurnettOnline.com 
Phone: 978-595-2329

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


[weewx-user] Re: Database not updating

2018-02-13 Thread JE Norton
Thanks Gary, just what I needed, someone with more knowledge of the User's 
Guide. Thanks for saving me a bunch of time! I unplugged the console, took 
the batteries out and reversed these steps. Boom, back in business. I took 
your suggestion of changing the interval. I reset it to 10 minutes.
Cheers
John

On Monday, February 12, 2018 at 8:01:12 PM UTC-7, gjr80 wrote:
>
> Hi,
>
> Data is great but logs are better :) Quite possible you have corrupt 
> station memory (have a look here 
>  in 
> the User's Guide), not uncommon when disconnecting/interrupting power to a 
> Davis station. If you want to take a punt and don't mind losing any records 
> in your station memory, you can clear the console memory using wee_device 
> . If you 
> don't want to take such drastic action you can check the logs first, in 
> weewx.conf you set debug=1, save weewx.conf then stop/start weeWX. Let it 
> run for a couple of archive periods (appears you have a 30 minute archive 
> period from your data) then post the log.
>
> As an aside, if you want an archive interval somewhat less than 30 
> minutes, use wee_device to set the archive interval 
>  as 
> required. Note that any use of wee_device must be done with weeWX stopped.
>
> 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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Weewx Localization multilingual + Weewx Drupal

2018-02-13 Thread Markus Roth
Hello

At http://www.weewx.com/docs/customizing.htm#localization 

Below is how to translate Weewx into another language.
But what if you want to provide Weewx in multiple languages?

As far as I understand it, that is not possible at the moment.

It would be good if you could integrate this in your Weewx versions.
It could work similar to Drupal.
zb https://rothlive.de/de/blog
https://rothlive.de/en/blog
Over the URL.

I am also looking for a better way to integrate Weewx into Drupal.
At the moment still by html code: https://rothlive.de/Wetter/; width="160%">

But it is a problem on mobile Phones. Of the screen size.
https://rothlive.de/de/Wetterstation

Can anyone Help me to make it better ?

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


[weewx-user] Re: Weewx Localization multilingual + Weewx Drupal

2018-02-13 Thread Andrew Milner
You can create many languages by having many skins and generating many 
reports pages - one skin per language

On Wednesday, 14 February 2018 03:35:00 UTC+2, Markus Roth wrote:
>
> Hello
>
> At http://www.weewx.com/docs/customizing.htm#localization 
>
> Below is how to translate Weewx into another language.
> But what if you want to provide Weewx in multiple languages?
>
> As far as I understand it, that is not possible at the moment.
>
> It would be good if you could integrate this in your Weewx versions.
> It could work similar to Drupal.
> zb https://rothlive.de/de/blog
> https://rothlive.de/en/blog
> Over the URL.
>
> I am also looking for a better way to integrate Weewx into Drupal.
> At the moment still by html code: https://rothlive.de/Wetter/; width="160%">
>
> But it is a problem on mobile Phones. Of the screen size.
> https://rothlive.de/de/Wetterstation
>
> Can anyone Help me to make it better ?
>

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


Re: [weewx-user] Re: Change archive interval for single report

2018-02-13 Thread gjr80
As far as I am aware, and as mentioned in this post 
, 
there is the SteelSeries Gauges skin 
 and the Realtime 
gauge-data extension . 
The former updates each archive period (not realtime), the latter updates 
each loop period (near realtime). No matter, if you post your sanitised 
config file and log extract it will show exactly what is installed, how it 
is configured and what needs to be done to get what you want.

Gary

On Wednesday, 14 February 2018 09:32:16 UTC+10, A.J. Burnett wrote:
>
> Sorry, meant RTSG (Real-time Steel Guage).
>
> On Tue, Feb 13, 2018 at 6:30 PM, gjr80  
> wrote:
>
>> I think it is time you post weewx.conf and a log extract so we can see 
>> what is installed and what is going on (I have not heard of the 'SRGT 
>> skin'). Please post a copy of weewx.conf making sure you remove any 
>> sensitive info, passwords etc. Also, set debug=1 in weewx.conf, save 
>> weewx.conf, restart weeWX and let it run for 10 minutes. Take an 
>> extract/copy of your weeWX log (nominally /var/log/syslog) from when you 
>> restarted weeWX to the point 10 minutes after the restart and post the 
>> extract here.
>>
>> Gary
>>
>> --
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/TEahPOTTAVI/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> 
> Burnett Media Group
> "Giving you a voice."
> E-mail: a...@ajburnettonline.net 
> Web: www.AJBurnettOnline.com 
> Phone: 978-595-2329
>

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


[weewx-user] Re: Database not updating

2018-02-13 Thread gjr80
Yep, one to keep in the back of your mind if you own a Davis station. Any 
power interruptions, unplugging etc and weeWX appears to be working but the 
displayed data is not updating then chances are it is corrupted station 
memory. Sometimes you can recover your data from the logger, sometimes not.

Gary

On Wednesday, 14 February 2018 11:00:12 UTC+10, JE Norton wrote:
>
> Thanks Gary, just what I needed, someone with more knowledge of the User's 
> Guide. Thanks for saving me a bunch of time! I unplugged the console, took 
> the batteries out and reversed these steps. Boom, back in business. I took 
> your suggestion of changing the interval. I reset it to 10 minutes.
> Cheers
> John
>
> On Monday, February 12, 2018 at 8:01:12 PM UTC-7, gjr80 wrote:
>>
>> Hi,
>>
>> Data is great but logs are better :) Quite possible you have corrupt 
>> station memory (have a look here 
>>  in 
>> the User's Guide), not uncommon when disconnecting/interrupting power to a 
>> Davis station. If you want to take a punt and don't mind losing any records 
>> in your station memory, you can clear the console memory using wee_device 
>> . If 
>> you don't want to take such drastic action you can check the logs first, in 
>> weewx.conf you set debug=1, save weewx.conf then stop/start weeWX. Let 
>> it run for a couple of archive periods (appears you have a 30 minute 
>> archive period from your data) then post the log.
>>
>> As an aside, if you want an archive interval somewhat less than 30 
>> minutes, use wee_device to set the archive interval 
>>  as 
>> required. Note that any use of wee_device must be done with weeWX 
>> stopped.
>>
>> 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.
For more options, visit https://groups.google.com/d/optout.