[weewx-user] MQTT extension comments

2019-08-05 Thread Greg Troxel
I've just set up the MQTT extension and have a few random
comments/suggestions, plus I wanted to say thanks for making it
available.

While trying to configure the three pressure values to hPa, I reread the
rest of my config and saw "group_pressure = hPa" in
StdReport/Defaults/Units/Groups.  It was nice to be able to set that
once.  It occurs to me that the MQTT publisher is a bit of a skin, in
that it's sending data from weewx, except that it's aimed at machine
consumers.  It would be perhaps nice for me, perhaps suboptimal for
others, if the units followed the defaults in
StdReport/Defaults/Units/Groups.  I'm guessing that whether this is good
or not is highly dependent on what people are doing, so I will stop
short of requesting it!

It seems that if you use the wrong case for a value it doesn't match
(Barometer vs barometer, a camelCase thinko), but that there isn't an
error.  Throwing an error on an unknown variable would probably help
people debug their configs faster.

At some point while configuring, I wanted an easy way to publish only a
specified subset of values, and omit the rest.  But with the "aggregate"
approach, this is much less desirable.

One of the things I find hard about MQTT is that while it's somewhat
like (being fuzzy) TCP/UDP/IP as a transport layer, there don't seem to
be specifications that lay out what subtopic names to use and what the
contents should be.  It seems clear that the schema used by the MQTT
publisher and the the Belchertown skin listener match, and that this is
both not accidental and necessary.  If there are any specs like that
related to weather, it would be nice to link them from MQTT wiki page.

If anyone knows of weewx Home Assistant integrations, those too would be
nice to link to from the MQTT wiki page.  This doesn't seem hard to
write, listening to MQTT and injecting, but I would expect it's been
done before.  (I was surprised not to find them within the Home
Assistant world but maybe I didn't look well enough.)

As part of debugging my install, I read parts of the code and noticed
the import of cjson, and installed it and added it to the wiki
instructions before realizing there are three modules tried, and that
the last, "json" is built in to python.  So probably I should undo the
advice to install cjson, but perhaps people think cjson is better and
that users of MQTT should actually be told to install it.

I didn't see mention of qos in the wiki page.  I am still unclear on
what I want to do about qos/retain, and use of mqtt to have listeners
get current data vs also recording data in a database, and how to handle
time periods when there is network disconnection.  That's not a request
for explanation of particularly the bigger pictture now -- I have more
reading, thinking and experimenting to do, but if there is a
well-developed notion of setting qos in the publisher and someone who
wants understands that to add it to the wiki or mention it here, that
would be great.  (This issue is arguably more important when using
microcontrollers with batteries to observe values without losing them if
the weewx machine or the network is down for a while.)

I see that the publisher, when set for archive records only (5 min
interval), connects and disconnects each time.  That seems sensible, but
I wonder about the staying-connected approach, and am not sure which is
more normal in MQTT culture or which leads to better outcomes.  With
always connected, the publisher could (usefully) register a "last will
and testament".

-- 
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/rmiimrbb0rk.fsf%40s1.lexort.com.


Re: [weewx-user] v3.9.1 crash adding rnon positive value record

2019-08-05 Thread Thomas Keffer
Yup. That’s the issue fixed by 3.9.2

On Mon, Aug 5, 2019 at 4:46 PM Invisible Man 
wrote:

> Hi there,
> I am running WeeWx v3.9.1 on a Raspberry Pi, with a WMR200.
> I got the following crash of Weewx. I am wondering if this is a known
> issue and solved in v3.9.2 by
>
> "Fixed problem that could cause the WMR200 to crash WeeWX if the record
> interval is zero. Fixes issue #375."
>
> This is the crash log:
>
> Aug  5 11:11:35 localhost weewx[871]: File 
> "/usr/share/weewx/weewx/engine.py", line 601, in new_archive_record
> Aug  5 11:11:35 localhost weewx[871]:   
> dbmanager.addRecord(event.record, accumulator=self.old_accumulator)
> Aug  5 11:11:35 localhost weewx[871]: File 
> "/usr/share/weewx/weewx/manager.py", line 246, in addRecord
> Aug  5 11:11:35 localhost weewx[871]:   
> self._addSingleRecord(record, cursor, log_level)
> Aug  5 11:11:35 localhost weewx[871]: File 
> "/usr/share/weewx/weewx/manager.py", line 1212, in _addSingleRecord
> Aug  5 11:11:35 localhost weewx[871]:   _weight = 
> self._calc_weight(record)
> Aug  5 11:11:35 localhost weewx[871]: File 
> "/usr/share/weewx/weewx/manager.py", line 1582, in _calc_weight
> Aug  5 11:11:35 localhost weewx[871]:   raise 
> ValueError("Non-positive value for record field 'interval': %s" % 
> (record['interval'], ))
> Aug  5 11:11:35 localhost weewx[871]:   ValueError: Non-positive 
> value for record field 'interval': 0
> Aug  5 11:11:35 localhost weewx[871]:   Exiting.
>
> Thanks
> Axelle
>
>
> --
> 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/8030e2b1-7372-49f0-ba05-f15a38b16a15%40googlegroups.com
> 
> .
>
-- 
-tk

-- 
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/CAPq0zEB3knm7iF8kJoR7%2BtUbzRHOTbWx6%3DUqBBfDs4uwEvz7tw%40mail.gmail.com.


[weewx-user] v3.9.1 crash adding rnon positive value record

2019-08-05 Thread Invisible Man
Hi there,
I am running WeeWx v3.9.1 on a Raspberry Pi, with a WMR200.
I got the following crash of Weewx. I am wondering if this is a known issue 
and solved in v3.9.2 by 

"Fixed problem that could cause the WMR200 to crash WeeWX if the record
interval is zero. Fixes issue #375."

This is the crash log:

Aug  5 11:11:35 localhost weewx[871]: File 
"/usr/share/weewx/weewx/engine.py", line 601, in new_archive_record
Aug  5 11:11:35 localhost weewx[871]:   
dbmanager.addRecord(event.record, accumulator=self.old_accumulator)
Aug  5 11:11:35 localhost weewx[871]: File 
"/usr/share/weewx/weewx/manager.py", line 246, in addRecord
Aug  5 11:11:35 localhost weewx[871]:   
self._addSingleRecord(record, cursor, log_level)
Aug  5 11:11:35 localhost weewx[871]: File 
"/usr/share/weewx/weewx/manager.py", line 1212, in _addSingleRecord
Aug  5 11:11:35 localhost weewx[871]:   _weight = 
self._calc_weight(record)
Aug  5 11:11:35 localhost weewx[871]: File 
"/usr/share/weewx/weewx/manager.py", line 1582, in _calc_weight
Aug  5 11:11:35 localhost weewx[871]:   raise 
ValueError("Non-positive value for record field 'interval': %s" % 
(record['interval'], ))
Aug  5 11:11:35 localhost weewx[871]:   ValueError: Non-positive value 
for record field 'interval': 0
Aug  5 11:11:35 localhost weewx[871]:   Exiting.

Thanks
Axelle

-- 
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/8030e2b1-7372-49f0-ba05-f15a38b16a15%40googlegroups.com.


Re: [weewx-user] Re: weewx only posts to db...no cheetah or images.

2019-08-05 Thread Tom King
okay found the error...

/var/log/syslog found it...

Aug  5 08:30:19 raspberrypi weewx[2516]: reportengine: Failed to read skin
configuration file /etc/weewx/skins/Seasons/skin.conf for report
'SeasonsReport': Parsing failed with several errors.#012First error at line
358.

/etc/weewx/skins/Seasons/skin.conf:

[[[weekhum]]]
outHumidity

#[[[weekrefer]]]
#leafTemp1
#leafTemp2

#[[[weekinside]]]
#soilTemp1
#soilTemp2
#soilTemp3

[[[weekhum]]]   *** LINE 358 ***
outHumidity
extraHumid2
extraHumid1
...


I *knew* it was *my* error..just couldn't see it

Thanks for the pointers on how to debug further (and looking in syslog
instead of messages)



On Mon, Aug 5, 2019 at 8:54 AM Thomas Keffer  wrote:

> Try /var/log/syslog
>
> On Mon, Aug 5, 2019 at 11:45 AM Tom King  wrote:
>
>> root@raspberrypi:/etc/weewx# ps ax | grep weewx
>>  2499 pts/0S+ 0:00 grep weewx
>> root@raspberrypi:/etc/weewx# cat weewx.conf | grep debug
>> # Set to 1 for extra debug info, otherwise comment it out or set to zero
>> debug = 1
>> root@raspberrypi:/etc/weewx# weewxd /etc/weewx/weewx.conf
>>
>> /var/log/messages:
>>
>> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Initializing weewx
>> version 3.9.1
>> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using Python 2.7.16
>> (default, Apr  6 2019, 01:42:57) #012[GCC 8.2.0]
>> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Platform
>> Linux-4.19.50-v7+-armv7l-with-debian-10.0
>> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Locale is 'en_GB.UTF-8'
>> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using configuration file
>> /etc/weewx/weewx.conf
>> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Loading station type SDR
>> (user.sdr)
>> Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: driver version
>> is 0.64
>> Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: sensor map is
>> {'outTemp': 'temperature.0F11.Acurite5n1Packet', 'outHumidity':
>> 'humidity.0F11.Acurite5n1Packet', 'windDir':
>> 'wind_dir.0F11.Acurite5n1Packet', 'windSpeed':
>> 'wind_speed.0F11.Acurite5n1Packet', 'rain':
>> 'rain_total.0F11.Acurite5n1Packet', 'extraTemp1':
>> 'temperature.02AB.AcuriteTowerPacket', 'extraHumid1':
>> 'humidity.02AB.AcuriteTowerPacket', 'extraTemp2':
>> 'temperature.2A44.AcuriteTowerPacket', 'extraHumid2':
>> 'humidity.2A44.AcuriteTowerPacket', 'extraTemp3':
>> 'temperature.2074.AcuriteTowerPacket', 'leafTemp1':
>> 'temperature.0A4F.AcuriteTowerPacket', 'leafWet1':
>> 'humidity.0A4F.AcuriteTowerPacket', 'leafTemp2':
>> 'temperature.0505.AcuriteTowerPacket', 'leafWet2':
>> 'humidity.0505.AcuriteTowerPacket', 'soilTemp1':
>> 'temperature.3C88.AcuriteTowerPacket', 'soilHumid1':
>> 'humidity.3C88.AcuriteTowerPacket', 'soilTemp2':
>> 'temperature.1664.AcuriteTowerPacket', 'soilHumid2':
>> 'humidity.1664.AcuriteTowerPacket', 'soilTemp3':
>> 'temperature.1C2A.AcuriteTowerPacket', 'soilHumid3':
>> 'humidity.1C2A.AcuriteTowerPacket'}
>> Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: deltas is
>> {'strikes': 'strikes_total', 'rain': 'rain_total'}
>> Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: startup process
>> 'rtl_433 -M utc -F json -G'
>> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: StdConvert target unit
>> is 0x1
>> Aug  5 08:26:44 raspberrypi weewx[2516]: wxcalculate: The following
>> values will be calculated: barometer=prefer_hardware,
>> windchill=prefer_hardware, dewpoint=prefer_hardware,
>> appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware,
>> heatindex=prefer_hardware, maxSolarRad=prefer_hardware,
>> humidex=prefer_hardware, pressure=prefer_hardware,
>> inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware,
>> cloudbase=prefer_hardware
>> Aug  5 08:26:44 raspberrypi weewx[2516]: wxcalculate: The following
>> algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
>> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Archive will use data
>> binding wx_binding
>> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Record generation will
>> be attempted in 'hardware'
>> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using archive interval
>> of 300 seconds (specified in weewx configuration)
>> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using binding
>> 'wx_binding' to database 'weewx.sdb'
>> Aug  5 08:26:44 raspberrypi weewx[2516]: manager: Starting backfill of
>> daily summaries
>> Aug  5 08:26:44 raspberrypi weewx[2516]: restx: StationRegistry:
>> Registration not requested.
>> Aug  5 08:26:44 raspberrypi weewx[2516]: restx: Wunderground: Posting not
>> enabled.
>> Aug  5 08:26:44 raspberrypi weewx[2516]: restx: PWSweather: Posting not
>> enabled.
>> Aug  5 08:26:44 raspberrypi weewx[2516]: restx: CWOP: Posting not enabled.
>> Aug  5 08:26:44 

Re: [weewx-user] Re: weewx only posts to db...no cheetah or images.

2019-08-05 Thread Thomas Keffer
Try /var/log/syslog

On Mon, Aug 5, 2019 at 11:45 AM Tom King  wrote:

> root@raspberrypi:/etc/weewx# ps ax | grep weewx
>  2499 pts/0S+ 0:00 grep weewx
> root@raspberrypi:/etc/weewx# cat weewx.conf | grep debug
> # Set to 1 for extra debug info, otherwise comment it out or set to zero
> debug = 1
> root@raspberrypi:/etc/weewx# weewxd /etc/weewx/weewx.conf
>
> /var/log/messages:
>
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Initializing weewx
> version 3.9.1
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using Python 2.7.16
> (default, Apr  6 2019, 01:42:57) #012[GCC 8.2.0]
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Platform
> Linux-4.19.50-v7+-armv7l-with-debian-10.0
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Locale is 'en_GB.UTF-8'
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using configuration file
> /etc/weewx/weewx.conf
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Loading station type SDR
> (user.sdr)
> Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: driver version
> is 0.64
> Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: sensor map is
> {'outTemp': 'temperature.0F11.Acurite5n1Packet', 'outHumidity':
> 'humidity.0F11.Acurite5n1Packet', 'windDir':
> 'wind_dir.0F11.Acurite5n1Packet', 'windSpeed':
> 'wind_speed.0F11.Acurite5n1Packet', 'rain':
> 'rain_total.0F11.Acurite5n1Packet', 'extraTemp1':
> 'temperature.02AB.AcuriteTowerPacket', 'extraHumid1':
> 'humidity.02AB.AcuriteTowerPacket', 'extraTemp2':
> 'temperature.2A44.AcuriteTowerPacket', 'extraHumid2':
> 'humidity.2A44.AcuriteTowerPacket', 'extraTemp3':
> 'temperature.2074.AcuriteTowerPacket', 'leafTemp1':
> 'temperature.0A4F.AcuriteTowerPacket', 'leafWet1':
> 'humidity.0A4F.AcuriteTowerPacket', 'leafTemp2':
> 'temperature.0505.AcuriteTowerPacket', 'leafWet2':
> 'humidity.0505.AcuriteTowerPacket', 'soilTemp1':
> 'temperature.3C88.AcuriteTowerPacket', 'soilHumid1':
> 'humidity.3C88.AcuriteTowerPacket', 'soilTemp2':
> 'temperature.1664.AcuriteTowerPacket', 'soilHumid2':
> 'humidity.1664.AcuriteTowerPacket', 'soilTemp3':
> 'temperature.1C2A.AcuriteTowerPacket', 'soilHumid3':
> 'humidity.1C2A.AcuriteTowerPacket'}
> Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: deltas is
> {'strikes': 'strikes_total', 'rain': 'rain_total'}
> Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: startup process
> 'rtl_433 -M utc -F json -G'
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: StdConvert target unit is
> 0x1
> Aug  5 08:26:44 raspberrypi weewx[2516]: wxcalculate: The following values
> will be calculated: barometer=prefer_hardware, windchill=prefer_hardware,
> dewpoint=prefer_hardware, appTemp=prefer_hardware,
> rainRate=prefer_hardware, windrun=prefer_hardware,
> heatindex=prefer_hardware, maxSolarRad=prefer_hardware,
> humidex=prefer_hardware, pressure=prefer_hardware,
> inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware,
> cloudbase=prefer_hardware
> Aug  5 08:26:44 raspberrypi weewx[2516]: wxcalculate: The following
> algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Archive will use data
> binding wx_binding
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Record generation will be
> attempted in 'hardware'
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using archive interval of
> 300 seconds (specified in weewx configuration)
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using binding
> 'wx_binding' to database 'weewx.sdb'
> Aug  5 08:26:44 raspberrypi weewx[2516]: manager: Starting backfill of
> daily summaries
> Aug  5 08:26:44 raspberrypi weewx[2516]: restx: StationRegistry:
> Registration not requested.
> Aug  5 08:26:44 raspberrypi weewx[2516]: restx: Wunderground: Posting not
> enabled.
> Aug  5 08:26:44 raspberrypi weewx[2516]: restx: PWSweather: Posting not
> enabled.
> Aug  5 08:26:44 raspberrypi weewx[2516]: restx: CWOP: Posting not enabled.
> Aug  5 08:26:44 raspberrypi weewx[2516]: restx: WOW: Posting not enabled.
> Aug  5 08:26:44 raspberrypi weewx[2516]: restx: AWEKAS: Posting not
> enabled.
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Starting up weewx version
> 3.9.1
> Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Starting main packet loop.
> Aug  5 08:30:19 raspberrypi weewx[2516]: manager: Added record 2019-08-05
> 08:30:00 MST (1565019000) to database 'weewx.sdb'
> Aug  5 08:30:19 raspberrypi weewx[2516]: manager: Added record 2019-08-05
> 08:30:00 MST (1565019000) to daily summary in 'weewx.sdb'
> Aug  5 08:35:19 raspberrypi weewx[2516]: manager: Added record 2019-08-05
> 08:35:00 MST (1565019300) to database 'weewx.sdb'
> Aug  5 08:35:19 raspberrypi weewx[2516]: manager: Added record 2019-08-05
> 08:35:00 MST (1565019300) to daily summary in 'weewx.sdb'
> Aug  5 08:40:22 raspberrypi weewx[2516]: manager: Added record 2019-08-05
> 08:40:00 MST (1565019600) to database 'weewx.sdb'
> Aug  5 08:40:22 raspberrypi weewx[2516]: manager:

Re: [weewx-user] Re: weewx only posts to db...no cheetah or images.

2019-08-05 Thread Tom King
root@raspberrypi:/etc/weewx# ps ax | grep weewx
 2499 pts/0S+ 0:00 grep weewx
root@raspberrypi:/etc/weewx# cat weewx.conf | grep debug
# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 1
root@raspberrypi:/etc/weewx# weewxd /etc/weewx/weewx.conf

/var/log/messages:

Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Initializing weewx version
3.9.1
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using Python 2.7.16
(default, Apr  6 2019, 01:42:57) #012[GCC 8.2.0]
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Platform
Linux-4.19.50-v7+-armv7l-with-debian-10.0
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Locale is 'en_GB.UTF-8'
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using configuration file
/etc/weewx/weewx.conf
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Loading station type SDR
(user.sdr)
Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: driver version is
0.64
Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: sensor map is
{'outTemp': 'temperature.0F11.Acurite5n1Packet', 'outHumidity':
'humidity.0F11.Acurite5n1Packet', 'windDir':
'wind_dir.0F11.Acurite5n1Packet', 'windSpeed':
'wind_speed.0F11.Acurite5n1Packet', 'rain':
'rain_total.0F11.Acurite5n1Packet', 'extraTemp1':
'temperature.02AB.AcuriteTowerPacket', 'extraHumid1':
'humidity.02AB.AcuriteTowerPacket', 'extraTemp2':
'temperature.2A44.AcuriteTowerPacket', 'extraHumid2':
'humidity.2A44.AcuriteTowerPacket', 'extraTemp3':
'temperature.2074.AcuriteTowerPacket', 'leafTemp1':
'temperature.0A4F.AcuriteTowerPacket', 'leafWet1':
'humidity.0A4F.AcuriteTowerPacket', 'leafTemp2':
'temperature.0505.AcuriteTowerPacket', 'leafWet2':
'humidity.0505.AcuriteTowerPacket', 'soilTemp1':
'temperature.3C88.AcuriteTowerPacket', 'soilHumid1':
'humidity.3C88.AcuriteTowerPacket', 'soilTemp2':
'temperature.1664.AcuriteTowerPacket', 'soilHumid2':
'humidity.1664.AcuriteTowerPacket', 'soilTemp3':
'temperature.1C2A.AcuriteTowerPacket', 'soilHumid3':
'humidity.1C2A.AcuriteTowerPacket'}
Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: deltas is
{'strikes': 'strikes_total', 'rain': 'rain_total'}
Aug  5 08:26:44 raspberrypi weewx[2516]: sdr: MainThread: startup process
'rtl_433 -M utc -F json -G'
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: StdConvert target unit is
0x1
Aug  5 08:26:44 raspberrypi weewx[2516]: wxcalculate: The following values
will be calculated: barometer=prefer_hardware, windchill=prefer_hardware,
dewpoint=prefer_hardware, appTemp=prefer_hardware,
rainRate=prefer_hardware, windrun=prefer_hardware,
heatindex=prefer_hardware, maxSolarRad=prefer_hardware,
humidex=prefer_hardware, pressure=prefer_hardware,
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware,
cloudbase=prefer_hardware
Aug  5 08:26:44 raspberrypi weewx[2516]: wxcalculate: The following
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Archive will use data
binding wx_binding
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Record generation will be
attempted in 'hardware'
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using archive interval of
300 seconds (specified in weewx configuration)
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Using binding 'wx_binding'
to database 'weewx.sdb'
Aug  5 08:26:44 raspberrypi weewx[2516]: manager: Starting backfill of
daily summaries
Aug  5 08:26:44 raspberrypi weewx[2516]: restx: StationRegistry:
Registration not requested.
Aug  5 08:26:44 raspberrypi weewx[2516]: restx: Wunderground: Posting not
enabled.
Aug  5 08:26:44 raspberrypi weewx[2516]: restx: PWSweather: Posting not
enabled.
Aug  5 08:26:44 raspberrypi weewx[2516]: restx: CWOP: Posting not enabled.
Aug  5 08:26:44 raspberrypi weewx[2516]: restx: WOW: Posting not enabled.
Aug  5 08:26:44 raspberrypi weewx[2516]: restx: AWEKAS: Posting not enabled.
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Starting up weewx version
3.9.1
Aug  5 08:26:44 raspberrypi weewx[2516]: engine: Starting main packet loop.
Aug  5 08:30:19 raspberrypi weewx[2516]: manager: Added record 2019-08-05
08:30:00 MST (1565019000) to database 'weewx.sdb'
Aug  5 08:30:19 raspberrypi weewx[2516]: manager: Added record 2019-08-05
08:30:00 MST (1565019000) to daily summary in 'weewx.sdb'
Aug  5 08:35:19 raspberrypi weewx[2516]: manager: Added record 2019-08-05
08:35:00 MST (1565019300) to database 'weewx.sdb'
Aug  5 08:35:19 raspberrypi weewx[2516]: manager: Added record 2019-08-05
08:35:00 MST (1565019300) to daily summary in 'weewx.sdb'
Aug  5 08:40:22 raspberrypi weewx[2516]: manager: Added record 2019-08-05
08:40:00 MST (1565019600) to database 'weewx.sdb'
Aug  5 08:40:22 raspberrypi weewx[2516]: manager: Added record 2019-08-05
08:40:00 MST (1565019600) to daily summary in 'weewx.sdb'
Aug  5 08:43:17 raspberrypi weewx[2516]: engine: Main loop exiting.
Shutting engine down.
Aug  5 08:43:17 raspberrypi weewx[2516]: engine: Shutting down StdReport
thread
Au

[weewx-user] Ventus W830

2019-08-05 Thread Martin
Hi,
I read on the support forum several posts on how to use the Interceptor 
driver to support Ventus W830. The posts were about a year old, so before I 
dive into setting it up, i figured I could always ask if anyone knows if 
native support is planned for the Ventus W830. 

Ultimate plan is to get my weather data into Home Assistant, and so far it 
looks as WeeWx and mqtt is the way to go now that the Weather Underground 
API is changed.

-- 
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/dcbc851a-cc1c-4d79-bb38-7ab1a91a344a%40googlegroups.com.


Re: [weewx-user] Re: weewx only posts to db...no cheetah or images.

2019-08-05 Thread Andrew Milner
weewx says, at the start of the log, that it is using /etc/weewx/weewx.conf 
- hence why I said that was the file which needed changing.  I remember the 
other post you are referring to but can't remember the thread!



On Monday, 5 August 2019 10:58:50 UTC+3, gjr80 wrote:
>
> Hmmm, this (perhaps) sounds like a recent issue where a user was having 
> problems getting debug = 1 to take, seem to remember that user was using 
> SDR as well. Unfortunately, searching google groups on this iPad is 
> somewhat limited In capability (and convenience). Perhaps a wee_debug 
> report (http://weewx.com/docs/utilities.htm#wee_debug_utility) might 
> prove useful, at least we will see the weewx.conf that WeeWX is using.
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4306bfe7-61a1-478e-93fd-0b58345a90b6%40googlegroups.com.


Re: [weewx-user] Re: weewx only posts to db...no cheetah or images.

2019-08-05 Thread gjr80
Hmmm, this (perhaps) sounds like a recent issue where a user was having 
problems getting debug = 1 to take, seem to remember that user was using SDR as 
well. Unfortunately, searching google groups on this iPad is somewhat limited 
In capability (and convenience). Perhaps a wee_debug report 
(http://weewx.com/docs/utilities.htm#wee_debug_utility) might prove useful, at 
least we will see the weewx.conf that WeeWX is using.

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ba9f8c39-42f6-4cc0-a46f-90e6a305783b%40googlegroups.com.


Re: [weewx-user] Re: weewx only posts to db...no cheetah or images.

2019-08-05 Thread Andrew Milner
are you 100% certain you set debug=1 because that log does not look as 
though debug is set.  The file to change is /etc/weewx/weewx.conf and you 
need to stop weewx, edit the .conf file, restart weewx

On Monday, 5 August 2019 07:41:42 UTC+3, Tom King wrote:
>
> This is the log from debug = 1
>
> Sorry it doesn't have more information.
>
> TK
>
> On Sun, Aug 4, 2019 at 9:37 PM Tom King > 
> wrote:
>
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Initializing weewx 
>> version 3.9.1
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Using Python 2.7.16 
>> (default, Apr  6 2019, 01:42:57) #012[GCC 8.2.0]
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Platform 
>> Linux-4.19.50-v7+-armv7l-with-debian-10.0
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Locale is 'en_GB.UTF-8'
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Using configuration 
>> file /etc/weewx/weewx.conf
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Loading station type 
>> SDR (user.sdr)
>> Aug  4 21:26:20 raspberrypi weewx[25976]: sdr: MainThread: driver version 
>> is 0.64
>> Aug  4 21:26:20 raspberrypi weewx[25976]: sdr: MainThread: sensor map is 
>> {'outTemp': 'temperature.0F11.Acurite5n1Packet', 'outHumidity': 
>> 'humidity.0F11.Acurite5n1Packet', 'windDir': 
>> 'wind_dir.0F11.Acurite5n1Packet', 'windSpeed': 
>> 'wind_speed.0F11.Acurite5n1Packet', 'rain': 
>> 'rain_total.0F11.Acurite5n1Packet', 'extraTemp1': 
>> 'temperature.02AB.AcuriteTowerPacket', 'extraHumid1': 
>> 'humidity.02AB.AcuriteTowerPacket', 'extraTemp2': 
>> 'temperature.2A44.AcuriteTowerPacket', 'extraHumid2': 
>> 'humidity.2A44.AcuriteTowerPacket', 'extraTemp3': 
>> 'temperature.2074.AcuriteTowerPacket', 'leafTemp1': 
>> 'temperature.0A4F.AcuriteTowerPacket', 'leafWet1': 
>> 'humidity.0A4F.AcuriteTowerPacket', 'leafTemp2': 
>> 'temperature.0505.AcuriteTowerPacket', 'leafWet2': 
>> 'humidity.0505.AcuriteTowerPacket', 'soilTemp1': 
>> 'temperature.3C88.AcuriteTowerPacket', 'soilHumid1': 
>> 'humidity.3C88.AcuriteTowerPacket', 'soilTemp2': 
>> 'temperature.1664.AcuriteTowerPacket', 'soilHumid2': 
>> 'humidity.1664.AcuriteTowerPacket', 'soilTemp3': 
>> 'temperature.1C2A.AcuriteTowerPacket', 'soilHumid3': 
>> 'humidity.1C2A.AcuriteTowerPacket'}
>> Aug  4 21:26:20 raspberrypi weewx[25976]: sdr: MainThread: deltas is 
>> {'strikes': 'strikes_total', 'rain': 'rain_total'}
>> Aug  4 21:26:20 raspberrypi weewx[25976]: sdr: MainThread: startup 
>> process 'rtl_433 -M utc -F json -G'
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: StdConvert target unit 
>> is 0x1
>> Aug  4 21:26:20 raspberrypi weewx[25976]: wxcalculate: The following 
>> values will be calculated: barometer=prefer_hardware, 
>> windchill=prefer_hardware, dewpoint=prefer_hardware, 
>> appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, 
>> heatindex=prefer_hardware, maxSolarRad=prefer_hardware, 
>> humidex=prefer_hardware, pressure=prefer_hardware, 
>> inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, 
>> cloudbase=prefer_hardware
>> Aug  4 21:26:20 raspberrypi weewx[25976]: wxcalculate: The following 
>> algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Archive will use data 
>> binding wx_binding
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Record generation will 
>> be attempted in 'hardware'
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Using archive interval 
>> of 300 seconds (specified in weewx configuration)
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Using binding 
>> 'wx_binding' to database 'weewx.sdb'
>> Aug  4 21:26:20 raspberrypi weewx[25976]: manager: Starting backfill of 
>> daily summaries
>> Aug  4 21:26:20 raspberrypi weewx[25976]: restx: StationRegistry: 
>> Registration not requested.
>> Aug  4 21:26:20 raspberrypi weewx[25976]: restx: Wunderground: Posting 
>> not enabled.
>> Aug  4 21:26:20 raspberrypi weewx[25976]: restx: PWSweather: Posting not 
>> enabled.
>> Aug  4 21:26:20 raspberrypi weewx[25976]: restx: CWOP: Posting not 
>> enabled.
>> Aug  4 21:26:20 raspberrypi weewx[25976]: restx: WOW: Posting not enabled.
>> Aug  4 21:26:20 raspberrypi weewx[25976]: restx: AWEKAS: Posting not 
>> enabled.
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Starting up weewx 
>> version 3.9.1
>> Aug  4 21:26:20 raspberrypi weewx[25976]: engine: Starting main packet 
>> loop.
>> Aug  4 21:30:18 raspberrypi weewx[25976]: manager: Added record 
>> 2019-08-04 21:30:00 MST (1564979400) to database 'weewx.sdb'
>> Aug  4 21:30:18 raspberrypi weewx[25976]: manager: Added record 
>> 2019-08-04 21:30:00 MST (1564979400) to daily summary in 'weewx.sdb'
>> Aug  4 21:35:19 raspberrypi weewx[25976]: manager: Added record 
>> 2019-08-04 21:35:00 MST (1564979700) to database 'weewx.sdb'
>> Aug  4 21:35:19 raspberrypi weewx[25976]: manager: Added record 
>> 2019-08-04 21:35:00 MST (1564979700) to daily summary in 'weewx.sdb'
>