Re: [weewx-user] Weewx will only work for a week then stops

2020-05-02 Thread Tom Keffer
Either the sdr or, more likely, cmon, is emitting a type 'long', which the
accumulators are not prepared to accept.

Which version of cmon are you using? I believe latest versions avoid this
by explicitly converting to type 'int'.

-tk

On Fri, May 1, 2020 at 10:33 PM Luc Theoret  wrote:

> Hi,
>
> I have been trying to get weewx to record my acurite data using sdr
> RTL_433 for about a year now.
> The system I have almost running is a raspberry pi 3 running on respbian
> stretch. it has an external real time clock attached.
> weewx runs consistently for a week then stops. I was finally find the log
> entry for the stop, see attached file.
> In the file is the last successful update, then the error and the exit.
> I also included the config file.
>
>
> I have tried to reinstall on new SD card with Buster but cannot get the
> radio to work. tried blackballing stuff blindly (not knowing what doing).
> Then I went back to this SD card. changed a couple of things and it ran.
> But as usual after a week like clockwork it stopped.
>
> Luc
>
> --
> 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/eae081d7-9287-4667-8f21-01836b385002%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/CAPq0zEAYjoRR5BhjTyACqja1qf9cRPcEaSt4XEK2iqKKLoOevw%40mail.gmail.com.


[weewx-user] Weewx will only work for a week then stops

2020-05-01 Thread Luc Theoret
Hi,

I have been trying to get weewx to record my acurite data using sdr RTL_433 
for about a year now.
The system I have almost running is a raspberry pi 3 running on respbian 
stretch. it has an external real time clock attached.
weewx runs consistently for a week then stops. I was finally find the log 
entry for the stop, see attached file.
In the file is the last successful update, then the error and the exit. 
I also included the config file.


I have tried to reinstall on new SD card with Buster but cannot get the 
radio to work. tried blackballing stuff blindly (not knowing what doing).
Then I went back to this SD card. changed a couple of things and it ran. 
But as usual after a week like clockwork it stopped.

Luc

-- 
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/eae081d7-9287-4667-8f21-01836b385002%40googlegroups.com.


Ssylog extract
Description: Binary data
# 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 = 3.9.2

##

#   This section is for information about the station.

[Station]

# Description of the station location
location = "LTheoret Beaumont, AB"

# Latitude and longitude in decimal degrees
latitude = 53.354
longitude = -113.405

# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 0741.7, 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 = SDR

# If you have a website, you may specify an URL
station_url = http://10.0.0.19/weewx

# 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

##

[SDR]
# This section is for the software-defined radio driver.

# The driver to use
driver = user.sdr
cmd = rtl_433 -M utc -F json -G#you can comment this if wave
# issues - check your logs!
path = /usr/local/bin
ld_library_path = usr/local/lib
[[sensor_map]]
# windDir = wind_dir.08A4.Acurite5n1Packet
windSpeed = wind_speed.08A4.Acurite5n1Packet
windDir = wind_dir.08A4.Acurite5n1Packet
outTemp = temperature.08A4.Acurite5n1Packet
outHumidity = humidity.08A4.Acurite5n1Packet
rian_total = rain_total.08A4.Acurite5n1Packet
outTempBatteryStatus = battery.08A4.Acurite5n1Packet
inHumidity = humidity.0487.AcuriteTowerPacket
inTemp = temperature.0487.AcuriteTowerPacket
inTempBatteryStatus = battery.0487.AcuriteTowerPacket
# I have more sensors, so I added them below
# extraTemp1 = temperature.27.LaCrosseTX141THBv2Packet
# extraHumid1 = humidity.27.LaCrosseTX141THBv2Packet
# windBatteryStatus = battery.27.LaCrosseTX141THBv2Packet
[[deltas]]
rain = rain_total

##

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

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

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

##

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

[[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 = false
username = replace_me
password =