Re: [weewx-user] Re: Almanac stopped working

2019-01-30 Thread Tim Tuck

Doh!

I looked at that so many times - I don't know what I was doing to have 
changed that !!!


thanks Gary

much appreciated

regards

Tim

On 30/01/2019 7:43 pm, gjr80 wrote:

Your latitude and longitude are swapped; at the moment WeeWX thinks you are 
about 60 degrees north of the North Pole, not surprising the sun is always up :)

You will need to do a WeeWX config reload or restart WeeWX after making the 
change.

Gary



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

--
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Almanac stopped working

2019-01-30 Thread gjr80
Your latitude and longitude are swapped; at the moment WeeWX thinks you are 
about 60 degrees north of the North Pole, not surprising the sun is always up :)

You will need to do a WeeWX config reload or restart WeeWX after making the 
change.

Gary

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Almanac stopped working

2019-01-30 Thread Tim Tuck

Hi Gary,

Only one copy of weewx.conf running & Lat long is OK, wee_debug report 
attached.


thanks

Tim

root@monitor:~# wee_debug --info
Using verbosity=1, displaying most info

wee_debug output will be sent to stdout(console)

Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 
'archive_sqlite'


System info
  Platform: Linux-4.9.0-8-686-pae-i686-with-debian-9.7
  Python Version: 2.7.13

Load Information
  1 minute load average:  0.34
  5 minute load average:  0.49
  15 minute load average: 0.52

General Weewx info
  Weewx version 3.8.2 detected.

Station info
  Station type: HP1000
  Driver:   user.HP1000

Driver info
[HP1000]
    # This section is for the weewx HP1000 weather station driver

    # The IP address mask to search for a weather station
    # Define this if you DO NOT have the 'netifaces' Python
    # package installed on your computer or you want to
    # force the driver to use a specific broadcase address
    ip_address_mask = 172.20.1.255

    # The retry count for getting a response from the weather station
    retry_count = 5

    # Socket timeout value (seconds)
    socket_timeout = 5

    # Loop delay time (seconds)
    # None or not specified means loop packets are generated as fast as 
possible

    # (approx every few seconds) and will increase network traffic volume
    loop_delay = 15

    # Number of times to try to access the network
    max_retry = 3

    # Number of seconds to wait between attempts to access the network
    retry_wait = 5

    # The driver to use:
    driver = user.HP1000

Currently installed extensions
Extension Name    Version   Description
HP1000    1.3   Driver for the HP1000, WS1001 and XC0422 
weather stations.

neowx 1.0   The most advanced weewx skin.

Archive info
  Database name:    weewx.sdb
  Table name:   archive
  Unit system:  1 (US)
  First good timestamp: 2017-12-28 12:45:00 AEDT (1514425500)
  Last good timestamp:  2019-01-30 19:15:00 AEDT (1548836100)
  Number of records:    19389
  weewx (weewx.conf) is set to use an archive interval of 300 seconds.
  The station hardware was not interrogated in determining archive 
interval.


Databases configured in weewx.conf
  Database name:    weewx.sdb
  Database driver:  weedb.sqlite

  Database name:    weewx
  Database driver:  weedb.mysql
  Database host:    localhost

Parsed and obfuscated weewx.conf
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2015 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 = 1

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

# 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 = 3.8.2

# since I'm a daemon my network might not be up when I go searching for 
the Wifi

# weather station so loop

loop_on_init = True

##

#   This section is for information about the station.

[Station]

    # Description of the station location
    location = "South Penrith, NSW, Australia"

    # Latitude and longitude in decimal degrees
    latitude = 150.69
    longitude = -33.77

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

    # 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 = HP1000

    # If you have a website, you may specify an URL
    station_url = XXX obfuscated by wee_debug XXX

    # 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

##

[Simulator]
    # This section is for the weewx weather station simulator

    # The time (in seconds) between LOOP packets.
    loop_interval = 2.5

    # The simulator mode can be either 'simulator' or 'generator'.
    # Real-time simulator. Sleep between each LOOP packet.
    mode = simulator
    # Generator.  Emit LOOP packets as fast as possible (useful for 
testing).

    #mode = generator

    # The start time. Format is -mm-ddTHH:MM. If not specified, the 
default

    # is to use the present time.
    #start = 2011-01-01T00:00

    # The driver to use:
    driver = weewx.drivers.simulator

##

#   This section is 

Re: [weewx-user] Re: Almanac stopped working

2019-01-30 Thread gjr80
Hi,

Given that you have a separate post where you are having problems with 
getting debug = 1 to be recognised I am wondering if perhaps you have more 
than one copy of weewx.conf on your system. Which weewx.conf are you 
editing (for the debug issue) or looking at to confirm your lat/long? Your 
other post would indicate it should be /etc/weewx/weewx.conf.

If you believe you have been using the correct weewx.conf you might be best 
of running a wee_debug report 
 and posting the 
output. Just make sure you check the output for any sensitive info, user 
names, passwords etc before posting.

Gary

On Wednesday, 30 January 2019 18:08:58 UTC+10, Tim Tuck wrote:
>
> Hi Jeff, 
>
> No, its fine. Whats beats me is that this was working fine last week! 
>
> regards 
>
> Tim 
>
> On 30/01/2019 6:17 pm, Jeff A. D. wrote: 
> > Is your latitude and longitude set correctly? (Your latitude isn't -90 
> > or something?) 
>
> --- 
> This email has been checked for viruses by Avast antivirus software. 
> https://www.avast.com/antivirus 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Almanac stopped working

2019-01-30 Thread Tim Tuck

Hi Jeff,

No, its fine. Whats beats me is that this was working fine last week!

regards

Tim

On 30/01/2019 6:17 pm, Jeff A. D. wrote:
Is your latitude and longitude set correctly? (Your latitude isn't -90 
or something?)


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

--
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Almanac stopped working

2019-01-29 Thread Jeff A. D.
Is your latitude and longitude set correctly?  (Your latitude isn't -90 or 
something?)

On Tuesday, January 29, 2019 at 10:18:57 PM UTC-7, Tim Tuck wrote:
>
> Hi all,
>
> I've been trying to debug why the almanac is not workign correctly. It was 
> working up until a few days ago and now the sunrise/sunset, 
> moonrise/moonset values are either N/A or (Always up) !!
>
> I've reinstalled pyephem twice just in case but that hasn't helped.
>
> See current output below.
>
> Any help appreciated
>
> regards
>
> Tim
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.