Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-19 Thread Michael Sanphillipo
What happens when the sudo weectl database calc-missing command stops on a 
date and seems to stall?

On Friday, January 19, 2024 at 5:53:11 PM UTC-5 Tom Keffer wrote:

> Good sleuthing, Paul!
>
> On Fri, Jan 19, 2024 at 10:23 AM Paul R Anderson  
> wrote:
>
>> This was really fun to track down! Thanks for the challenge !
>> I have been able to reproduce your issue... it's a  little complicated, 
>> but it can be fixed  easily :)
>> It's caused by 2 factors
>> *1. Your station seems to have stopped reporting Barometric Pressure on 
>> or about 2019-12-31 @ 16:45 *
>> *No idea why, hopefully you are aware of this and know the cause.*
>>
>> *2. Your using an older version of  NOAA-%Y-%m.txt.tmpl*
>> The older version used this statement to determine if there was data for 
>> each day
>> #for $day in $month.days
>> #if $day.barometer.count.raw
>> So it fails because there is no  $day.barometer.count.raw
>> Your Monthly Report will look like this:
>>
>>MONTHLY CLIMATOLOGICAL SUMMARY for Jan 2020
>>
>>TEMPERATURE (F), RAIN (in), WIND SPEED (mph)
>>
>>  HEAT   COOL AVG
>>   MEAN   DEGDEG  WIND 
>>   DOM
>> DAY   TEMP   HIGH   TIMELOW   TIME   DAYS   DAYS   RAIN  SPEED   HIGH 
>>   TIMEDIR
>> 
>> ---
>>  01
>>  02
>>  03
>>  04
>>  05
>>  06
>>  07
>>  08
>>  09
>>  10
>>  11
>>  12
>>  13
>>  14
>>  15
>>  16
>>  17
>>  18
>>  19
>>  20
>>  21
>>  22
>>  23
>>  24
>>  25
>>  26
>>  27
>>  28
>>  29
>>  30
>>  31
>> 
>> ---
>>   55.4   81.3 31   44.4 12  294.20.7   0.150.4   14.0 
>> 29302
>>
>> *Newer version of NOAA-%Y-%m.txt.tmp*
>> Changed how it determines if there was data for each day
>> #for $day in $month.days
>> #if $day.outTemp.has_data or $day.rain.has_data or $day.wind.has_data
>> So it will pass even if there is no  $day.barometer.count.raw
>> Your Monthly Report will now look like this:
>>  
>>  MONTHLY CLIMATOLOGICAL SUMMARY for Jan 2020
>>
>>TEMPERATURE (F), RAIN (in), WIND SPEED (mph)
>>
>>  HEAT   COOL AVG
>>   MEAN   DEGDEG  WIND 
>>   DOM
>> DAY   TEMP   HIGH   TIMELOW   TIME   DAYS   DAYS   RAIN  SPEED   HIGH 
>>   TIMEDIR
>>
>> ---
>>  01   55.7   63.8  10:55   47.4  03:409.30.0   0.000.39.0 
>>  08:00294
>>  02   55.9   64.1  06:30   51.5  03:109.10.0   0.000.34.0 
>>  05:45322
>>  03   62.5   72.2  16:55   52.5  23:152.50.0   0.000.66.0 
>>  14:50301
>>  04   57.3   71.7  16:55   48.7  07:207.70.0   0.000.46.0 
>>  13:30297
>>  05   56.9   70.0  16:45   47.8  10:158.10.0   0.000.46.0 
>>  16:50302
>>  06   64.5   80.7  16:20   53.1  10:250.50.0   0.000.26.0 
>>  14:50297
>>  07   60.8   79.3  15:40   50.5  00:404.20.0   0.000.37.0 
>>  15:55299
>>  08   51.9   62.5  15:05   47.1  08:30   13.10.0   0.000.59.0 
>>  15:30317
>>  09   50.9   60.8  14:20   46.6  01:25   14.10.0   0.000.6   11.0 
>>  15:35301
>>  10   51.6   64.1  16:30   44.9  09:35   13.40.0   0.010.57.0 
>>  15:50294
>>  11   51.0   60.6  15:20   45.0  07:25   14.00.0   0.000.7   13.0 
>>  15:25325
>>  12   51.2   62.5  15:10   44.4  09:15   13.80.0   0.000.5   10.0 
>>  16:25298
>>  13   51.2   59.8  17:45   46.3  08:50   13.80.0   0.000.58.0 
>>  17:30300
>>  14   50.4   60.5  16:35   45.2  10:00   14.60.0   0.010.49.0 
>>  17:00294
>>  15   51.1   65.1  16:00   44.4  09:40   13.90.0   0.000.48.0 
>>  17:25296
>>  16   50.3   58.4  15:20   45.4  10:00   14.70.0   0.050.8   11.0 
>>  01:25315
>>  17   51.2   60.1  16:55   45.5  10:20   13.80.0   0.050.6   12.0 
>>  03:40316
>>  18   56.1   69.6  17:30   46.9  06:108.90.0   0.000.26.0 
>>  16:10294
>>  19   58.6   76.1  14:50   49.0  10:056.40.0   0.000.29.0 
>>  15:10300
>>  20   54.9   59.3  15:45   52.4  04:50   10.10.0   0.000.3   11.0 
>>  15:50306
>>  21   52.0   56.8  14:20   47.7  02:15   13.00.0   0.030.37.0 
>>  14:35310
>>  22   52.6   61.1  14:25   47.6  04:35   12.40.0   0.000.58.0 
>>  16:25296
>>  23   59.9   73.0  16:20   50.0  07:205.10.0   0.000.47.0 
>>  15:40306
>>  24   59.0   74.2  16:55   51.0  02:056.00.0   0.000.35.0 
>>  13:05297
>>  25   54.9   69.8  17:10   46.9  08:45   

Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-19 Thread Michael Sanphillipo
Richard, just curious do you have an Acurite weather station and using 
Belcherstown? I'm just trying to see if we have the same type of setup 
before going back to V5 and trying your solution. Thanks!

On Friday, January 19, 2024 at 5:49:18 AM UTC-5 Richard Whitcombe wrote:

> FWIW i just needed to add appTemp and its worked - report generation now 
> takes 3 seconds not 190.
> I would caveat that by saying im not using the other missing columns at 
> all as my station doesnt provide the data so maybe if you are they need to 
> be added too.
> Missing data calculations took about 8 mins for 2017 - 2024 on a Pi4.
>
> On Friday 19 January 2024 at 15:59:15 UTC+9 vince wrote:
>
>> Re: the Belchertown issue many seem to be facing, I notice that Blaine's 
>> db uses the original old wview schema, not the newer bigger 
>> 'wview_extended' schema that came out a few years ago.  I suspect this is 
>> the pattern we've missed.  Folks who have the old schema do not have any of 
>> the elements for many of the Extended Observations in Belchertown's 
>> skin.conf file. 
>>
>> Blaine's db schema misses these items in Belchertown's skin.conf extended 
>> observations list
>> appTemp  = Apparent Temperature
>> cloudbase= Cloud Base
>> visibility   = Visibility
>> windrun  = Wind Run
>> cloud_cover  = Cloud Cover
>> aqi  = AQI
>>
>> The wview_extended schema is missing these, so I'd expect users with data 
>> in those somehow might have the same slowness issue until they add db 
>> elements and calc-missing to generate summary tables for them.
>> visibility   = Visibility
>> cloud_cover  = Cloud Cover
>>
>> Re: Michael's question about what to do about the NOAA files, I'd suggest 
>> pre-calculating them offline and dropping them into place in his NOAA 
>> subdirectory with the appropriate owner/group/mode so they don't have to be 
>> recalculated.  I'd omit the current month+year which should regenerate 
>> quickly on weewx startup.  That would be a good thing to try.  We've 
>> verified the db is ok, so it 'should' work on Blaine's system too 
>> (hopefully).  The test then would be to simply look at the date+time last 
>> modified for the current month and year NOAA file.  It should change every 
>> archive period as StdReport runs.
>>
>> (reminder - if you have Belchertown 'and' Seasons, you need to drop the 
>> pre-calculated NOAA files into both places to preseed both skin output 
>> directories)
>>
>> On Thursday, January 18, 2024 at 8:36:20 PM UTC-8 michael.k...@gmx.at 
>> wrote:
>>
>>> Or, to speed things up, do the "calc-missing" on another machine with a 
>>> more potent CPU.
>>>
>>> Back to Blaine's problem: if the NOAA files are generated on other 
>>> installations with his database, there is obviously another problem with 
>>> his installation.I don't have an idea what to look for, if deleted NOAA 
>>> data will be regenerated in the same way, as before.
>>>
>>> vince schrieb am Freitag, 19. Januar 2024 um 04:55:13 UTC+1:
>>>
 Docs are at https://www.weewx.com/docs/5.0/utilities/weectl-database/ 
 but what I did for a pip installation using Blaine's db was:

 source ~/weewx-venv/bin/activate
 weectl database add-column appTemp
 weectl calc-missing
 (answer y when prompted above)

 If you have a packaged install of weewx you can skip the activate step 
 above.

 Note - the calc-missing takes quite a while and will peg your cpu while 
 working, so if you have a lot of data so you might need to use the --from 
 and --to options or even the --tranche option to split up the processing a 
 bit into pieces.  I got lucky with this db on pi3plus with a bit of 
 patience waiting for calc-missing to complete

 (weewx-venv) pi@pi3plus:~/weewx-data $ weectl database calc-missing -y
 Using configuration file /home/pi/weewx-data/weewx.conf
 Missing derived observations will be calculated for all records.
 Calculating missing derived observations...
 Processing record: 959536; Last record: 2024-01-19 00:00:00 PST 
 (1705651200)
 Recalculating daily summaries...
 Records processed: 959000; time: 2024-01-16 15:55:00 PST (1705449300)
 Finished recalculating daily summaries
 Missing derived observations calculated in 2986.21 seconds

 And after restarting weewx things look good 

 2024-01-18T19:45:15.438555-08:00 pi3plus weewxd[1797]: INFO 
 weewx.manager: Added record 2024-01-18 19:45:00 PST (1705635900) to 
 database 'weewx.sdb'
 2024-01-18T19:45:15.458841-08:00 pi3plus weewxd[1797]: INFO 
 weewx.manager: Added record 2024-01-18 19:45:00 PST (1705635900) to daily 
 summary in 'weewx.sdb'
 2024-01-18T19:45:19.659002-08:00 pi3plus weewxd[1797]: INFO 
 weewx.cheetahgenerator: Generated 8 files for report 

Re: [weewx-user] Database Error Message

2024-01-17 Thread sanphillipo
I changed it yesterday to 300 and it made no difference. Sent from my Verizon, 
Samsung Galaxy smartphone
 Original message From: Graham Eddy  Date: 
1/17/24  8:51 PM  (GMT-05:00) To: WeeWX User  
Subject: Re: [weewx-user] Database Error Message maybe a bit short?
⊣GE⊢

On 18 Jan 2024, at 11:55 am, Michael Sanphillipo  wrote: 
   archive_interval = 120



-- 
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/7tMPKNiRpZg/unsubscribe.
To unsubscribe from this group and all its topics, 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/5DAE5F07-0D79-4BC7-A67D-09FA84035018%40geddy.au.

-- 
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/65a89190.050a0220.17f9d.c7b2%40mx.google.com.


Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread Michael Sanphillipo
Here is a sanitized copy of my Weewx.conf. I do have all of my Belchertown
settings in the weewx conf , so it adds a bunch of lines. I'm really not
sure about the synthetic measurements.


# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2019 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 0

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# Whether to log successful operations
log_success = True

# Whether to log unsuccessful operations
log_failure = True

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 4.10.2

##

#   This section is for information about the station.

[Station]

# Description of the station location
location = "Riverside Belcamp, MD"

# Latitude in decimal degrees. Negative for southern hemisphere
latitude = 39.478306
# Longitude in decimal degrees. Negative for western hemisphere.
longitude = -76.252562

# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 100, foot

# Set to type of station hardware. There must be a corresponding stanza
# in this file with a 'driver' parameter indicating the driver to be
used.
station_type = AcuRite

# If you have a website, you may specify an URL
station_url = https://belcampmdweather.tech/weewx/belchertown/

# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1

# Start of week (0=Monday, 6=Sunday)
week_start = 6

##

[AcuRite]
# This section is for AcuRite weather stations.

# The station model, e.g., 'AcuRite 01025' or 'AcuRite 02032C'
model = AcuRite 02032C

# The driver to use:
driver = weewx.drivers.acurite
use_constants = False
##

#   This section is for uploading data to Internet sites

[StdRESTful]

[[StationRegistry]]
# To register this weather station with weewx, set this to true
register_this_station = true

[[AWEKAS]]
# This section is for configuring posts to AWEKAS.

# If you wish to do this, set the option 'enable' to true,
# and specify a username and password.
# To guard against parsing errors, put the password in quotes.
enable = true
username = ##
password = #

[[CWOP]]
# This section is for configuring posts to CWOP.

# If you wish to do this, set the option 'enable' to true,
# and specify the station ID (e.g., CW1234).
enable = true
station = FW5836

# If this is an APRS (radio amateur) station, uncomment
# the following and replace with a passcode (e.g., 12345).
#passcode = replace_me (APRS stations only)

[[PWSweather]]
# This section is for configuring posts to PWSweather.com.

# If you wish to do this, set the option 'enable' to true,
# and specify a station and password.
# To guard against parsing errors, put the password in quotes.
enable = true
station = KMDBELCA3
password = #

[[WOW]]
# This section is for configuring posts to WOW.

# If you wish to do this, set the option 'enable' to true,
# and specify a station and password.
# To guard against parsing errors, put the password in quotes.
enable = false
station = replace_me
password = replace_me

[[Wunderground]]
# This section is for configuring posts to the Weather Underground.

# If you wish to do this, set the option 'enable' to true,
# and specify a station (e.g., 'KORHOODR3') and password.
# To guard against parsing errors, put the password in quotes.
enable = false
station = KMDBELCA3
password = 

# If you plan on using wunderfixer, set the following
# to your API key:
api_key = ###

# Set the following to True to have weewx use the WU "Rapidfire"
# protocol. Not all hardware can support it. See the User's Guide.
rapidfire = True

post_indoor_observations = true

[[WeatherCloud]]
id = f
key = ##

[[MQTT]]
server_url = mqtt://:#@localhost:1883/
topic = weather
#server_url = mqtt://broker.hivemq.com:1883/
#topic = weather/belcamp
 

Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread Michael Sanphillipo
I'm also using my Pi3 as a MQTT server feeding Belchertown I'm not sure if
that makes a difference or not. With all of that being said everything runs
smoothly on WeeWxVersion 4. I know Tom said that version 5 does a lot more.
I also use my PI3 for ADSB sending data to a few ADSB sites.

On Wed, Jan 17, 2024 at 7:25 PM vince  wrote:

> It's not Belchertown.  It's not db size.  I ran many tests.
>
> v5 and Belchertown can easily coexist on a pi3 or so system.  If every
> time through you're exceeding the default archive period you're doing
> something custom to make that happen.  I keep coming back to the known
> issue/slowness with synthetic measurements that Tom mentioned a few times
> recently.
>
> Here's the test I just did with a newly flashed 32-bit pi3+ running a
> fully patched latest raspios...
>
> On a clean pi3+ with weewx v5 via pip and Belchertown installed, using the
> Simulator driver and no old pre-existing db present:
>
> Generated 8 files for report SeasonsReport in 3.45 seconds
> Generated 56 images for report SeasonsReport in 3.43 seconds
> Generated 12 files for report Belchertown in 6.93 seconds
> (elapsed time from writing to the db to Belchertown done was 14 seconds)
>
> I then stopped weewx, overwrote my weewx.sdb with my production system
> data with 17+ years of data, pre-seeded the Seasons NOAA tree so I didn't
> need to wait for them to be regenerated once for this test, then restarted
> weewx.  So it's running the same skins with 17+ years of data, with the
> Seasons NOAA files having been pregenerated and dropped into place
>
> Generated 8 files for report SeasonsReport in 4.28 seconds
> Generated 44 images for report SeasonsReport in 6.75 seconds
> *Generated 236 files for report Belchertown in 266.59 seconds.  <=*
> (elapsed time from writing to db to Belchertown done was 4:37 so pretty
> close to a 5-minute default archive period)
>
> Why ?  Because the 'first' Belchertown run generates its 'own' copy of
> the NOAA files down under the Belchertown public_html tree.  It had to do
> that (for me) with 17+ years of month and year files which takes some time
> to complete.   Running htop I saw two virtual cpus pegged at 100%
> throughout until it completed.
>
> After that Belchertown NOAA files are also pre-seeded there too so it's
> just doing normal incremental updates for future report runs.  Each skin
> that generates NOAA files has to work hard once to do so vs. a pre-existing
> db if you start with a legacy db.   You only have to bleed through that
> once.  Subsequent runs should be quick.  Lets see...
>
> So I let it run another cycle.looks fine
>
> Generated 8 files for report SeasonsReport in 3.05 seconds
> Generated 18 images for report SeasonsReport in 1.22 seconds
> Generated 12 files for report Belchertown in 8.26 seconds
> (elapsed time this cycle was 14 seconds)
>
> And one more cycle.looks fine
>
> Generated 8 files for report SeasonsReport in 2.94 seconds
> Generated 18 images for report SeasonsReport in 1.68 seconds
> Generated 12 files for report Belchertown in 7.80 seconds
> (elapsed time for this cycle was 14 seconds)
>
> Again - if you are continually exceeding perhaps 15 seconds for
> Belchertown to run on a pi3 or better you are doing something custom to
> make that happen.  I just keep coming beck mentally to Tom's previous
> responses re: synthetic measurements.
>
> The original poster uses an Acurite which I don't know enough about to
> know for certain, but are you using that feature and not even knowing it ?
> Would providing your (sanitized) weewx.conf perhaps be of use in helping
> figure it out ?
>
> --
> 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/7tMPKNiRpZg/unsubscribe.
> To unsubscribe from this group and all its topics, 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/9815dc0c-c883-43a3-b9e4-87f4e3a3986fn%40googlegroups.com
> 
> .
>

-- 
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/CAAsGudpq8kEiq7rP5J%3DhhULuyZfhzG0yJoKh0fyyvCPFogGHAQ%40mail.gmail.com.


Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread Michael Sanphillipo
My current database goes back to 2018 so I guess it could be an issue. I
really don't know if that is considered old or not. The fact that it runs
fine on version 4 leads me to think that might not be it.

On Wed, Jan 17, 2024 at 6:14 PM p q  wrote:

> You might also swap out your database with an empty one to see if the
> volume of data in the database is causing the slowness. I really doubt it,
> though.
>
> On Wed, Jan 17, 2024 at 2:32 PM vince  wrote:
>
>> Michael -  guessing you have something customized under the hood causing
>> this.  Again you have a few choices
>>
>>- disable Belchertown (temporarily) and see if it goes away
>>- switch to the Simulator (temporarily) after saving your weewx setup
>>and see if it's related to the Acurite stuff you're using
>>- disable everything 'except' weewx (temporarily) and see if it goes
>>away
>>- throw hardware at it and get a faster computer.  You might even be
>>paging on a pi3 and a 4GB pi4 or pi5 might be enough
>>
>> Kinda impossible to know with skeletal data to look at, but these things
>> can be difficult to dig into.
>>
>> I did cause something similar yesterday trying to run on a pi5 where the
>> StdReport never finished in even 5 minutes but didn't figure out why.  I
>> 'think' it was something related to having ancient simulated data in the db
>> from timesync issues (2014 dates in the NOAA files is definitely wrong) and
>> switching to a different driver.  Moving the old db aside seemed to help,
>> but again I didn't dig much into it yesterday on a test system.
>>
>> On Wednesday, January 17, 2024 at 12:37:35 PM UTC-8 Tom Keffer wrote:
>>
>>> Maybe, although I've run V5 without any problems on a RPi Zero! There's
>>> something in your Belchertown skins that is triggering the long runtimes.
>>>
>>> On Wed, Jan 17, 2024 at 6:42 AM Michael Sanphillipo 
>>> wrote:
>>>
>>>> FWIW I went back to 4.10.2 and no more database errors and the CPU
>>>> spikes are gone. Might be time to upgrade to a PI4 or PI5.
>>>>
>>>> On Tuesday, January 16, 2024 at 5:41:39 PM UTC-5 Tom Keffer wrote:
>>>>
>>>>> The difference is that V5 could be doing more. We don't know for sure,
>>>>> yet, but it is probably reporting on synthetic types, which V4 was unable
>>>>> to do.
>>>>>
>>>>> On Tue, Jan 16, 2024 at 2:36 PM sanphillipo 
>>>>> wrote:
>>>>>
>>>>>> Yes I'm on a PI3 with ADSB tracking running as well. I changed the
>>>>>> archive to 300 so we'll see how it goes. Never had the issue before
>>>>>> upgrading to 5.0 so it must be somewhat related to that.  I've noticed 
>>>>>> that
>>>>>> CPU usage and temps are slightly higher than average since I upgraded 
>>>>>> last
>>>>>> night. Thanks for the suggestions.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Sent from my Verizon, Samsung Galaxy smartphone
>>>>>>
>>>>>>
>>>>>>  Original message 
>>>>>> From: vince 
>>>>>> Date: 1/16/24 4:12 PM (GMT-05:00)
>>>>>> To: weewx-user 
>>>>>> Subject: Re: [weewx-user] Re: Database Error Message
>>>>>>
>>>>>> The log excerpt is a little short but perhaps.   I see in your log
>>>>>> you have a 120 second archive period yet Belchertown took 125 seconds to
>>>>>> run (which is 'very' slow), so it's possible your archive period is too
>>>>>> fast for your hardware.  What kind of pi are you on ?  Something slower
>>>>>> than a pi4 perhaps ?
>>>>>>
>>>>>> If you are on slow hardware try disabling Belchertown temporarily and
>>>>>> see if the problem goes away.  Or alternately set your archive period to
>>>>>> perhaps 180 seconds and try that.  Or as always you might throw hardware 
>>>>>> at
>>>>>> it and use a faster pibut it looks like you're asking your hardware 
>>>>>> to
>>>>>> do too much too often.
>>>>>>
>>>>>> --
>>>>>> 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://

Re: [weewx-user] Re: Database Error Message

2024-01-17 Thread Michael Sanphillipo
FWIW I went back to 4.10.2 and no more database errors and the CPU spikes 
are gone. Might be time to upgrade to a PI4 or PI5. 

On Tuesday, January 16, 2024 at 5:41:39 PM UTC-5 Tom Keffer wrote:

> The difference is that V5 could be doing more. We don't know for sure, 
> yet, but it is probably reporting on synthetic types, which V4 was unable 
> to do.
>
> On Tue, Jan 16, 2024 at 2:36 PM sanphillipo  wrote:
>
>> Yes I'm on a PI3 with ADSB tracking running as well. I changed the 
>> archive to 300 so we'll see how it goes. Never had the issue before 
>> upgrading to 5.0 so it must be somewhat related to that.  I've noticed that 
>> CPU usage and temps are slightly higher than average since I upgraded last 
>> night. Thanks for the suggestions. 
>>
>>
>>
>> Sent from my Verizon, Samsung Galaxy smartphone
>>
>>
>>  Original message 
>> From: vince  
>> Date: 1/16/24 4:12 PM (GMT-05:00) 
>> To: weewx-user  
>> Subject: Re: [weewx-user] Re: Database Error Message 
>>
>> The log excerpt is a little short but perhaps.   I see in your log you 
>> have a 120 second archive period yet Belchertown took 125 seconds to run 
>> (which is 'very' slow), so it's possible your archive period is too fast 
>> for your hardware.  What kind of pi are you on ?  Something slower than a 
>> pi4 perhaps ?
>>
>> If you are on slow hardware try disabling Belchertown temporarily and see 
>> if the problem goes away.  Or alternately set your archive period to 
>> perhaps 180 seconds and try that.  Or as always you might throw hardware at 
>> it and use a faster pibut it looks like you're asking your hardware to 
>> do too much too often.
>>
>> -- 
>> 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/7tMPKNiRpZg/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/23f37da3-0240-473d-85c1-8102ac757590n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/23f37da3-0240-473d-85c1-8102ac757590n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>> -- 
>>
> 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.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/65a704ff.050a0220.9fe86.27f4%40mx.google.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/65a704ff.050a0220.9fe86.27f4%40mx.google.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/11b0239b-0bd7-4d2f-a5ee-12cc99e402aan%40googlegroups.com.


Re: [weewx-user] Re: Database Error Message

2024-01-16 Thread sanphillipo
Yes I'm on a PI3 with ADSB tracking running as well. I changed the archive to 
300 so we'll see how it goes. Never had the issue before upgrading to 5.0 so it 
must be somewhat related to that.  I've noticed that CPU usage and temps are 
slightly higher than average since I upgraded last night. Thanks for the 
suggestions. Sent from my Verizon, Samsung Galaxy smartphone
 Original message From: vince  Date: 
1/16/24  4:12 PM  (GMT-05:00) To: weewx-user  
Subject: Re: [weewx-user] Re: Database Error Message The log excerpt is a 
little short but perhaps.   I see in your log you have a 120 second archive 
period yet Belchertown took 125 seconds to run (which is 'very' slow), so it's 
possible your archive period is too fast for your hardware.  What kind of pi 
are you on ?  Something slower than a pi4 perhaps ?If you are on slow hardware 
try disabling Belchertown temporarily and see if the problem goes away.  Or 
alternately set your archive period to perhaps 180 seconds and try that.  Or as 
always you might throw hardware at it and use a faster pibut it looks like 
you're asking your hardware to do too much too often.



-- 
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/7tMPKNiRpZg/unsubscribe.
To unsubscribe from this group and all its topics, 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/23f37da3-0240-473d-85c1-8102ac757590n%40googlegroups.com.

-- 
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/65a704ff.050a0220.9fe86.27f4%40mx.google.com.


Re: [weewx-user] Re: Database Error Message

2024-01-16 Thread Michael Sanphillipo
 14:20:00 EST (1705432800) to daily summary in 'weewx.sdb'
Jan 16 14:20:26 raspberrypi weewxd[23682]: INFO weewx.engine: Main loop
exiting. Shutting engine down.
Jan 16 14:20:26 raspberrypi weewxd[23682]: INFO weewx.engine: Shutting down
StdReport thread
Jan 16 14:20:46 raspberrypi weewxd[23682]: ERROR weewx.engine: Unable to
shut down StdReport thread
Jan 16 14:20:46 raspberrypi weewxd[23682]: CRITICAL __main__: Database
OperationalError exception: database is locked
Jan 16 14:20:46 raspberrypi weewxd[23682]: CRITICAL __main__: 
 Waiting 2 minutes then retrying...

On Tue, Jan 16, 2024 at 2:42 PM vince  wrote:

> From the FAQ -
> https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions#where-do-i-find-the-log
> From the wiki - https://github.com/weewx/weewx/wiki/view-logs
>
> On Tuesday, January 16, 2024 at 10:59:42 AM UTC-8 Michael Sanphillipo
> wrote:
>
>> I set the debug to 1 and restarted Weewx. Where will the log be on a
>> Raspberry Pi3 running Buster?
>>
>> On Tuesday, January 16, 2024 at 12:58:53 PM UTC-5 vince wrote:
>>
>>> Usual ‘how to report a problem’ answer applies…
>>>
>>> Set debug=1, restart weewx, post the log from beginning of restart
>>> through ‘two’ reporting intervals. Some more info on what kind of pi might
>>> help too.
>>>
>>> On Tuesday, January 16, 2024 at 8:13:48 AM UTC-8 Michael Sanphillipo
>>> wrote:
>>>
>>>> I upgraded from v4 to v5 last night and I'm getting the following
>>>> message in my syslog every 6 minutes. My webpage is staying updated so I'm
>>>> not sure if this is anything to be concerned about.
>>>>
>>>> Jan 16 11:08:33 raspberrypi weewxd[6863]: INFO weewx.engine: Main loop
>>>> exiting. Shutting engine down.
>>>> Jan 16 11:08:33 raspberrypi weewxd[6863]: INFO weewx.engine: Shutting
>>>> down StdReport thread
>>>> Jan 16 11:08:53 raspberrypi weewxd[6863]: ERROR weewx.engine: Unable to
>>>> shut down StdReport thread
>>>> Jan 16 11:08:53 raspberrypi weewxd[6863]: CRITICAL __main__: Database
>>>> OperationalError exception: database is locked
>>>> Jan 16 11:08:53 raspberrypi weewxd[6863]: CRITICAL __main__: 
>>>>  Waiting 2 minutes then retrying...
>>>>
>>>> Thanks,
>>>> Mike
>>>>
>>>> --
> 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/7tMPKNiRpZg/unsubscribe.
> To unsubscribe from this group and all its topics, 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/e2324ce0-22ba-4fa9-9d29-d7f3d2a464e2n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/e2324ce0-22ba-4fa9-9d29-d7f3d2a464e2n%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAAsGudqYY9aphK6mCoRccuJ-xrv%2B0Wq_TXOjU7xOzpnUSrq79w%40mail.gmail.com.


[weewx-user] Re: Database Error Message

2024-01-16 Thread Michael Sanphillipo
I set the debug to 1 and restarted Weewx. Where will the log be on a 
Raspberry Pi3 running Buster?

On Tuesday, January 16, 2024 at 12:58:53 PM UTC-5 vince wrote:

> Usual ‘how to report a problem’ answer applies…
>
> Set debug=1, restart weewx, post the log from beginning of restart through 
> ‘two’ reporting intervals. Some more info on what kind of pi might help too.
>
> On Tuesday, January 16, 2024 at 8:13:48 AM UTC-8 Michael Sanphillipo wrote:
>
>> I upgraded from v4 to v5 last night and I'm getting the following message 
>> in my syslog every 6 minutes. My webpage is staying updated so I'm not sure 
>> if this is anything to be concerned about.
>>
>> Jan 16 11:08:33 raspberrypi weewxd[6863]: INFO weewx.engine: Main loop 
>> exiting. Shutting engine down.
>> Jan 16 11:08:33 raspberrypi weewxd[6863]: INFO weewx.engine: Shutting 
>> down StdReport thread
>> Jan 16 11:08:53 raspberrypi weewxd[6863]: ERROR weewx.engine: Unable to 
>> shut down StdReport thread
>> Jan 16 11:08:53 raspberrypi weewxd[6863]: CRITICAL __main__: Database 
>> OperationalError exception: database is locked
>> Jan 16 11:08:53 raspberrypi weewxd[6863]: CRITICAL __main__:  
>>  Waiting 2 minutes then retrying...
>>
>> 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/9f388eee-b8f3-4e3c-b37c-e343750a41ccn%40googlegroups.com.


[weewx-user] Database Error Message

2024-01-16 Thread Michael Sanphillipo
I upgraded from v4 to v5 last night and I'm getting the following message 
in my syslog every 6 minutes. My webpage is staying updated so I'm not sure 
if this is anything to be concerned about.

Jan 16 11:08:33 raspberrypi weewxd[6863]: INFO weewx.engine: Main loop 
exiting. Shutting engine down.
Jan 16 11:08:33 raspberrypi weewxd[6863]: INFO weewx.engine: Shutting down 
StdReport thread
Jan 16 11:08:53 raspberrypi weewxd[6863]: ERROR weewx.engine: Unable to 
shut down StdReport thread
Jan 16 11:08:53 raspberrypi weewxd[6863]: CRITICAL __main__: Database 
OperationalError exception: database is locked
Jan 16 11:08:53 raspberrypi weewxd[6863]: CRITICAL __main__:  
 Waiting 2 minutes then retrying...

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/e14d976f-0d48-47c7-b28f-814f120aa87en%40googlegroups.com.


[weewx-user] Re: wee_import error

2021-12-13 Thread Michael Sanphillipo
That helped greatly. Thanks!!

On Monday, December 13, 2021 at 12:25:35 PM UTC-5 Michael Sanphillipo wrote:

> I'm on Weewx 4.5.1 and I need to import data from Weather Unnderground, so 
> I'm trying to set up a wee_import  import. conf file and I'm getting the 
> following error. I have my Weather Underground information in my weewx.conf 
> file. I also tried to create an import.conf file by copying the wu_example 
> file and renaming it import.conf. 
>
> wee_import --config=/this/directory/weewx.conf 
> --import-config=/directory/import.conf
> Traceback (most recent call last):
>   File "/usr/share/weewx/wee_import", line 903, in 
> main()
>   File "/usr/share/weewx/wee_import", line 804, in main
> config_path, config_dict = weecfg.read_config(options.config_path, 
> args)
>   File "/usr/share/weewx/weecfg/__init__.py", line 173, in read_config
> locations=locations, file_name=file_name)
>   File "/usr/share/weewx/weecfg/__init__.py", line 147, in find_file
> raise IOError("%s is not a file" % file_path)
> OSError: /this/directory/weewx.conf is not a file
>

-- 
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/a11fb50c-e275-4cff-8250-cc421591a0a9n%40googlegroups.com.


[weewx-user] wee_import error

2021-12-13 Thread Michael Sanphillipo
I'm on Weewx 4.5.1 and I need to import data from Weather Unnderground, so 
I'm trying to set up a wee_import  import. conf file and I'm getting the 
following error. I have my Weather Underground information in my weewx.conf 
file. I also tried to create an import.conf file by copying the wu_example 
file and renaming it import.conf. 

wee_import --config=/this/directory/weewx.conf 
--import-config=/directory/import.conf
Traceback (most recent call last):
  File "/usr/share/weewx/wee_import", line 903, in 
main()
  File "/usr/share/weewx/wee_import", line 804, in main
config_path, config_dict = weecfg.read_config(options.config_path, args)
  File "/usr/share/weewx/weecfg/__init__.py", line 173, in read_config
locations=locations, file_name=file_name)
  File "/usr/share/weewx/weecfg/__init__.py", line 147, in find_file
raise IOError("%s is not a file" % file_path)
OSError: /this/directory/weewx.conf is not a file

-- 
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/55c7b5bf-613f-44a6-8e2f-3d0b3ce45aa0n%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2021-05-01 Thread Michael Sanphillipo
@Onza
I got it working after I changed my stream from Earthcams to Youtube. I
think it had something to do with the ads that that display before the
video. Thanks for all of your help!!

On Sat, May 1, 2021 at 2:38 PM 'olif onza' via weewx-user <
weewx-user@googlegroups.com> wrote:

> @Mike you have div close errors..
> should look like this
>
> 
> 
> $radar_html
> 
> 
> 
>  data-play="day" href="https://windy.com/webcams/1618016327;
> target="_blank">Edgewood › South-East
> https://webcams.windy.com/webcams/public/embed/script/player.js&quot</a>;>
> 
> 
> https://www.myearthcam.com/ms372591?embed; frameborder="0" scrolling="no"
> allowfullscreen>
> 
>
> Le samedi 1 mai 2021 à 19:41:16 UTC+2, didier@gmail.com a écrit :
>
>> Many thanks Michael
>>
>> Le sam. 1 mai 2021 à 18:30, Michael Sanphillipo  a
>> écrit :
>>
>>> @ Didier
>>>
>>> Here is the link to the weather icons discussion.
>>> https://github.com/poblabs/weewx-belchertown/pull/667
>>>
>>> As far as my webcam I'm using a Wansview W3 IP Camera, with Agent DVR to
>>> stream to Earthcams. Once you get that set up you can get an embed code
>>> from Earthcam and insert into the index_hook_after_station_info.inc file.
>>> If you read some of the other posts in this conversation you will see one
>>> from  DaveStLou he helped me get it set up.
>>>
>>> Thanks,
>>> Mike
>>> On Saturday, May 1, 2021 at 12:20:42 PM UTC-4 didier@gmail.com
>>> wrote:
>>>
>>>> Michael
>>>>
>>>> You have nice forecast images, where is it possible to download them?
>>>> Another question, I would like to install a webcam, could you give me
>>>> the reference of your webcam.
>>>>
>>>> Many thanks
>>>> Didier
>>>>
>>>> Le sam. 1 mai 2021 à 17:39, Michael Sanphillipo  a
>>>> écrit :
>>>>
>>>>> @Onza
>>>>>
>>>>> Here is what I have in my index.html.tpml. The live tab is still
>>>>> coming up with nothing in it. I do have my live webcam still active in my
>>>>> index_hook_after_station_info_inc file for now. I will list my webpage
>>>>> below as well. Any help will be greatly appreciated.
>>>>>
>>>>> 
>>>>> 
>>>>>  
>>>>> 
>>>>> 
>>>>> >>>> role="tablist">
>>>>> >>>> class="active">>>>> data-toggle="tab">Radar
>>>>> >>>> href="#webcam" aria-controls="webcam" role="tab"
>>>>> data-toggle="tab">Webcam
>>>>> >>>> href="#live" aria-controls="live" role="tab" 
>>>>> data-toggle="tab">Live
>>>>>
>>>>> 
>>>>> 
>>>>> >>>> class="tab-content">$radar_html
>>>>> >>>> class="tab-content">>>>> data-id="1618016327" data-play="day" href="
>>>>> https://windy.com/webcams/1618016327; target="_blank">Edgewood ›
>>>>> South-Easthttps://webcams.windy.com/webcams/public/embed/script/player.js</a>
>>>>> ">
>>>>> >>>> class="tab-content">https://www.myearthcam.com/ms372591?embed; frameborder="0"
>>>>> scrolling="no" allowfullscreen>
>>>>> 
>>>>> 
>>>>> 
>>>>>     
>>>>>
>>>>>
>>>>>
>>>>> https://belcampmdweather.tech/weewx/belchertown/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Saturday, May 1, 2021 at 5:59:05 AM UTC-4 ra...@norecords.org
>>>>> wrote:
>>>>>
>>>>>&g

Re: [weewx-user] Skin with webcam?

2021-05-01 Thread Michael Sanphillipo
@ Didier

Here is the link to the weather icons 
discussion. https://github.com/poblabs/weewx-belchertown/pull/667

As far as my webcam I'm using a Wansview W3 IP Camera, with Agent DVR to 
stream to Earthcams. Once you get that set up you can get an embed code 
from Earthcam and insert into the index_hook_after_station_info.inc file. 
If you read some of the other posts in this conversation you will see one 
from  DaveStLou he helped me get it set up.

Thanks,
Mike
On Saturday, May 1, 2021 at 12:20:42 PM UTC-4 didier@gmail.com wrote:

> Michael
>
> You have nice forecast images, where is it possible to download them?
> Another question, I would like to install a webcam, could you give me the 
> reference of your webcam.
>
> Many thanks
> Didier
>
> Le sam. 1 mai 2021 à 17:39, Michael Sanphillipo  a 
> écrit :
>
>> @Onza
>>
>> Here is what I have in my index.html.tpml. The live tab is still coming 
>> up with nothing in it. I do have my live webcam still active in my 
>> index_hook_after_station_info_inc file for now. I will list my webpage 
>> below as well. Any help will be greatly appreciated. 
>>
>> 
>> 
>>  
>> 
>> 
>> > role="tablist">
>> > href="#radar" aria-controls="radar" role="tab" 
>> data-toggle="tab">Radar
>> > aria-controls="webcam" role="tab" data-toggle="tab">Webcam
>> > aria-controls="live" role="tab" data-toggle="tab">Live
>>
>> 
>> 
>> > class="radar_image">$radar_html
>> > name="windy-webcam-timelapse-player" data-id="1618016327" data-play="day" 
>> href="https://windy.com/webcams/1618016327; target="_blank">Edgewood › 
>> South-Easthttps://webcams.windy.com/webcams/public/embed/script/player.js</a>
>> ">
>> > class="tab-content">https://www.myearthcam.com/ms372591?embed; frameborder="0" 
>> scrolling="no" allowfullscreen>
>> 
>> 
>> 
>> 
>>
>>
>>
>> https://belcampmdweather.tech/weewx/belchertown/
>>
>>
>>
>>
>>
>> On Saturday, May 1, 2021 at 5:59:05 AM UTC-4 ra...@norecords.org wrote:
>>
>>> @Mike see latest changes I made here 
>>> <https://github.com/poblabs/weewx-belchertown/compare/master...norecords:radar-navbar>
>>> Le samedi 1 mai 2021 à 07:39:38 UTC+2, olif onza a écrit :
>>>
>>>> Mike, if you want just two tabs, remove li and div for stations-around 
>>>> and put your iframe into the webcam div
>>>> **
>>>> *>>> src="https://www.myearthcam.com/ms372591?embed 
>>>> <https://www.myearthcam.com/ms372591?embed>" frameborder="0" 
>>>> scrolling="no" 
>>>> allowfullscreen>*
>>>> **
>>>>
>>>> Le samedi 1 mai 2021 à 01:04:18 UTC+2, sanph...@gmail.com a écrit :
>>>>
>>>>> Onza, one last request. If I wanted to change your Station tab to a 
>>>>> live webcam what would I need to change? The code to the webcam is:
>>>>>
>>>>> https://www.myearthcam.com/ms372591?embed; frameborder="0" 
>>>>> scrolling="no" allowfullscreen>
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Mike
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Friday, April 30, 2021 at 4:27:23 PM UTC-4 Michael Sanphillipo 
>>>>> wrote:
>>>>>
>>>>>> Onza, the commit worked great. I omitted the station tab. Still would 
>>>>>> like to get a copy of your images folder. Your icons are so colorful. 
>>>>>> Thanks for your help!
>>>>>>
>>>>>> On Friday, April 30, 2021 at 10:04:19 AM UTC-4 ra...@norecords.org 
>>>>>> wrote:
>>>>>>
>>>>>>> Can you try this commit 
>>>>>>> <https://github.com/nor

Re: [weewx-user] Skin with webcam?

2021-05-01 Thread Michael Sanphillipo
@Onza

Here is what I have in my index.html.tpml. The live tab is still coming up 
with nothing in it. I do have my live webcam still active in my 
index_hook_after_station_info_inc file for now. I will list my webpage 
below as well. Any help will be greatly appreciated. 



 



Radar
Webcam
Live



$radar_html
https://windy.com/webcams/1618016327; target="_blank">Edgewood › 
South-Easthttps://webcams.windy.com/webcams/public/embed/script/player.js&quot</a>;>
https://www.myearthcam.com/ms372591?embed; 
frameborder="0" scrolling="no" allowfullscreen>







https://belcampmdweather.tech/weewx/belchertown/





On Saturday, May 1, 2021 at 5:59:05 AM UTC-4 ra...@norecords.org wrote:

> @Mike see latest changes I made here 
> <https://github.com/poblabs/weewx-belchertown/compare/master...norecords:radar-navbar>
> Le samedi 1 mai 2021 à 07:39:38 UTC+2, olif onza a écrit :
>
>> Mike, if you want just two tabs, remove li and div for stations-around 
>> and put your iframe into the webcam div
>> **
>> *> src="https://www.myearthcam.com/ms372591?embed 
>> <https://www.myearthcam.com/ms372591?embed>" frameborder="0" scrolling="no" 
>> allowfullscreen>*
>> **
>>
>> Le samedi 1 mai 2021 à 01:04:18 UTC+2, sanph...@gmail.com a écrit :
>>
>>> Onza, one last request. If I wanted to change your Station tab to a live 
>>> webcam what would I need to change? The code to the webcam is:
>>>
>>> https://www.myearthcam.com/ms372591?embed; frameborder="0" 
>>> scrolling="no" allowfullscreen>
>>>
>>>
>>> Thanks,
>>> Mike
>>>
>>>
>>>
>>>
>>> On Friday, April 30, 2021 at 4:27:23 PM UTC-4 Michael Sanphillipo wrote:
>>>
>>>> Onza, the commit worked great. I omitted the station tab. Still would 
>>>> like to get a copy of your images folder. Your icons are so colorful. 
>>>> Thanks for your help!
>>>>
>>>> On Friday, April 30, 2021 at 10:04:19 AM UTC-4 ra...@norecords.org 
>>>> wrote:
>>>>
>>>>> Can you try this commit 
>>>>> <https://github.com/norecords/weewx-belchertown/commit/7bbfe21f6f10a76bb96bb7ad6fefa7259a22d20c>
>>>>>  
>>>>> and give feedback.
>>>>>
>>>>> Le vendredi 30 avril 2021 à 15:21:57 UTC+2, sanph...@gmail.com a 
>>>>> écrit :
>>>>>
>>>>>> Onza, are you editing the index.html.tpml file for the radar/webcam 
>>>>>> tabs or adding your code somewhere else?
>>>>>>
>>>>>> Thanks,
>>>>>> Mike
>>>>>>
>>>>>> On Thursday, April 29, 2021 at 4:14:16 PM UTC-4 ra...@norecords.org 
>>>>>> wrote:
>>>>>>
>>>>>>> @Patrick yes I know your station for long time.
>>>>>>> Look at my about page your will all have info you need.
>>>>>>> You can also directly download my icons and import it to your skin 
>>>>>>> ...
>>>>>>> Onza
>>>>>>>
>>>>>>> Le mardi 20 avril 2021 à 18:04:07 UTC+2, sali...@gmail.com a écrit :
>>>>>>>
>>>>>>>> hello
>>>>>>>>
>>>>>>>> I am also in FRANCE, how do you install the beautifull icons ?
>>>>>>>>
>>>>>>>> thanks
>>>>>>>>
>>>>>>>> Patrick
>>>>>>>> Le 20/04/2021 à 13:28, Michael Sanphillipo a écrit :
>>>>>>>>
>>>>>>>> olif onza, I really like your setup please let me know when you 
>>>>>>>> push your branch and where I can find it.  
>>>>>>>>
>>>>>>>> On Tue, Apr 20, 2021 at 2:11 AM 'olif onza' via weewx-user <
>>>>>>>> weewx...@googlegroups.com> wrote:
>>>>>>>>
>>>>>>>>> I'm developing

Re: [weewx-user] Skin with webcam?

2021-04-30 Thread Michael Sanphillipo
Onza, one last request. If I wanted to change your Station tab to a live 
webcam what would I need to change? The code to the webcam is:

https://www.myearthcam.com/ms372591?embed; frameborder="0" 
scrolling="no" allowfullscreen>


Thanks,
Mike




On Friday, April 30, 2021 at 4:27:23 PM UTC-4 Michael Sanphillipo wrote:

> Onza, the commit worked great. I omitted the station tab. Still would like 
> to get a copy of your images folder. Your icons are so colorful. Thanks for 
> your help!
>
> On Friday, April 30, 2021 at 10:04:19 AM UTC-4 ra...@norecords.org wrote:
>
>> Can you try this commit 
>> <https://github.com/norecords/weewx-belchertown/commit/7bbfe21f6f10a76bb96bb7ad6fefa7259a22d20c>
>>  
>> and give feedback.
>>
>> Le vendredi 30 avril 2021 à 15:21:57 UTC+2, sanph...@gmail.com a écrit :
>>
>>> Onza, are you editing the index.html.tpml file for the radar/webcam 
>>> tabs or adding your code somewhere else?
>>>
>>> Thanks,
>>> Mike
>>>
>>> On Thursday, April 29, 2021 at 4:14:16 PM UTC-4 ra...@norecords.org 
>>> wrote:
>>>
>>>> @Patrick yes I know your station for long time.
>>>> Look at my about page your will all have info you need.
>>>> You can also directly download my icons and import it to your skin ...
>>>> Onza
>>>>
>>>> Le mardi 20 avril 2021 à 18:04:07 UTC+2, sali...@gmail.com a écrit :
>>>>
>>>>> hello
>>>>>
>>>>> I am also in FRANCE, how do you install the beautifull icons ?
>>>>>
>>>>> thanks
>>>>>
>>>>> Patrick
>>>>> Le 20/04/2021 à 13:28, Michael Sanphillipo a écrit :
>>>>>
>>>>> olif onza, I really like your setup please let me know when you push 
>>>>> your branch and where I can find it.  
>>>>>
>>>>> On Tue, Apr 20, 2021 at 2:11 AM 'olif onza' via weewx-user <
>>>>> weewx...@googlegroups.com> wrote:
>>>>>
>>>>>> I'm developing a navbar above the radar image
>>>>>> [image: Screenshot_2021-04-20 Météo Correns - Station météorologique 
>>>>>> en temps réel.png]
>>>>>> You can see live here <https://meteo.correns.org/>.
>>>>>> For people that are interested in, I'll push a branch on my fork on 
>>>>>> the next days.
>>>>>> Le lundi 19 avril 2021 à 12:35:31 UTC+2, DaveStLou a écrit :
>>>>>>
>>>>>>> I use Blue Iris to send the camera feed to YouTube and EarthCam. I 
>>>>>>> add the logos and temperature overlays in that system: 
>>>>>>> https://blueirissoftware.com. I included a screenshot below from 
>>>>>>> the Blue Iris set up. If you go that route, I can provide more detail.
>>>>>>>
>>>>>>> It's kind of pricey to use for just that but I have several cameras 
>>>>>>> around my home that I monitor through Blue Iris which allows me to keep 
>>>>>>> my 
>>>>>>> information local to my network and off the cloud.
>>>>>>>
>>>>>>> Just for fun, I recently pointed one of my little cameras at a 
>>>>>>> robin's nest under my deck (https://myearthcam.com/robincam) and 
>>>>>>> added it temporarily to my index_hook_after_station_info.inc file.
>>>>>>>
>>>>>>> [image: Screenshot 2021-04-19 053301.png]
>>>>>>>
>>>>>>> On Sunday, April 18, 2021 at 12:01:00 AM UTC-5 sanph...@gmail.com 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Dave, I was able to get my webcam up and running. Just curious how 
>>>>>>>> did you get your OakvilleWx logo and weather station temperature 
>>>>>>>> overlayed 
>>>>>>>> on your Earthcam?
>>>>>>>>
>>>>>>>> On Friday, April 16, 2021 at 11:15:45 AM UTC-4 DaveStLou wrote:
>>>>>>>>
>>>>>>>>> Information on index_hook_after_station_info.inc is in the 
>>>>>>>>> Belchertown Skin documentation here: 
>>>>>>>>> https://github.com/poblabs/weewx-belchertown#add-custom-content-to-the-front-page
>>>>>>>>>
>>>>>>>>> You create an html file with that name with whatev

Re: [weewx-user] Skin with webcam?

2021-04-30 Thread Michael Sanphillipo
Onza, the commit worked great. I omitted the station tab. Still would like 
to get a copy of your images folder. Your icons are so colorful. Thanks for 
your help!

On Friday, April 30, 2021 at 10:04:19 AM UTC-4 ra...@norecords.org wrote:

> Can you try this commit 
> <https://github.com/norecords/weewx-belchertown/commit/7bbfe21f6f10a76bb96bb7ad6fefa7259a22d20c>
>  
> and give feedback.
>
> Le vendredi 30 avril 2021 à 15:21:57 UTC+2, sanph...@gmail.com a écrit :
>
>> Onza, are you editing the index.html.tpml file for the radar/webcam 
>> tabs or adding your code somewhere else?
>>
>> Thanks,
>> Mike
>>
>> On Thursday, April 29, 2021 at 4:14:16 PM UTC-4 ra...@norecords.org 
>> wrote:
>>
>>> @Patrick yes I know your station for long time.
>>> Look at my about page your will all have info you need.
>>> You can also directly download my icons and import it to your skin ...
>>> Onza
>>>
>>> Le mardi 20 avril 2021 à 18:04:07 UTC+2, sali...@gmail.com a écrit :
>>>
>>>> hello
>>>>
>>>> I am also in FRANCE, how do you install the beautifull icons ?
>>>>
>>>> thanks
>>>>
>>>> Patrick
>>>> Le 20/04/2021 à 13:28, Michael Sanphillipo a écrit :
>>>>
>>>> olif onza, I really like your setup please let me know when you push 
>>>> your branch and where I can find it.  
>>>>
>>>> On Tue, Apr 20, 2021 at 2:11 AM 'olif onza' via weewx-user <
>>>> weewx...@googlegroups.com> wrote:
>>>>
>>>>> I'm developing a navbar above the radar image
>>>>> [image: Screenshot_2021-04-20 Météo Correns - Station météorologique 
>>>>> en temps réel.png]
>>>>> You can see live here <https://meteo.correns.org/>.
>>>>> For people that are interested in, I'll push a branch on my fork on 
>>>>> the next days.
>>>>> Le lundi 19 avril 2021 à 12:35:31 UTC+2, DaveStLou a écrit :
>>>>>
>>>>>> I use Blue Iris to send the camera feed to YouTube and EarthCam. I 
>>>>>> add the logos and temperature overlays in that system: 
>>>>>> https://blueirissoftware.com. I included a screenshot below from the 
>>>>>> Blue Iris set up. If you go that route, I can provide more detail.
>>>>>>
>>>>>> It's kind of pricey to use for just that but I have several cameras 
>>>>>> around my home that I monitor through Blue Iris which allows me to keep 
>>>>>> my 
>>>>>> information local to my network and off the cloud.
>>>>>>
>>>>>> Just for fun, I recently pointed one of my little cameras at a 
>>>>>> robin's nest under my deck (https://myearthcam.com/robincam) and 
>>>>>> added it temporarily to my index_hook_after_station_info.inc file.
>>>>>>
>>>>>> [image: Screenshot 2021-04-19 053301.png]
>>>>>>
>>>>>> On Sunday, April 18, 2021 at 12:01:00 AM UTC-5 sanph...@gmail.com 
>>>>>> wrote:
>>>>>>
>>>>>>> Dave, I was able to get my webcam up and running. Just curious how 
>>>>>>> did you get your OakvilleWx logo and weather station temperature 
>>>>>>> overlayed 
>>>>>>> on your Earthcam?
>>>>>>>
>>>>>>> On Friday, April 16, 2021 at 11:15:45 AM UTC-4 DaveStLou wrote:
>>>>>>>
>>>>>>>> Information on index_hook_after_station_info.inc is in the 
>>>>>>>> Belchertown Skin documentation here: 
>>>>>>>> https://github.com/poblabs/weewx-belchertown#add-custom-content-to-the-front-page
>>>>>>>>
>>>>>>>> You create an html file with that name with whatever you want in it 
>>>>>>>> and place it in the root of the Belchertown skin folder. 
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thursday, April 15, 2021 at 2:48:36 PM UTC-5 sanph...@gmail.com 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Can you share the information that needs to be added to the 
>>>>>>>>> "index_hook_after_station_info" section? I can't find any 
>>>>>>>>> documentation on 
>>>>>>>>> it. Thanks!
>>>>>>>>>

Re: [weewx-user] Skin with webcam?

2021-04-30 Thread Michael Sanphillipo
Onza, are you editing the index.html.tpml file for the radar/webcam tabs or 
adding your code somewhere else?

Thanks,
Mike

On Thursday, April 29, 2021 at 4:14:16 PM UTC-4 ra...@norecords.org wrote:

> @Patrick yes I know your station for long time.
> Look at my about page your will all have info you need.
> You can also directly download my icons and import it to your skin ...
> Onza
>
> Le mardi 20 avril 2021 à 18:04:07 UTC+2, sali...@gmail.com a écrit :
>
>> hello
>>
>> I am also in FRANCE, how do you install the beautifull icons ?
>>
>> thanks
>>
>> Patrick
>> Le 20/04/2021 à 13:28, Michael Sanphillipo a écrit :
>>
>> olif onza, I really like your setup please let me know when you push your 
>> branch and where I can find it.  
>>
>> On Tue, Apr 20, 2021 at 2:11 AM 'olif onza' via weewx-user <
>> weewx...@googlegroups.com> wrote:
>>
>>> I'm developing a navbar above the radar image
>>> [image: Screenshot_2021-04-20 Météo Correns - Station météorologique en 
>>> temps réel.png]
>>> You can see live here <https://meteo.correns.org/>.
>>> For people that are interested in, I'll push a branch on my fork on the 
>>> next days.
>>> Le lundi 19 avril 2021 à 12:35:31 UTC+2, DaveStLou a écrit :
>>>
>>>> I use Blue Iris to send the camera feed to YouTube and EarthCam. I add 
>>>> the logos and temperature overlays in that system: 
>>>> https://blueirissoftware.com. I included a screenshot below from the 
>>>> Blue Iris set up. If you go that route, I can provide more detail.
>>>>
>>>> It's kind of pricey to use for just that but I have several cameras 
>>>> around my home that I monitor through Blue Iris which allows me to keep my 
>>>> information local to my network and off the cloud.
>>>>
>>>> Just for fun, I recently pointed one of my little cameras at a robin's 
>>>> nest under my deck (https://myearthcam.com/robincam) and added it 
>>>> temporarily to my index_hook_after_station_info.inc file.
>>>>
>>>> [image: Screenshot 2021-04-19 053301.png]
>>>>
>>>> On Sunday, April 18, 2021 at 12:01:00 AM UTC-5 sanph...@gmail.com 
>>>> wrote:
>>>>
>>>>> Dave, I was able to get my webcam up and running. Just curious how did 
>>>>> you get your OakvilleWx logo and weather station temperature overlayed on 
>>>>> your Earthcam?
>>>>>
>>>>> On Friday, April 16, 2021 at 11:15:45 AM UTC-4 DaveStLou wrote:
>>>>>
>>>>>> Information on index_hook_after_station_info.inc is in the 
>>>>>> Belchertown Skin documentation here: 
>>>>>> https://github.com/poblabs/weewx-belchertown#add-custom-content-to-the-front-page
>>>>>>
>>>>>> You create an html file with that name with whatever you want in it 
>>>>>> and place it in the root of the Belchertown skin folder. 
>>>>>>
>>>>>>
>>>>>> On Thursday, April 15, 2021 at 2:48:36 PM UTC-5 sanph...@gmail.com 
>>>>>> wrote:
>>>>>>
>>>>>>> Can you share the information that needs to be added to the 
>>>>>>> "index_hook_after_station_info" section? I can't find any documentation 
>>>>>>> on 
>>>>>>> it. Thanks!
>>>>>>>
>>>>>>> On Thursday, March 25, 2021 at 9:47:31 AM UTC-4 DaveStLou wrote:
>>>>>>>
>>>>>>>> Like In77, I use Belchertown skin. I added my webcam in 
>>>>>>>> "index_hook_after_station_info" section so it appears below the 
>>>>>>>> station 
>>>>>>>> information: OakvilleWx.com
>>>>>>>>
>>>>>>>> On Thursday, March 25, 2021 at 1:39:44 AM UTC-5 ln77 wrote:
>>>>>>>>
>>>>>>>>> Belchertown isn’t exactly pre-loaded, but it is well integrated 
>>>>>>>>> and the install is straightforward.  It has a radar feed. It doesn’t 
>>>>>>>>> have 
>>>>>>>>> the webcam built in, but It has several places to insert user-defined 
>>>>>>>>> content and it would be easy to put a webcam in one of them.  I 
>>>>>>>>> hacked it a 
>>>>>>>>> little to put the webcam in place of the current-conditions icon:

Re: [weewx-user] Skin with webcam?

2021-04-17 Thread Michael Sanphillipo
Dave, I was able to get my webcam up and running. Just curious how did you 
get your OakvilleWx logo and weather station temperature overlayed on your 
Earthcam?

On Friday, April 16, 2021 at 11:15:45 AM UTC-4 DaveStLou wrote:

> Information on index_hook_after_station_info.inc is in the Belchertown 
> Skin documentation here: 
> https://github.com/poblabs/weewx-belchertown#add-custom-content-to-the-front-page
>
> You create an html file with that name with whatever you want in it and 
> place it in the root of the Belchertown skin folder. 
>
>
> On Thursday, April 15, 2021 at 2:48:36 PM UTC-5 sanph...@gmail.com wrote:
>
>> Can you share the information that needs to be added to the 
>> "index_hook_after_station_info" section? I can't find any documentation on 
>> it. Thanks!
>>
>> On Thursday, March 25, 2021 at 9:47:31 AM UTC-4 DaveStLou wrote:
>>
>>> Like In77, I use Belchertown skin. I added my webcam in 
>>> "index_hook_after_station_info" section so it appears below the station 
>>> information: OakvilleWx.com
>>>
>>> On Thursday, March 25, 2021 at 1:39:44 AM UTC-5 ln77 wrote:
>>>
 Belchertown isn’t exactly pre-loaded, but it is well integrated and the 
 install is straightforward.  It has a radar feed. It doesn’t have the 
 webcam built in, but It has several places to insert user-defined content 
 and it would be easy to put a webcam in one of them.  I hacked it a little 
 to put the webcam in place of the current-conditions icon: 
 http://www.2pi.org/wx/

   -Les


 On 24 Mar 2021, at 20:53, 'super zee' via weewx-user <
 weewx...@googlegroups.com> wrote:

 Brand new here and still learning.  Got Weewx loaded and it's uploading 
 to CWOP and my web page.  Is there a skin preloaded with WeeWX that can 
 accommodate a web cam and live radar feed?  

 Thanks for the help!
 Chris 
 KAZTEMPE47

 -- 
 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.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com
  
 
 .




-- 
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/2255427a-aa83-480a-ba39-6bba656e26bfn%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2021-04-16 Thread Michael Sanphillipo
After looking at your page source in Chrome I see the following. Is that 
what I would put in the index_hook_after_station_info.inc file after 
editing?







OakvilleWx
 
WeatherCam https://www.youtube.com/channel/UC1kibywtNNLkelyWazF5ghA/live; 
target="_blank"> https://oakvillewx.com/images/youtube-live.png; 
width="100" height="50"/>



https://www.myearthcam.com/oakvillewx?embed; frameborder="0" scrolling="no" 
allowfullscreen>







On Friday, April 16, 2021 at 11:28:22 AM UTC-4 Michael Sanphillipo wrote:

> I think I'm going to go the same route as OakvilleWx.com 
> <https://oakvillewx.com/> and stream to youtube. If I did that what would 
> I put in the index_hook_after_station_info.inc file. Sorry, I'm a noob at 
> this so I'm looking for some guidance. Thanks!
>
> On Fri, Apr 16, 2021 at 11:15 AM DaveStLou  wrote:
>
>> Information on index_hook_after_station_info.inc is in the Belchertown 
>> Skin documentation here: 
>> https://github.com/poblabs/weewx-belchertown#add-custom-content-to-the-front-page
>>
>> You create an html file with that name with whatever you want in it and 
>> place it in the root of the Belchertown skin folder. 
>>
>>
>> On Thursday, April 15, 2021 at 2:48:36 PM UTC-5 sanph...@gmail.com wrote:
>>
>>> Can you share the information that needs to be added to the 
>>> "index_hook_after_station_info" section? I can't find any documentation on 
>>> it. Thanks!
>>>
>>> On Thursday, March 25, 2021 at 9:47:31 AM UTC-4 DaveStLou wrote:
>>>
>>>> Like In77, I use Belchertown skin. I added my webcam in 
>>>> "index_hook_after_station_info" section so it appears below the station 
>>>> information: OakvilleWx.com
>>>>
>>>> On Thursday, March 25, 2021 at 1:39:44 AM UTC-5 ln77 wrote:
>>>>
>>>>> Belchertown isn’t exactly pre-loaded, but it is well integrated and 
>>>>> the install is straightforward.  It has a radar feed. It doesn’t have the 
>>>>> webcam built in, but It has several places to insert user-defined content 
>>>>> and it would be easy to put a webcam in one of them.  I hacked it a 
>>>>> little 
>>>>> to put the webcam in place of the current-conditions icon: 
>>>>> http://www.2pi.org/wx/
>>>>>
>>>>>   -Les
>>>>>
>>>>>
>>>>> On 24 Mar 2021, at 20:53, 'super zee' via weewx-user <
>>>>> weewx...@googlegroups.com> wrote:
>>>>>
>>>>> Brand new here and still learning.  Got Weewx loaded and it's 
>>>>> uploading to CWOP and my web page.  Is there a skin preloaded with WeeWX 
>>>>> that can accommodate a web cam and live radar feed?  
>>>>>
>>>>> Thanks for the help!
>>>>> Chris 
>>>>> KAZTEMPE47
>>>>>
>>>>> -- 
>>>>> 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.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>>
>>>>>
>>>>> -- 
>>
> 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/y-RQmnoqcqQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/17922b65-727e-4785-ac0d-02f9cd4ef92an%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/17922b65-727e-4785-ac0d-02f9cd4ef92an%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/54ddde65-8f62-40bb-86db-ad2219c0f9c3n%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2021-04-16 Thread Michael Sanphillipo
I think I'm going to go the same route as OakvilleWx.com
 and stream to youtube. If I did that what would I
put in the index_hook_after_station_info.inc file. Sorry, I'm a noob at
this so I'm looking for some guidance. Thanks!

On Fri, Apr 16, 2021 at 11:15 AM DaveStLou  wrote:

> Information on index_hook_after_station_info.inc is in the Belchertown
> Skin documentation here:
> https://github.com/poblabs/weewx-belchertown#add-custom-content-to-the-front-page
>
> You create an html file with that name with whatever you want in it and
> place it in the root of the Belchertown skin folder.
>
>
> On Thursday, April 15, 2021 at 2:48:36 PM UTC-5 sanph...@gmail.com wrote:
>
>> Can you share the information that needs to be added to the
>> "index_hook_after_station_info" section? I can't find any documentation on
>> it. Thanks!
>>
>> On Thursday, March 25, 2021 at 9:47:31 AM UTC-4 DaveStLou wrote:
>>
>>> Like In77, I use Belchertown skin. I added my webcam in
>>> "index_hook_after_station_info" section so it appears below the station
>>> information: OakvilleWx.com
>>>
>>> On Thursday, March 25, 2021 at 1:39:44 AM UTC-5 ln77 wrote:
>>>
 Belchertown isn’t exactly pre-loaded, but it is well integrated and the
 install is straightforward.  It has a radar feed. It doesn’t have the
 webcam built in, but It has several places to insert user-defined content
 and it would be easy to put a webcam in one of them.  I hacked it a little
 to put the webcam in place of the current-conditions icon:
 http://www.2pi.org/wx/

   -Les


 On 24 Mar 2021, at 20:53, 'super zee' via weewx-user <
 weewx...@googlegroups.com> wrote:

 Brand new here and still learning.  Got Weewx loaded and it's uploading
 to CWOP and my web page.  Is there a skin preloaded with WeeWX that can
 accommodate a web cam and live radar feed?

 Thanks for the help!
 Chris
 KAZTEMPE47

 --
 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com
 
 .


 --
> 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/y-RQmnoqcqQ/unsubscribe.
> To unsubscribe from this group and all its topics, 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/17922b65-727e-4785-ac0d-02f9cd4ef92an%40googlegroups.com
> 
> .
>

-- 
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/CAAsGudppRSdBV_KD9Efvivv0bwfy%2BFwHgUAi9AdCnqtV%2B%2B%2BRXQ%40mail.gmail.com.


Re: [weewx-user] Skin with webcam?

2021-04-15 Thread Michael Sanphillipo
Can you share the information that needs to be added to the 
"index_hook_after_station_info" section? I can't find any documentation on 
it. Thanks!

On Thursday, March 25, 2021 at 9:47:31 AM UTC-4 DaveStLou wrote:

> Like In77, I use Belchertown skin. I added my webcam in 
> "index_hook_after_station_info" section so it appears below the station 
> information: OakvilleWx.com
>
> On Thursday, March 25, 2021 at 1:39:44 AM UTC-5 ln77 wrote:
>
>> Belchertown isn’t exactly pre-loaded, but it is well integrated and the 
>> install is straightforward.  It has a radar feed. It doesn’t have the 
>> webcam built in, but It has several places to insert user-defined content 
>> and it would be easy to put a webcam in one of them.  I hacked it a little 
>> to put the webcam in place of the current-conditions icon: 
>> http://www.2pi.org/wx/
>>
>>   -Les
>>
>>
>> On 24 Mar 2021, at 20:53, 'super zee' via weewx-user <
>> weewx...@googlegroups.com> wrote:
>>
>> Brand new here and still learning.  Got Weewx loaded and it's uploading 
>> to CWOP and my web page.  Is there a skin preloaded with WeeWX that can 
>> accommodate a web cam and live radar feed?  
>>
>> Thanks for the help!
>> Chris 
>> KAZTEMPE47
>>
>> -- 
>> 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.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com
>>  
>> 
>> .
>>
>>
>>

-- 
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/969f536d-4aae-456f-8e8c-cba3622c90a3n%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2021-04-13 Thread Michael Sanphillipo
Do you edit the index file or create a index_hook_after_station_info.inc 
file and put the camera link in here? If you create a file do you just add 
a direct link or is there more to it? I realize that I have to edit the 
skin.conf to turn on the hook.

Thanks!

On Tuesday, April 13, 2021 at 8:15:00 AM UTC-4 Mitchell Tuckness wrote:

> I am going to have to see if I can increase my outgoing internet speed it 
> looks like. I can stream to youtube using Blue Iris, which I use to push 
> the weather to most services. But for some reason, I can’t keep the live 
> youtube stream connected for very long. I have 10MB fiber out, but 
> according to youtube, that’s the minimum, and when youtube drops the 
> stream, it doesn’t reconnect youtube automatically until you initiate it. 
> Well, all I can assume is it is a bandwidth problem. Or maybe I can figure 
> out how to stream it directly from Blue Iris.
>
>  
>
>  
>
>  
>
> *From:* weewx...@googlegroups.com  *On Behalf 
> Of *DaveStLou
> *Sent:* Friday, April 2, 2021 5:57 AM
> *To:* weewx-user 
> *Subject:* Re: [weewx-user] Skin with webcam?
>
>  
>
> I 'm no expert by any means. I usually just try things I find here: 
> w3school's 
> HTML Tutorial . I'm sure there's room 
> for improvement.
>
>  
>
> With that intro, I've attached the index_hook_after_station_info.inc I 
> created which includes the link to YouTube livestream and the embeded 
> EarthCam content.
>
>  
>
> On Friday, April 2, 2021 at 5:54:58 AM UTC-5 moth...@gmail.com wrote:
>
> I am also interested in how you did this. Thanks.
>
> Op donderdag 1 april 2021 om 14:02:24 UTC+2 schreef Mitchell Tuckness:
>
> I don't suppose you would be interested in sharing the code you used to 
> modify the Belchertown to look so nice. I am horrible on HTML, but I am 
> pretty good at modifying, or write a guide on how you modified it. Looks 
> great, would like to get mine like that!
>
> On Thursday, March 25, 2021 at 7:47:31 AM UTC-6 DaveStLou wrote:
>
> Like In77, I use Belchertown skin. I added my webcam in 
> "index_hook_after_station_info" section so it appears below the station 
> information: OakvilleWx.com
>
> On Thursday, March 25, 2021 at 1:39:44 AM UTC-5 ln77 wrote:
>
> Belchertown isn’t exactly pre-loaded, but it is well integrated and the 
> install is straightforward.  It has a radar feed. It doesn’t have the 
> webcam built in, but It has several places to insert user-defined content 
> and it would be easy to put a webcam in one of them.  I hacked it a little 
> to put the webcam in place of the current-conditions icon: 
> http://www.2pi.org/wx/
>
>
>   -Les
>
>  
>
>
>
> On 24 Mar 2021, at 20:53, 'super zee' via weewx-user <
> weewx...@googlegroups.com> wrote:
>
>  
>
> Brand new here and still learning.  Got Weewx loaded and it's uploading to 
> CWOP and my web page.  Is there a skin preloaded with WeeWX that can 
> accommodate a web cam and live radar feed?  
>
>  
>
> Thanks for the help!
>
> Chris 
>
> KAZTEMPE47
>
>  
>
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com
>  
> 
> .
>
>  
>
> -- 
> 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/y-RQmnoqcqQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> weewx-user+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/f3d8e269-1b62-4274-9fce-677aedcdfbf2n%40googlegroups.com
>  
> 
> .
>

-- 
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/2c869fb4-f65e-4609-8be4-fc2e5307d0edn%40googlegroups.com.


[weewx-user] Re: Belchertown Skin Show Indoor Temperatire

2021-03-09 Thread Michael Sanphillipo
Thank you! I just did that and it's working great!

On Tuesday, March 9, 2021 at 1:14:24 PM UTC-5 kk44...@gmail.com wrote:

> Additionally you could rename "records-table.inc.example" to 
> "records-table.inc", and you should see indoor temperature on the records 
> page, too.
>
> sanph...@gmail.com schrieb am Dienstag, 9. März 2021 um 16:24:11 UTC+1:
>
>> Thanks that worked!
>>
>> On Tuesday, March 9, 2021 at 10:09:12 AM UTC-5 kk44...@gmail.com wrote:
>>
>>> You can configure that in skin.conf in entry "station_observations". 
>>> Simply add "inTemp" at the end.
>>>
>>> sanph...@gmail.com schrieb am Dienstag, 9. März 2021 um 14:51:58 UTC+1:
>>>
 I'm using Belchertown 1.3b1 and Weewx 4.4 and was wondering how to 
 setup the skin to show indoor temperature. I'm using data from an Acurite 
 02032C and I know it sends the indoor temp in my realtime.txt file for a 
 different page, but wasn't sure if the skin can also show it. 
>>>
>>>

-- 
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/135bd5d5-4412-4da1-be3c-1fe4ce24c693n%40googlegroups.com.


[weewx-user] Re: Belchertown Skin Show Indoor Temperatire

2021-03-09 Thread Michael Sanphillipo
Thanks that worked!

On Tuesday, March 9, 2021 at 10:09:12 AM UTC-5 kk44...@gmail.com wrote:

> You can configure that in skin.conf in entry "station_observations". 
> Simply add "inTemp" at the end.
>
> sanph...@gmail.com schrieb am Dienstag, 9. März 2021 um 14:51:58 UTC+1:
>
>> I'm using Belchertown 1.3b1 and Weewx 4.4 and was wondering how to setup 
>> the skin to show indoor temperature. I'm using data from an Acurite 02032C 
>> and I know it sends the indoor temp in my realtime.txt file for a different 
>> page, but wasn't sure if the skin can also show it. 
>
>

-- 
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/2d334f97-09d2-4a20-be9c-a7c73c2d07b4n%40googlegroups.com.


[weewx-user] Belchertown Skin Show Indoor Temperatire

2021-03-09 Thread Michael Sanphillipo
I'm using Belchertown 1.3b1 and Weewx 4.4 and was wondering how to setup 
the skin to show indoor temperature. I'm using data from an Acurite 02032C 
and I know it sends the indoor temp in my realtime.txt file for a different 
page, but wasn't sure if the skin can also show it. 

-- 
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/1ab63115-2aaa-4d4b-9165-746a1f040f6cn%40googlegroups.com.


RE: [weewx-user] Re: Weewx & Belchertown Aeris hits

2021-02-09 Thread sanphillipo
If you login to your Aeris account it will show you how many hits you have left 
at any given time. Sent via the Samsung Galaxy S10e, an AT 5G Evolution 
capable smartphone
 Original message From: vince  Date: 
2/9/21  5:23 PM  (GMT-05:00) To: weewx-user  
Subject: [weewx-user] Re: Weewx & Belchertown Aeris hits How and where are you 
measuring that ?On Tuesday, February 9, 2021 at 6:05:35 AM UTC-8 
sanph...@gmail.com wrote:How often does Weewx or Belchertown grab data from 
Aeris? I'm also using the new AQI settings as well. Lately I'm going slightly 
over my 1000 hits each day. I have the forecast_stale setting at 3540 which I 
thought was one an hour and I'm averaging around 44 hits per hour.  Thanks!



-- 
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/yAOsb72c6CY/unsubscribe.
To unsubscribe from this group and all its topics, 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/f07b4b2c-10f9-44bc-9642-59b4b7f28fdfn%40googlegroups.com.

-- 
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/60230c71.1c69fb81.ea20e.0878%40mx.google.com.


[weewx-user] Weewx & Belchertown Aeris hits

2021-02-09 Thread Michael Sanphillipo
How often does Weewx or Belchertown grab data from Aeris? I'm also using 
the new AQI settings as well. Lately I'm going slightly over my 1000 hits 
each day. I have the forecast_stale setting at 3540 which I thought was one 
an hour and I'm averaging around 44 hits per hour.  Thanks!

-- 
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/747daae8-899c-473d-8a29-7178b9c60d44n%40googlegroups.com.


Re: [weewx-user] Belchertown Skin install updates since last release

2021-02-06 Thread Michael Sanphillipo
Thanks, it's working great.

On Saturday, February 6, 2021 at 11:53:11 AM UTC-5 sali...@gmail.com wrote:

> My install for me
>
> sudo /usr/local/weewx(or your path)/wee_extension --install /home/pi(or your 
> path)/weewx-belchertown-x.x.zip
>
> patrick
>
> Le 06/02/2021 à 17:26, Michael Sanphillipo a écrit :
>
> Do I just paste into the different directories or is there an install 
> method?
>
> On Sat, Feb 6, 2021 at 11:21 AM salinois  wrote:
>
>> hello
>>
>> you can use the *.zip
>>
>> Patrick
>> Le 06/02/2021 à 15:04, Michael Sanphillipo a écrit :
>>
>> I'm  using Belchertown version 1.2.  How do you install the latest 
>> commits since the last version release? Do you simply download the zip file 
>> from github and paste into the directories or is the an install method for 
>> python3? -- 
>> 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.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/994aea23-acd4-4ac9-a236-8106f8649e0an%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/994aea23-acd4-4ac9-a236-8106f8649e0an%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>> -- 
>> 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/fWo_YSdhmzs/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/b73d04a5-2948-3d15-1f5e-aa7c5b285ac3%40gmail.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/b73d04a5-2948-3d15-1f5e-aa7c5b285ac3%40gmail.com?utm_medium=email_source=footer>
>> .
>>
> -- 
> 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.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/CAAsGudq3KdOjxjXbfB%2BvLk5Va7Fu_4b9uextQ-zSc497NrgGuA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/weewx-user/CAAsGudq3KdOjxjXbfB%2BvLk5Va7Fu_4b9uextQ-zSc497NrgGuA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
>

-- 
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/e977759a-97fb-4a11-bda9-9928fef1ab1en%40googlegroups.com.


Re: [weewx-user] Belchertown Skin install updates since last release

2021-02-06 Thread Michael Sanphillipo
After I installed the latest commits I received this error.

Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine: Caught
unrecoverable exception in generator
'weewx.cheetahgenerator.CheetahGenerator'
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  'aqi'
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  Traceback (most recent call last):
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
File "/usr/share/weewx/user/belchertown.py", line 1487, in
get_extension_list
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  aqi = data["aqi"][0]["response"][0]["periods"][0]["aqi"]
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  KeyError: 'aqi'
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:

Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  During handling of the above exception, another exception occurred:
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:

Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  Traceback (most recent call last):
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  obj.start()
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  self.run()
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 150, in run
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  ngen = self.generate(gen_dict[section_name], self.gen_ts)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in
generate
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  ngen += self.generate(section[subsection], gen_ts)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in
generate
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  ngen += self.generate(section[subsection], gen_ts)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, in
generate
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  default_binding)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 385, in
_getSearchList
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  searchList += obj.get_extension_list(timespan, db_lookup)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
File "/usr/share/weewx/user/belchertown.py", line 1495, in
get_extension_list
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  "The URL being used is:\n%s" % (error, data["aqi"], aqi_url)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  KeyError: 'aqi'
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
  Generator terminated
Feb  6 12:48:28 raspberrypi weewx[7471] INFO weewx.reportengine: Copied 37
files to /var/www/html/weewx/belchertown

On Sat, Feb 6, 2021 at 11:53 AM salinois  wrote:

> My install for me
>
> sudo /usr/local/weewx(or your path)/wee_extension --install /home/pi(or your 
> path)/weewx-belchertown-x.x.zip
>
> patrick
>
> Le 06/02/2021 à 17:26, Michael Sanphillipo a écrit :
>
> Do I just paste into the different directories or is there an install
> method?
>
> On Sat, Feb 6, 2021 at 11:21 AM salinois  wrote:
>
>> hello
>>
>> you can use the *.zip
>>
>> Patrick
>> Le 06/02/2021 à 15:04, Michael Sanphillipo a écrit :
>>
>> I'm  using Belchertown version 1.2.  How do you install the latest
>> commits since the last version release? Do you simply download the zip file
>> from github and paste into the directories or is the an install method for
>> python3? --
>> 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/994aea23-acd4-4ac9-a236-8106f8649e0an%40googlegroups.com
>>

Re: [weewx-user] Belchertown Skin install updates since last release

2021-02-06 Thread Michael Sanphillipo
Do I just paste into the different directories or is there an install
method?

On Sat, Feb 6, 2021 at 11:21 AM salinois  wrote:

> hello
>
> you can use the *.zip
>
> Patrick
> Le 06/02/2021 à 15:04, Michael Sanphillipo a écrit :
>
> I'm  using Belchertown version 1.2.  How do you install the latest commits
> since the last version release? Do you simply download the zip file from
> github and paste into the directories or is the an install method for
> python3? --
> 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/994aea23-acd4-4ac9-a236-8106f8649e0an%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/994aea23-acd4-4ac9-a236-8106f8649e0an%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> --
> 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/fWo_YSdhmzs/unsubscribe.
> To unsubscribe from this group and all its topics, 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/b73d04a5-2948-3d15-1f5e-aa7c5b285ac3%40gmail.com
> <https://groups.google.com/d/msgid/weewx-user/b73d04a5-2948-3d15-1f5e-aa7c5b285ac3%40gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAAsGudq3KdOjxjXbfB%2BvLk5Va7Fu_4b9uextQ-zSc497NrgGuA%40mail.gmail.com.


[weewx-user] Belchertown Skin install updates since last release

2021-02-06 Thread Michael Sanphillipo
I'm  using Belchertown version 1.2.  How do you install the latest commits 
since the last version release? Do you simply download the zip file from 
github and paste into the directories or is the an install method for 
python3?

-- 
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/994aea23-acd4-4ac9-a236-8106f8649e0an%40googlegroups.com.


Re: [weewx-user] Latest WeeWX 4.3.0 SQL optimizations may return invalid results

2021-01-09 Thread Michael Sanphillipo
Sorry for posting here. I had the null values before that you helped me 
with, so I wasn't sure if this was another issue. Thanks for checking them. 

On Saturday, January 9, 2021 at 1:02:13 PM UTC-5 tke...@gmail.com wrote:

> Oh, sorry! I had just assumed they were from you. 
>
> Michael: those results look fine. Why? Is there a concern?
>
> -t
>
> On Sat, Jan 9, 2021 at 9:54 AM Arend  wrote:
>
>> Hello Tom,
>>
>> That last query is not mine (please check the names/e-mail adresses), I 
>> am not sure why he is posting his query here but the output seems to be ok. 
>> :-)
>>
>> Arend
>>
>> Op zaterdag 9 januari 2021 om 17:44:29 UTC+1 schreef tke...@gmail.com:
>>
>>> Those are very different results from the ones you showed before. You'll 
>>> have to be the judge of whether minimums were around 2.4, or around 26.24. 
>>> That's a big difference, so it should be fairly obvious.
>>>
>>> -tk
>>>
>>> On Sat, Jan 9, 2021 at 7:03 AM Michael Sanphillipo  
>>> wrote:
>>>
>>>> Tom, here are my results. Do these look okay?
>>>>
>>>> 1548937162|2019-01-31 00:00:00|2.4
>>>> 1548910187|2019-01-30 00:00:00|6.4
>>>> 1549090774|2019-02-02 00:00:00|6.6
>>>> 1548998381|2019-02-01 00:00:00|7.5
>>>> 1548071996|2019-01-21 00:00:00|10.0
>>>> 1548160788|2019-01-22 00:00:00|10.8
>>>> 1517661600|2018-02-03 00:00:00|11.2
>>>> 1516278240|2018-01-18 00:00:00|11.6
>>>> 1516013940|2018-01-15 00:00:00|13.1
>>>> 1581768000|2020-02-15 00:00:00|13.3
>>>> 1515933960|2018-01-14 00:00:00|13.5
>>>> 1517401200|2018-01-31 00:00:00|13.6
>>>> 1547554197|2019-01-15 00:00:00|13.6
>>>> 1579610280|2020-01-21 00:00:00|13.8
>>>> 1547528389|2019-01-14 00:00:00|15.3
>>>> 1548046482|2019-01-20 00:00:00|15.3
>>>> 1551946191|2019-03-07 00:00:00|15.3
>>>> 1549800883|2019-02-10 00:00:00|15.9
>>>> 1576836720|2019-12-20 00:00:00|16.0
>>>> 1579582320|2020-01-20 00:00:00|16.0
>>>>
>>>>
>>>> On Friday, January 8, 2021 at 5:03:00 PM UTC-5 Arend wrote:
>>>>
>>>>> Adding that extra testing for NOT NULL did the trick. All dates (as 
>>>>> far as I can tell) are now correctly retreived.
>>>>>
>>>>> Op vrijdag 8 januari 2021 om 22:33:50 UTC+1 schreef tke...@gmail.com:
>>>>>
>>>>>> It appears that you have a null value for mintime in your database. 
>>>>>> Most likely the problem is that you have no data for 2019-12-15 and 
>>>>>> 2019-12-17. 
>>>>>>
>>>>>> I suspect the older query worked because MIN(value) ignores values, 
>>>>>> while ordering by value does not.
>>>>>>
>>>>>> This is a bug: the query should check for non null values. I've 
>>>>>> created issue 635 <https://github.com/weewx/weewx/issues/635> to 
>>>>>> track, and (hopefully) fixed in commit 5fbe0d5 
>>>>>> <https://github.com/weewx/weewx/commit/5fbe0d51e88cfb126543e5309a970be220e7dcc0>
>>>>>> .
>>>>>>
>>>>>> Could you please try this version of xtypes.py 
>>>>>> <https://raw.githubusercontent.com/weewx/weewx/master/bin/weewx/xtypes.py>
>>>>>> ?
>>>>>>
>>>>>> Thanks for your help.
>>>>>>
>>>>>> On Fri, Jan 8, 2021 at 12:49 PM Arend  wrote:
>>>>>>
>>>>>>> SELECT mintime, from_unixtime(dateTime), min from 
>>>>>>> archive_day_outTemp order by min asc, mintime asc limit 20;
>>>>>>>
>>>>>>> Database weewx
>>>>>>>
>>>>>>>  mintime  from_unixtime(dateTime)  min
>>>>>>>
>>>>>>> NULL 2019-12-15 00:00:00   NULL
>>>>>>>
>>>>>>> NULL 2019-12-17 00:00:00   NULL
>>>>>>>
>>>>>>> 16067062352020-11-30 00:00:00   26.24
>>>>>>>
>>>>>>> 15855519002020-03-30 00:00:00   27.32
>>>>>>>
>>>>>>> 16066899872020-11-29 00:00:00   27.5
>>>>>>>
>>>>>>> 15751884002019-12-01 00:00:00   27.86
>>>>>>>
>>>>>>&

Re: [weewx-user] Latest WeeWX 4.3.0 SQL optimizations may return invalid results

2021-01-09 Thread Michael Sanphillipo
Tom, here are my results. Do these look okay?

1548937162|2019-01-31 00:00:00|2.4
1548910187|2019-01-30 00:00:00|6.4
1549090774|2019-02-02 00:00:00|6.6
1548998381|2019-02-01 00:00:00|7.5
1548071996|2019-01-21 00:00:00|10.0
1548160788|2019-01-22 00:00:00|10.8
1517661600|2018-02-03 00:00:00|11.2
1516278240|2018-01-18 00:00:00|11.6
1516013940|2018-01-15 00:00:00|13.1
1581768000|2020-02-15 00:00:00|13.3
1515933960|2018-01-14 00:00:00|13.5
1517401200|2018-01-31 00:00:00|13.6
1547554197|2019-01-15 00:00:00|13.6
1579610280|2020-01-21 00:00:00|13.8
1547528389|2019-01-14 00:00:00|15.3
1548046482|2019-01-20 00:00:00|15.3
1551946191|2019-03-07 00:00:00|15.3
1549800883|2019-02-10 00:00:00|15.9
1576836720|2019-12-20 00:00:00|16.0
1579582320|2020-01-20 00:00:00|16.0


On Friday, January 8, 2021 at 5:03:00 PM UTC-5 Arend wrote:

> Adding that extra testing for NOT NULL did the trick. All dates (as far as 
> I can tell) are now correctly retreived.
>
> Op vrijdag 8 januari 2021 om 22:33:50 UTC+1 schreef tke...@gmail.com:
>
>> It appears that you have a null value for mintime in your database. Most 
>> likely the problem is that you have no data for 2019-12-15 and 2019-12-17. 
>>
>> I suspect the older query worked because MIN(value) ignores values, while 
>> ordering by value does not.
>>
>> This is a bug: the query should check for non null values. I've created 
>> issue 635  to track, and 
>> (hopefully) fixed in commit 5fbe0d5 
>> 
>> .
>>
>> Could you please try this version of xtypes.py 
>> 
>> ?
>>
>> Thanks for your help.
>>
>> On Fri, Jan 8, 2021 at 12:49 PM Arend  wrote:
>>
>>> SELECT mintime, from_unixtime(dateTime), min from archive_day_outTemp 
>>> order by min asc, mintime asc limit 20;
>>>
>>> Database weewx
>>>
>>>  mintime  from_unixtime(dateTime)  min
>>>
>>> NULL 2019-12-15 00:00:00   NULL
>>>
>>> NULL 2019-12-17 00:00:00   NULL
>>>
>>> 16067062352020-11-30 00:00:00   26.24
>>>
>>> 15855519002020-03-30 00:00:00   27.32
>>>
>>> 16066899872020-11-29 00:00:00   27.5
>>>
>>> 15751884002019-12-01 00:00:00   27.86
>>>
>>> 15857247002020-04-01 00:00:00   28.94
>>>
>>> 15755337002019-12-05 00:00:00   29.66
>>>
>>> 15856392002020-03-31 00:00:00   30.02
>>>
>>> 15742407002019-11-20 00:00:00   30.56
>>>
>>> 15808905002020-02-05 00:00:00   30.92
>>>
>>> 16076328002020-12-10 00:00:00   31.279998
>>>
>>> 15751539002019-11-30 00:00:00   31.28
>>>
>>> 15795981002020-01-21 00:00:00   31.28
>>>
>>> 15850299002020-03-24 00:00:00   31.46
>>>
>>> 16094798292021-01-01 00:00:00   31.46
>>>
>>> 15752553002019-12-02 00:00:00   31.82
>>>
>>> 15849453002020-03-23 00:00:00   31.82
>>>
>>> 15851169002020-03-25 00:00:00   31.82
>>>
>>> 16076412102020-12-11 00:00:00   31.82
>>> Op vrijdag 8 januari 2021 om 21:18:54 UTC+1 schreef tke...@gmail.com:
>>>
 Then adapt as necessary. Use from_unixtime() instead of datetime() in 
 the select statement.

 On Fri, Jan 8, 2021 at 11:49 AM Arend  wrote:

> Hello Tom,
>
> I am using MySQL database.
>
> Arend
>
> Op vrijdag 8 januari 2021 om 20:18:20 UTC+1 schreef tke...@gmail.com:
>
>> Thanks. Not sure what is happening, but let's take a look at your 
>> database. I'm assuming you are using SQLite, and that you used a package 
>> installer. You may have to install the tool sqlite3 first
>>
>> sudo apt-get install sqlite3
>>
>> Then
>>
>> *sqlite3 /var/lib/weewx/weewx.sdb*
>> sqlite> *select mintime, datetime(dateTime,'unixepoch','localtime'), 
>> min from archive_day_outTemp order by min asc, mintime asc limit 20;*
>> sqlite> *.quit*
>>
>> Let me know what you get.
>>
>> -tk
>>
>>
>>
>> On Fri, Jan 8, 2021 at 10:01 AM Arend  wrote:
>>
>>> After upgrading from WeeWX 4.1.1 to 4.3.0 Invalid dates started to 
>>> show up for mintime.
>>>
>>> In this Belchertown thread the issue is reported by multiple users.
>>>
>>> https://github.com/poblabs/weewx-belchertown/issues/517
>>>
>>> After replacing the SQL optimizations with the previous "mintime" 
>>> SQL strings from WeeWX 4.1.1 the problem was solved.
>>>
>>> Screenshot using optimized (4.3.0) SQL showing invalid dates using 
>>> "mintime":
>>>
>>> [image: weewx_belchertown_records_invalid_dates.png]
>>>
>>> Replacing the relevant "mintime" code in xtypes.py with SQL strings 
>>> from 4.1.1:
>>>
>>> [image: agg_sql_dict.png]
>>> [image: daily_sql_dict.png]
>>>
>>> Now the previous 

Re: [weewx-user] Upgrading from 4.2 to 4.3 Python3 errors

2021-01-06 Thread Michael Sanphillipo
Tom, thanks for your help I'm up and running!!

On Wednesday, January 6, 2021 at 3:00:53 PM UTC-5 tke...@gmail.com wrote:

> Good heavens. That's a lot. I wonder where they all came from?
>
> No matter. Here's how to fix (and sorry for giving you the wrong path to 
> the database).
>
> # First stop weewx
> *sudo systemctl stop weewx*
>
> *cd /var/lib/weewx*
>
> # Make a backup:
> *sudo cp weewx.sdb weewx.sdb.backup*
>
> # Delete all records where interval equals zero:
> *sudo sqlite3 weewx.sdb*
> sqlite> *delete from archive where interval==0;*
> sqlite> *.quit*
>
> # Restart weewx
> *sudo systemctl start weewx*
>
> If you get this error again, there is something wrong with the 
> configuration of your system.
>
> -tk
>
>
> On Wed, Jan 6, 2021 at 11:17 AM Michael Sanphillipo  
> wrote:
>
>> Tom, here are my results. Please let me know what to do next. Thanks!
>>
>> /var/lib/weewx $ sqlite3 /var/lib/weewx/weewx.sdb
>> SQLite version 3.27.2 2019-02-25 16:06:06
>> Enter ".help" for usage hints.
>> sqlite> select dateTime, datetime(dateTime, 'unixepoch', 'localtime'), 
>> interval from archive where interval<=0;
>> 1527646827|2018-05-29 22:20:27|0
>> 1528167350|2018-06-04 22:55:50|0
>> 1528498208|2018-06-08 18:50:08|0
>> 1528514117|2018-06-08 23:15:17|0
>> 1529163904|2018-06-16 11:45:04|0
>> 1529250650|2018-06-17 11:50:50|0
>> 1529969403|2018-06-25 19:30:03|0
>> 1530019815|2018-06-26 09:30:15|0
>> 1530045606|2018-06-26 16:40:06|0
>> 1531475142|2018-07-13 05:45:42|0
>> 1531637727|2018-07-15 02:55:27|0
>> 1532338834|2018-07-23 05:40:34|0
>> 1532424936|2018-07-24 05:35:36|0
>> 1532451003|2018-07-24 12:50:03|0
>> 1532459736|2018-07-24 15:15:36|0
>> 1532470836|2018-07-24 18:20:36|0
>> 1532548520|2018-07-25 15:55:20|0
>> 1536048937|2018-09-04 04:15:37|0
>> 1536216049|2018-09-06 02:40:49|0
>> 1536282003|2018-09-06 21:00:03|0
>> 1536954915|2018-09-14 15:55:15|0
>> 1537301423|2018-09-18 16:10:23|0
>> 1537933226|2018-09-25 23:40:26|0
>> 153857|2018-10-03 09:10:22|0
>> 1538660412|2018-10-04 09:40:12|0
>> 1538750748|2018-10-05 10:45:48|0
>> 1538870425|2018-10-06 20:00:25|0
>> 1538878546|2018-10-06 22:15:46|0
>> 1538967014|2018-10-07 22:50:14|0
>> 1539012006|2018-10-08 11:20:06|0
>> 1539111014|2018-10-09 14:50:14|0
>> 1539128421|2018-10-09 19:40:21|0
>> 1539129900|2018-10-09 20:05:00|0
>> 1539179426|2018-10-10 09:50:26|0
>> 1539360622|2018-10-12 12:10:22|0
>> 1539397529|2018-10-12 22:25:29|0
>> 1539448534|2018-10-13 12:35:34|0
>> 1539869437|2018-10-18 09:30:37|0
>> 1540113330|2018-10-21 05:15:30|0
>> 1540530332|2018-10-26 01:05:32|0
>> 1541252127|2018-11-03 09:35:27|0
>> 1541906710|2018-11-10 22:25:10|0
>> 1542099614|2018-11-13 04:00:14|0
>> 1543282805|2018-11-26 20:40:05|0
>> 1543788916|2018-12-02 17:15:16|0
>> 1543792503|2018-12-02 18:15:03|0
>> 1543828523|2018-12-03 04:15:23|0
>> 1543838124|2018-12-03 06:55:24|0
>> 1544019616|2018-12-05 09:20:16|0
>> 1544168454|2018-12-07 02:40:54|0
>> 1544239551|2018-12-07 22:25:51|0
>> 1544372440|2018-12-09 11:20:40|0
>> 1544904031|2018-12-15 15:00:31|0
>> 1545071707|2018-12-17 13:35:07|0
>> 1545429933|2018-12-21 17:05:33|0
>> 1545432303|2018-12-21 17:45:03|0
>> 1546150235|2018-12-30 01:10:35|0
>> 1546475415|2019-01-02 19:30:15|0
>> 1546518003|2019-01-03 07:20:03|0
>> 1547684108|2019-01-16 19:15:08|0
>> 1547692525|2019-01-16 21:35:25|0
>> 1547745917|2019-01-17 12:25:17|0
>> 1547795720|2019-01-18 02:15:20|0
>> 1547847003|2019-01-18 16:30:03|0
>> 1547885706|2019-01-19 03:15:06|0
>> 1547921726|2019-01-19 13:15:26|0
>> 1548084634|2019-01-21 10:30:34|0
>> 1548111631|2019-01-21 18:00:31|0
>> 1548140733|2019-01-22 02:05:33|0
>> 1548149429|2019-01-22 04:30:29|0
>> 1548172814|2019-01-22 11:00:14|0
>> 1548200418|2019-01-22 18:40:18|0
>> 1548355828|2019-01-24 13:50:28|0
>> 1548435918|2019-01-25 12:05:18|0
>> 1548532233|2019-01-26 14:50:33|0
>> 1548746432|2019-01-29 02:20:32|0
>> 1548782434|2019-01-29 12:20:34|0
>> 1548838528|2019-01-30 03:55:28|0
>> 1548889502|2019-01-30 18:05:02|0
>> 1549086926|2019-02-02 00:55:26|0
>> 1549353629|2019-02-05 03:00:29|0
>> 1549419305|2019-02-05 21:15:05|0
>> 1549438213|2019-02-06 02:30:13|0
>> 1549454715|2019-02-06 07:05:15|0
>> 1549679405|2019-02-08 21:30:05|0
>> 1549784417|2019-02-10 02:40:17|0
>> 1549825526|2019-02-10 14:05:26|0
>> 1549830909|2019-02-10 15:35:09|0
>> 1549874404|

Re: [weewx-user] Upgrading from 4.2 to 4.3 Python3 errors

2021-01-06 Thread Michael Sanphillipo
Tom, here are my results. Please let me know what to do next. Thanks!

/var/lib/weewx $ sqlite3 /var/lib/weewx/weewx.sdb
SQLite version 3.27.2 2019-02-25 16:06:06
Enter ".help" for usage hints.
sqlite> select dateTime, datetime(dateTime, 'unixepoch', 'localtime'), 
interval from archive where interval<=0;
1527646827|2018-05-29 22:20:27|0
1528167350|2018-06-04 22:55:50|0
1528498208|2018-06-08 18:50:08|0
1528514117|2018-06-08 23:15:17|0
1529163904|2018-06-16 11:45:04|0
1529250650|2018-06-17 11:50:50|0
1529969403|2018-06-25 19:30:03|0
1530019815|2018-06-26 09:30:15|0
1530045606|2018-06-26 16:40:06|0
1531475142|2018-07-13 05:45:42|0
1531637727|2018-07-15 02:55:27|0
1532338834|2018-07-23 05:40:34|0
1532424936|2018-07-24 05:35:36|0
1532451003|2018-07-24 12:50:03|0
1532459736|2018-07-24 15:15:36|0
1532470836|2018-07-24 18:20:36|0
1532548520|2018-07-25 15:55:20|0
1536048937|2018-09-04 04:15:37|0
1536216049|2018-09-06 02:40:49|0
1536282003|2018-09-06 21:00:03|0
1536954915|2018-09-14 15:55:15|0
1537301423|2018-09-18 16:10:23|0
1537933226|2018-09-25 23:40:26|0
153857|2018-10-03 09:10:22|0
1538660412|2018-10-04 09:40:12|0
1538750748|2018-10-05 10:45:48|0
1538870425|2018-10-06 20:00:25|0
1538878546|2018-10-06 22:15:46|0
1538967014|2018-10-07 22:50:14|0
1539012006|2018-10-08 11:20:06|0
1539111014|2018-10-09 14:50:14|0
1539128421|2018-10-09 19:40:21|0
1539129900|2018-10-09 20:05:00|0
1539179426|2018-10-10 09:50:26|0
1539360622|2018-10-12 12:10:22|0
1539397529|2018-10-12 22:25:29|0
1539448534|2018-10-13 12:35:34|0
1539869437|2018-10-18 09:30:37|0
1540113330|2018-10-21 05:15:30|0
1540530332|2018-10-26 01:05:32|0
1541252127|2018-11-03 09:35:27|0
1541906710|2018-11-10 22:25:10|0
1542099614|2018-11-13 04:00:14|0
1543282805|2018-11-26 20:40:05|0
1543788916|2018-12-02 17:15:16|0
1543792503|2018-12-02 18:15:03|0
1543828523|2018-12-03 04:15:23|0
1543838124|2018-12-03 06:55:24|0
1544019616|2018-12-05 09:20:16|0
1544168454|2018-12-07 02:40:54|0
1544239551|2018-12-07 22:25:51|0
1544372440|2018-12-09 11:20:40|0
1544904031|2018-12-15 15:00:31|0
1545071707|2018-12-17 13:35:07|0
1545429933|2018-12-21 17:05:33|0
1545432303|2018-12-21 17:45:03|0
1546150235|2018-12-30 01:10:35|0
1546475415|2019-01-02 19:30:15|0
1546518003|2019-01-03 07:20:03|0
1547684108|2019-01-16 19:15:08|0
1547692525|2019-01-16 21:35:25|0
1547745917|2019-01-17 12:25:17|0
1547795720|2019-01-18 02:15:20|0
1547847003|2019-01-18 16:30:03|0
1547885706|2019-01-19 03:15:06|0
1547921726|2019-01-19 13:15:26|0
1548084634|2019-01-21 10:30:34|0
1548111631|2019-01-21 18:00:31|0
1548140733|2019-01-22 02:05:33|0
1548149429|2019-01-22 04:30:29|0
1548172814|2019-01-22 11:00:14|0
1548200418|2019-01-22 18:40:18|0
1548355828|2019-01-24 13:50:28|0
1548435918|2019-01-25 12:05:18|0
1548532233|2019-01-26 14:50:33|0
1548746432|2019-01-29 02:20:32|0
1548782434|2019-01-29 12:20:34|0
1548838528|2019-01-30 03:55:28|0
1548889502|2019-01-30 18:05:02|0
1549086926|2019-02-02 00:55:26|0
1549353629|2019-02-05 03:00:29|0
1549419305|2019-02-05 21:15:05|0
1549438213|2019-02-06 02:30:13|0
1549454715|2019-02-06 07:05:15|0
1549679405|2019-02-08 21:30:05|0
1549784417|2019-02-10 02:40:17|0
1549825526|2019-02-10 14:05:26|0
1549830909|2019-02-10 15:35:09|0
1549874404|2019-02-11 03:40:04|0
1550099133|2019-02-13 18:05:33|0
1550101539|2019-02-13 18:45:39|0
1550187328|2019-02-14 18:35:28|0
1550194210|2019-02-14 20:30:10|0
1550291412|2019-02-15 23:30:12|0
1550573420|2019-02-19 05:50:20|0
1550820921|2019-02-22 02:35:21|0
1550881824|2019-02-22 19:30:24|0
1551015637|2019-02-24 08:40:37|0
1552304140|2019-03-11 07:35:40|0
1552354241|2019-03-11 21:30:41|0
1552566905|2019-03-14 08:35:05|0
1552827608|2019-03-17 09:00:08|0
1552918802|2019-03-18 10:20:02|0
1554167132|2019-04-01 21:05:32|0
1554227428|2019-04-02 13:50:28|0
1554549615|2019-04-06 07:20:15|0
1554727516|2019-04-08 08:45:16|0
1554934221|2019-04-10 18:10:21|0
1560451800|2019-06-13 14:50:00|0
1560578137|2019-06-15 01:55:37|0
1560591346|2019-06-15 05:35:46|0
1560690940|2019-06-16 09:15:40|0
1560917091|2019-06-19 00:04:51|0
1560917146|2019-06-19 00:05:46|0
1561295409|2019-06-23 09:10:09|0
1561377604|2019-06-24 08:00:04|0
1561721120|2019-06-28 07:25:20|0
1561729203|2019-06-28 09:40:03|0
1561848012|2019-06-29 18:40:12|0
1561851305|2019-06-29 19:35:05|0
1563068443|2019-07-13 21:40:43|0
1563411933|2019-07-17 21:05:33|0
1591577408|2020-06-07 20:50:08|0
1591585234|2020-06-07 23:00:34|0


On Wednesday, January 6, 2021 at 1:37:35 PM UTC-5 tke...@gmail.com wrote:

> Do it from a terminal.
>
> For now, just do the very first select statement so we can see where we 
> stand:
>
> *sqlite3 /var/weewx/weedwx.sdb*
> sqlite> *select dateTime, datetime(dateTime, 'unixepoch', 'localtime'), 
> interval from archive where interval<=0;*
> sqlite> *.quit*
>
>
>
> On Wed, Jan 6, 2021 at 10:33 AM Michael Sanphillipo  
> wrote:
>
>> Tom, do I do this in terminal and do I enter it exactly as you have

Re: [weewx-user] Upgrading from 4.2 to 4.3 Python3 errors

2021-01-06 Thread Michael Sanphillipo
Tom, my weewx.sdb is in /var/lib/weewx/. 

When I run squlite3 I get this.

pi@raspberrypi:/var/lib/weewx $ sqlite3 /var/lib/weewx/weedwx.sdb
SQLite version 3.27.2 2019-02-25 16:06:06
Enter ".help" for usage hints.
sqlite> select dateTime, datetime(dateTime, 'unixepoch', 'localtime'), 
interval from archive where interval<=0;
Error: no such table: archive
sqlite> 


On Wednesday, January 6, 2021 at 1:37:35 PM UTC-5 tke...@gmail.com wrote:

> Do it from a terminal.
>
> For now, just do the very first select statement so we can see where we 
> stand:
>
> *sqlite3 /var/weewx/weedwx.sdb*
> sqlite> *select dateTime, datetime(dateTime, 'unixepoch', 'localtime'), 
> interval from archive where interval<=0;*
> sqlite> *.quit*
>
>
>
> On Wed, Jan 6, 2021 at 10:33 AM Michael Sanphillipo  
> wrote:
>
>> Tom, do I do this in terminal and do I enter it exactly as you have it 
>> listed above?
>>
>> On Wed, Jan 6, 2021 at 1:19 PM Tom Keffer  wrote:
>>
>>> The software is a little more hard-nosed about demanding valid values 
>>> for the field 'interval'. Somewhere in your database, you have a value of 
>>> zero for the archive interval length. To find them:
>>>
>>> *sqlite3 /var/weewx/weedwx.sdb*
>>> sqlite> *select dateTime, datetime(dateTime, 'unixepoch', 'localtime'), 
>>> interval from archive where interval<=0;*
>>>
>>> To delete them:
>>>
>>> sqlite> *delete from archive where interval<=0;*
>>>
>>> Alternatively, if you're confident you know what the correct value 
>>> should be (let's say it's 5 minutes);
>>>
>>> sqlite> *update archive set interval=5 where interval<=0;*
>>>
>>> -tk
>>>
>>> On Wed, Jan 6, 2021 at 9:49 AM Michael Sanphillipo  
>>> wrote:
>>>
>>>> I upgraded today and received the following errors in my Syslog. Any 
>>>> help would be greatly appreciated.
>>>>
>>>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Initializing 
>>>> weewx version 4.3.0
>>>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Using Python 
>>>> 3.7.3 (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]
>>>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Platform 
>>>> Linux-5.4.79-v7+-armv7l-with-debian-10.7
>>>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Locale is 
>>>> 'en_US.UTF-8'
>>>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: PID file is 
>>>> /var/run/weewx.pid
>>>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO __main__: Using 
>>>> configuration file /etc/weewx/weewx.conf
>>>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO __main__: Debug is 0
>>>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.engine: Loading 
>>>> station type AcuRite (weewx.drivers.acurite)
>>>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.drivers.acurite: 
>>>> driver version is 0.4
>>>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.engine: StdConvert 
>>>> target unit is 0x1
>>>> Jan  6 12:44:46 raspberrypi weewx[1051]: Starting weewx weather system: 
>>>> weewx.
>>>> Jan  6 12:44:46 raspberrypi systemd[1]: Started LSB: weewx weather 
>>>> system.
>>>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.manager: Daily 
>>>> summaries at V2.0. Patching to V3.0
>>>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.manager: 
>>>> recalculate_weights: Using database 'weewx.sdb'
>>>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: Caught 
>>>> unrecoverable exception:
>>>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
>>>> Non-positive value for record field 'interval': 0
>>>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
>>>> Traceback (most recent call last):
>>>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>>>> File "/usr/share/weewx/weewxd", line 148, in main
>>>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>>>>   engine = weewx.engine.StdEngine(config_dict)
>>>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>>>> File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
>>>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>>>>   self.loadServices(config_dict)
>>&

Re: [weewx-user] Upgrading from 4.2 to 4.3 Python3 errors

2021-01-06 Thread Michael Sanphillipo
Tom, do I do this in terminal and do I enter it exactly as you have it 
listed above?


On Wednesday, January 6, 2021 at 1:19:12 PM UTC-5 tke...@gmail.com wrote:

> The software is a little more hard-nosed about demanding valid values for 
> the field 'interval'. Somewhere in your database, you have a value of zero 
> for the archive interval length. To find them:
>
> *sqlite3 /var/weewx/weedwx.sdb*
> sqlite> *select dateTime, datetime(dateTime, 'unixepoch', 'localtime'), 
> interval from archive where interval<=0;*
>
> To delete them:
>
> sqlite> *delete from archive where interval<=0;*
>
> Alternatively, if you're confident you know what the correct value should 
> be (let's say it's 5 minutes);
>
> sqlite> *update archive set interval=5 where interval<=0;*
>
> -tk
>
> On Wed, Jan 6, 2021 at 9:49 AM Michael Sanphillipo  
> wrote:
>
>> I upgraded today and received the following errors in my Syslog. Any help 
>> would be greatly appreciated.
>>
>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Initializing weewx 
>> version 4.3.0
>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Using Python 3.7.3 
>> (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]
>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Platform 
>> Linux-5.4.79-v7+-armv7l-with-debian-10.7
>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Locale is 
>> 'en_US.UTF-8'
>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: PID file is 
>> /var/run/weewx.pid
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO __main__: Using 
>> configuration file /etc/weewx/weewx.conf
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO __main__: Debug is 0
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.engine: Loading 
>> station type AcuRite (weewx.drivers.acurite)
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.drivers.acurite: 
>> driver version is 0.4
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.engine: StdConvert 
>> target unit is 0x1
>> Jan  6 12:44:46 raspberrypi weewx[1051]: Starting weewx weather system: 
>> weewx.
>> Jan  6 12:44:46 raspberrypi systemd[1]: Started LSB: weewx weather system.
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.manager: Daily 
>> summaries at V2.0. Patching to V3.0
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.manager: 
>> recalculate_weights: Using database 'weewx.sdb'
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: Caught 
>> unrecoverable exception:
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
>> Non-positive value for record field 'interval': 0
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
>> Traceback (most recent call last):
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewxd", line 148, in main
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
>> engine = weewx.engine.StdEngine(config_dict)
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
>> self.loadServices(config_dict)
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
>> obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/wxservices.py", line 38, in __init__
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
>> self.db_manager = engine.db_binder.get_manager(data_binding=data_binding, 
>> initialize=True)
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/manager.py", line 534, in get_manager
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
>> self.manager_cache[data_binding] = open_manager(manager_dict, initialize)
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/manager.py", line 684, in open_manager
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
>> manager_dict['schema'])
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/manager.py", line 16

Re: [weewx-user] Upgrading from 4.2 to 4.3 Python3 errors

2021-01-06 Thread Michael Sanphillipo
Tom, do I do this in terminal and do I enter it exactly as you have it
listed above?

On Wed, Jan 6, 2021 at 1:19 PM Tom Keffer  wrote:

> The software is a little more hard-nosed about demanding valid values for
> the field 'interval'. Somewhere in your database, you have a value of zero
> for the archive interval length. To find them:
>
> *sqlite3 /var/weewx/weedwx.sdb*
> sqlite> *select dateTime, datetime(dateTime, 'unixepoch', 'localtime'),
> interval from archive where interval<=0;*
>
> To delete them:
>
> sqlite> *delete from archive where interval<=0;*
>
> Alternatively, if you're confident you know what the correct value should
> be (let's say it's 5 minutes);
>
> sqlite> *update archive set interval=5 where interval<=0;*
>
> -tk
>
> On Wed, Jan 6, 2021 at 9:49 AM Michael Sanphillipo 
> wrote:
>
>> I upgraded today and received the following errors in my Syslog. Any help
>> would be greatly appreciated.
>>
>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Initializing weewx
>> version 4.3.0
>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Using Python 3.7.3
>> (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]
>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Platform
>> Linux-5.4.79-v7+-armv7l-with-debian-10.7
>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Locale is
>> 'en_US.UTF-8'
>> Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: PID file is
>> /var/run/weewx.pid
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO __main__: Using
>> configuration file /etc/weewx/weewx.conf
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO __main__: Debug is 0
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.engine: Loading
>> station type AcuRite (weewx.drivers.acurite)
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.drivers.acurite:
>> driver version is 0.4
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.engine: StdConvert
>> target unit is 0x1
>> Jan  6 12:44:46 raspberrypi weewx[1051]: Starting weewx weather system:
>> weewx.
>> Jan  6 12:44:46 raspberrypi systemd[1]: Started LSB: weewx weather system.
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.manager: Daily
>> summaries at V2.0. Patching to V3.0
>> Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.manager:
>> recalculate_weights: Using database 'weewx.sdb'
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: Caught
>> unrecoverable exception:
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> Non-positive value for record field 'interval': 0
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> Traceback (most recent call last):
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewxd", line 148, in main
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> engine = weewx.engine.StdEngine(config_dict)
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> self.loadServices(config_dict)
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/wxservices.py", line 38, in __init__
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> self.db_manager = engine.db_binder.get_manager(data_binding=data_binding,
>> initialize=True)
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/manager.py", line 534, in get_manager
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> self.manager_cache[data_binding] = open_manager(manager_dict, initialize)
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/manager.py", line 684, in open_manager
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> manager_dict['schema'])
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/manager.py", line 164, in open_with_create
>> Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: 
>> dbman

[weewx-user] Upgrading from 4.2 to 4.3 Python3 errors

2021-01-06 Thread Michael Sanphillipo
I upgraded today and received the following errors in my Syslog. Any help 
would be greatly appreciated.

Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Initializing weewx 
version 4.3.0
Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Using Python 3.7.3 
(default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]
Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Platform 
Linux-5.4.79-v7+-armv7l-with-debian-10.7
Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: Locale is 
'en_US.UTF-8'
Jan  6 12:44:46 raspberrypi weewx[1063] INFO __main__: PID file is 
/var/run/weewx.pid
Jan  6 12:44:46 raspberrypi weewx[1067] INFO __main__: Using configuration 
file /etc/weewx/weewx.conf
Jan  6 12:44:46 raspberrypi weewx[1067] INFO __main__: Debug is 0
Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.engine: Loading station 
type AcuRite (weewx.drivers.acurite)
Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.drivers.acurite: driver 
version is 0.4
Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.engine: StdConvert 
target unit is 0x1
Jan  6 12:44:46 raspberrypi weewx[1051]: Starting weewx weather system: 
weewx.
Jan  6 12:44:46 raspberrypi systemd[1]: Started LSB: weewx weather system.
Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.manager: Daily summaries 
at V2.0. Patching to V3.0
Jan  6 12:44:46 raspberrypi weewx[1067] INFO weewx.manager: 
recalculate_weights: Using database 'weewx.sdb'
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: Caught 
unrecoverable exception:
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
Non-positive value for record field 'interval': 0
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
Traceback (most recent call last):
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewxd", line 148, in main
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
engine = weewx.engine.StdEngine(config_dict)
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 93, in __init__
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
self.loadServices(config_dict)
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 161, in loadServices
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
obj = weeutil.weeutil.get_object(svc)(self, config_dict)
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewx/wxservices.py", line 38, in __init__
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
self.db_manager = engine.db_binder.get_manager(data_binding=data_binding, 
initialize=True)
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewx/manager.py", line 534, in get_manager
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
self.manager_cache[data_binding] = open_manager(manager_dict, initialize)
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewx/manager.py", line 684, in open_manager
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
manager_dict['schema'])
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewx/manager.py", line 164, in open_with_create
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
dbmanager = cls(connection, table_name=table_name, schema=schema)
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewx/manager.py", line 831, in __init__
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
self.patch_sums()
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewx/manager.py", line 1255, in patch_sums
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
self.recalculate_weights(start_d=datetime.date(2020,6,1))
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewx/manager.py", line 1182, in recalculate_weights
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
self._do_tranche(mark_d, end_of_tranche_d, weight_fn, progress_fn)
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewx/manager.py", line 1215, in _do_tranche
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
weight = weight_fn(self, rec)
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__: File 
"/usr/share/weewx/weewx/manager.py", line 1366, in _calc_weight
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   
"Non-positive value for record field 'interval': %s" % 
(record['interval'],))
Jan  6 12:44:52 raspberrypi weewx[1067] CRITICAL __main__:   

Re: [weewx-user] Re: Version 4.2.0 ready

2020-10-30 Thread Michael Sanphillipo
Tom, I figured it out. It is running under Python3. I needed to run "wget
-qO - http://weewx.com/apt/weewx-python3.list | sudo tee
/etc/apt/sources.list.d/weewx.list" I was still using a python2
squeeze version from my original install.


On Fri, Oct 30, 2020 at 6:12 PM Tom Keffer  wrote:

> Not understanding your comment. Changing to python 3 involves changing the
> interpreter, not the code. WeeWX V4 uses the exact same code base for
> Python 2 and Python 3. It's just which interpreter gets invoked that makes
> the difference.
>
> /home/weewx is not involved if you do a Debian package install.
>
> And, vice versa: /etc/weewx is not involved if you do a setup.py install.
>
> The two installs are completely independent and do not share code,
> configuration information, nor databases.
>
> Which one gets run as a daemon is determined by what is in the daemon
> script /etc/init.d/weewx.
>
> -tk
>
> On Fri, Oct 30, 2020 at 1:28 PM Michael Sanphillipo 
> wrote:
>
>> I guess when I did the conversion to Python3 I changed the install
>> location to my original location which was etc/weewx then ran  python3
>> ./setup.py build then sudo python3 ./setup.py install  when I should
>> have left it home/weewx. If it's running okay would it be best to just
>> leave it the way it is are there any advantages of upgrading to python3?
>>
>> On Friday, October 30, 2020 at 4:09:55 PM UTC-4 tke...@gmail.com wrote:
>>
>>> The Debian package installer and the setup.py installer are completely
>>> independent and have nothing in common. So, you are just running your old
>>> system.
>>>
>>> Either upgrade your old Debian install by following the directions in
>>> the Upgrade Guide for DEB packages, or change over to run the software
>>> left behind by the setup.py install. If you want to do the latter, you
>>> should modify /etc/init.d/weewx to point to the new location.
>>>
>>> -tk
>>>
>>> On Fri, Oct 30, 2020 at 12:48 PM Michael Sanphillipo 
>>> wrote:
>>>
>>>> My original install was via a Deb package I upgraded to Python3 a few
>>>> months ago and today I used the setup.py method. Is the syslog what you
>>>> need a copy of?
>>>>
>>>> On Fri, Oct 30, 2020 at 3:45 PM Tom Keffer  wrote:
>>>>
>>>>> If the log says v4.1.1, then that's the version you are using.
>>>>>
>>>>> The file weewx.conf.4.2.0 is the configuration file straight out of
>>>>> the distribution, before it has been merged or modified.
>>>>>
>>>>> What install method did you use for the original install? What install
>>>>> method did you use for the upgrade? Did you use the same method?
>>>>>
>>>>> To say anything more, we would have to see the log.
>>>>>
>>>>> -tk
>>>>>
>>>>> On Fri, Oct 30, 2020 at 12:38 PM Michael Sanphillipo <
>>>>> sanph...@gmail.com> wrote:
>>>>>
>>>>>> Tom, I ran the Python3 upgrade and it appears to be working fine.
>>>>>> When I look in the syslog after restarting it still says Initializing 
>>>>>> weewx
>>>>>> version 4.1.1. I looked at the weewx.conf and the version says 4.2.0. 
>>>>>> When
>>>>>> the upgrade was finished I noticed that the weewx.conf was updated and a
>>>>>> new weewx.conf.4.2.0 was created not one with  weewx.conf.MMDDHHMMSS 
>>>>>> .
>>>>>> Any idea how I can tell what version I'm actually running?
>>>>>>
>>>>>> On Tuesday, October 27, 2020 at 8:14:04 AM UTC-4 tke...@gmail.com
>>>>>> wrote:
>>>>>>
>>>>>>> Some new features, fixes some bugs.
>>>>>>>
>>>>>>> See the *Upgrade Guide <http://www.weewx.com/docs/upgrading.htm>*
>>>>>>> for instructions on how to upgrade.
>>>>>>>
>>>>>>> CHANGE LOG
>>>>>>>
>>>>>>> CHANGES COMING! This is the last release that will support the LaCrosse 
>>>>>>> WS23xx,
>>>>>>> Oregon WMR200 and WMR300 stations. In the future, they will be 
>>>>>>> published as
>>>>>>> unsupported extensions.
>>>>>>>
>>>>>>> Made it easier to add new, derived types via StdWXCalculate. Fixes 
>>>>>>> issue #49

Re: [weewx-user] Re: Version 4.2.0 ready

2020-10-30 Thread Michael Sanphillipo
I guess when I did the conversion to Python3 I changed the install location 
to my original location which was etc/weewx then ran  python3 ./setup.py 
build then sudo python3 ./setup.py install  when I should have left it 
home/weewx. If it's running okay would it be best to just leave it the way 
it is are there any advantages of upgrading to python3?

On Friday, October 30, 2020 at 4:09:55 PM UTC-4 tke...@gmail.com wrote:

> The Debian package installer and the setup.py installer are completely 
> independent and have nothing in common. So, you are just running your old 
> system.
>
> Either upgrade your old Debian install by following the directions in the 
> Upgrade Guide for DEB packages, or change over to run the software left 
> behind by the setup.py install. If you want to do the latter, you should 
> modify /etc/init.d/weewx to point to the new location.
>
> -tk
>
> On Fri, Oct 30, 2020 at 12:48 PM Michael Sanphillipo  
> wrote:
>
>> My original install was via a Deb package I upgraded to Python3 a few 
>> months ago and today I used the setup.py method. Is the syslog what you 
>> need a copy of?
>>
>> On Fri, Oct 30, 2020 at 3:45 PM Tom Keffer  wrote:
>>
>>> If the log says v4.1.1, then that's the version you are using.
>>>
>>> The file weewx.conf.4.2.0 is the configuration file straight out of the 
>>> distribution, before it has been merged or modified.
>>>
>>> What install method did you use for the original install? What install 
>>> method did you use for the upgrade? Did you use the same method? 
>>>
>>> To say anything more, we would have to see the log.
>>>
>>> -tk
>>>
>>> On Fri, Oct 30, 2020 at 12:38 PM Michael Sanphillipo  
>>> wrote:
>>>
>>>> Tom, I ran the Python3 upgrade and it appears to be working fine. When 
>>>> I look in the syslog after restarting it still says Initializing weewx 
>>>> version 4.1.1. I looked at the weewx.conf and the version says 4.2.0. When 
>>>> the upgrade was finished I noticed that the weewx.conf was updated and a 
>>>> new weewx.conf.4.2.0 was created not one with  weewx.conf.MMDDHHMMSS . 
>>>> Any idea how I can tell what version I'm actually running? 
>>>>
>>>> On Tuesday, October 27, 2020 at 8:14:04 AM UTC-4 tke...@gmail.com 
>>>> wrote:
>>>>
>>>>> Some new features, fixes some bugs.
>>>>>
>>>>> See the *Upgrade Guide <http://www.weewx.com/docs/upgrading.htm>* for 
>>>>> instructions on how to upgrade.
>>>>>
>>>>> CHANGE LOG
>>>>>
>>>>> CHANGES COMING! This is the last release that will support the LaCrosse 
>>>>> WS23xx,
>>>>> Oregon WMR200 and WMR300 stations. In the future, they will be published 
>>>>> as
>>>>> unsupported extensions.
>>>>>
>>>>> Made it easier to add new, derived types via StdWXCalculate. Fixes issue 
>>>>> #491.
>>>>>
>>>>> Changed the tag system slightly in order to make it possible for the 
>>>>> XTypes
>>>>> system to add new aggregations that take an argument.
>>>>>
>>>>> Added the new data types in the extended_wview schema to the WeeWX types
>>>>> system. Fixes issue #613.
>>>>>
>>>>> Added ability to label left, right or both y-axes of graphs.  PR#610.
>>>>> Fixes issue #609. Thanks to user Brent Fraser!
>>>>>
>>>>> Added units and labels for the lightning data types.
>>>>>
>>>>> Fixed problem where threads attempt to access non-existent database. Fixes
>>>>> issue #579.
>>>>>
>>>>> Fixed problem that caused reporting units to revert to US if they were in 
>>>>> a
>>>>> mixed unit system. Fixes issue #576.
>>>>>
>>>>> Fixed problem that could cause the station registry to fail if given a 
>>>>> location
>>>>> with a non-ASCII location name.
>>>>>
>>>>> Changed TE923 bucket size from 0.02589 inches to 1/36 of an inch
>>>>> (0.0278 in). PR #575. Fixes issue #574. Thanks to user Timothy!
>>>>>
>>>>> Undocumented option retry_certificate has been renamed to retry_ssl, and 
>>>>> now
>>>>> covers all SSL errors (not just certificate errors). Fixes issue #569. 
>>>>> Thanks
>>>>> to user Eric

Re: [weewx-user] Re: Version 4.2.0 ready

2020-10-30 Thread Michael Sanphillipo
My original install was via a Deb package I upgraded to Python3 a few
months ago and today I used the setup.py method. Is the syslog what you
need a copy of?

On Fri, Oct 30, 2020 at 3:45 PM Tom Keffer  wrote:

> If the log says v4.1.1, then that's the version you are using.
>
> The file weewx.conf.4.2.0 is the configuration file straight out of the
> distribution, before it has been merged or modified.
>
> What install method did you use for the original install? What install
> method did you use for the upgrade? Did you use the same method?
>
> To say anything more, we would have to see the log.
>
> -tk
>
> On Fri, Oct 30, 2020 at 12:38 PM Michael Sanphillipo <
> sanphill...@gmail.com> wrote:
>
>> Tom, I ran the Python3 upgrade and it appears to be working fine. When I
>> look in the syslog after restarting it still says Initializing weewx
>> version 4.1.1. I looked at the weewx.conf and the version says 4.2.0. When
>> the upgrade was finished I noticed that the weewx.conf was updated and a
>> new weewx.conf.4.2.0 was created not one with  weewx.conf.MMDDHHMMSS .
>> Any idea how I can tell what version I'm actually running?
>>
>> On Tuesday, October 27, 2020 at 8:14:04 AM UTC-4 tke...@gmail.com wrote:
>>
>>> Some new features, fixes some bugs.
>>>
>>> See the *Upgrade Guide <http://www.weewx.com/docs/upgrading.htm>* for
>>> instructions on how to upgrade.
>>>
>>> CHANGE LOG
>>>
>>> CHANGES COMING! This is the last release that will support the LaCrosse 
>>> WS23xx,
>>> Oregon WMR200 and WMR300 stations. In the future, they will be published as
>>> unsupported extensions.
>>>
>>> Made it easier to add new, derived types via StdWXCalculate. Fixes issue 
>>> #491.
>>>
>>> Changed the tag system slightly in order to make it possible for the XTypes
>>> system to add new aggregations that take an argument.
>>>
>>> Added the new data types in the extended_wview schema to the WeeWX types
>>> system. Fixes issue #613.
>>>
>>> Added ability to label left, right or both y-axes of graphs.  PR#610.
>>> Fixes issue #609. Thanks to user Brent Fraser!
>>>
>>> Added units and labels for the lightning data types.
>>>
>>> Fixed problem where threads attempt to access non-existent database. Fixes
>>> issue #579.
>>>
>>> Fixed problem that caused reporting units to revert to US if they were in a
>>> mixed unit system. Fixes issue #576.
>>>
>>> Fixed problem that could cause the station registry to fail if given a 
>>> location
>>> with a non-ASCII location name.
>>>
>>> Changed TE923 bucket size from 0.02589 inches to 1/36 of an inch
>>> (0.0278 in). PR #575. Fixes issue #574. Thanks to user Timothy!
>>>
>>> Undocumented option retry_certificate has been renamed to retry_ssl, and now
>>> covers all SSL errors (not just certificate errors). Fixes issue #569. 
>>> Thanks
>>> to user Eric!
>>>
>>> Fixed problem caused by specifying a [Logging]/[[formatters]] section in
>>> weewx.conf that uses interpolated variables.
>>>
>>> Fixed problem in the Vantage driver that resulted in incorrect 
>>> sunrise/sunset
>>> being included in loop packets when run under Python 3. Thanks to users
>>> Constantine and Jacques!
>>>
>>> Improved auto-scaling of plot axes.
>>>
>>> Fixed problem where aggregates of windvec and windgustvec returned the 
>>> aggregate
>>> since start of day, not the start of the aggregation period. Fixes issue 
>>> #590.
>>>
>>> New unit "beaufort", included in "group_speed". Treating beaufort as a 
>>> separate
>>> type has been deprecated. Fixes issue #591.
>>>
>>> New unit "kPa", included in "group_pressure". Fixes issue #596.
>>>
>>> Fixed bug in the simulator. Made it easier to subclass class Simulator.
>>>
>>> Expressions in StdCalibration are now ordered. Later corrections can depend 
>>> on
>>> earlier corrections.
>>>
>>> Fixed problem under Python 2, where option 'none' could cause exception.
>>> PR #597. Thanks to user Clément!
>>>
>>> Fixed problem with ws23xx driver under Python 3 that caused it to crash.
>>>
>>> Use a more modern formula for heat index. Fixes issue #601. Thanks to
>>> user Peter Q!
>>>
>>> Allow overriding the data bindi

[weewx-user] Re: Version 4.2.0 ready

2020-10-30 Thread Michael Sanphillipo
Tom, I ran the Python3 upgrade and it appears to be working fine. When I 
look in the syslog after restarting it still says Initializing weewx 
version 4.1.1. I looked at the weewx.conf and the version says 4.2.0. When 
the upgrade was finished I noticed that the weewx.conf was updated and a 
new weewx.conf.4.2.0 was created not one with  weewx.conf.MMDDHHMMSS . 
Any idea how I can tell what version I'm actually running? 

On Tuesday, October 27, 2020 at 8:14:04 AM UTC-4 tke...@gmail.com wrote:

> Some new features, fixes some bugs.
>
> See the *Upgrade Guide * for 
> instructions on how to upgrade.
>
> CHANGE LOG
>
> CHANGES COMING! This is the last release that will support the LaCrosse 
> WS23xx,
> Oregon WMR200 and WMR300 stations. In the future, they will be published as
> unsupported extensions.
>
> Made it easier to add new, derived types via StdWXCalculate. Fixes issue #491.
>
> Changed the tag system slightly in order to make it possible for the XTypes
> system to add new aggregations that take an argument.
>
> Added the new data types in the extended_wview schema to the WeeWX types
> system. Fixes issue #613.
>
> Added ability to label left, right or both y-axes of graphs.  PR#610.
> Fixes issue #609. Thanks to user Brent Fraser!
>
> Added units and labels for the lightning data types.
>
> Fixed problem where threads attempt to access non-existent database. Fixes
> issue #579.
>
> Fixed problem that caused reporting units to revert to US if they were in a
> mixed unit system. Fixes issue #576.
>
> Fixed problem that could cause the station registry to fail if given a 
> location
> with a non-ASCII location name.
>
> Changed TE923 bucket size from 0.02589 inches to 1/36 of an inch
> (0.0278 in). PR #575. Fixes issue #574. Thanks to user Timothy!
>
> Undocumented option retry_certificate has been renamed to retry_ssl, and now
> covers all SSL errors (not just certificate errors). Fixes issue #569. Thanks
> to user Eric!
>
> Fixed problem caused by specifying a [Logging]/[[formatters]] section in
> weewx.conf that uses interpolated variables.
>
> Fixed problem in the Vantage driver that resulted in incorrect sunrise/sunset
> being included in loop packets when run under Python 3. Thanks to users 
> Constantine and Jacques!
>
> Improved auto-scaling of plot axes.
>
> Fixed problem where aggregates of windvec and windgustvec returned the 
> aggregate
> since start of day, not the start of the aggregation period. Fixes issue #590.
>
> New unit "beaufort", included in "group_speed". Treating beaufort as a 
> separate
> type has been deprecated. Fixes issue #591.
>
> New unit "kPa", included in "group_pressure". Fixes issue #596.
>
> Fixed bug in the simulator. Made it easier to subclass class Simulator.
>
> Expressions in StdCalibration are now ordered. Later corrections can depend on
> earlier corrections.
>
> Fixed problem under Python 2, where option 'none' could cause exception.
> PR #597. Thanks to user Clément!
>
> Fixed problem with ws23xx driver under Python 3 that caused it to crash.
>
> Use a more modern formula for heat index. Fixes issue #601. Thanks to
> user Peter Q!
>
> Allow overriding the data binding when using iterators. Fixes issue #580.
>
> Fixed problem where old daily summaries may not have a version number.
>
> Fixed problem in WMR200 driver where missing UV reports as index 255.
>
> Added option 'force_direction' for working around a WU bug. Fixes issue #614.
>
>

-- 
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/3c090ea7-e68f-4a0a-9668-188bbd2d28den%40googlegroups.com.


Re: [weewx-user] Re: PI update Weewx

2020-09-27 Thread Michael Sanphillipo
CRT is working and I'm using WEEwx in python3. It's only when I update the 
apt that it' wants to install weewx again that's when CRT fails. It's all 
working fine at this point I just won't update weewx  since I'm already 
using the latest version.


On Sunday, September 27, 2020 at 8:24:49 PM UTC-4 steep...@gmail.com wrote:

> Did you update weewx-crt? The version you have may not be Python3 
> compliant.
> IM
>
> On Sun, 27 Sep 2020 at 23:45, Michael Sanphillipo  
> wrote:
>
>> I tried that yesterday and when I ran update it updated Weewx even though 
>> I was already on the latest version then I had errors with crt.py. So I had 
>> to do a restore from an image I did before I made the change. 
>>
>> On Sunday, September 27, 2020 at 6:24:26 PM UTC-4 vince wrote:
>>
>>> On Sunday, September 27, 2020 at 2:26:48 PM UTC-7, Michael Sanphillipo 
>>> wrote:
>>>>
>>>> I recently switched Weewx to Python3, but I notice when I run Updates 
>>>> on my PI I see the following.
>>>>
>>>> sudo apt update
>>>> Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
>>>> Hit:2 http://weewx.com/apt/python2 squeeze InRelease   
>>>>
>>>> Will this cause an issue if I'm using Python 3? If so what should I 
>>>> change?
>>>>
>>>
>>> I would try the python3 version of the  'configure apt' instructions in 
>>> http://www.weewx.com/docs/debian.htm and see if that repoints your 
>>> weewx repo at the python3 version.
>>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -- 
>>
>>
>> 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.
>>
>>
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/293b4fa3-4e4e-4137-827b-53b400fd5361n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/293b4fa3-4e4e-4137-827b-53b400fd5361n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>>
>>

-- 
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/ee82f034-3b93-4619-a2c5-6f71f86aca17n%40googlegroups.com.


[weewx-user] Re: PI update Weewx

2020-09-27 Thread Michael Sanphillipo
I tried that yesterday and when I ran update it updated Weewx even though I 
was already on the latest version then I had errors with crt.py. So I had 
to do a restore from an image I did before I made the change. 

On Sunday, September 27, 2020 at 6:24:26 PM UTC-4 vince wrote:

> On Sunday, September 27, 2020 at 2:26:48 PM UTC-7, Michael Sanphillipo 
> wrote:
>>
>> I recently switched Weewx to Python3, but I notice when I run Updates on 
>> my PI I see the following.
>>
>> sudo apt update
>> Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
>> Hit:2 http://weewx.com/apt/python2 squeeze InRelease   
>>
>> Will this cause an issue if I'm using Python 3? If so what should I 
>> change?
>>
>
> I would try the python3 version of the  'configure apt' instructions in 
> http://www.weewx.com/docs/debian.htm and see if that repoints your weewx 
> repo at the python3 version.
>

-- 
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/293b4fa3-4e4e-4137-827b-53b400fd5361n%40googlegroups.com.


[weewx-user] PI update Weewx

2020-09-27 Thread Michael Sanphillipo
I recently switched Weewx to Python3, but I notice when I run Updates on my 
PI I see the following.

sudo apt update
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Hit:2 http://weewx.com/apt/python2 squeeze InRelease   

Will this cause an issue if I'm using Python 3? If so what should I change?

-- 
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/8512cca0-a1fa-4f22-9cf4-768524b1a28cn%40googlegroups.com.


[weewx-user] Weewx changing from python2 to 3 errors

2020-09-14 Thread Michael Sanphillipo
I get the following error after changing from python 2 to 3. I'm using 
Weewx 4.1.1 I thought it may have been MQTT so I installed the latest 
version from https://github.com/weewx/weewx/wiki/mqtt



Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__: Caught 
unrecoverable exception:
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:   No 
module named 'paho'
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:   
Traceback (most recent call last):
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__: 
File "/usr/share/weewx/weewxd", line 148, in main
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:   
engine = weewx.engine.StdEngine(config_dict)
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__: 
File "/usr/share/weewx/weewx/engine.py", line 75, in __init__
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:   
self.loadServices(config_dict)
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__: 
File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:   
obj = weeutil.weeutil.get_object(svc)(self,config_dict)
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__: 
File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:   
mod = __import__(module)
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__: 
File "/usr/share/weewx/user/mqtt.py", line 100, in 
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:   
import paho.mqtt.client as mqtt
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:   
ModuleNotFoundError: No module named 'paho'
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:   
Exiting.

-- 
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/990fa7d9-f7ac-4516-96b2-8ef40a09f011n%40googlegroups.com.


[weewx-user] Re: Windy Plugin

2020-09-11 Thread Michael Sanphillipo
This has been resolved

On Thursday, September 10, 2020 at 11:38:07 AM UTC-4 Michael Sanphillipo 
wrote:

> I just started sending data to Windy.com yesterday. I've checked and the 
> data is being accepted but my PWS isn't showing anything. I have copied the 
> data below it makes no sense to me, so possibly the plugin is sending bad 
> data. My system details are as follows 
>
>- Station hardware: AcuRite 02032C
>- WeeWX version: 4.1.1
>- Belchertown Skin Version: 1.1
>- Windy  Station ID: f0689a3c  
>
>
> This is the data: 
>
> {"header":{"name":"Belcamp, MD","content":{"url":"
> https://belcampmdweather.tech/weewx/belchertown/","text":"ms372591"},"agl_temp":3,"agl_wind":3,"elev_m":27.43,"lat":39.47802588381403,"lon":-76.25279903411867,"stationType":"AcuRite
>  
> 02032C","shareOption":"Open","id":"f0689a3c","type":"pws","updated":"2020-09-09T20:27:41.316Z","observation":null,"observationUpdated":"2020-09-09T19:50:32.082Z"},"data":{"ts":[159968136,159968160,159968184,159968208,159968232,159968256,159968280,159968304,159968328,159968352,159968376,159968400,159968424,159968448,159968472,159968496,159968520,159968544,159968568,159968592,159968616,159968640,159968664,159968688,159968712,159968736,159968760,159968784,159968808,159968832,159968856,159968880,159968904,159968928,159968952,159968976,159969000,159969024,159969048,159969072,159969096,159969120,159969144,159969168,159969192,159969216,159969240,159969264,159969288,159969312,159969336,159969360,159969384,159969408,159969432,159969456,159969480,159969504,159969528,159969552,159969576,159969600,159969624,159969648,159969672,159969696,159969720,159969744,159969768,159969792,159969816,159969840,159969864,159969888,159969912,159969936,159969960,159969984,159970008,159970032,159970056,159970080,159970104,159970128,159970152,159970176,159970200,159970224,159970248,159970272,159970296,159970320,159970344,159970368,159970392,159970416,159970440,159970464,159970488,159970512,159970536,159970560,159970584,159970608,159970632,159970656,159970680,159970704,159970728,159970752,159970776,159970800,159970824,159970848,159970872,159970896,159970920,159970944,159970968,159970992,159971016,159971040,159971064,159971088,159971112,159971136,159971160,159971184,159971208,159971232,159971256,159971280,159971304,159971328,159971352,159971376,159971400,159971424,159971448,159971472,159971496,159971520,159971544,159971568,159971592,159971616,159971640,159971664,159971688,159971712,159971736,159971760,159971784,159971808,159971832,159971856,159971880,159971904,159971928,159971952,159971976,159972000,159972024,159972048,159972072,159972096,159972120,159972144,159972168,159972192,159972216,159972240,159972264,159972288,159972312,159972336,159972360,159972384,159972408,159972432,159972456,159972492,159972516,159972540,159972564,159972588,159972612,159972636,159972660,159972684,159972708,159972732,159972756,159972780,159972804,159972828,159972852,159972876,159972900,159972924,159972948,159972972,159972996,159973020,159973044,159973068,159973092,159973116,159973140,159973164,159973188,159973212,159973236,159973260,159973284,159973308,159973332,159973356,159973380,159973404,159973428,159973452,159973476,159973500,159973524,159973548,159973572,159973596,159973620,159973644,159973668,159973692,159973716,159973740,159973764,159973788,159973812,159973836,159973860,159973884,159973908,159973932,159973956,159973980,159974004,159974028,159974052,159974076,159974100,159974124

[weewx-user] Windy Plugin

2020-09-10 Thread Michael Sanphillipo
I just started sending data to Windy.com yesterday. I've checked and the 
data is being accepted but my PWS isn't showing anything. I have copied the 
data below it makes no sense to me, so possibly the plugin is sending bad 
data. My system details are as follows 
   
   - Station hardware: AcuRite 02032C
   - WeeWX version: 4.1.1
   - Belchertown Skin Version: 1.1
   - Windy  Station ID: f0689a3c  


This is the data: 

{"header":{"name":"Belcamp, 
MD","content":{"url":"https://belcampmdweather.tech/weewx/belchertown/","text":"ms372591"},"agl_temp":3,"agl_wind":3,"elev_m":27.43,"lat":39.47802588381403,"lon":-76.25279903411867,"stationType":"AcuRite
 

[weewx-user] Weewx Belchertown MQTT

2020-08-28 Thread Michael Sanphillipo
I have been using test.mosquitto.org but have been getting too many 
disconnects. I'm trying to switch to Hivemq but I can't seem to get my 
website to connect. Hivqmq receives my data on weather/belcamp/loop I have 
my configuration below

weewx.conf

[[MQTT]]

server_url = mqtt://broker.hivemq.com:1883/
topic = weather/belcamp
unit_system = US
binding = archive, loop
aggregation = aggregate

Skin.conf

 # MQTT Websockets defaults
mqtt_websockets_enabled = 1
mqtt_websockets_host = broker.hivemq.com
mqtt_websockets_port = 8000
mqtt_websockets_ssl = 0
mqtt_websockets_topic = "weather/belcamp/loop/#"
disconnect_live_website_visitor = 180


I have tried several combinations of the mqtt_websockets_topic but it's 
stuck on connecting. any help would be greatly appreciated. 

-- 
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/c32690a2-1f0b-4447-92c0-ead32d130ac4n%40googlegroups.com.


[weewx-user] Re: wunderfixer isn't working properly - uploaded data is not stored at WU

2020-07-15 Thread Michael Sanphillipo
I had the same issue the other day. I uploaded the data and it said 
published, but it's still missing on Weather Underground. 

On Wednesday, July 15, 2020 at 3:44:16 AM UTC-4, RMiles wrote:
>
> I am trying to understand how wunderfixer works, so for example I launch:
>
> wunderfixer --date=2020-07-14 -o 20 --verbose --station=ISANKT121
>
> and get this result:
> Using configuration file /etc/weewx/weewx.conf.
> Using database binding 'wx_binding', which is bound to database 
> 'archive_sqlite'
> Weather Underground Station:   ISANKT121
> Date to check: 2020-07-14
> Number of archive records: 288
> Number of WU records:  284
> Number of missing records: 4
>
> Missing records:
> 2020-07-14 00:05:00 CEST (1594677900); 30.119";  56.2F;  84%; 0.0 mph; N/A 
> deg; 0.0 mph gust;  51.5F; 0.00" rain  ...published.
> 2020-07-14 00:10:00 CEST (1594678200); 30.121";  55.8F;  85%; 0.0 mph; N/A 
> deg; 0.0 mph gust;  51.3F; 0.00" rain  ...published.
> 2020-07-14 07:40:00 CEST (1594705200); 30.119";  51.6F;  92%; 0.0 mph; N/A 
> deg; 1.1 mph gust;  49.4F; 0.00" rain  ...published.
> 2020-07-14 12:40:00 CEST (1594723200); 29.915";  75.6F;  41%; 1.5 mph; 151 
> deg; 4.5 mph gust;  50.5F; 0.00" rain  ...published.
>
> So there have been 4 records not stored yesterday. Ok, the webiste 
> reflects this also:
>
> https://www.wunderground.com/dashboard/pws/ISANKT121/table/2020-07-14/2020-07-14/daily
>
> I was expected that after the upload these 4 records are stored at 
> wunderground.com, but no, they still wont show up there.
>
> So I am relaunching the wunderfixer again - second attempt, same result:
> pi@raspberry:~ $ wunderfixer --date=2020-07-14 -o 20 --verbose 
> --station=ISANKT121
> Using configuration file /etc/weewx/weewx.conf.
> Using database binding 'wx_binding', which is bound to database 
> 'archive_sqlite'
> Weather Underground Station:   ISANKT121
> Date to check: 2020-07-14
> Number of archive records: 288
> Number of WU records:  284
> Number of missing records: 4
>
> Missing records:
> 2020-07-14 00:05:00 CEST (1594677900); 30.119";  56.2F;  84%; 0.0 mph; N/A 
> deg; 0.0 mph gust;  51.5F; 0.00" rain  ...published.
> 2020-07-14 00:10:00 CEST (1594678200); 30.121";  55.8F;  85%; 0.0 mph; N/A 
> deg; 0.0 mph gust;  51.3F; 0.00" rain  ...published.
> 2020-07-14 07:40:00 CEST (1594705200); 30.119";  51.6F;  92%; 0.0 mph; N/A 
> deg; 1.1 mph gust;  49.4F; 0.00" rain  ...published.
> 2020-07-14 12:40:00 CEST (1594723200); 29.915";  75.6F;  41%; 1.5 mph; 151 
> deg; 4.5 mph gust;  50.5F; 0.00" rain  ...published.
> pi@raspberry:~ $ 
>
>
> And data is still not showing up in wunderground.
>
> Anyone has an idea what is going wrong?
>
> Btw.: why does it happen that some records aren't uploaded properly to 
> wunderground?
>
>

-- 
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/cdfd0ffa-9608-48ea-9a6e-3f4f147a8735o%40googlegroups.com.


[weewx-user] Re: Public webpage using MQTT from weewx

2020-07-11 Thread Michael Sanphillipo
Did you ever get a response on this?

On Saturday, February 29, 2020 at 5:12:36 PM UTC-5, Radek Dohnal wrote:
>
> Hi.
> I Finally setup my cloud MQTT broker (flespi) and create bridge between 
> local MosquitoMQTT and cloud Flespi. Thats work fine, topis weather/loop 
> from Mosquito is sucesfully recieved in Flespi (I can see it in Subscriber 
> part). But when I try to to connect Belcherol skin webpage to this 
> FlespiMQTT, it stuck on "Connecting to weather station real time data."
> My skin.conf:
> # MQTT Websockets defaults
>
> mqtt_websockets_enabled = 1
> mqtt_websockets_host = "
> ntLHZqh9S2DdCC5fYyQ6x0utCM07cSln9WUYc0VSSoWkOPpDb3zwTUQjuEfwlqKk:@mqtt.flespi.io
>  
> "
> mqtt_websockets_port = 80
> mqtt_websockets_ssl = 0
> mqtt_websockets_topic = "weather/loop"
> disconnect_live_website_visitor = 180
>
> Flespi has no password, but name/token generated (
> https://flespi.com/kb/tokens-access-keys-to-flespi-platform)
> Port for noSSL websocket is 80 (https://flespi.com/mqtt-api)
>
> Do you know where is the problem?
>
> Dne čtvrtek 21. listopadu 2019 6:27:02 UTC+1 Radek Dohnal napsal(a):
>>
>> Hello.
>> What is the safe way how to use public webpage with my meteo data (on 
>> public site) together with weex sending MQTT data on my local home network ?
>> I would like to use MQTT from my weewx (running on my home network). But 
>> I dont wont to open any port from my home network to the internet.
>> Now Im using FTP to transfer data (HTML_ROOT folder from my local RaspPI 
>> where weewx runnig) to public site where i rent a space for my webpages. 
>> But without MQTT.
>>
>

-- 
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/66c59551-ee27-4004-9edb-c817bd87364co%40googlegroups.com.


[weewx-user] Belchertown MQTT using flespi.io

2020-07-11 Thread Michael Sanphillipo
Is anyone using flespi.io as their MQTT broker that can help me with how to 
set up the server address configuration?

-- 
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/ec2405b2-8fd5-46b7-8441-a81c51d60af1o%40googlegroups.com.


[weewx-user] Re: how to backup and ftp sqlite db

2020-06-18 Thread Michael Sanphillipo
I've been using this script that I found and run it through sudo crontab it 
is named weewx_backup.sh. I know it's probably overkill but I run it every 
2 hours via cron. You will need to modify the backup location to match your 
liking.

#!/bin/bash





# A script to backup weewx configuration files to NAShostname (and SQLite 
data until MySQL service can be restored)





# While SQLite is being used, the service needs to be stopped before 
copying the data file to avoid corruption if the system is writing to the 
file during copy.


/etc/init.d/weewx stop


sleep 5





# Perform backup


rsync -r/etc/weewx  /home/pi/myNAS/etc


rsync -r/usr/share/weewx/user   /home/pi/myNAS/usr


rsync -r/var/lib/weewx  /home/pi/myNAS/var


rsync -r/etc/weewx  /media/pi/BACKUP/etc


rsync -r/usr/share/weewx/user   /media/pi/BACKUP/usr


rsync -r/var/lib/weewx  /media/pi/BACKUP/var




# Brinf weewx service backup.


/etc/init.d/weewx start



- show quoted text -


On Monday, June 15, 2020 at 9:02:32 AM UTC-4, Frank von Thienen wrote:
>
> Hi all,
>
> I have not much knowlwdge about shell scripting, so I have to ask.
> I need the follwoing action in a shell script, so I can do a cron out of 
> it.
> 1. stop weewx (/etc/init.d/weewx stop)
> 2. ftp the sqlite.db from it's directory to a given directory (outside 
> raspberry) with a time stamp (so time stamp should be added while 
> transferring via ftp
> 3. start weewx (/etc/init.d/weewx start)
>
> can anyone give me a helping hand.
>
> thanks
>
> Frank
>

-- 
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/238668c8-011e-42e8-86ef-7ffb5f9c1fe4o%40googlegroups.com.


[weewx-user] Weewx Belchertown MQTT & FTP

2020-06-02 Thread Michael Sanphillipo
I'm currently using the Belchertown skin for a website. I was using FTP to 
load data, but I finally was able to get MQTT working. Should I now disable 
FTP or leave it running along with MQTT?


-- 
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/dbd3b5fe-e9eb-42e7-9ed1-7f680b098479%40googlegroups.com.


[weewx-user] Re: Raspberry Pi crashed so I had to reinstall WeeWx

2020-05-02 Thread Michael Sanphillipo
I was able to recover the weewx.sdb file and copied it over so I'm only 
missing May 1st and 2nd. Much better than a whole year. Is there a way to 
edit weewx.sdb?

On Saturday, May 2, 2020 at 7:55:42 PM UTC-4, Michael Sanphillipo wrote:
>
> My Pi SD card was corrupted and I had to reload Debian along with WeeWx. I 
> lost a years' worth of data. Is there a way to recover the files and where 
> should I look on my old SD card?
>

-- 
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/bd455dd1-068b-4349-8fef-fcb10608a46f%40googlegroups.com.


[weewx-user] Raspberry Pi crashed so I had to reinstall WeeWx

2020-05-02 Thread Michael Sanphillipo
My Pi SD card was corrupted and I had to reload Debian along with WeeWx. I 
lost a years' worth of data. Is there a way to recover the files and where 
should I look on my old SD card?

-- 
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/0dff1031-8470-4110-ba4b-e22e9343f986%40googlegroups.com.