Re: [weewx-user] Re: Access OGC Servers to Download Weather Maps, Warn Maps, Satellite Pictures etc.

2024-09-10 Thread David Hathaway
Thank you Karen for your continued research. I appreciate this!

Dave

On Mon, Sep 9, 2024, 1:56 PM Karen K  wrote:

> David Hathaway schrieb am Sonntag, 18. August 2024 um 14:35:05 UTC+2:
>
> This is really interesting. Can you get underlaying geo features, like
> roads or topology?
>
>
> I did some further investigations, and I ask one of the weather services
> for that. If the server that provides the readings does not provide geo
> features, you can use any other server to get that additional information
> as long as you specify the same bbox, width, height and crs parameters.
> There is an example in the KNMI wiki page
> <https://github.com/roe-dl/weewx-DWD/wiki/Koninklijk-Nederlands-Meteorologisch-Instituut-(KNMI)#knmi-ogc-server>,
> and you could even use their geo feature server as it covers the whole
> world including U.S. Use the GetCapabilities request to get a list of the
> layers and their names.
>
> --
> 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/vXQf3nweQ_g/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/7d737d05-4eaa-4e4a-b2a0-71d5c4965f7en%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/7d737d05-4eaa-4e4a-b2a0-71d5c4965f7en%40googlegroups.com?utm_medium=email&utm_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/CAKLSDpJiK%2Be9Hk4m_D%2B8w2rjPhqYEUMKHHxf8hY3ns95GkWNcg%40mail.gmail.com.


Re: [weewx-user] Weewx fails to start

2024-09-04 Thread David Hindley
Tom - OK. Many thanks. Will try that suggestion.

David.

On Wed, 4 Sep 2024 at 21:32, Tom Keffer  wrote:

> I'm sorry, but there are too many moving parts here. The problem depends
> on your environment, /etc/default/weewx, what's in /usr/bin/weewxd, the
> location of the other weewx files, etc.
>
> Something changed on your system. You're going to have to track it down.
>
> Here's what I would do: get a second SD card (less than $10). Install the
> latest RPi OS on it. Install WeeWX v5 on it.
>
> Then copy over the database (located under /var/lib/weewx) and the skins
> (located under /etc/weewx) from the old card. Or, copy from your backup. No
> chance of losing any data.
>
> -tk
>
> On Wed, Sep 4, 2024 at 1:05 PM hind...@gmail.com 
> wrote:
>
>> OK.  No problem.  It is attached.  I renamed it to weewx_init. It is
>> called weewx on my Pi.
>>
>> Noted re upgrading.  Nervous about losing data etc.
>>
>> David.
>>
>> On Wednesday 4 September 2024 at 20:44:54 UTC+1 Tom Keffer wrote:
>>
>>> A favor. Please post the *entire* file. Don't cut and paste, just
>>> include the file. It's hard to get the full picture from the little pieces.
>>>
>>> I would also strongly advise that you upgrade from stretch. It hasn't
>>> been supported in years. Your RPi 3 is more than capable of running a
>>> modern version of RPi OS.
>>>
>>> On Wed, Sep 4, 2024 at 12:06 PM hind...@gmail.com 
>>> wrote:
>>>
>>>> I should add, when I start weewx, I get:
>>>>
>>>> [] Starting weewx (via systemctl): weewx.service AUTHENTICATING
>>>> FOR org.
>>>>
>>>>
>>>>   freedesktop.systemd1.manage-units ===
>>>> Authentication is required to start 'weewx.service'.
>>>> Multiple identities can be used for authentication:
>>>>  1.  ,,, (pi)
>>>>  2.  root
>>>> Choose identity to authenticate as (1-2): 1
>>>> Password:
>>>>  AUTHENTICATION COMPLETE ===
>>>> Job for weewx.service failed because the control process exited with
>>>> error code.
>>>> See "systemctl status weewx.service" and "journalctl -xe" for details.
>>>>  failed!
>>>>
>>>> Does that helpo diagnose the problem.  I never remember being asked for
>>>> identity before.  I am not sure I know the root password (dumb, I know).
>>>> On Wednesday 4 September 2024 at 19:47:33 UTC+1 hind...@gmail.com
>>>> wrote:
>>>>
>>>>> No problem.
>>>>>
>>>>> Copied below.
>>>>>
>>>>> I don't think I modified anything,  My weather website stopped working
>>>>> when I was on holiday. The last valid graph entry is 20 August 2024 at 5pm
>>>>> -but not sure my syslog files go back that far to check what happened.
>>>>>
>>>>> . /lib/init/vars.sh
>>>>>
>>>>> # Define LSB log_* functions.
>>>>> # Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
>>>>> . /lib/lsb/init-functions
>>>>>
>>>>> # start the daemon/service
>>>>> #   0 if daemon has been started
>>>>> #   1 if daemon was already running
>>>>> #   2 if daemon could not be started
>>>>> # check using ps not the pid file.  pid file could be leftover.
>>>>> do_start() {
>>>>> NPROC=$(count_procs)
>>>>> if [ $NPROC != 0 ]; then
>>>>> return 1
>>>>> fi
>>>>> start-stop-daemon --start --chuid $WEEWX_USER --pidfile $PIDFILE
>>>>> --exec $DAEMON -- $DAEMON_ARGS || return 2
>>>>> return 0
>>>>> }
>>>>>
>>>>> # stop the daemon/service
>>>>> #   0 if daemon has been stopped
>>>>> #   1 if daemon was already stopped
>>>>> #   2 if daemon could not be stopped
>>>>> #   other if a failure occurred
>>>>> do_stop() {
>>>>> # bail out if the app is not running
>>>>> NPROC=$(count_procs)
>>>>> if [ $NPROC = 0 ]; then
>>>>> return 1
>>>>> fi
>>>>> # bail out if there is no pid file
>>>>> if [ ! -f $PIDFILE ]; then
>>>>> return 1
>>>>> fi
>>>>> 

[weewx-user] Re: Access OGC Servers to Download Weather Maps, Warn Maps, Satellite Pictures etc.

2024-08-18 Thread David Hathaway
This is really interesting. Can you get underlaying geo features, like 
roads or topology?

Dave

On Saturday, August 17, 2024 at 10:25:44 AM UTC-5 Karen K wrote:

>
>- I added an English description, containing an example for querying 
>the NOAA server: Query Open Geospatial Consortium (OGC) Servers 
>(English) 
>
> 
>.
>- The german description as at: Open Geospatial Consortium (OGC) 
>Server abfragen 
>
> 
>.
>
>
> A lot of weather services (like NOAA, DWD etc.) operate an OGC server to 
> provide weather maps, warnings maps, satellite pictures etc. What data to 
> download is defined by a special set of URL parameters. weewx-DWD 
>  provides a configuration interface 
> to access such servers. You can easily set up the download parameters in 
> weewx.conf as described in the Wiki pages mentioned above.
>
> Besides querying OGC servers the module can also download arbitrary files 
> from every server specified in weewx.conf by the url key.
>
>

-- 
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/4db0e05a-742c-4a46-b4d6-6ee1493bb711n%40googlegroups.com.


Re: [weewx-user] Can no longer run a command with weewx v5

2024-04-07 Thread David Sprangers
After doing a new install of WeeWx v5, I used this command. 

sudo PYTHONPATH=/usr/share/weewx python3 /etc/weewx/bin/user/sdr.py 
--cmd="rtl_433 -F json -M UTC"

On Tuesday, February 20, 2024 at 2:44:56 PM UTC-6 Tom Keffer wrote:

> See the Upgrade Guide, in particular, the section *New location for user 
> directory 
> *
> .
>
> On Tue, Feb 20, 2024 at 12:29 PM Harley Welsh  wrote:
>
>> I am trying to use *sudo PYTHONPATH=/usr/share/weewx python 
>> /usr/share/weewx/user/sdr.py cmd="rtl_433 -M utc -F json"* to get the 
>> the full names of a sensors. When I run the line I get this *error  
>> python: can't open file '/usr/share/weewx/user/sdr.py': [Errno 2] No such 
>> file or directory*  using weewx v5 but before the update it worked fine. 
>> Is there a new command I could use to get the same output as before?
>>
>> Thanks,
>> Harley
>>
>>
>>
>>
>> -- 
>> 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/758a80cb-a3d6-4431-8202-218145f4d831n%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/3fce249c-b461-4b33-8642-2ea2cc22216cn%40googlegroups.com.


Re: [weewx-user] Weewx doesn't start anymore after update from 5.0.0 to 5.0.1-3

2024-02-05 Thread David Hathaway
I had this same issue immediately after updating from 5.0.0 to 5.0.1, the 
exact same error.

*sudo lsof /dev/ttyUSB0*


threw an error.

I rebooted the machine and now weewx is running normally again.


On Monday, February 5, 2024 at 7:03:18 AM UTC-6 Tom Keffer wrote:

> Make sure there isn't another process claiming /dev/ttyUSB0. The process 
> "modemmanager" is a common one.
>
> To see what processes are using /dev/ttyUSB0 try
>
> *sudo lsof /dev/ttyUSB0*
>
>
> -tk
>
> On Sun, Feb 4, 2024 at 11:40 PM hb9...@gmail.com  wrote:
>
>> I get a permission error for /dev/ttyUSB0
>> However, there should be no problem accessing ttyUSB0 (Vantage driver)
>> weectl device --info runs just fine:
>> ---
>> # weectl device --info
>> Using configuration file /etc/weewx/weewx.conf
>> Using driver weewx.drivers.vantage.
>> Using Vantage driver version 3.6.2 (weewx.drivers.vantage)
>> Querying...
>> Davis Vantage EEPROM settings:
>> 
>> CONSOLE TYPE:   Vantage Vue
>> (etc.)
>> ---
>>
>>
>> × weewx.service - WeeWX
>>  Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: 
>> enabled)
>>  Active: failed (Result: exit-code) since Mon 2024-02-05 08:31:01 
>> CET; 2s ago
>>Duration: 100ms
>>Docs: https://weewx.com/docs
>> Process: 2627140 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, 
>> status=4)
>>Main PID: 2627140 (code=exited, status=4)
>> CPU: 89ms
>>
>> Feb 05 08:31:01 weewxd[2627140]: CRITICAL weewx.engine:  
>> 
>> ^
>> Feb 05 08:31:01 weewxd[2627140]: CRITICAL weewx.engine: File 
>> "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in __init__
>> Feb 05 08:31:01 weewxd[2627140]: CRITICAL weewx.engine:  
>>  self.open()
>> Feb 05 08:31:01 weewxd[2627140]: CRITICAL weewx.engine: File 
>> "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in open
>> Feb 05 08:31:01 weewxd[2627140]: CRITICAL weewx.engine:  
>>  raise SerialException(msg.errno, "could not open port {}: 
>> {}".format(self._port, msg))
>> Feb 05 08:31:01 weewxd[2627140]: CRITICAL weewx.engine:  
>>  serial.serialutil.SerialException: [Errno 16] could not open port 
>> /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'
>> Feb 05 08:31:01 weewxd[2627140]: CRITICAL __main__: Unable to load 
>> driver: [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or 
>> resource busy: '/dev/ttyUSB0'
>> Feb 05 08:31:01 weewxd[2627140]: CRITICAL __main__:   Exiting...
>> Feb 05 08:31:01 systemd[1]: weewx.service: Main process exited, 
>> code=exited, status=4/NOPERMISSION
>> Feb 05 08:31:01 systemd[1]: weewx.service: Failed with result 'exit-code'.
>>
>> -- 
>> 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/8fc2aaad-705d-45ff-9e1b-f2a80b84d48dn%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/ab85fb93-ee80--a29f-aae52483264bn%40googlegroups.com.


[weewx-user] Re: New to weewx customizations

2024-01-25 Thread David Schulz
Hi,

you need something like this.

#from weewx.units import ValueTuple, ValueHelper
#set $temprange=($day.outTemp.max.degree_C.raw - 
$day.outTemp.min.degree_C.raw)
#set 
temprange_vh=ValueHelper(ValueTuple($temprange,'degree_C','group_temperature'),formatter=$station.formatter)

$temprange_vh.format("%.1f",add_label=True)

and for the  dominant wind, look in the docs pls.

https://weewx.com/docs/4.10/customizing.htm#Wind

$day.wind.vecavg The vector average wind speed since midnight. If the wind 
blows east at 5 m/s for 2 hours, then west at 5 m/s for 2 hours, the vector 
average wind speed is zero.
$day.wind.vecdir The direction of the vector averaged wind speed. If the 
wind blows northwest at 5 m/s for two hours, then southwest at 5 m/s for 
two hours, the vector averaged direction is west.
$day.windDir.avg Not a very useful quantity. This is the strict, arithmetic 
average of all the compass wind directions. If the wind blows at 350° for 
two hours then at 10° for two hours, then the scalar average wind direction 
will be 180° — probably not what you expect, nor want.


Jacques Desroches schrieb am Donnerstag, 25. Januar 2024 um 19:28:09 UTC+1:

> Hi,
>
> I'm new to weewx and I want to adapt my current template to weewx.
> My site worked with Cumulus, since 2010... But new station is incompatible.
>
> So, I'm giving a try to weewx, and I'm searching a few info to complete my 
> template;
>
> I've tried to calc max temp - min temp, but result is "raw" (
> 0.7285)
> #set $tempDiff = $day.outTemp.max.raw - $day.outTemp.min.raw
>
> Also, I try to display dominant wind for the day:
> $day.windDir at $day.windDir.format("%H:%M")
>
> Finally, is there a way to know how many days with or without rain?
>
> Hope having write to the right place ;-)
>
> Thanks in advance,
> Jacques
> www.meteostours.ca
>

-- 
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/ae6cb4bc-7670-4ec8-bd7f-fadd5ac891a9n%40googlegroups.com.


Re: [weewx-user] V5.0.0 available

2024-01-16 Thread david murphy
Thanks to everyone involved and for this wonderful software and your 
continued upgrades. V5 is a peach. The internet can be a truly wonderful 
place.

On Tuesday 16 January 2024 at 2:23:08 pm UTC+11 Tim Tuck wrote:

> Hi all,
>
> Just a note for those on Ubuntu if the *sudo apt upgrade* doesn't work.
>
> Check the */etc/apt/sources.list.d/weewx.list *since if you started out 
> on an earlier version of Ubuntu and upgraded along the way you will find 
> this in that file
>
> *# deb [arch=all] http://weewx.com/apt/python3 
>  buster main # disabled on upgrade to jammy*
>
> Uncomment that, and then do...
>
> *sudo apt update*
>
> *sudo apt upgrade*
>
> to get it happening for you.
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6f4fa968-a5f2-49bb-ac83-1e325129756fn%40googlegroups.com.


[weewx-user] Re: Tempest Weatherflow replacement - weewx not picking it up

2024-01-16 Thread David Levine
Thank you Vince. I initially changed the ST- number to the new last 
4 digits that were on the bottom of the replacement device, but that was 
not the entirety of the number. I found where to look up on the web status 
page to get the new number. I didn't notice it was available on the iPhone 
app but I could have missed it. Once I adjusted the weewx.conf with the 
complete replacement serial # and restarted weewx, all seems good. 

Now I need to edit the archive data and remove the bogus values the old 
device was still sending the past couple of days. 

Thanks again Vince.
- David

On Tuesday, January 16, 2024 at 12:52:38 PM UTC-5 vince wrote:

> Your tempest sensor replacement has a different ST-nn serial number so 
> you need to edit weewx.conf so the driver listens for the new sensor id. 

-- 
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/9e960bcd-4bae-4290-91a5-50ccea3e666bn%40googlegroups.com.


[weewx-user] Tempest Weatherflow replacement - weewx not picking it up

2024-01-16 Thread David Levine
I needed to replace my Tempest Weatherflow device. I followed their 
instructions (below). The Tempest app, my TidByt, and my wfpiconsole all 
worked without adjustments. 

WeeWX seems to not be picking up the change. It has been a long time since 
I installed/configured weewx and I'm not sure what I need to adjust based 
on the below steps to replace the old one with the new one showing under 
the old ST- reference in the Tempest settings . I am running weewx 
on a Raspberry Pi. 

Any thoughts on what to troubleshoot/adjust?
- David

Steps followed as provided by Weatherflow support:
*Connecting the new device to your station Hub*
Use the app to connect your new device to your station Hub. There is a 
'Replace Device' button in the app which will swap the new device in the 
old device's place. This will preserve the device data history. Please 
follow these instructions carefully...
 

   1. Turn on the new device. The LED should eventually slowly blink green, 
   indicating it is in pairing mode. If the LED does not stay blinking green, 
   press and hold the LED button until it flashes to reset the device.
   2. Open the app, go to Settings > Stations > (choose your station) > 
   Manage Devices > (select the device you are replacing) > Advanced > Replace 
   Device.
   3. The new device will appear on screen, choose the new device to finish 
   connecting it. 
   4. The LED on the base of the Tempest should flash green and then go 
   out, indicating it has successfully paired to the Hub. Then you can check 
   the app for current observation data.


Note: The new device will retain the old device's name (which may be 
defaulted to the old serial number). You can rename the new device: go to 
settings > stations > choose your station > manage devices > choose the 
Tempest device > tap the name to edit.

-- 
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/66695c7f-460b-4ed6-bf6f-b0d51e75b577n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2024-01-13 Thread David Bätge
*Just upgraded to the new 3.4.0 skin (from 3.1.1). I am getting the 
following error when the reports run.*

This bug was introduced with 3.4, please see 
here: https://github.com/Daveiano/weewx-wdc/issues/191#issuecomment-1877890285 
or 
https://github.com/Daveiano/weewx-wdc/discussions/218#discussioncomment-7470782

*I also changed the base path in skin.conf to /weewx/wdc/ and still trying 
to send the generated files to /weewx/*

You want to change the HTML_ROOT, not the base_path. 
See 
https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath
 
or 
https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath
 
and https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras

tarob...@gmail.com schrieb am Freitag, 12. Januar 2024 um 21:35:44 UTC+1:

> Just upgraded to the new 3.4.0 skin (from 3.1.1). I am getting the 
> following error when the reports run.
>
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
> Evaluation of template /etc/weewx/skins/weewx-wdc/index.html.tmpl failed 
> with exception ''
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>  Ignoring template /etc/weewx/skins/weewx-wdc/index.html.tmpl
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>  Reason: could not convert string to float: 'geocode=34.743313'
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>   Traceback (most recent call last):
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in 
> generate
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>   unicode_string = compiled_template.respond()
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
> File "_etc_weewx_skins_weewx_wdc_index_html_tmpl.py", line 267, in 
> respond
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
> 1708, in _handleCheetahInclude
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>   self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
> File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", 
> line 286, in respond
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
> 1708, in _handleCheetahInclude
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>   self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
> File "_etc_weewx_skins_weewx_wdc_includes_forecast_inc.py", line 
> 256, in respond
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
> 1708, in _handleCheetahInclude
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>   self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
> File "_etc_weewx_skins_weewx_wdc_includes_forecast_table_inc.py", 
> line 1749, in respond
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
> File "_etc_weewx_skins_weewx_wdc_includes_forecast_table_inc.py", 
> line 520, in __errorCatcher65
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
> File "", line 1, in 
> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>   ValueError: could not convert string to float: 'geocode=34.743313'
> Jan 12 15:30:50 raspberrypiNAS weewx[19495] INFO weewx.cheetahgenerator: 
> Generated 11 files for report WdcReport in 19.02 seconds
> Jan 12 15:30:50 raspberrypiNAS weewx[19495] INFO weewx.reportengine: 
> Copied 0 files to /var/www/html/weewx
>
> I also changed the base path in skin.conf to /weewx/wdc/ and still trying 
> to send the generated files to /weewx/
>
> Thanks,
> Troy
>
> On Sunday, August 27, 2023 at 10:14:41 AM UTC-4 David Bätge wrote:
>
>> Hi Mau,
>>
>> yes, the wiki realy includes a lot of information. I guess you are 
>> missing the base_path setting, see 
>> https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath
>&

[weewx-user] Re: can't install weewx / public key is not available: NO_PUBKEY A0CB255B75BF977C

2024-01-12 Thread David Schulz
it works, thx.

matthew wall schrieb am Freitag, 12. Januar 2024 um 16:37:34 UTC+1:

> On Friday, January 12, 2024 at 9:20:03 AM UTC-5 schulz@gmail.com 
> wrote:
>
> hi,
>
> i can't install weewx today.
>
> wget -qO - https://weewx.com/apt/weewx-python3.list | sudo tee 
> /etc/apt/sources.list.d/weewx.list
> wget -qO - https://weewx.com/keys.html | sudo gpg --dearmor --output 
> /etc/apt/trusted.gpg.d/weewx.gpg
> apt update
>
>
> please do this:
>
> wget -qO - https://weewx.com/keys-old.html | sudo gpg --dearmor --output 
> /etc/apt/trusted.gpg.d/weewx.gpg
>
> then do the apt update, etc.
>
> we have an old SHA1 key that signed many of the releases, and i am in the 
> middle of re-signing packages to make it all future-proof
>
> m 
>

-- 
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/5d8c1828-8cbe-40c8-98f2-1e6d9c93a9a9n%40googlegroups.com.


[weewx-user] can't install weewx / public key is not available: NO_PUBKEY A0CB255B75BF977C

2024-01-12 Thread David Schulz
hi,

i can't install weewx today.

wget -qO - https://weewx.com/apt/weewx-python3.list | sudo tee 
/etc/apt/sources.list.d/weewx.list
wget -qO - https://weewx.com/keys.html | sudo gpg --dearmor --output 
/etc/apt/trusted.gpg.d/weewx.gpg
apt update

Hit:1 http://security.ubuntu.com/ubuntu mantic-security InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu mantic InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu mantic-updates InRelease
Get:4 http://weewx.com/apt/python3 buster InRelease [3907 B]
Hit:5 http://de.archive.ubuntu.com/ubuntu mantic-backports InRelease
Get:6 https://download.docker.com/linux/ubuntu mantic InRelease [48.8 kB]
Err:4 http://weewx.com/apt/python3 buster InRelease
  The following signatures couldn't be verified because the public key is 
not available: NO_PUBKEY A0CB255B75BF977C
Reading package lists... Done
W: GPG error: http://weewx.com/apt/python3 buster InRelease: The following 
signatures couldn't be verified because the public key is not available: 
NO_PUBKEY A0CB255B75BF977C
E: The repository 'http://weewx.com/apt/python3 buster InRelease' is not 
signed.
N: Updating from such a repository can't be done securely, and is therefore 
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration 
details.

Description:Ubuntu 23.10
Release:23.10
Codename:   mantic

-- 
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/d01c6ebd-44d6-480b-88fd-1b036e0fe636n%40googlegroups.com.


Re: [weewx-user] Re: How do you enable forecast in Weewx-wdc

2024-01-10 Thread David Bätge
I just did a quick test run with WeatherUnderground, Aeris and OWM. windGust 
is only saved for the Aeris forecast entries, for OWM and WU it's always 
empty. 

Since it is provided via the OWM API, that's a problem of weewx-forecast 
not saving the data, I guess.

FYI: The skin already shows windGust if it is provided by the forecast - 
but I did never test this and just noticed the windGust just sits behind 
the windSpeed without any label. I 
created https://github.com/Daveiano/weewx-wdc/issues/240 to track this.

[image: weewx-wdc-foreacst-aeris.png]

windGust is 29 km/h for Do, 11 Jan in this example.

Dominic Reich schrieb am Sonntag, 7. Januar 2024 um 19:51:58 UTC+1:

> I think it is possible but not worth the hassle (for non-developers like
> me).
>
> The api reports wind gust, so there should be a way to create an
> extra row in the forecast_table.inc (and maybe more) files from the
> weewx-forecast extension.
>
> #v+
> {
> "dt": 1705082400,
> "main": {
> "temp": 267.72,
> "feels_like": 264.07,
> "temp_min": 267.72,
> "temp_max": 267.72,
> "pressure": 1034,
> "sea_level": 1034,
> "grnd_level": 890,
> "humidity": 67,
> "temp_kf": 0
> },
> "weather": [
> {
> "id": 800,
> "main": "Clear",
> "description": "clear sky",
> "icon": "01n"
> }
> ],
> "clouds": {
> "all": 2
> },
> "wind": {
> "speed": 2.21,
> "deg": 198,
> "gust": 2.38
> },
> "visibility": 1,
> "pop": 0,
> "sys": {
> "pod": "n"
> },
> "dt_txt": "2024-01-12 18:00:00"
> }
> #v-
>
> -dominic
>
> Nicholas Waton  wrote:
>
> >Thank you!
> >
> >Is there a way to show forecasted wind gusts? 
> >I am using the OWM forecast.
> >
> >On Tuesday, October 4, 2022 at 6:06:04 PM UTC-7 David Bätge wrote:
> >
> > There is also a dedicated page for enabling forecast in the wiki of the
> > skin: 
> https://github.com/Daveiano/weewx-wdc/wiki/Support-for-weewx-forecast
> >
> > Let me know if there are still questions!
> >
> > gary@gmail.com schrieb am Sonntag, 2. Oktober 2022 um 17:02:39 
> UTC+1:
> >
> > Don't forget that you will need to add the following to the skin. conf
> > [CheetahGenerator]
> > search_list_extensions 
> >
> > user.forecast.ForecastVariables,
> > user.weewx_wdc_forecast.WdcForecastUtil
> >
> > On Sunday, October 2, 2022 at 11:57:44 AM UTC-4 gary@gmail.com
> > wrote:
> >
> > weewx.conf
> > Adjust HTML_ROOT to your paths
> > Use your WU API key
> > Get your NWS values and use those.
> >
> > [[WdcReport]]
> > skin = weewx-wdc
> > enable = true
> > HTML_ROOT = /home/web/wdc
> > lang = en
> >
> > [[forecast]]
> > skin = forecast
> > HTML_ROOT = /home/web/forecast
> >
> > [Forecast]
> > data_binding = forecast_binding
> > #[[XTide]]
> > #location = "INSERT_LOCATION_HERE (e.g., Boston)"
> > [[Zambretti]]
> > hemisphere = NORTH
> > [[NWS]]
> > lid = MAZ011
> > foid = BOX
> > [[WU]]
> > api_key = 
> > #[[OWM]]
> > #api_key = INSERT_OWM_API_KEY_HERE
> > #[[UKMO]]
> > #api_key = INSERT_UKMO_API_KEY_HERE
> > #location = INSERT_UK_LOCATION_HERE
> > #[[Aeris]]
> > #client_id = INSERT_AERIS_CLIENT_ID_HERE
> > #client_secret = INSERT_AERIS_CLIENT_SECRET_HERE
> > #[[WWO]]
> > #api_key = INSERT_WWO_API_KEY_HERE
> > #[[DS]]
> > #api_key = INSERT_DS_API_KEY_HERE
> >
> >
> > skin.conf
> > Make adjustments for your location.
> >
> > # configuration file for the weewx-wdc skin
> > SKIN_NAME = Weather Data Center
> > SKIN_VERSION = 2.1.0
> >
> > [Extras]
> > # Show a link to the GitHub respository of this skin. Set to
> > False to hide.
> > github_link = True
> >
> > # This radar image would be available as $Extras.radar_img
> > #radar_img = https://www.dwd.de/DWD/wetter/radar/
> > radfilm_sac_akt.gif
> > # This URL will be used as the image hyperlink:
> > #radar_url =https://www.dwd.de/DE/leistungen/radarbild_film
> > /radarbild_film.html
> >

Re: [weewx-user] Pipe errors etc

2023-12-27 Thread David Hindley
Many thanks, Vince. Much appreciated.

David.

On Wed, 27 Dec 2023 at 17:08, vince  wrote:

> "except KeyError, e:"  indicates that you are using python3 to run code
> that is only valid for python2.
> see https://github.com/weewx/weewx/wiki/faq-python-error
>
> Upgrade your MQTT extension to a current version.
>
>
> --
> 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/q67cvEsXtjQ/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/2beac3b1-a0b4-4735-8943-5eb3f4a0e5d7n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/2beac3b1-a0b4-4735-8943-5eb3f4a0e5d7n%40googlegroups.com?utm_medium=email&utm_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/CAHtYHVKG2q9qq%2BZYptkA2SKUp3skZaY9ij7HNUvihQ_UbcofSg%40mail.gmail.com.


Re: [weewx-user] CWOP data stopped showing up

2023-12-20 Thread David Barto
I went and checked a few random sites from their “active list” - 
http://www.wxqa.com/members.txt

And those I checked are all “not reporting”.

So unlikely to be a weewx issue.

David


> On Dec 20, 2023, at 11:04 AM, Jim Ancona  wrote:
> 
> Hi,
> 
> I've been happily running Weewx for a number of years. I have a Davis Vantage 
> Pro2 and I'm running Weewx on an old Raspberry Pi 512MB Model B running 
> Raspbian GNU/Linux 12 (bookworm). We've had power outages here this week, so 
> the Pi has lost power and restarted multiple times. When it came back up this 
> morning, I noticed that results didn't start showing up on my CWOP page at 
> http://www.findu.com/cgi-bin/wxpage.cgi?call=n1adj. 
> 
> Here is the log from startup to the first CWOP report:
> 
> Dec 20 13:21:29 weather systemd[1]: Started weewx.service - WeeWX weather 
> system.
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: 
> Initializing weewx version 4.10.2
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Using 
> Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Located at 
> /usr/bin/python3
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Platform 
> Linux-6.1.0-rpi6-rpi-v6-armv6l-with-glibc2.36
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Locale is 
> 'en_US.UTF-8'
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Using 
> configuration file /etc/weewx/weewx.conf
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Debug is 1
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG __main__: 
> Initializing engine
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO weewx.engine: Loading 
> station type Vantage (weewx.drivers.vantage)
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Driver version is 3.5.2
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Option loop_request=1
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Opened up serial port /dev/ttyUSB0; baud 19200; 
> timeout 4.00
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Successfully woke up Vantage console
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Hardware type is 16
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: ISS ID is 1
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Hardware name: Vantage Pro2
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.engine.StdTimeSynch
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.engine.StdTimeSynch
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.engine.StdConvert
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] INFO weewx.engine: 
> StdConvert target unit is 0x1
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.engine.StdConvert
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.engine.StdCalibrate
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.engine.StdCalibrate
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.engine.StdQC
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.engine.StdQC
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.wxservices.StdWXCalculate
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] INFO weewx.wxservices: 
> StdWXCalculate will use data binding wx_binding
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.manager: Daily 
> summary version is 4.0
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.wxservices.StdWXCalculate
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.wxxtypes.StdWXXTypes
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.wxxtypes.StdWXXTypes
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.wxxtypes.StdPressureCooker
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.wxxtypes.StdPressureCooker
> Dec 20 13:21:33 w

Re: [weewx-user] CWOP data stopped showing up

2023-12-20 Thread David Barto
I’m going to chime in with a “me too” on this. Strange.

I’ve restarted Weewx to no effect, and all other reporting (Wunderground, PWS, 
my local site) are fine.

 David


> On Dec 20, 2023, at 11:04 AM, Jim Ancona  wrote:
> 
> Hi,
> 
> I've been happily running Weewx for a number of years. I have a Davis Vantage 
> Pro2 and I'm running Weewx on an old Raspberry Pi 512MB Model B running 
> Raspbian GNU/Linux 12 (bookworm). We've had power outages here this week, so 
> the Pi has lost power and restarted multiple times. When it came back up this 
> morning, I noticed that results didn't start showing up on my CWOP page at 
> http://www.findu.com/cgi-bin/wxpage.cgi?call=n1adj. 
> 
> Here is the log from startup to the first CWOP report:
> 
> Dec 20 13:21:29 weather systemd[1]: Started weewx.service - WeeWX weather 
> system.
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: 
> Initializing weewx version 4.10.2
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Using 
> Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Located at 
> /usr/bin/python3
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Platform 
> Linux-6.1.0-rpi6-rpi-v6-armv6l-with-glibc2.36
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Locale is 
> 'en_US.UTF-8'
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Using 
> configuration file /etc/weewx/weewx.conf
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO __main__: Debug is 1
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG __main__: 
> Initializing engine
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] INFO weewx.engine: Loading 
> station type Vantage (weewx.drivers.vantage)
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Driver version is 3.5.2
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Option loop_request=1
> Dec 20 13:21:32 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Opened up serial port /dev/ttyUSB0; baud 19200; 
> timeout 4.00
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Successfully woke up Vantage console
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Hardware type is 16
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: ISS ID is 1
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG 
> weewx.drivers.vantage: Hardware name: Vantage Pro2
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.engine.StdTimeSynch
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.engine.StdTimeSynch
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.engine.StdConvert
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] INFO weewx.engine: 
> StdConvert target unit is 0x1
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.engine.StdConvert
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.engine.StdCalibrate
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.engine.StdCalibrate
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.engine.StdQC
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.engine.StdQC
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.wxservices.StdWXCalculate
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] INFO weewx.wxservices: 
> StdWXCalculate will use data binding wx_binding
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.manager: Daily 
> summary version is 4.0
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.wxservices.StdWXCalculate
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.wxxtypes.StdWXXTypes
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.wxxtypes.StdWXXTypes
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Loading service weewx.wxxtypes.StdPressureCooker
> Dec 20 13:21:33 weather python3[4296]: weewx[4296] DEBUG weewx.engine: 
> Finished loading service weewx.wxxtypes.StdPressureCooker
> Dec 20 13:21:33 weather pytho

Re: [weewx-user] Pipe errors etc

2023-12-18 Thread David Hindley
Thanks for your reply Vince.  Completely understand re network. I am using
Ethernet rather than WiFi for both my Rpi which hosts weewx and my davis
weather station.

Does anyone have any input on my question about stopping weewx please?
Repeated here:

In the meantime, I am having trouble stopping weewx - not sure if this is
related to my ongoing pipe errors or not.  When I type

ps -aux|grep weewx

I get

root   535  5.6  6.1 117524 58128 ?Sl   10:16   2:42 python2
/usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid
/etc/weewx/weewx.conf
pi2130  0.0  0.0   4368   564 pts/0S+   11:04   0:00 grep
--color=auto weewx

And, then typing

sudo /etc/init.d/weewx stop

produces

 Stopping weewx (via systemctl): weewx.service.

but then repeating the grep command, still shows the 535 process still
running?

How do I stop weewx - do I have to use kill 535 perhaps?

Thanks

David.

On Sat, 16 Dec 2023 at 19:39, vince  wrote:

> Sorry - we can't fix your network.  Lots of legacy embedded type 2.4GHz
> wifi things have issues staying on the network and stable.   I'd suggest
> you try to see if your wifi is being interfered with from a neighbor
> perhaps.  Maybe you can switch which channel your wifi is on.
>
> FWIW, we have too many neighbors here with misconfigured wifi to even
> count, depending on who moves in/out and who visits them occasionally.
> What I eventually needed to do was (a) move everything in the house that
> could do it over to 5GHz wifi, and (b) buy a Unifi AcLite AP and basically
> try to out-radiate the neighbors.  Problem went away at that point.
>
>
> --
> 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/q67cvEsXtjQ/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/b4ebe949-5ee5-4221-b91c-ba84e21d64f4n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/b4ebe949-5ee5-4221-b91c-ba84e21d64f4n%40googlegroups.com?utm_medium=email&utm_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/CAHtYHVLtTSA9rq-fKN%2BPaDMJazz41B1OdBVfxHxKJa%3DZ%2BRim4A%40mail.gmail.com.


Re: [weewx-user] Pipe errors etc

2023-12-08 Thread David Hindley
Perfect.  Thanks.

On Fri, 8 Dec 2023 at 12:12, Jacques Terrettaz  wrote:

> Yes, you should !
>
> The Meteo-Pi HAT card is providing an internal serial port t which weewx
> will connect to capture the data.
>
> Le 8 déc. 2023 à 12:45, David Hindley  a écrit :
>
> Many thanks. Can I have weewx running on the same RPi that the Meteo-Pi is
> connected to?
>
> David.
>
> On Fri, 8 Dec 2023 at 11:12, Jacques Terrettaz 
> wrote:
>
>> Since you have a RaspberryPi, you may also consider buying a "Meteo-pi"
>>  instead of a WifiLogger2 - see https://wifilogger.net/meteopi.html
>>
>> The datalogger card is plugged to the console and the HAT card is plugged
>> to the 40-pin header of the RPI and both are linked with a RJ11 cable : no
>> more network problems !
>>
>> I am using a Meteo-Pi since several years and I never had a single
>> problem of communication between the console and weewx
>>
>>
>>
>> Le 8 déc. 2023 à 11:04, hind...@gmail.com  a écrit :
>>
>>  the only thing I can think of doing next is to replace the davis
>> Ethernet datalogger with the WifiLogger2, but that is quite expensive so
>> I'd rather not do that unless I really have to.  I have also seen some
>> users having pipe errors with this wiflogger, so am a bit nervous about
>> buying it.
>>
>>
>>
>> --
>> 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/q67cvEsXtjQ/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/C8184E3C-8E77-4F14-9B2B-DCDDBA6108C8%40gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/C8184E3C-8E77-4F14-9B2B-DCDDBA6108C8%40gmail.com?utm_medium=email&utm_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/q67cvEsXtjQ/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/CAHtYHVKJZtOFy1dQ-GpVoUOaNXqbxT-%2Bb3bw03VtBOAq16%2BSrQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAHtYHVKJZtOFy1dQ-GpVoUOaNXqbxT-%2Bb3bw03VtBOAq16%2BSrQ%40mail.gmail.com?utm_medium=email&utm_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/q67cvEsXtjQ/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/53C447C0-D2EF-44B1-9E9A-09A998A7D070%40gmail.com
> <https://groups.google.com/d/msgid/weewx-user/53C447C0-D2EF-44B1-9E9A-09A998A7D070%40gmail.com?utm_medium=email&utm_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/CAHtYHVLKDPd6AKEiJpu_65pb4PJ%2BajQr2M24ZxkMt0Kj-Hv%2Bmg%40mail.gmail.com.


Re: [weewx-user] Pipe errors etc

2023-12-08 Thread David Hindley
Tom - that is correct.  I don’t seem to be able to browse to the device. I
type its IP address into a browser on my Windows PC on the same network and
nothing happens.  I can access the console via the weatherlink software,
but don’t see anywhere where I can disable weatherlink uploads.

David.
On Fri, 8 Dec 2023 at 13:10, Tom Keffer  wrote:

> Just to clarify, you have a Davis 6555 WeatherlinkIP, right?
>
> Before buying new equipment, I'd focus on Jacque's suggestion to disable
> any transmissions to weatherlink.com from the device. You should be able
> to browse to the device and get an option to turn the transmissions off.
>
>
> On Fri, Dec 8, 2023 at 3:45 AM David Hindley  wrote:
>
>> Many thanks. Can I have weewx running on the same RPi that the Meteo-Pi
>> is connected to?
>>
>> David.
>>
>> On Fri, 8 Dec 2023 at 11:12, Jacques Terrettaz 
>> wrote:
>>
>>> Since you have a RaspberryPi, you may also consider buying a "Meteo-pi"
>>>  instead of a WifiLogger2 - see https://wifilogger.net/meteopi.html
>>>
>>> The datalogger card is plugged to the console and the HAT card is
>>> plugged to the 40-pin header of the RPI and both are linked with a RJ11
>>> cable : no more network problems !
>>>
>>> I am using a Meteo-Pi since several years and I never had a single
>>> problem of communication between the console and weewx
>>>
>>>
>>>
>>> Le 8 déc. 2023 à 11:04, hind...@gmail.com  a écrit
>>> :
>>>
>>>  the only thing I can think of doing next is to replace the davis
>>> Ethernet datalogger with the WifiLogger2, but that is quite expensive so
>>> I'd rather not do that unless I really have to.  I have also seen some
>>> users having pipe errors with this wiflogger, so am a bit nervous about
>>> buying it.
>>>
>>>
>>> --
>>> 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/q67cvEsXtjQ/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/C8184E3C-8E77-4F14-9B2B-DCDDBA6108C8%40gmail.com
>>> <https://groups.google.com/d/msgid/weewx-user/C8184E3C-8E77-4F14-9B2B-DCDDBA6108C8%40gmail.com?utm_medium=email&utm_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/CAHtYHVKJZtOFy1dQ-GpVoUOaNXqbxT-%2Bb3bw03VtBOAq16%2BSrQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/CAHtYHVKJZtOFy1dQ-GpVoUOaNXqbxT-%2Bb3bw03VtBOAq16%2BSrQ%40mail.gmail.com?utm_medium=email&utm_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/q67cvEsXtjQ/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/CAPq0zEBUrpzUNiYs%3D7i_8uNCeV5NYZACvys95MJdjFxH_Hmniw%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEBUrpzUNiYs%3D7i_8uNCeV5NYZACvys95MJdjFxH_Hmniw%40mail.gmail.com?utm_medium=email&utm_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/CAHtYHV%2BXD5Ekp-nqUL95v9u3rJs_qoOrY15L4f78GZ6PbY6Viw%40mail.gmail.com.


Re: [weewx-user] Pipe errors etc

2023-12-08 Thread David Hindley
Many thanks. Can I have weewx running on the same RPi that the Meteo-Pi is
connected to?

David.

On Fri, 8 Dec 2023 at 11:12, Jacques Terrettaz  wrote:

> Since you have a RaspberryPi, you may also consider buying a "Meteo-pi"
>  instead of a WifiLogger2 - see https://wifilogger.net/meteopi.html
>
> The datalogger card is plugged to the console and the HAT card is plugged
> to the 40-pin header of the RPI and both are linked with a RJ11 cable : no
> more network problems !
>
> I am using a Meteo-Pi since several years and I never had a single problem
> of communication between the console and weewx
>
>
>
> Le 8 déc. 2023 à 11:04, hind...@gmail.com  a écrit :
>
>  the only thing I can think of doing next is to replace the davis
> Ethernet datalogger with the WifiLogger2, but that is quite expensive so
> I'd rather not do that unless I really have to.  I have also seen some
> users having pipe errors with this wiflogger, so am a bit nervous about
> buying it.
>
>
> --
> 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/q67cvEsXtjQ/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/C8184E3C-8E77-4F14-9B2B-DCDDBA6108C8%40gmail.com
> <https://groups.google.com/d/msgid/weewx-user/C8184E3C-8E77-4F14-9B2B-DCDDBA6108C8%40gmail.com?utm_medium=email&utm_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/CAHtYHVKJZtOFy1dQ-GpVoUOaNXqbxT-%2Bb3bw03VtBOAq16%2BSrQ%40mail.gmail.com.


Re: [weewx-user] Pipe errors etc

2023-12-07 Thread David Hindley
Thanks. I did that and I just get “This site can’t be reached”. My
datalogger is connected via Ethernet, and I think is no longer made by
davis.

On Thu, 7 Dec 2023 at 14:29, jterr...@gmail.com 
wrote:

> According to your weewx logs, the ip address of the datalogger is
> 192.168.0.25.
>
> So shut down weewx and open this URL  http://192.168.0.25  using your web
> browser
>
> Le jeudi 7 décembre 2023 à 13:25:20 UTC+1, hind...@gmail.com a écrit :
>
>> Many thanks for these suggestions. Regarding 1. how do I connect to the
>> datalogger in order to uncheck the "Upload to weatherlink" option?  If the
>> weatherlink upload is causing the conflict, I am not clear why this would
>> suddenly start being an issue, but certainly worth trying.
>> On 2, no, I don't have a static IP address for the datalogger, or any
>> other device configured with the same IP address.
>>
>> On Wednesday 6 December 2023 at 07:46:08 UTC jterr...@gmail.com wrote:
>>
>>> David,
>>>
>>> I have 2 suggestions about your network problems with your IP datalogger
>>> :
>>>
>>>1. By default, the IP datalogger will periodically send sensor
>>>real-time data and datalogger archive data to weatherlink.com
>>>servers. Weewx needs exclusive access to the IP datalogger. You may try 
>>> to
>>>disable the upload to weatherlink servers by connecting to the datalogger
>>>using a web browser and uncheck the "Upload to weatherlink.com"
>>>option.  Concerning the exclusive access needed by weewx, are you using 
>>> any
>>>other software (Weatherlink software or any other) that connects to the 
>>> IP
>>>datalogger and that may break the weewx-datalogger pipe ?
>>>2. Is the IP logger configured with  a static IP address ? If it is
>>>the case, check that you don't have any other network device configured
>>>statically with the same IP address. Check also that the address range of
>>>the DHCP server of your router does not overlap with the static IP 
>>> address
>>>of the datalogger.
>>>
>>>
>>> Le mardi 5 décembre 2023 à 18:58:12 UTC+1, hind...@gmail.com a écrit :
>>>
>>>> Thanks.  I might end up having to try one of these options.
>>>>
>>>> On Tuesday 5 December 2023 at 15:19:35 UTC gary@gmail.com wrote:
>>>>
>>>>> I went with a WiFiLogger2 which has performed without a hitch for a
>>>>> couple of years now.
>>>>> The maker also has an Ethernet unit if you don't want the added heat
>>>>> from a radio in your console.
>>>>>
>>>>> https://wifilogger.net/
>>>>>
>>>>> https://wifilogger.net/ethernet.html
>>>>>
>>>>> On Tuesday, December 5, 2023 at 6:54:14 AM UTC-5 hind...@gmail.com
>>>>> wrote:
>>>>>
>>>>>> I have recently moved a BT Wholehome Wifi disc a little closer to the
>>>>>> Console  (10cm now; was 100cm)  , so I guess that *might* be
>>>>>> "interfering" in some way  - I will try moving it further away again to 
>>>>>> see
>>>>>> if that solves the problem.  I have already re-seated the WLIP logger a 
>>>>>> few
>>>>>> times. Incidentally, if Davis no longer make the WLIP logger, does anyone
>>>>>> know what the the preferred method now is of getting the data from the
>>>>>> weather station to weewx etc?
>>>>>>
>>>>>> I may also try the different drive that was suggested in
>>>>>> https://groups.google.com/g/weewx-user/c/q67cvEsXtjQ/m/7difZtkUAgAJ.
>>>>>>
>>>>>> Regarding the question in
>>>>>> https://groups.google.com/g/weewx-user/c/q67cvEsXtjQ/m/J9W5KA7rAQAJ,
>>>>>> I haven't changed anything on my network, other than moving a few 
>>>>>> ethernet
>>>>>> cables for other devices around, due to an unstable Sky TV connection.
>>>>>>
>>>>>> Thanks to everyone that has commented on this to help me find a
>>>>>> solution.  Much appreciated.
>>>>>>
>>>>>> David.
>>>>>>
>>>>>> On Tuesday 5 December 2023 at 00:25:06 UTC Tom Keffer wrote:
>>>>>>
>>>>>>> That's certainly possible. I'd say ask Davis, but this logger has
>>&

Re: [weewx-user] Forecast extension for NWS failing

2023-09-24 Thread David Barto
Re-installed the forecast extension.

Problem solved.

David

Do the right thing. It will gratify some people and astonish the rest.
--Mark Twain.
David Barto
ba...@kdbarto.org





-- 
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/E3F31D5C-C629-4863-9410-A9A9C53B8E11%40kdbarto.org.


Re: [weewx-user] Forecast extension for NWS failing

2023-09-23 Thread David Barto
Weewx.conf:

[[NWS]]
lid = "CAZ043"
foid = "SGX"
lid_desc = "Miramar-San Diego CA"


> On Sep 23, 2023, at 5:44 PM, 'John Kline' via weewx-user 
>  wrote:
> 
> Send exactly what’s in the NWS section and I’ll try it.
> 
>> On Sep 23, 2023, at 5:12 PM, David Barto  wrote:
>> 
>> 4.10.2, fully up to date as far as I’m aware.
>> 
>> This was working, and when I transferred to the new MacMini, I brought over 
>> all the config settings, added in the forecast information and only the NWS 
>> is failing. 
>> Wunderground works
>> Aeris works
>> 
>> Could it be something in the code itself? "not enough arguments for format 
>> string” makes me think that there is a python code error. (*)
>> 
>>  David
>> 
>> * Not a python expert.
>> 
>> 
>>> On Sep 22, 2023, at 1:59 PM, 'John Kline' via weewx-user 
>>>  wrote:
>>> 
>>> What version of WeeWX?
>>> 
>>>> On Sep 22, 2023, at 1:52 PM, David Barto  wrote:
>>>> 
>>>> All the bindings appear correct as noted.
>>>> 
>>>> Stopped, removed, and started weewx as suggested.
>>>> 
>>>> Error persists. (Dang)
>>>> 
>>>>David
>>>> 
>>>>> On Sep 22, 2023, at 11:49 AM, 'John Kline' via weewx-user 
>>>>>  wrote:
>>>>> 
>>>>> It looks like you are trying to store a forecast in the weewx database.  
>>>>> What do you have for a binding in the [Forecast] section of weewx.conf?  
>>>>> It should look like this:
>>>>> 
>>>>> data_binding = forecast_binding
>>>>> 
>>>>> Also, under [DataBindings] in weewx.conf, you should have:
>>>>> 
>>>>>[[forecast_binding]]
>>>>>manager = weewx.manager.Manager
>>>>>schema = user.forecast.schema
>>>>>table_name = archive
>>>>>database = forecast_sqlite
>>>>> 
>>>>> If all looks correct, stop weewx, delete the forecast.sdb file in the 
>>>>> /archive directory and start weewx.  Do you still have the 
>>>>> issue?
>>>>> 
>>>>> John
>>>>> 
>>>>>> On Sep 22, 2023, at 10:52 AM, David Barto  wrote:
>>>>>> 
>>>>>> I upgraded my MacMini to a newer version and installed from scratch.
>>>>>> 
>>>>>> Getting this error for the NWS forecast:
>>>>>> 2023-09-22 02:45:16  weewx[820] ERROR user.forecast: NWSThread: NWS: 
>>>>>> forecast failure: not enough arguments for format string
>>>>>> 
>>>>>> The forecast skin I used was the one Tom recommended: 
>>>>>> https://github.com/chaunceygardiner/weewx-forecast
>>>>>> 
>>>>>> Suggestions?
>>>>>> 
>>>>>>   David
>>>>>> 
>>>>>> 
>>>>>> 2023-09-22 02:45:16  weewx[820] DEBUG weewx.manager: Daily summary 
>>>>>> version is 4.0
>>>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>>>> ignore label 'CAZ043-221200'
>>>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>>>> ignore label 'MIRAMAR-SAN DI'
>>>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>>>> ignore label '32.87N 117.14W'
>>>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>>>> ignore label ''
>>>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>>>> ignore label 'DATE'
>>>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>>>> ignore label ''
>>>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>>>> ignore label ''
>>>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>>>> ignore label ''
>>>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>>>> ignore label 'DATE'
>>>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSTh

Re: [weewx-user] Forecast extension for NWS failing

2023-09-23 Thread David Barto
4.10.2, fully up to date as far as I’m aware.

This was working, and when I transferred to the new MacMini, I brought over all 
the config settings, added in the forecast information and only the NWS is 
failing. 
Wunderground works
Aeris works

Could it be something in the code itself? "not enough arguments for format 
string” makes me think that there is a python code error. (*)

    David

* Not a python expert.


> On Sep 22, 2023, at 1:59 PM, 'John Kline' via weewx-user 
>  wrote:
> 
> What version of WeeWX?
> 
>> On Sep 22, 2023, at 1:52 PM, David Barto  wrote:
>> 
>> All the bindings appear correct as noted.
>> 
>> Stopped, removed, and started weewx as suggested.
>> 
>> Error persists. (Dang)
>> 
>>  David
>> 
>>> On Sep 22, 2023, at 11:49 AM, 'John Kline' via weewx-user 
>>>  wrote:
>>> 
>>> It looks like you are trying to store a forecast in the weewx database.  
>>> What do you have for a binding in the [Forecast] section of weewx.conf?  It 
>>> should look like this:
>>> 
>>> data_binding = forecast_binding
>>> 
>>> Also, under [DataBindings] in weewx.conf, you should have:
>>> 
>>>[[forecast_binding]]
>>>manager = weewx.manager.Manager
>>>schema = user.forecast.schema
>>>table_name = archive
>>>    database = forecast_sqlite
>>> 
>>> If all looks correct, stop weewx, delete the forecast.sdb file in the 
>>> /archive directory and start weewx.  Do you still have the 
>>> issue?
>>> 
>>> John
>>> 
>>>> On Sep 22, 2023, at 10:52 AM, David Barto  wrote:
>>>> 
>>>> I upgraded my MacMini to a newer version and installed from scratch.
>>>> 
>>>> Getting this error for the NWS forecast:
>>>> 2023-09-22 02:45:16  weewx[820] ERROR user.forecast: NWSThread: NWS: 
>>>> forecast failure: not enough arguments for format string
>>>> 
>>>> The forecast skin I used was the one Tom recommended: 
>>>> https://github.com/chaunceygardiner/weewx-forecast
>>>> 
>>>> Suggestions?
>>>> 
>>>>   David
>>>> 
>>>> 
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG weewx.manager: Daily summary version 
>>>> is 4.0
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> ignore label 'CAZ043-221200'
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> ignore label 'MIRAMAR-SAN DI'
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> ignore label '32.87N 117.14W'
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> ignore label ''
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> ignore label 'DATE'
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> ignore label ''
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> ignore label ''
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> ignore label ''
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> ignore label 'DATE'
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> ignore label ''
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> ignore label ''
>>>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>>>> forecast matrix: {'lid': 'CAZ043', 'desc': 'Miramar-San Diego CA', 
>>>> 'location': '32.87N 117.14W Elev. 482 ft', 'issued_ts': 1695328920, 'ts': 
>>>> [169533, 1695340800, 1695351600, 1695362400, 1695373200, 1695384000, 
>>>> 1695394800, 1695405600, 1695416400, 1695427200, 1695438000, 1695448800, 
>>>> 1695459600, 1695470400, 1695481200, 1695492000, 1695502800, 1695513600, 
>>>> 1695524400, 1695535200, 1695546000, 1695556800, 1695578400, 169560, 
>>>> 1695621600, 1695643200, 1695664800, 1695686400, 1695708000, 1695729600, 
>>>> 1695751200, 1695772800, 1695794400, 1695816000, 1695837600, 1695859200, 
>>>> 1695880800, 1695902400, 16

Re: [weewx-user] Forecast extension for NWS failing

2023-09-22 Thread David Barto
All the bindings appear correct as noted.

Stopped, removed, and started weewx as suggested.

Error persists. (Dang)

David

> On Sep 22, 2023, at 11:49 AM, 'John Kline' via weewx-user 
>  wrote:
> 
> It looks like you are trying to store a forecast in the weewx database.  What 
> do you have for a binding in the [Forecast] section of weewx.conf?  It should 
> look like this:
> 
> data_binding = forecast_binding
> 
> Also, under [DataBindings] in weewx.conf, you should have:
> 
>[[forecast_binding]]
>manager = weewx.manager.Manager
>schema = user.forecast.schema
>table_name = archive
>database = forecast_sqlite
> 
> If all looks correct, stop weewx, delete the forecast.sdb file in the 
> /archive directory and start weewx.  Do you still have the issue?
> 
> John
> 
>> On Sep 22, 2023, at 10:52 AM, David Barto  wrote:
>> 
>> I upgraded my MacMini to a newer version and installed from scratch.
>> 
>> Getting this error for the NWS forecast:
>> 2023-09-22 02:45:16  weewx[820] ERROR user.forecast: NWSThread: NWS: 
>> forecast failure: not enough arguments for format string
>> 
>> The forecast skin I used was the one Tom recommended: 
>> https://github.com/chaunceygardiner/weewx-forecast
>> 
>> Suggestions?
>> 
>>   David
>> 
>> 
>> 2023-09-22 02:45:16  weewx[820] DEBUG weewx.manager: Daily summary version 
>> is 4.0
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
>> label 'CAZ043-221200'
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
>> label 'MIRAMAR-SAN DI'
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
>> label '32.87N 117.14W'
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
>> label ''
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
>> label 'DATE'
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
>> label ''
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
>> label ''
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
>> label ''
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
>> label 'DATE'
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
>> label ''
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
>> label ''
>> 2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: 
>> forecast matrix: {'lid': 'CAZ043', 'desc': 'Miramar-San Diego CA', 
>> 'location': '32.87N 117.14W Elev. 482 ft', 'issued_ts': 1695328920, 'ts': 
>> [169533, 1695340800, 1695351600, 1695362400, 1695373200, 1695384000, 
>> 1695394800, 1695405600, 1695416400, 1695427200, 1695438000, 1695448800, 
>> 1695459600, 1695470400, 1695481200, 1695492000, 1695502800, 1695513600, 
>> 1695524400, 1695535200, 1695546000, 1695556800, 1695578400, 169560, 
>> 1695621600, 1695643200, 1695664800, 1695686400, 1695708000, 1695729600, 
>> 1695751200, 1695772800, 1695794400, 1695816000, 1695837600, 1695859200, 
>> 1695880800, 1695902400, 1695924000, 1695945600], 'hour': ['14', '17', '20', 
>> '23', '02', '05', '08', '11', '14', '17', '20', '23', '02', '05', '08', 
>> '11', '14', '17', '20', '23', '02', '05', '11', '17', '23', '05', '11', 
>> '17', '23', '05', '11', '17', '23', '05', '11', '17', '23', '05', '11', 
>> '17'], 'duration': [10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 
>> 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 
>> 10800, 10800, 10800, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 
>> 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 10800], 
>> 'temp': ['70', '69', '64', '63', '62', '61', '62', '69', '71', '70', '65', 
>> '6

[weewx-user] Forecast extension for NWS failing

2023-09-22 Thread David Barto
I upgraded my MacMini to a newer version and installed from scratch.

Getting this error for the NWS forecast:
2023-09-22 02:45:16  weewx[820] ERROR user.forecast: NWSThread: NWS: forecast 
failure: not enough arguments for format string

The forecast skin I used was the one Tom recommended: 
https://github.com/chaunceygardiner/weewx-forecast

Suggestions?

David


2023-09-22 02:45:16  weewx[820] DEBUG weewx.manager: Daily summary version is 
4.0
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
label 'CAZ043-221200'
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
label 'MIRAMAR-SAN DI'
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
label '32.87N 117.14W'
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
label ''
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
label 'DATE'
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
label ''
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
label ''
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
label ''
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
label 'DATE'
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
label ''
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: ignore 
label ''
2023-09-22 02:45:16  weewx[820] DEBUG user.forecast: NWSThread: NWS: forecast 
matrix: {'lid': 'CAZ043', 'desc': 'Miramar-San Diego CA', 'location': '32.87N 
117.14W Elev. 482 ft', 'issued_ts': 1695328920, 'ts': [169533, 1695340800, 
1695351600, 1695362400, 1695373200, 1695384000, 1695394800, 1695405600, 
1695416400, 1695427200, 1695438000, 1695448800, 1695459600, 1695470400, 
1695481200, 1695492000, 1695502800, 1695513600, 1695524400, 1695535200, 
1695546000, 1695556800, 1695578400, 169560, 1695621600, 1695643200, 
1695664800, 1695686400, 1695708000, 1695729600, 1695751200, 1695772800, 
1695794400, 1695816000, 1695837600, 1695859200, 1695880800, 1695902400, 
1695924000, 1695945600], 'hour': ['14', '17', '20', '23', '02', '05', '08', 
'11', '14', '17', '20', '23', '02', '05', '08', '11', '14', '17', '20', '23', 
'02', '05', '11', '17', '23', '05', '11', '17', '23', '05', '11', '17', '23', 
'05', '11', '17', '23', '05', '11', '17'], 'duration': [10800, 10800, 10800, 
10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 
10800, 10800, 10800, 10800, 10800, 10800, 10800, 10800, 21600, 21600, 21600, 
21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 21600, 
21600, 21600, 21600, 10800], 'temp': ['70', '69', '64', '63', '62', '61', '62', 
'69', '71', '70', '65', '63', '63', '62', '63', '72', '74', '71', '63', '61', 
'60', '59', '71', '72', '60', '58', '72', '73', '61', '59', '71', '72', '62', 
'60', '73', '74', '63', '61', '72', '72'], 'dewpoint': ['60', '60', '60', '59', 
'59', '58', '59', '59', '59', '59', '59', '60', '60', '60', '61', '61', '61', 
'61', '60', '59', '59', '58', '61', '61', '59', '58', '60', '60', '59', '59', 
'60', '61', '59', '58', '61', '62', '61', '60', '62', '62'], 'humidity': ['71', 
'73', '87', '87', '90', '90', '90', '70', '66', '68', '81', '90', '90', '93', 
'93', '68', '64', '71', '90', '93', 

Re: [weewx-user] Looking for a DIY Screen/Display Solution

2023-09-18 Thread Jeremy David
That's pretty much exactly what I was looking for Mark! Would you happen to 
have insight or a project build you may have followed?

On Monday, September 18, 2023 at 3:08:00 PM UTC-5 Mark Fraser wrote:

> I used an LCD screen and made this 
> https://www.printables.com/model/499066-hanging-case-for-waveshare-8-display
>
> On Mon, 18 Sept 2023, 18:30 Jeremy David,  wrote:
>
>> I moved into a new home a few months ago and have been wanting to build 
>> my own weather station with a RPi and route it wirelessly to display on 
>> another RPi with an LCD or epaper screen of sorts in my kitchen. I believe 
>> I have gotten away from the idea of building my own weather station because 
>> I was wanting to power it with PoE, but it looks like the HAT that gives 
>> that functionality might not work the best in hotter operating temps on my 
>> roof.
>>
>> So I think I have settled on getting either a Tempest or an Ecowitt and 
>> just route the data to Weewx on a RPi or Arduino with a screen attached. 
>> However, and maybe I am just blind, but I can't seem to find a project 
>> build on making a display screen that could project the data, would someone 
>> happen to have any links to one? I swear I found one weeks ago when I was 
>> looking for something else and can't find it again. I have seen ones that 
>> just run Raspbian and have a browser up with Weewx or running an Android 
>> app on an old tablet, but was hoping for something more plug in and start 
>> up for some of the less tech savvy people in my house.
>>
>> I'm thinking this should be possible, but maybe I'm overestimating?
>>
>> Thank you in advance!
>>
>> -- 
>>
> 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/2912c2f5-76ae-41d7-a531-3f6c39cd4011n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/2912c2f5-76ae-41d7-a531-3f6c39cd4011n%40googlegroups.com?utm_medium=email&utm_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/5fef6862-1e87-4400-820a-0e00f7950a8en%40googlegroups.com.


Re: [weewx-user] Looking for a DIY Screen/Display Solution

2023-09-18 Thread Jeremy David
That's the article that I had seen that I was referring to that I couldn't 
find again, I know that one doesn't use Weewx, but assume it could be done.

On Monday, September 18, 2023 at 2:54:53 PM UTC-5 Dave Webb KB1PVH wrote:

 I'm thinking about doing this project. 

https://www.hackster.io/lmarzen/esp32-e-paper-weather-display-a2f444

Dave - KB1PVH




Sent from my Galaxy S21

On Mon, Sep 18, 2023, 1:30 PM Jeremy David <> wrote:

I moved into a new home a few months ago and have been wanting to build my 
own weather station with a RPi and route it wirelessly to display on 
another RPi with an LCD or epaper screen of sorts in my kitchen. I believe 
I have gotten away from the idea of building my own weather station because 
I was wanting to power it with PoE, but it looks like the HAT that gives 
that functionality might not work the best in hotter operating temps on my 
roof.

So I think I have settled on getting either a Tempest or an Ecowitt and 
just route the data to Weewx on a RPi or Arduino with a screen attached. 
However, and maybe I am just blind, but I can't seem to find a project 
build on making a display screen that could project the data, would someone 
happen to have any links to one? I swear I found one weeks ago when I was 
looking for something else and can't find it again. I have seen ones that 
just run Raspbian and have a browser up with Weewx or running an Android 
app on an old tablet, but was hoping for something more plug in and start 
up for some of the less tech savvy people in my house.

I'm thinking this should be possible, but maybe I'm overestimating?

Thank you in advance!

-- 
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/2912c2f5-76ae-41d7-a531-3f6c39cd4011n%40googlegroups.com
 
<https://groups.google.com/d/msgid/weewx-user/2912c2f5-76ae-41d7-a531-3f6c39cd4011n%40googlegroups.com?utm_medium=email&utm_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/0dc7a413-48ba-4bb3-80ff-2025bdd8879bn%40googlegroups.com.


[weewx-user] Re: Looking for a DIY Screen/Display Solution

2023-09-18 Thread Jeremy David
Correct, display/project, they are synonymous in my mind. I have an old 
Fire that I could use, and might use in testing phase, I just had my mind 
on more of a project build, but definitely keeping that open. I didn't know 
about FullyKioskBrowser, so that's a big help for if I go that route!

On Monday, September 18, 2023 at 2:28:23 PM UTC-5 vince wrote:

I assume you meant "display" the data, not "project" the data there.

I doubt you can get there cheaper than a Kindle Fire 8" or bigger for $40 
or so if you catch a sale, and run FullyKioskBrowser on it to keep the 
display on for any skin/dashboard you want.   If you go a little bigger in 
the display, the Belchertown skin looks 'really' good for weewx on 
something in the 10" size range.

You can run weewx and the Belchertown skin for a really nice looking 
dashboard the Kindle Fire can display for you.  Works great.

-- 
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/3fcde30d-2d6f-4511-b6d9-d36a646aa580n%40googlegroups.com.


[weewx-user] Re: Looking for a DIY Screen/Display Solution

2023-09-18 Thread Jeremy David
Correct, display/project, they are synonymous in my mind. I have an old 
Fire that I could use, and might use in testing phase, I just had my mind 
on more of a project build, but definitely keeping that open. I didn't know 
about FullyKioskBrowser, so that's a big help for if I go that route!

On Monday, September 18, 2023 at 2:28:23 PM UTC-5 vince wrote:

> I assume you meant "display" the data, not "project" the data there.
>
> I doubt you can get there cheaper than a Kindle Fire 8" or bigger for $40 
> or so if you catch a sale, and run FullyKioskBrowser on it to keep the 
> display on for any skin/dashboard you want.   If you go a little bigger in 
> the display, the Belchertown skin looks 'really' good for weewx on 
> something in the 10" size range.
>
> You can run weewx and the Belchertown skin for a really nice looking 
> dashboard the Kindle Fire can display for you.  Works great.
>
>

-- 
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/ba5fe94c-86cf-49c3-b6a8-e8539135f33fn%40googlegroups.com.


[weewx-user] Looking for a DIY Screen/Display Solution

2023-09-18 Thread Jeremy David
I moved into a new home a few months ago and have been wanting to build my 
own weather station with a RPi and route it wirelessly to display on 
another RPi with an LCD or epaper screen of sorts in my kitchen. I believe 
I have gotten away from the idea of building my own weather station because 
I was wanting to power it with PoE, but it looks like the HAT that gives 
that functionality might not work the best in hotter operating temps on my 
roof.

So I think I have settled on getting either a Tempest or an Ecowitt and 
just route the data to Weewx on a RPi or Arduino with a screen attached. 
However, and maybe I am just blind, but I can't seem to find a project 
build on making a display screen that could project the data, would someone 
happen to have any links to one? I swear I found one weeks ago when I was 
looking for something else and can't find it again. I have seen ones that 
just run Raspbian and have a browser up with Weewx or running an Android 
app on an old tablet, but was hoping for something more plug in and start 
up for some of the less tech savvy people in my house.

I'm thinking this should be possible, but maybe I'm overestimating?

Thank you in advance!

-- 
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/2912c2f5-76ae-41d7-a531-3f6c39cd4011n%40googlegroups.com.


Re: [weewx-user] Trying to configure the logging to be non-privileged

2023-08-28 Thread David Barto

> On Aug 27, 2023, at 3:51 PM, Tom Keffer  wrote:
> 
> Which version of WeeWX? It's possible your version of WeeWX does not have a 
> rotating logger defined for the Mac.
> 
> Try following the instructions in the wiki article Logging to rotating files 
> <https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging#logging-to-rotating-files>.
>  
> 
> 

Version 4.10.2, and the link you provided works perfectly. Now running and 
logging to non-root directory.

Yet even with the upgrade to 4.10.2 and to macOS Monterey (12.6.7) I’ve still 
got the stupid certificate error for posting to PWSweather and getting 
Forecasts from the NWS and WU:

2023-08-28 10:13:16  weewx[31551] DEBUG weewx.restx: PWSWeather: Failed upload 
attempt 1: 
2023-08-28 10:13:16  weewx[31551] ERROR user.forecast: WUThread: WU: failed 
attempt 1 to download forecast: 
2023-08-28 10:13:16  weewx[31551] DEBUG weewx.restx: StationRegistry: Failed 
upload attempt 1: HTTP Error 429: TOO MANY REQUESTS
2023-08-28 10:13:16  weewx[31551] ERROR user.forecast: NWSThread: NWS: failed 
attempt 1 to download NWS forecast: 
2023-08-28 10:13:16  weewx[31551] ERROR user.forecast: WUThread: WU: failed 
attempt 2 to download forecast: 
2

It doesn’t tell me the certificate that is out of date however.

So two things:

1 - the document http://weewx.com/docs.html/latest/macos.htm needs to be 
updated to redirect the logging information to the wiki article 
https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging#logging-to-rotating-files

2 - How would I figure out which certificate is out of date and needs update 
for the forecast and PWS updates?

David

Do the right thing. It will gratify some people and astonish the rest.
--Mark Twain.
David Barto
ba...@kdbarto.org





-- 
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/19587CAD-2FBE-4310-898F-B81D2452F456%40kdbarto.org.


[weewx-user] Trying to reach Rory Gillies

2023-08-27 Thread David Barto
As he mentioned that he had successfully setup the Forecast extension.

If Rory would get in contact *see sig* I’d appreciate it.

David

Every time I think I've hit the bottom of the stupidity well, someone throws me 
a shovel
David Barto
ba...@kdbarto.org


-- 
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/C88283E2-AE71-4587-A6EF-51234EE169FF%40kdbarto.org.


[weewx-user] Trying to configure the logging to be non-privileged

2023-08-27 Thread David Barto
Following the instructions found in http://weewx.com/docs.html/latest/macos.htm 
under Logging, I added (copy/pasted) the alternative to log to 
/var/tmp/weewx.log and get this error when starting up.

Is it not possible to log to an alternative location?

David

Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/config.py",
 line 565, in configure
handler = self.configure_handler(handlers[name])
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/config.py",
 line 723, in configure_handler
klass = self.resolve(cname)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/config.py",
 line 383, in resolve
name = s.split('.')
AttributeError: 'NoneType' object has no attribute 'split'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/Shared/weewx/bin/weewxd", line 249, in 
main()
  File "/Users/Shared/weewx/bin/weewxd", line 98, in main
weeutil.logger.setup(options.log_label, config_dict)
  File "/Users/Shared/weewx-4.10.2/bin/weeutil/logger.py", line 139, in setup
logging.config.dictConfig(log_dict)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/config.py",
 line 811, in dictConfig
dictConfigClass(config).configure()
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/config.py",
 line 572, in configure
raise ValueError('Unable to configure handler '
ValueError: Unable to configure handler 'rotate'


Never ascribe to malice that which is adequately explained by incompetence
--Napoleon Bonaparte
David Barto
ba...@kdbarto.org


-- 
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/E5347A3B-8C00-488A-A3A6-314148758F7C%40kdbarto.org.


Re: [weewx-user] Re: WDC Skin

2023-08-27 Thread David Bätge
Hi Mau,

yes, the wiki realy includes a lot of information. I guess you are missing 
the base_path setting, 
see 
https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath
 
and https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras



Mau Hernandez schrieb am Mittwoch, 23. August 2023 um 01:00:26 UTC+2:

> I just found your Wiki! <https://github.com/Daveiano/weewx-wdc/wiki> Will 
> give that a shot! 
>
> On Tuesday, August 22, 2023 at 3:45:36 PM UTC-7 Mau Hernandez wrote:
>
>> Hi David,
>>
>> New user of WeeWx and found this thread with your Skin which Im trying to 
>> install. I saw above that data might be needed so hopefully that explains 
>> why Im getting a blank page but the Menu's are showing.
>>
>> I used the DEB package to do fresh install in a Debian machine. 
>> Everything was setup and accesible at http://IP/weewx/. When I select 
>> any submenu on the skin I see it goes back to root http://IP/about.html so 
>> I probably missed a sym-link during setup? (http://IP/weewx/about.html 
>> should 
>> be the correct? ) 
>>
>> Thanks for your help
>>
>> [image: Screenshot 2023-08-22 at 3.37.53 PM.png]
>> On Friday, August 18, 2023 at 7:17:21 AM UTC-7 David Bätge wrote:
>>
>>> Great, I will include the change in the next release! 
>>>
>>> gert.a...@gmail.com schrieb am Freitag, 18. August 2023 um 13:44:22 
>>> UTC+2:
>>>
>>>> Hi David
>>>>
>>>> I was to fast, it seems to work with the new main.ja.
>>>>
>>>> Thanks for that
>>>>
>>>> Gert
>>>>
>>>> On Friday, August 18, 2023 at 12:44:22 PM UTC+2 gert.a...@gmail.com 
>>>> wrote:
>>>>
>>>>> Hi David
>>>>> Unfortunately, the new main.js, did not solve the problem as you can 
>>>>> see. The WindRose seems fine
>>>>>
>>>>> Rgds
>>>>> Gert
>>>>>
>>>>> On Friday, August 18, 2023 at 12:02:36 PM UTC+2 David Bätge wrote:
>>>>>
>>>>>> You can right-click the link and choose "Save as" or open the file in 
>>>>>> the browser and hit "Strg+S" if on Windows or Linux.
>>>>>>
>>>>>> The problem with this menu is that you can not scroll the sidebar. 
>>>>>> The sidebar should be scrollable so you can access all the items, but 
>>>>>> that's not the case. I added 
>>>>>> https://github.com/Daveiano/weewx-wdc/issues/193 for this, will have 
>>>>>> a look soon!
>>>>>>
>>>>>> gert.a...@gmail.com schrieb am Freitag, 18. August 2023 um 07:10:37 
>>>>>> UTC+2:
>>>>>>
>>>>>>>
>>>>>>> Hi David
>>>>>>> Thanks for the prompt answer.
>>>>>>>
>>>>>>> The link you provided will just open the file in the browser. so I'm 
>>>>>>> not able to download the file.
>>>>>>>
>>>>>>> Is it possible to move the the Archive and NOAA Reports Menu to the 
>>>>>>> upper Menu line, besides the Year Menu. As you can see from the 
>>>>>>> screenshot, 
>>>>>>> I can't see the last months of the NOAA report and i's not possible to 
>>>>>>> scroll in the left menu.
>>>>>>>
>>>>>>> Thanks
>>>>>>> Gert
>>>>>>> On Friday, August 18, 2023 at 2:26:37 AM UTC+2 David Bätge wrote:
>>>>>>>
>>>>>>>> I just noticed you are using custom ordinate labels - I just tested 
>>>>>>>> this out and noticed that special characters are not handled properly 
>>>>>>>> in 
>>>>>>>> the legend labels.
>>>>>>>>
>>>>>>>> I made a change to the main.js file, you can download the updated 
>>>>>>>> file here: 
>>>>>>>> https://public-images-social.s3.eu-west-1.amazonaws.com/main.js
>>>>>>>> I tried to attach the file here but the messages were deleted...
>>>>>>>>
>>>>>>>> You need to replace the original file at the skins install location 
>>>>>>>> (see 
>>>>>>>> https://weewx.com/docs/latest/usersguide.htm#Where_to_find_things), 
>>>>>

Re: [weewx-user] Just upgraded to 4.10.2 and Python3

2023-08-25 Thread David Barto
Backed off to 9.5.0 and the errors went away, however the png files are still 
not being generated.

The only errors in the log are:

Aug 25 16:20:12 Magrathea2 weewx[2226] ERROR weewx.rest]: PWSWeather: Failed to 
publish record 2023-08-25 16:18:00 PDT (1693005480): Failed upload after 3 tries
Aug 25 16:20:12 Magrathea2 weewx[2226] ERROR weewx.rest]: StationRegistry: 
Failed to publish record 2023-08-25 16:18:00 PDT (1693005480): Failed upload 
after 3 tries
Aug 25 16:20:12 Magrathea2 weewx[2226] ERROR weewx.rest]: Wunderground-PWS: 
Failed to publish record 2023-08-25 16:18:00 PDT (1693005480): Failed upload 
after 3 tries


Which are un-important right now. I’ll fix that in a bit.

Other suggestions?

David

> On Aug 25, 2023, at 3:53 PM, vince  wrote:
> 
> If you google for your error message "AttributeError: type object 'ImageDraw' 
> has no attribute 'textsize' " you'll find an old thread about this
> https://groups.google.com/g/weewx-user/c/4qz0bwgna7g
> 
> 
> 
> On Friday, August 25, 2023 at 2:42:21 PM UTC-7 David Barto wrote:
>> On a new Mac, and I’m getting the following: 
>> 
>> AttributeError: type object 'ImageDraw' has no attribute 'textsize' 
>> Traceback (most recent call last): 
>> File "/Users/Shared/weewx-4.10.2/bin/weewx/reportengine.py", line 197, in 
>> run 
>> obj.start() 
>> File "/Users/Shared/weewx-4.10.2/bin/weewx/reportengine.py", line 385, in 
>> start 
>> self.run() 
>> File "/Users/Shared/weewx-4.10.2/bin/weewx/imagegenerator.py", line 42, in 
>> run 
>> self.gen_images(self.gen_ts) 
>> File "/Users/Shared/weewx-4.10.2/bin/weewx/imagegenerator.py", line 114, in 
>> gen_images 
>> image = plot.render() 
>> File "/Users/Shared/weewx-4.10.2/bin/weeplot/genplot.py", line 212, in 
>> render 
>> self._renderBottom(draw) 
>> File "/Users/Shared/weewx-4.10.2/bin/weeplot/genplot.py", line 404, in 
>> _renderBottom 
>> bottom_label_size = draw.textsize(self.bottom_label, font=bottom_label_font) 
>> File "/Users/Shared/weewx-4.10.2/bin/weeplot/genplot.py", line 646, in 
>> textsize 
>> return ImageDraw.ImageDraw.textsize(self, string, **options) 
>> 
>> Highs, lows look fine. 
>> 
>> Loop packets appear OK: 
>> LOOP: 2023-08-25 14:40:56 PDT (1692999656) 'altimeter': '29.931', 'appTemp': 
>> '88.20251678811093', 'bar_reduction': '2', 'barometer': '29.897', 
>> 'cloudbase': '4570.074962495151', 'dateTime': '1692999656', 'dayET': '0.0', 
>> 'dayRain': '0.0', 'dewpoint': '67.0', 'ET': 'None', 'heatindex': '87.0', 
>> 'hourRain': '0.0', 'humidex': '96.5974355268055', 'inDewpoint': 
>> '63.14965844190338', 'inHumidity': '56.0', 'inTemp': '80.3', 'maxSolarRad': 
>> '856.5713445507906', 'outHumidity': '58.0', 'outTemp': '83.6', 'pressure': 
>> '29.023', 'pressure_raw': '29.023', 'rain': '0.0', 'rain15': '0.0', 
>> 'rain24': '0.0', 'rainRate': '0.0', 'stormRain': '0.0', 'trendIcon': '-20', 
>> 'usUnits': '1', 'windchill': '84.0', 'windDir': '296.0', 'windGust': '8.0', 
>> 'windGust10': '11.0', 'windGustDir': '277.0', 'windGustDir10': '270.0', 
>> 'windrun': 'None', 'windSpeed': '3.0', 'windSpeed2': '4.0', 'windSpeed10': 
>> '5.6' 
>> LOOP: 2023-08-25 14:40:58 PDT (1692999658) 'altimeter': '29.931', 'appTemp': 
>> '88.20251678811093', 'bar_reduction': '2', 'barometer': '29.897', 
>> 'cloudbase': '4570.074962495151', 'dateTime': '1692999658', 'dayET': '0.0', 
>> 'dayRain': '0.0', 'dewpoint': '67.0', 'ET': 'None', 'heatindex': '87.0', 
>> 'hourRain': '0.0', 'humidex': '96.5974355268055', 'inDewpoint': 
>> '63.14965844190338', 'in

Re: [weewx-user] Just upgraded to 4.10.2 and Python3

2023-08-25 Thread David Barto
Thanks, My searching the archives didn’t find it.

David

> On Aug 25, 2023, at 3:53 PM, vince  wrote:
> 
> If you google for your error message "AttributeError: type object 'ImageDraw' 
> has no attribute 'textsize' " you'll find an old thread about this
> https://groups.google.com/g/weewx-user/c/4qz0bwgna7g
> 
> 
> 
> On Friday, August 25, 2023 at 2:42:21 PM UTC-7 David Barto wrote:
>> On a new Mac, and I’m getting the following: 
>> 
>> AttributeError: type object 'ImageDraw' has no attribute 'textsize' 
>> Traceback (most recent call last): 
>> File "/Users/Shared/weewx-4.10.2/bin/weewx/reportengine.py", line 197, in 
>> run 
>> obj.start() 
>> File "/Users/Shared/weewx-4.10.2/bin/weewx/reportengine.py", line 385, in 
>> start 
>> self.run() 
>> File "/Users/Shared/weewx-4.10.2/bin/weewx/imagegenerator.py", line 42, in 
>> run 
>> self.gen_images(self.gen_ts) 
>> File "/Users/Shared/weewx-4.10.2/bin/weewx/imagegenerator.py", line 114, in 
>> gen_images 
>> image = plot.render() 
>> File "/Users/Shared/weewx-4.10.2/bin/weeplot/genplot.py", line 212, in 
>> render 
>> self._renderBottom(draw) 
>> File "/Users/Shared/weewx-4.10.2/bin/weeplot/genplot.py", line 404, in 
>> _renderBottom 
>> bottom_label_size = draw.textsize(self.bottom_label, font=bottom_label_font) 
>> File "/Users/Shared/weewx-4.10.2/bin/weeplot/genplot.py", line 646, in 
>> textsize 
>> return ImageDraw.ImageDraw.textsize(self, string, **options) 
>> 
>> Highs, lows look fine. 
>> 
>> Loop packets appear OK: 
>> LOOP: 2023-08-25 14:40:56 PDT (1692999656) 'altimeter': '29.931', 'appTemp': 
>> '88.20251678811093', 'bar_reduction': '2', 'barometer': '29.897', 
>> 'cloudbase': '4570.074962495151', 'dateTime': '1692999656', 'dayET': '0.0', 
>> 'dayRain': '0.0', 'dewpoint': '67.0', 'ET': 'None', 'heatindex': '87.0', 
>> 'hourRain': '0.0', 'humidex': '96.5974355268055', 'inDewpoint': 
>> '63.14965844190338', 'inHumidity': '56.0', 'inTemp': '80.3', 'maxSolarRad': 
>> '856.5713445507906', 'outHumidity': '58.0', 'outTemp': '83.6', 'pressure': 
>> '29.023', 'pressure_raw': '29.023', 'rain': '0.0', 'rain15': '0.0', 
>> 'rain24': '0.0', 'rainRate': '0.0', 'stormRain': '0.0', 'trendIcon': '-20', 
>> 'usUnits': '1', 'windchill': '84.0', 'windDir': '296.0', 'windGust': '8.0', 
>> 'windGust10': '11.0', 'windGustDir': '277.0', 'windGustDir10': '270.0', 
>> 'windrun': 'None', 'windSpeed': '3.0', 'windSpeed2': '4.0', 'windSpeed10': 
>> '5.6' 
>> LOOP: 2023-08-25 14:40:58 PDT (1692999658) 'altimeter': '29.931', 'appTemp': 
>> '88.20251678811093', 'bar_reduction': '2', 'barometer': '29.897', 
>> 'cloudbase': '4570.074962495151', 'dateTime': '1692999658', 'dayET': '0.0', 
>> 'dayRain': '0.0', 'dewpoint': '67.0', 'ET': 'None', 'heatindex': '87.0', 
>> 'hourRain': '0.0', 'humidex': '96.5974355268055', 'inDewpoint': 
>> '63.14965844190338', 'inHumidity': '56.0', 'inTemp': '80.3', 'maxSolarRad': 
>> '856.4989148817249', 'outHumidity': '58.0', 'outTemp': '83.6', 'pressure': 
>> '29.023', 'pressure_raw': '29.023', 'rain': '0.0', 'rain15': '0.0', 
>> 'rain24': '0.0', 'rainRate': '0.0', 'stormRain': '0.0', 'trendIcon': '-20', 
>> 'usUnits': '1', 'windchill': '84.0', 'windDir'

[weewx-user] Just upgraded to 4.10.2 and Python3

2023-08-25 Thread David Barto
On a new Mac, and I’m getting the following:

AttributeError: type object 'ImageDraw' has no attribute 'textsize'
Traceback (most recent call last):
  File "/Users/Shared/weewx-4.10.2/bin/weewx/reportengine.py", line 197, in run
obj.start()
  File "/Users/Shared/weewx-4.10.2/bin/weewx/reportengine.py", line 385, in 
start
self.run()
  File "/Users/Shared/weewx-4.10.2/bin/weewx/imagegenerator.py", line 42, in run
self.gen_images(self.gen_ts)
  File "/Users/Shared/weewx-4.10.2/bin/weewx/imagegenerator.py", line 114, in 
gen_images
image = plot.render()
  File "/Users/Shared/weewx-4.10.2/bin/weeplot/genplot.py", line 212, in render
self._renderBottom(draw)
  File "/Users/Shared/weewx-4.10.2/bin/weeplot/genplot.py", line 404, in 
_renderBottom
bottom_label_size = draw.textsize(self.bottom_label, font=bottom_label_font)
  File "/Users/Shared/weewx-4.10.2/bin/weeplot/genplot.py", line 646, in 
textsize
return ImageDraw.ImageDraw.textsize(self, string, **options)

Highs, lows look fine.

Loop packets appear OK:
LOOP:   2023-08-25 14:40:56 PDT (1692999656) 'altimeter': '29.931', 'appTemp': 
'88.20251678811093', 'bar_reduction': '2', 'barometer': '29.897', 'cloudbase': 
'4570.074962495151', 'dateTime': '1692999656', 'dayET': '0.0', 'dayRain': 
'0.0', 'dewpoint': '67.0', 'ET': 'None', 'heatindex': '87.0', 'hourRain': 
'0.0', 'humidex': '96.5974355268055', 'inDewpoint': '63.14965844190338', 
'inHumidity': '56.0', 'inTemp': '80.3', 'maxSolarRad': '856.5713445507906', 
'outHumidity': '58.0', 'outTemp': '83.6', 'pressure': '29.023', 'pressure_raw': 
'29.023', 'rain': '0.0', 'rain15': '0.0', 'rain24': '0.0', 'rainRate': '0.0', 
'stormRain': '0.0', 'trendIcon': '-20', 'usUnits': '1', 'windchill': '84.0', 
'windDir': '296.0', 'windGust': '8.0', 'windGust10': '11.0', 'windGustDir': 
'277.0', 'windGustDir10': '270.0', 'windrun': 'None', 'windSpeed': '3.0', 
'windSpeed2': '4.0', 'windSpeed10': '5.6'
LOOP:   2023-08-25 14:40:58 PDT (1692999658) 'altimeter': '29.931', 'appTemp': 
'88.20251678811093', 'bar_reduction': '2', 'barometer': '29.897', 'cloudbase': 
'4570.074962495151', 'dateTime': '1692999658', 'dayET': '0.0', 'dayRain': 
'0.0', 'dewpoint': '67.0', 'ET': 'None', 'heatindex': '87.0', 'hourRain': 
'0.0', 'humidex': '96.5974355268055', 'inDewpoint': '63.14965844190338', 
'inHumidity': '56.0', 'inTemp': '80.3', 'maxSolarRad': '856.4989148817249', 
'outHumidity': '58.0', 'outTemp': '83.6', 'pressure': '29.023', 'pressure_raw': 
'29.023', 'rain': '0.0', 'rain15': '0.0', 'rain24': '0.0', 'rainRate': '0.0', 
'stormRain': '0.0', 'trendIcon': '-20', 'usUnits': '1', 'windchill': '84.0', 
'windDir': '296.0', 'windGust': '8.0', 'windGust10': '11.0', 'windGustDir': 
'277.0', 'windGustDir10': '270.0', 'windrun': 'None', 'windSpeed': '3.0', 
'windSpeed2': '4.0', 'windSpeed10': ‘5.6'


So I’m not generating any images.

David


...well over half of the time you spend working on a project (on the order of 
70 percent)
is spent thinking, and no tool, no matter how advanced, can think for you.
Consequently, even if a tool did everything except the thinking for you -- if 
it wrote 100 percent of the code,
wrote 100 percent of the documentation, did 100 percent of the testing, burned 
the CD-ROMs,
put them in boxes, and mailed them to your customers -- the best you could hope 
for would
be a 30 percent improvement in productivity. In order to do better than that, 
you have to
change the way you think.
--Fred Brooks
David Barto
ba...@kdbarto.org


-- 
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/7F93D007-969C-4EFE-8F8B-0A66D270BA06%40kdbarto.org.


Re: [weewx-user] Re: WDC Skin

2023-08-18 Thread David Bätge
Great, I will include the change in the next release! 

gert.a...@gmail.com schrieb am Freitag, 18. August 2023 um 13:44:22 UTC+2:

> Hi David
>
> I was to fast, it seems to work with the new main.ja.
>
> Thanks for that
>
> Gert
>
> On Friday, August 18, 2023 at 12:44:22 PM UTC+2 gert.a...@gmail.com wrote:
>
>> Hi David
>> Unfortunately, the new main.js, did not solve the problem as you can see. 
>> The WindRose seems fine
>>
>> Rgds
>> Gert
>>
>> On Friday, August 18, 2023 at 12:02:36 PM UTC+2 David Bätge wrote:
>>
>>> You can right-click the link and choose "Save as" or open the file in 
>>> the browser and hit "Strg+S" if on Windows or Linux.
>>>
>>> The problem with this menu is that you can not scroll the sidebar. The 
>>> sidebar should be scrollable so you can access all the items, but that's 
>>> not the case. I added https://github.com/Daveiano/weewx-wdc/issues/193 
>>> for this, will have a look soon!
>>>
>>> gert.a...@gmail.com schrieb am Freitag, 18. August 2023 um 07:10:37 
>>> UTC+2:
>>>
>>>>
>>>> Hi David
>>>> Thanks for the prompt answer.
>>>>
>>>> The link you provided will just open the file in the browser. so I'm 
>>>> not able to download the file.
>>>>
>>>> Is it possible to move the the Archive and NOAA Reports Menu to the 
>>>> upper Menu line, besides the Year Menu. As you can see from the 
>>>> screenshot, 
>>>> I can't see the last months of the NOAA report and i's not possible to 
>>>> scroll in the left menu.
>>>>
>>>> Thanks
>>>> Gert
>>>> On Friday, August 18, 2023 at 2:26:37 AM UTC+2 David Bätge wrote:
>>>>
>>>>> I just noticed you are using custom ordinate labels - I just tested 
>>>>> this out and noticed that special characters are not handled properly in 
>>>>> the legend labels.
>>>>>
>>>>> I made a change to the main.js file, you can download the updated file 
>>>>> here: https://public-images-social.s3.eu-west-1.amazonaws.com/main.js
>>>>> I tried to attach the file here but the messages were deleted...
>>>>>
>>>>> You need to replace the original file at the skins install location 
>>>>> (see https://weewx.com/docs/latest/usersguide.htm#Where_to_find_things), 
>>>>> at eg. /etc/weewx/skins/weewx-wdc/dist/main.js
>>>>>
>>>>> If this fixes the issue, I will include this in the release.
>>>>> David Bätge schrieb am Freitag, 18. August 2023 um 02:06:42 UTC+2:
>>>>>
>>>>>> Ok, I have never seen this behaviour before.
>>>>>>
>>>>>> Could you please set [DisplayOptions]diagram_tile_winddir_ordinal to 
>>>>>> False, and post back what the legend shows?
>>>>>> gert.a...@gmail.com schrieb am Donnerstag, 17. August 2023 um 
>>>>>> 22:20:59 UTC+2:
>>>>>>
>>>>>>> Hi
>>>>>>> I'm missing the compass direction where the letter "Ø" is, but only 
>>>>>>> in the first chart . The windrose is ok.
>>>>>>>
>>>>>>> Any ideas how to get the direction in the first chart?
>>>>>>>
>>>>>>> Thanks
>>>>>>> gert
>>>>>>>
>>>>>>> On Thursday, August 17, 2023 at 1:32:43 PM UTC+2 David Bätge wrote:
>>>>>>>
>>>>>>>> Great! 
>>>>>>>>
>>>>>>>> You can run the skin wherever you want, but if it's not in the root 
>>>>>>>> of the webserver, you have to tell the skin, see here: 
>>>>>>>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras
>>>>>>>>
>>>>>>>> David
>>>>>>>> gert.a...@gmail.com schrieb am Donnerstag, 17. August 2023 um 
>>>>>>>> 13:02:56 UTC+2:
>>>>>>>>
>>>>>>>>> Hi David
>>>>>>>>> I copied a database from another system with  4 years of data and 
>>>>>>>>> the that helped. I can now start further testing.
>>>>>>>>>
>>>>>>>>> It seems that I need to run the skin from the webservers root and 
>&g

Re: [weewx-user] Re: WDC Skin

2023-08-18 Thread David Bätge
You can right-click the link and choose "Save as" or open the file in the 
browser and hit "Strg+S" if on Windows or Linux.

The problem with this menu is that you can not scroll the sidebar. The 
sidebar should be scrollable so you can access all the items, but that's 
not the case. I added https://github.com/Daveiano/weewx-wdc/issues/193 for 
this, will have a look soon!

gert.a...@gmail.com schrieb am Freitag, 18. August 2023 um 07:10:37 UTC+2:

>
> Hi David
> Thanks for the prompt answer.
>
> The link you provided will just open the file in the browser. so I'm not 
> able to download the file.
>
> Is it possible to move the the Archive and NOAA Reports Menu to the upper 
> Menu line, besides the Year Menu. As you can see from the screenshot, I 
> can't see the last months of the NOAA report and i's not possible to scroll 
> in the left menu.
>
> Thanks
> Gert
> On Friday, August 18, 2023 at 2:26:37 AM UTC+2 David Bätge wrote:
>
>> I just noticed you are using custom ordinate labels - I just tested this 
>> out and noticed that special characters are not handled properly in the 
>> legend labels.
>>
>> I made a change to the main.js file, you can download the updated file 
>> here: https://public-images-social.s3.eu-west-1.amazonaws.com/main.js
>> I tried to attach the file here but the messages were deleted...
>>
>> You need to replace the original file at the skins install location (see 
>> https://weewx.com/docs/latest/usersguide.htm#Where_to_find_things), at 
>> eg. /etc/weewx/skins/weewx-wdc/dist/main.js
>>
>> If this fixes the issue, I will include this in the release.
>> David Bätge schrieb am Freitag, 18. August 2023 um 02:06:42 UTC+2:
>>
>>> Ok, I have never seen this behaviour before.
>>>
>>> Could you please set [DisplayOptions]diagram_tile_winddir_ordinal to 
>>> False, and post back what the legend shows?
>>> gert.a...@gmail.com schrieb am Donnerstag, 17. August 2023 um 22:20:59 
>>> UTC+2:
>>>
>>>> Hi
>>>> I'm missing the compass direction where the letter "Ø" is, but only in 
>>>> the first chart . The windrose is ok.
>>>>
>>>> Any ideas how to get the direction in the first chart?
>>>>
>>>> Thanks
>>>> gert
>>>>
>>>> On Thursday, August 17, 2023 at 1:32:43 PM UTC+2 David Bätge wrote:
>>>>
>>>>> Great! 
>>>>>
>>>>> You can run the skin wherever you want, but if it's not in the root of 
>>>>> the webserver, you have to tell the skin, see here: 
>>>>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras
>>>>>
>>>>> David
>>>>> gert.a...@gmail.com schrieb am Donnerstag, 17. August 2023 um 
>>>>> 13:02:56 UTC+2:
>>>>>
>>>>>> Hi David
>>>>>> I copied a database from another system with  4 years of data and the 
>>>>>> that helped. I can now start further testing.
>>>>>>
>>>>>> It seems that I need to run the skin from the webservers root and not 
>>>>>> from a directory under the webservers root. Is that right?
>>>>>>
>>>>>> Gert
>>>>>>
>>>>>> On Thursday, August 17, 2023 at 2:16:15 AM UTC+2 David Bätge wrote:
>>>>>>
>>>>>>> Hi Gert,
>>>>>>>
>>>>>>> I just spotted this the line before where the error was triggered:
>>>>>>>
>>>>>>> # todo: division by zero
>>>>>>>
>>>>>>> If I remember correctly, this could be possible if you have less 
>>>>>>> than 1 day of data in your archive. I assume you are using a new 
>>>>>>> installation with no data? So it "should" work tomorrow, I guess. The 
>>>>>>> error 
>>>>>>> is only triggered from the statistics page and there is no other error?
>>>>>>>
>>>>>>> I think I noticed this while testing, but forgot to fix it... 
>>>>>>> Anyway, I finally added an issue for this: 
>>>>>>> https://github.com/Daveiano/weewx-wdc/issues/192
>>>>>>>
>>>>>>> For the weewx 5 part: I did not get any time to test the skin with 
>>>>>>> the new version, so I am quite happy there are no errors yet ;)
>>>>>>>
>>>>>>> 

Re: [weewx-user] Re: WDC Skin

2023-08-17 Thread David Bätge
I just noticed you are using custom ordinate labels - I just tested this 
out and noticed that special characters are not handled properly in the 
legend labels.

I made a change to the main.js file, you can download the updated file 
here: https://public-images-social.s3.eu-west-1.amazonaws.com/main.js
I tried to attach the file here but the messages were deleted...

You need to replace the original file at the skins install location (see 
https://weewx.com/docs/latest/usersguide.htm#Where_to_find_things), at eg. 
/etc/weewx/skins/weewx-wdc/dist/main.js

If this fixes the issue, I will include this in the release.
David Bätge schrieb am Freitag, 18. August 2023 um 02:06:42 UTC+2:

> Ok, I have never seen this behaviour before.
>
> Could you please set [DisplayOptions]diagram_tile_winddir_ordinal to False, 
> and post back what the legend shows?
> gert.a...@gmail.com schrieb am Donnerstag, 17. August 2023 um 22:20:59 
> UTC+2:
>
>> Hi
>> I'm missing the compass direction where the letter "Ø" is, but only in 
>> the first chart . The windrose is ok.
>>
>> Any ideas how to get the direction in the first chart?
>>
>> Thanks
>> gert
>>
>> On Thursday, August 17, 2023 at 1:32:43 PM UTC+2 David Bätge wrote:
>>
>>> Great! 
>>>
>>> You can run the skin wherever you want, but if it's not in the root of 
>>> the webserver, you have to tell the skin, see here: 
>>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras
>>>
>>> David
>>> gert.a...@gmail.com schrieb am Donnerstag, 17. August 2023 um 13:02:56 
>>> UTC+2:
>>>
>>>> Hi David
>>>> I copied a database from another system with  4 years of data and the 
>>>> that helped. I can now start further testing.
>>>>
>>>> It seems that I need to run the skin from the webservers root and not 
>>>> from a directory under the webservers root. Is that right?
>>>>
>>>> Gert
>>>>
>>>> On Thursday, August 17, 2023 at 2:16:15 AM UTC+2 David Bätge wrote:
>>>>
>>>>> Hi Gert,
>>>>>
>>>>> I just spotted this the line before where the error was triggered:
>>>>>
>>>>> # todo: division by zero
>>>>>
>>>>> If I remember correctly, this could be possible if you have less than 
>>>>> 1 day of data in your archive. I assume you are using a new installation 
>>>>> with no data? So it "should" work tomorrow, I guess. The error is only 
>>>>> triggered from the statistics page and there is no other error?
>>>>>
>>>>> I think I noticed this while testing, but forgot to fix it... Anyway, 
>>>>> I finally added an issue for this: 
>>>>> https://github.com/Daveiano/weewx-wdc/issues/192
>>>>>
>>>>> For the weewx 5 part: I did not get any time to test the skin with the 
>>>>> new version, so I am quite happy there are no errors yet ;)
>>>>>
>>>>> David
>>>>>
>>>>> gert.a...@gmail.com schrieb am Mittwoch, 16. August 2023 um 23:20:46 
>>>>> UTC+2:
>>>>>
>>>>>> Hi
>>>>>> I'm trying to install the template using  WeeWx 5.0.0b10. I copied 
>>>>>> the skin files to the relevant WeeWx directories and created the stanza 
>>>>>> in 
>>>>>> weewx.conf. as you can see from the attached syslog, there were errors.
>>>>>>
>>>>>> I installed WeeWx using pip, so WeeWx is unning in a virtual 
>>>>>> environmrnt
>>>>>>
>>>>>> Any ideas?
>>>>>>
>>>>>> Gert
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wednesday, August 16, 2023 at 2:17:52 AM UTC+2 David Bätge wrote:
>>>>>>
>>>>>>> The error indicates that the observation type is unknown, in that 
>>>>>>> case, cloudbase. The skin should not attempt to display data for an 
>>>>>>> observation that has no data - so there seems to be something wrong 
>>>>>>> here.
>>>>>>>
>>>>>>> Could you please remove cloudbase from 
>>>>>>> [DisplayOptions][[diagrams]][[[day]]]observations in 
>>>>>>> skin.conf?
>>>>>>>
>>>>>>> If this does not help, you ca

Re: [weewx-user] Re: WDC Skin

2023-08-17 Thread David Bätge
Ok, I have never seen this behaviour before.

Could you please set [DisplayOptions]diagram_tile_winddir_ordinal to False, 
and post back what the legend shows?
gert.a...@gmail.com schrieb am Donnerstag, 17. August 2023 um 22:20:59 
UTC+2:

> Hi
> I'm missing the compass direction where the letter "Ø" is, but only in the 
> first chart . The windrose is ok.
>
> Any ideas how to get the direction in the first chart?
>
> Thanks
> gert
>
> On Thursday, August 17, 2023 at 1:32:43 PM UTC+2 David Bätge wrote:
>
>> Great! 
>>
>> You can run the skin wherever you want, but if it's not in the root of 
>> the webserver, you have to tell the skin, see here: 
>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras
>>
>> David
>> gert.a...@gmail.com schrieb am Donnerstag, 17. August 2023 um 13:02:56 
>> UTC+2:
>>
>>> Hi David
>>> I copied a database from another system with  4 years of data and the 
>>> that helped. I can now start further testing.
>>>
>>> It seems that I need to run the skin from the webservers root and not 
>>> from a directory under the webservers root. Is that right?
>>>
>>> Gert
>>>
>>> On Thursday, August 17, 2023 at 2:16:15 AM UTC+2 David Bätge wrote:
>>>
>>>> Hi Gert,
>>>>
>>>> I just spotted this the line before where the error was triggered:
>>>>
>>>> # todo: division by zero
>>>>
>>>> If I remember correctly, this could be possible if you have less than 1 
>>>> day of data in your archive. I assume you are using a new installation 
>>>> with 
>>>> no data? So it "should" work tomorrow, I guess. The error is only 
>>>> triggered 
>>>> from the statistics page and there is no other error?
>>>>
>>>> I think I noticed this while testing, but forgot to fix it... Anyway, I 
>>>> finally added an issue for this: 
>>>> https://github.com/Daveiano/weewx-wdc/issues/192
>>>>
>>>> For the weewx 5 part: I did not get any time to test the skin with the 
>>>> new version, so I am quite happy there are no errors yet ;)
>>>>
>>>> David
>>>>
>>>> gert.a...@gmail.com schrieb am Mittwoch, 16. August 2023 um 23:20:46 
>>>> UTC+2:
>>>>
>>>>> Hi
>>>>> I'm trying to install the template using  WeeWx 5.0.0b10. I copied the 
>>>>> skin files to the relevant WeeWx directories and created the stanza in 
>>>>> weewx.conf. as you can see from the attached syslog, there were errors.
>>>>>
>>>>> I installed WeeWx using pip, so WeeWx is unning in a virtual 
>>>>> environmrnt
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Gert
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wednesday, August 16, 2023 at 2:17:52 AM UTC+2 David Bätge wrote:
>>>>>
>>>>>> The error indicates that the observation type is unknown, in that 
>>>>>> case, cloudbase. The skin should not attempt to display data for an 
>>>>>> observation that has no data - so there seems to be something wrong here.
>>>>>>
>>>>>> Could you please remove cloudbase from 
>>>>>> [DisplayOptions][[diagrams]][[[day]]]observations in 
>>>>>> skin.conf?
>>>>>>
>>>>>> If this does not help, you can try to remove cloudbase also from 
>>>>>> [DisplayOptions]table_tile_observations and 
>>>>>> [DisplayOptions]stat_tile_observations.
>>>>>>
>>>>>> This error really only appears for the index page?
>>>>>>
>>>>>> Eirik Skorstad schrieb am Dienstag, 15. August 2023 um 17:05:11 UTC+2:
>>>>>>
>>>>>>> 2023-08-15T16:56:50.431510+02:00 odin wee_reports[334303] ERROR 
>>>>>>> weewx.cheetahgenerator:  Ignoring template 
>>>>>>> /home/weewx/skins/weewx-wdc/index.html.tmpl
>>>>>>> 2023-08-15T16:56:50.431625+02:00 odin wee_reports[334303] ERROR 
>>>>>>> weewx.cheetahgenerator:  Reason: 'cloudbase' or 'avg'
>>>>>>> 2023-08-15T16:56:50.434142+02:00 odin wee_reports[334303] ERROR 
>>>>>>> weewx.cheetahgenerator:   Traceback (most recent call last):
>>>>&g

[weewx-user] Re: WDC skin date format

2023-08-17 Thread David Bätge
Hi Greg,

you are referring to the heading on the month page "/month.html" and the 
month-archive pages, eg "/month-2021-07.html", right?

These Headings at the top of the page use the same format, both use the 
setting defined in skin.conf [Units][[TimeFormats]]month (see 
https://github.com/Daveiano/weewx-wdc/blob/3.x/skins/weewx-wdc/skin.conf#L636):

[Units]
[[TimeFormats]]
# @see https://weewx.com/docs/customizing.htm#Units_TimeFormats
day= %X
week   = %x
month  = %x
year   = %x
rainyear   = %x
current= %x %X
ephem_day  = %X
ephem_year = %x
stats  = %x %X
daily_archive = %Y-%m-%d

There was a change in the date format in one of the latest releases if I 
remember correctly. There is a chance that your month archive pages use the 
old format. This could be the case since these archive pages do not get 
regenerated after the given archive period (even if templates or configs 
are changed).

To make sure this is not the case, please remove all month archive pages, 
and wait for the next wee_report run or start the run by yourself.

rm -rf /var/www/html/weewx/month*


Greg from Oz schrieb am Donnerstag, 17. August 2023 um 05:01:58 UTC+2:

> Hi,
>
> I have noticed the date format in the headings when I select day, 
> yesterday,week,month,year are correct to how I want them. IE dd/mm/yyy
>
> Like this:
> Monthly Weather Conditions
> 01/08/23 00:00:00 - 31/08/23 23:59:59 
>
> But if I go to the Archive and NOAA sidebar and pick something then the 
> date format changes to the US format mm/dd/yyy
> Like this:
> Monthly Weather Conditions 
> 01/01/2023 12:00:00 AM - 01/31/2023 11:59:59 PM
>
> I have looked through the skin and tmpl files but cannot see anything that 
> I can change.
> I have noticed it looks like it picks up the date formatting from 
> daily_archive 
> = %Y-%m-%d in the skin but if that is so I would have expected the format 
> to be /mm/dd which I would like as it is international ISO standard.
>
> Where is the format for the date set?
>
> 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/6ea73ec1-462a-46e5-a4d3-e0ed519061f3n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2023-08-17 Thread David Bätge
Great! 

You can run the skin wherever you want, but if it's not in the root of the 
webserver, you have to tell the skin, see here: 
https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras

David
gert.a...@gmail.com schrieb am Donnerstag, 17. August 2023 um 13:02:56 
UTC+2:

> Hi David
> I copied a database from another system with  4 years of data and the that 
> helped. I can now start further testing.
>
> It seems that I need to run the skin from the webservers root and not from 
> a directory under the webservers root. Is that right?
>
> Gert
>
> On Thursday, August 17, 2023 at 2:16:15 AM UTC+2 David Bätge wrote:
>
>> Hi Gert,
>>
>> I just spotted this the line before where the error was triggered:
>>
>> # todo: division by zero
>>
>> If I remember correctly, this could be possible if you have less than 1 
>> day of data in your archive. I assume you are using a new installation with 
>> no data? So it "should" work tomorrow, I guess. The error is only triggered 
>> from the statistics page and there is no other error?
>>
>> I think I noticed this while testing, but forgot to fix it... Anyway, I 
>> finally added an issue for this: 
>> https://github.com/Daveiano/weewx-wdc/issues/192
>>
>> For the weewx 5 part: I did not get any time to test the skin with the 
>> new version, so I am quite happy there are no errors yet ;)
>>
>> David
>>
>> gert.a...@gmail.com schrieb am Mittwoch, 16. August 2023 um 23:20:46 
>> UTC+2:
>>
>>> Hi
>>> I'm trying to install the template using  WeeWx 5.0.0b10. I copied the 
>>> skin files to the relevant WeeWx directories and created the stanza in 
>>> weewx.conf. as you can see from the attached syslog, there were errors.
>>>
>>> I installed WeeWx using pip, so WeeWx is unning in a virtual environmrnt
>>>
>>> Any ideas?
>>>
>>> Gert
>>>
>>>
>>>
>>>
>>> On Wednesday, August 16, 2023 at 2:17:52 AM UTC+2 David Bätge wrote:
>>>
>>>> The error indicates that the observation type is unknown, in that case, 
>>>> cloudbase. The skin should not attempt to display data for an observation 
>>>> that has no data - so there seems to be something wrong here.
>>>>
>>>> Could you please remove cloudbase from 
>>>> [DisplayOptions][[diagrams]][[[day]]]observations in skin.conf?
>>>>
>>>> If this does not help, you can try to remove cloudbase also from 
>>>> [DisplayOptions]table_tile_observations and 
>>>> [DisplayOptions]stat_tile_observations.
>>>>
>>>> This error really only appears for the index page?
>>>>
>>>> Eirik Skorstad schrieb am Dienstag, 15. August 2023 um 17:05:11 UTC+2:
>>>>
>>>>> 2023-08-15T16:56:50.431510+02:00 odin wee_reports[334303] ERROR 
>>>>> weewx.cheetahgenerator:  Ignoring template 
>>>>> /home/weewx/skins/weewx-wdc/index.html.tmpl
>>>>> 2023-08-15T16:56:50.431625+02:00 odin wee_reports[334303] ERROR 
>>>>> weewx.cheetahgenerator:  Reason: 'cloudbase' or 'avg'
>>>>> 2023-08-15T16:56:50.434142+02:00 odin wee_reports[334303] ERROR 
>>>>> weewx.cheetahgenerator:   Traceback (most recent call last):
>>>>> 2023-08-15T16:56:50.434253+02:00 odin wee_reports[334303] ERROR 
>>>>> weewx.cheetahgenerator: File 
>>>>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 348, in generate
>>>>> 2023-08-15T16:56:50.434352+02:00 odin wee_reports[334303] ERROR 
>>>>> weewx.cheetahgenerator:   unicode_string = 
>>>>> compiled_template.respond()
>>>>> 2023-08-15T16:56:50.434442+02:00 odin wee_reports[334303] ERROR 
>>>>> weewx.cheetahgenerator:    
>>>>> ^^^
>>>>> 2023-08-15T16:56:50.434547+02:00 odin wee_reports[334303] ERROR 
>>>>> weewx.cheetahgenerator: File 
>>>>> "_home_weewx_skins_weewx_wdc_index_html_tmpl.py", line 267, in respond
>>>>> 2023-08-15T16:56:50.434657+02:00 odin wee_reports[334303] ERROR 
>>>>> weewx.cheetahgenerator: File 
>>>>> "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in 
>>>>> _handleCheetahInclude
>>>>> 2023-08-15T16:56:50.434749+02:00 odin wee_reports[334303] ERROR 
>>>>> weewx.cheetahgenerator:   

Re: [weewx-user] Re: WDC Skin

2023-08-16 Thread David Bätge
Hi Gert,

I just spotted this the line before where the error was triggered:

# todo: division by zero

If I remember correctly, this could be possible if you have less than 1 day 
of data in your archive. I assume you are using a new installation with no 
data? So it "should" work tomorrow, I guess. The error is only triggered 
from the statistics page and there is no other error?

I think I noticed this while testing, but forgot to fix it... Anyway, I 
finally added an issue for 
this: https://github.com/Daveiano/weewx-wdc/issues/192

For the weewx 5 part: I did not get any time to test the skin with the new 
version, so I am quite happy there are no errors yet ;)

David

gert.a...@gmail.com schrieb am Mittwoch, 16. August 2023 um 23:20:46 UTC+2:

> Hi
> I'm trying to install the template using  WeeWx 5.0.0b10. I copied the 
> skin files to the relevant WeeWx directories and created the stanza in 
> weewx.conf. as you can see from the attached syslog, there were errors.
>
> I installed WeeWx using pip, so WeeWx is unning in a virtual environmrnt
>
> Any ideas?
>
> Gert
>
>
>
>
> On Wednesday, August 16, 2023 at 2:17:52 AM UTC+2 David Bätge wrote:
>
>> The error indicates that the observation type is unknown, in that case, 
>> cloudbase. The skin should not attempt to display data for an observation 
>> that has no data - so there seems to be something wrong here.
>>
>> Could you please remove cloudbase from 
>> [DisplayOptions][[diagrams]][[[day]]]observations in skin.conf?
>>
>> If this does not help, you can try to remove cloudbase also from 
>> [DisplayOptions]table_tile_observations and 
>> [DisplayOptions]stat_tile_observations.
>>
>> This error really only appears for the index page?
>>
>> Eirik Skorstad schrieb am Dienstag, 15. August 2023 um 17:05:11 UTC+2:
>>
>>> 2023-08-15T16:56:50.431510+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator:  Ignoring template 
>>> /home/weewx/skins/weewx-wdc/index.html.tmpl
>>> 2023-08-15T16:56:50.431625+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator:  Reason: 'cloudbase' or 'avg'
>>> 2023-08-15T16:56:50.434142+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator:   Traceback (most recent call last):
>>> 2023-08-15T16:56:50.434253+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator: File 
>>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 348, in generate
>>> 2023-08-15T16:56:50.434352+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator:   unicode_string = 
>>> compiled_template.respond()
>>> 2023-08-15T16:56:50.434442+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator:    
>>> ^^^
>>> 2023-08-15T16:56:50.434547+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator: File 
>>> "_home_weewx_skins_weewx_wdc_index_html_tmpl.py", line 267, in respond
>>> 2023-08-15T16:56:50.434657+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator: File 
>>> "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in 
>>> _handleCheetahInclude
>>> 2023-08-15T16:56:50.434749+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator:  
>>>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>>> 2023-08-15T16:56:50.434844+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator: File 
>>> "_home_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 326, 
>>> in respond
>>> 2023-08-15T16:56:50.435088+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator: File 
>>> "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in 
>>> _handleCheetahInclude
>>> 2023-08-15T16:56:50.435180+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator:  
>>>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>>> 2023-08-15T16:56:50.435278+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator: File 
>>> "_home_weewx_skins_weewx_wdc_includes_diagram_tile_inc.py", line 240, in 
>>> respond
>>> 2023-08-15T16:56:50.435372+02:00 odin wee_reports[334303] ERROR 
>>> weewx.cheetahgenerator: File 
>>> "_home_weewx_skins_weewx_wdc_includes_diagram_tile_inc.py", line 106, in 
>>> __errorCatcher6
>>> 2023-08-15T16:56:50.435499+02:

Re: [weewx-user] Re: WDC Skin

2023-08-15 Thread David Bätge
The error indicates that the observation type is unknown, in that case, 
cloudbase. The skin should not attempt to display data for an observation 
that has no data - so there seems to be something wrong here.

Could you please remove cloudbase from 
[DisplayOptions][[diagrams]][[[day]]]observations in skin.conf?

If this does not help, you can try to remove cloudbase also from 
[DisplayOptions]table_tile_observations and 
[DisplayOptions]stat_tile_observations.

This error really only appears for the index page?

Eirik Skorstad schrieb am Dienstag, 15. August 2023 um 17:05:11 UTC+2:

> 2023-08-15T16:56:50.431510+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator:  Ignoring template 
> /home/weewx/skins/weewx-wdc/index.html.tmpl
> 2023-08-15T16:56:50.431625+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator:  Reason: 'cloudbase' or 'avg'
> 2023-08-15T16:56:50.434142+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator:   Traceback (most recent call last):
> 2023-08-15T16:56:50.434253+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator: File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 348, in generate
> 2023-08-15T16:56:50.434352+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator:   unicode_string = 
> compiled_template.respond()
> 2023-08-15T16:56:50.434442+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator:    
> ^^^
> 2023-08-15T16:56:50.434547+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator: File 
> "_home_weewx_skins_weewx_wdc_index_html_tmpl.py", line 267, in respond
> 2023-08-15T16:56:50.434657+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator: File 
> "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in 
> _handleCheetahInclude
> 2023-08-15T16:56:50.434749+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator:  
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> 2023-08-15T16:56:50.434844+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator: File 
> "_home_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 326, 
> in respond
> 2023-08-15T16:56:50.435088+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator: File 
> "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1708, in 
> _handleCheetahInclude
> 2023-08-15T16:56:50.435180+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator:  
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> 2023-08-15T16:56:50.435278+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator: File 
> "_home_weewx_skins_weewx_wdc_includes_diagram_tile_inc.py", line 240, in 
> respond
> 2023-08-15T16:56:50.435372+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator: File 
> "_home_weewx_skins_weewx_wdc_includes_diagram_tile_inc.py", line 106, in 
> __errorCatcher6
> 2023-08-15T16:56:50.435499+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator: File "", line 1, in 
> 2023-08-15T16:56:50.435580+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator: File "/home/weewx/bin/user/weewx_wdc.py", 
> line 1314, in get_diagram_data
> 2023-08-15T16:56:50.435673+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator:   obs_start_vt, obs_stop_vt, obs_vt = 
> weewx.xtypes.get_series(
> 2023-08-15T16:56:50.435772+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator:  
>  
> 2023-08-15T16:56:50.435867+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator: File "/home/weewx/bin/weewx/xtypes.py", 
> line 116, in get_series
> 2023-08-15T16:56:50.435963+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator:   raise weewx.UnknownType(msg)
> 2023-08-15T16:56:50.436057+02:00 odin wee_reports[334303] ERROR 
> weewx.cheetahgenerator:   weewx.UnknownType: 'cloudbase' or 'avg'
>
> tirsdag 15. august 2023 kl. 14:49:45 UTC+2 skrev Eirik Skorstad:
>
>> I think I just answered your post in a private reply to you. Just CC it 
>> in to the post if you like to. 
>>
>> tirsdag 15. august 2023 kl. 03:04:13 UTC+2 skrev David Bätge:
>>
>>> I assume you are using the current version 3.3.0? The error indicates 
>>> that WeeWX can not find 
>>> the search_list_extensions user.weewx_wdc.WdcGeneralUtil. 
>>>
>>> Any chance you are using an old skin.conf file? Please compare with 
>>&

Re: [weewx-user] Re: WDC Skin

2023-08-14 Thread David Bätge
I assume you are using the current version 3.3.0? The error indicates that 
WeeWX can not find 
the search_list_extensions user.weewx_wdc.WdcGeneralUtil. 

Any chance you are using an old skin.conf file? Please compare 
with https://github.com/Daveiano/weewx-wdc/blob/v3.3.0/skins/weewx-wdc/skin.conf
Or, perhaps, have you overwritten the  search_list_extensions  config for 
the skin via weewx.conf?

Would be great if you could post the relevant section from weewx.conf and 
your current skin.conf so I could have a look.

Eirik Skorstad schrieb am Sonntag, 13. August 2023 um 23:04:37 UTC+2:

> Evaluation of template /home/weewx/skins/weewx-wdc/index.html.tmpl failed.
> 2023-08-13T23:00:40.303871+02:00 odin weewx[251007] ERROR 
> weewx.cheetahgenerator:  Ignoring template 
> /home/weewx/skins/weewx-wdc/index.html.tmpl
> 2023-08-13T23:00:40.304352+02:00 odin weewx[251007] ERROR 
> weewx.cheetahgenerator:  Reason: cannot find 'get_windrose_enabled'
> 2023-08-13T23:00:40.304456+02:00 odin weewx[251007] ERROR 
> weewx.cheetahgenerator:  To debug, try inserting '#errorCatcher Echo' 
> at top of template
>
>
> Skin is not generating any of the templates. Why is that? 
> torsdag 8. juni 2023 kl. 11:22:50 UTC+2 skrev Greg from Oz:
>
>> Yes that works.
>> I did a grep of the whole directory and sub directories looking for that 
>> and missed it.
>> But I was looking for get_base_path and not just base_path
>>
>> Thanks again.
>>
>> On Thursday, 8 June 2023 at 19:05:48 UTC+10 David Bätge wrote:
>>
>>> Hi Greg!  Please set the base_path in skin.conf to '/wdc/':
>>>
>>> base_path = /wdc/
>>>
>>> See 
>>> https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath
>>>  
>>> and https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras. 
>>> This should resolve the problem.
>>> Greg from Oz schrieb am Donnerstag, 8. Juni 2023 um 10:53:53 UTC+2:
>>>
>>>> Hi,
>>>>
>>>> I am testing the wdc skin and have set the html document root to 
>>>> /var/www/html/weather/wdc
>>>> If I go to https://weather.ubeaut.work/wdc/ (because I am testing and 
>>>> want to leave my other webpages) it shows the wdc index.html which is good.
>>>> If I click on any of the menu items eg Today  week month it takes me to 
>>>> my other web page. Yesterday doesn't work because on my other webpage 
>>>> there 
>>>> isn't a yesterday web page.
>>>> I suspect it is because of the $get_base_path which would be 
>>>> https://weather.ubeaut.work in this case.
>>>> How or where can I change this to be https://weather.ubeaut.work/wdc 
>>>> so I can test it out?
>>>>
>>>> Thanks
>>>>
>>>>
>>>> On Monday, 3 April 2023 at 00:31:31 UTC+10 gary@gmail.com wrote:
>>>>
>>>>> Version 3.1.1 has been released and this is now one of the nicest 
>>>>> skins I've used.
>>>>> Clear text, excellent graphs, histograms, live data from MQTT.
>>>>> Scales well to tablets.
>>>>> For my needs, replaced the Belchertown skin.
>>>>> On Friday, August 5, 2022 at 10:43:52 AM UTC-4 Andrea Di Saverio wrote:
>>>>>
>>>>>> Sorry for my late replay.
>>>>>>
>>>>>> Yes, the suggestion solved my problem. I was not installing as root 
>>>>>> user.
>>>>>> Thank you.
>>>>>>
>>>>>> Il giorno giovedì 4 agosto 2022 alle 01:46:26 UTC+2 
>>>>>> david@gmail.com ha scritto:
>>>>>>
>>>>>>> @disaveri Did this solve your problem?
>>>>>>>
>>>>>>> Btw: I released 2.0.1 which resolves the "non-web-root"-issue, the 
>>>>>>> "Pressure diagram with inHg unit"-issue and includes a few other 
>>>>>>> bugfixes: 
>>>>>>> https://github.com/Daveiano/weewx-wdc/releases/tag/v2.0.1
>>>>>>>
>>>>>>> Thanks for your input!
>>>>>>>
>>>>>>> vince schrieb am Dienstag, 2. August 2022 um 00:54:05 UTC+2:
>>>>>>>
>>>>>>>> On Monday, August 1, 2022 at 3:32:23 PM UTC-7 disaveri...@gmail.com 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>>  the root cause is possibly something else?
>>>>>>>>>
>>>>>>>>
>>>>>>>> Yes.  The 'root' cause indeed. 
>>>>>>>>
>>>>>>>> See the  FAQ - 
>>>>>>>> https://github.com/weewx/weewx/wiki/faq-permission-denied
>>>>>>>>  
>>>>>>>>
>>>>>>>

-- 
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/db4eac93-de0d-4e36-9155-3b4fd9883564n%40googlegroups.com.


Re: [weewx-user] Certificate Verify failed

2023-08-04 Thread David Barto
This is a MacOS install, apt-get doesn’t exist. 8^(

David

> On Aug 4, 2023, at 2:25 PM, Tom Keffer  wrote:
> 
> Can't speak for the problem with forecast, but for your 
> CERTIFICATE_VERIFY_FAILED error, try refreshing the certificates on your 
> machine:
> 
> sudo apt-get update
> sudo apt-get install --reinstall ca-certificates
> 
> 
> On Fri, Aug 4, 2023 at 2:13 PM David Barto  <mailto:ba...@kdbarto.org>> wrote:
>> But only after I changed my password on the Wunderground.com 
>> <http://wunderground.com/> site because they asked me to. (Bas..rds)
>> 
>> So it went from fine:
>> Aug  1 20:43:15 Magrathea weewx[58335]: manager: Added record 2023-08-01 
>> 20:43:00 PDT (1690947780) to database 'weewx.sdb'
>> Aug  1 20:43:15 Magrathea weewx[58335]: manager: Added record 2023-08-01 
>> 20:43:00 PDT (1690947780) to daily summary in 'weewx.sdb'
>> Aug  1 20:43:15 Magrathea weewx[58335]: restx: CWOP: wait interval (240 < 
>> 600) has not passed for record 2023-08-01 20:43:00 PDT (1690947780)
>> Aug  1 20:43:15 Magrathea weewx[58335]: restx: StationRegistry: wait 
>> interval (85440 < 604800) has not passed for record 2023-08-01 20:43:00 PDT 
>> (1690947780)
>> Aug  1 20:43:16 Magrathea weewx[58335]: forecast: WUThread: WU: failed 
>> attempt 1 to download forecast: HTTP Error 503: Service Unavailable
>> Aug  1 20:43:18 Magrathea weewx[58335]: forecast: WUThread: WU: failed 
>> attempt 2 to download forecast: HTTP Error 503: Service Unavailable
>> Aug  1 20:43:19 Magrathea weewx[58335]: forecast: WUThread: WU: failed 
>> attempt 3 to download forecast: HTTP Error 503: Service Unavailable
>> Aug  1 20:43:19 Magrathea weewx[58335]: forecast: WUThread: WU: failed to 
>> download forecast
>> Aug  1 20:43:19 Magrathea weewx[58335]: forecast: WUThread: WU: no forecast 
>> data for KCAPOWAY187 from http://api.wunderground.com/api
>> 
>> to this:
>> 
>> Aug  4 00:57:18 Magrathea weewx[58335]: manager: Added record 2023-08-04 
>> 00:57:00 PDT (1691135820) to database 'weewx.sdb'
>> Aug  4 00:57:18 Magrathea weewx[58335]: manager: Added record 2023-08-04 
>> 00:57:00 PDT (1691135820) to daily summary in 'weewx.sdb'
>> Aug  4 00:57:18 Magrathea weewx[58335]: restx: StationRegistry: wait 
>> interval (273480 < 604800) has not passed for record 2023-08-04 00:57:00 PDT 
>> (1691135820)
>> Aug  4 00:57:18 Magrathea weewx[58335]: restx: CWOP: wait interval (480 < 
>> 600) has not passed for record 2023-08-04 00:57:00 PDT (1691135820)
>> Aug  4 00:57:19 Magrathea weewx[58335]: restx alert: Wunderground-PWS: 
>> Failed upload attempt 1: > certificate verify failed (_ssl.c:581)>
>> Aug  4 00:57:19 Magrathea weewx[58335]: forecast: WUThread: WU: failed 
>> attempt 1 to download forecast: HTTP Error 503: Service Unavailable
>> Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: failed 
>> attempt 2 to download forecast: HTTP Error 503: Service Unavailable
>> Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: failed 
>> attempt 3 to download forecast: HTTP Error 503: Service Unavailable
>> Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: failed to 
>> download forecast
>> Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: no forecast 
>> data for KCAPOWAY187 from http://api.wunderground.com/api
>> 
>> And I stopped publishing.
>> 
>> Which certificate is it complaining about and how would I find/create a 
>> proper certificate.
>> Note: Version 3.9.2 (yeah, old and my Mac I’m using has a very old python on 
>> it)
>> Local updates are fine: http://www.kdbarto.org/Weather/Current_Plus.htm
>> 
>>  David
>> 
>> 
>> ...well over half of the time you spend working on a project (on the order 
>> of 70 percent)
>> is spent thinking, and no tool, no matter how advanced, can think for you.
>> Consequently, even if a tool did everything except the thinking for you -- 
>> if it wrote 100 percent of the code,
>> wrote 100 percent of the documentation, did 100 percent of the testing, 
>> burned the CD-ROMs,
>> put them in boxes, and mailed them to your customers -- the best you could 
>> hope for would
>> be a 30 percent improvement in productivity. In order to do better than 
>> that, you have to
>> change the way you think.
>> --Fred Brooks
>> David Barto
>> ba...@kdbarto.org <mailto:ba...@kdbarto.org>
>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to t

[weewx-user] Certificate Verify failed

2023-08-04 Thread David Barto
But only after I changed my password on the Wunderground.com 
<http://wunderground.com/> site because they asked me to. (Bas..rds)

So it went from fine:
Aug  1 20:43:15 Magrathea weewx[58335]: manager: Added record 2023-08-01 
20:43:00 PDT (1690947780) to database 'weewx.sdb'
Aug  1 20:43:15 Magrathea weewx[58335]: manager: Added record 2023-08-01 
20:43:00 PDT (1690947780) to daily summary in 'weewx.sdb'
Aug  1 20:43:15 Magrathea weewx[58335]: restx: CWOP: wait interval (240 < 600) 
has not passed for record 2023-08-01 20:43:00 PDT (1690947780)
Aug  1 20:43:15 Magrathea weewx[58335]: restx: StationRegistry: wait interval 
(85440 < 604800) has not passed for record 2023-08-01 20:43:00 PDT (1690947780)
Aug  1 20:43:16 Magrathea weewx[58335]: forecast: WUThread: WU: failed attempt 
1 to download forecast: HTTP Error 503: Service Unavailable
Aug  1 20:43:18 Magrathea weewx[58335]: forecast: WUThread: WU: failed attempt 
2 to download forecast: HTTP Error 503: Service Unavailable
Aug  1 20:43:19 Magrathea weewx[58335]: forecast: WUThread: WU: failed attempt 
3 to download forecast: HTTP Error 503: Service Unavailable
Aug  1 20:43:19 Magrathea weewx[58335]: forecast: WUThread: WU: failed to 
download forecast
Aug  1 20:43:19 Magrathea weewx[58335]: forecast: WUThread: WU: no forecast 
data for KCAPOWAY187 from http://api.wunderground.com/api

to this:

Aug  4 00:57:18 Magrathea weewx[58335]: manager: Added record 2023-08-04 
00:57:00 PDT (1691135820) to database 'weewx.sdb'
Aug  4 00:57:18 Magrathea weewx[58335]: manager: Added record 2023-08-04 
00:57:00 PDT (1691135820) to daily summary in 'weewx.sdb'
Aug  4 00:57:18 Magrathea weewx[58335]: restx: StationRegistry: wait interval 
(273480 < 604800) has not passed for record 2023-08-04 00:57:00 PDT (1691135820)
Aug  4 00:57:18 Magrathea weewx[58335]: restx: CWOP: wait interval (480 < 600) 
has not passed for record 2023-08-04 00:57:00 PDT (1691135820)
Aug  4 00:57:19 Magrathea weewx[58335]: restx alert: Wunderground-PWS: Failed 
upload attempt 1: 
Aug  4 00:57:19 Magrathea weewx[58335]: forecast: WUThread: WU: failed attempt 
1 to download forecast: HTTP Error 503: Service Unavailable
Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: failed attempt 
2 to download forecast: HTTP Error 503: Service Unavailable
Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: failed attempt 
3 to download forecast: HTTP Error 503: Service Unavailable
Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: failed to 
download forecast
Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: no forecast 
data for KCAPOWAY187 from http://api.wunderground.com/api

And I stopped publishing.

Which certificate is it complaining about and how would I find/create a proper 
certificate.
Note: Version 3.9.2 (yeah, old and my Mac I’m using has a very old python on it)
Local updates are fine: http://www.kdbarto.org/Weather/Current_Plus.htm

David


...well over half of the time you spend working on a project (on the order of 
70 percent)
is spent thinking, and no tool, no matter how advanced, can think for you.
Consequently, even if a tool did everything except the thinking for you -- if 
it wrote 100 percent of the code,
wrote 100 percent of the documentation, did 100 percent of the testing, burned 
the CD-ROMs,
put them in boxes, and mailed them to your customers -- the best you could hope 
for would
be a 30 percent improvement in productivity. In order to do better than that, 
you have to
change the way you think.
--Fred Brooks
David Barto
ba...@kdbarto.org


-- 
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/405339E8-0448-477E-9162-719CFCDD90E9%40kdbarto.org.


[weewx-user] weewx and Red Hat 9

2023-07-23 Thread David
 Hi,
Currently there are Red Hat 7 and 8 package releases available for weewx. 
Just wondering if there are any plans to package weewx for Red Hat 9.

Thanks
David

-- 
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/4c6232cf-9244-4d61-9848-fc88d9727d19n%40googlegroups.com.


Re: [weewx-user] Re: GW1000 Gateway - sensor battery stats not entering onto DB

2023-06-29 Thread David Bätge
Thanks again to both, this got me an idea about how things are working!

I was asking about testing because my Station/Driver does not provide any 
"extra-fields" which are not saved, just fields included in the schema. I 
should have said that I am the Dave from the weewx-wdc Skin, whom John 
mentioned earlier, so I wanted to test this out when implementing it into 
the skin.

 I had a quick look at the Simulator driver provided by WeeWX. Looks like 
it could be easily modified to emit some extra fields for testing. 
Rainer Lang schrieb am Mittwoch, 28. Juni 2023 um 11:00:49 UTC+2:

> "Where is this data actually stored if not in the database? Is there any 
> way to test this out, besides actually using the said driver?"
>
> The data is not stored on a medium (e.g. disk) but just kept in memory 
> during the runtime of the program - and even there
> only as long as the program logic allows.
>
> Maybe the use of other terms will make it clearer if you are not familiar 
> with the Python programming language and its jargon.
> A dictionary in Python is a defined (potentially complex) data structure 
> of the same or different data types.
> These structures have different names in different programming languages. 
> They exist during the runtime of the program and are used
> to store data during runtime and also use this data during runtime. In 
> older programming languages like COBOL they were just a so-called
> record, a structured description of a memory area  (like a line in a 
> spreadsheet with different columns). 
> On a low level they are (from the point of view of the computer program 
> structured) 
> areas in memory which can be accessed and manipulated by the program code.
>
> If you want to do testing here, whatever are your ideas here and whatever 
> you want to do and for what purpose, you would have to create your
> own Python code which does what you want to do (your "testing"). 
> If you want to see the definition of these structures (Python 
> dictionaries),
> you will have to find the place where they are defined in the weewx 
> coding. 
> As Python is an interpreter language, the program code is available on 
> your computer.
>
> I'm not exactly clear on what you want to "test" here and what for ...
> - certain observations are stored or not stored, depending on what you 
> want and define (e.g. in weewx.conf)
> you want some observation to be stored, do it via the one of the two 
> approaches mentioned earlier,
> some are predefined by the database schema used, for others this would 
> need to be defined
> - you can also define what type of accumulation of this data you want 
> (also in weewx.conf)
> - when displaying the data you can also define (in skin.conf) what type of 
> depiction your want
>
> so much for the technical aspect - storing or not storing (storing here in 
> the sense of archiving into a database)
>
> as for the functional/logical aspect, you have to be clear on what the 
> information you want to archive means
> like in the example of the Ecowitt sensor "signal" observation which is an 
> indicator of successfully received and processed data packages 
> i.e. rather a signal quality indicator but not a signal strength 
> indicator. Even though on an Ecowitt console or app you can see "reception 
> bars",
> they cannot be compared to the signal reception bars of your mobile phone 
> (where they are an indicator of signal strength).
>
> If you want to enter more deeply into how Ecowitt consoles and sensors 
> work, I recommend to read the (whole !) wxforum.net thread
> https://www.wxforum.net/index.php?topic=40730.0
> In the field of battery and signal values there is unfortunately 
> (historically grown) not a consistent logic, especially with the batteries.
> You have to know which values each sensor provides and what they mean
>
> weewx is only using the output from these consoles through whichever 
> driver you are using to do so (Ecowitt Gateway, Interceptor, RTL433).
> It's up to you to make sense of it and what you choose to depict and how 
> to depict.
>
>
>
>
> On 28.06.2023 01:19, David Bätge wrote:
>
> Hi Rainer and Gary, 
>
> thank you both very much for the detailed explanation! I was not aware 
> that the $current tag also provides access to ALL observations of the 
> current record, regardless if they are archived or not. 
>
> Is the $current tag the only tag that provides this access? I assume the 
> $latest tag also does? 
>
> The $span tag would not be able to get values from those fields, since 
> it's an aggregate, right? Just asking because I have added a check for 
> displaying the battery states, like eg. #if $getattr(

[weewx-user] Re: GW1000 Gateway - sensor battery stats not entering onto DB

2023-06-27 Thread David Bätge
Hi Rainer and Gary,

thank you both very much for the detailed explanation! I was not aware that 
the $current tag also provides access to ALL observations of the current 
record, regardless if they are archived or not. 

Is the $current tag the only tag that provides this access? I assume the 
$latest tag also does? 

The $span tag would not be able to get values from those fields, since it's 
an aggregate, right? Just asking because I have added a check for 
displaying the battery states, like eg. #if $getattr($span($day_delta=1, 
boundary='midnight'), 'wh31_ch1_batt').has_data which does not really make 
sense after understanding the internals, it should test against $current.

*[...] weewx includes values from the database and the current values of 
all observations in the current values table, also from those which have 
not been archived but are still available in memory from what has been 
provided from the driver [...]*
Where is this data actually stored if not in the database? Is there any way 
to test this out, besides actually using the said driver?

Sorry for a load of questions, please point me to the right documentation 
if I missed something in the guides. Thanks in advance and thanks again for 
enlighten me about this :) 
gjr80 schrieb am Dienstag, 27. Juni 2023 um 18:21:54 UTC+2:

> David,
>
> Some answers/comments below.
>
> On Tuesday, 27 June 2023 at 01:16:51 UTC+1 david@gmail.com wrote:
>
>
> Signal level observations: All *_sig observations like, wh31_ch1_sig, 
> wh31_ch2_sig, wh32_sig. I don't understand these: What is the signal 
> level here? Values seem to be `0` or `4` in that LOOP packet (looks like 
> battery state fields?). 
>
>  
> Ecowitt gateway signal levels are a pseudo-signal levels at best; the 
> number represents the number of the last four data packets from the sensor 
> that were successfully received/decoded. So most of the time, if the 
> sensors have a reliable connection to the gateway device, you will see a 4, 
> on startup you will see 0 and it will ramp up to 4 if all sensors connect 
> successfully and reliably. The number bears no reference to the sensor 
> signal level received by the gateway device or emitted by the sensor.
>  
>
> So the problem with all these observations is basically (as far as I 
> understand, please correct me if I am wrong): WeeWX does not know about 
> them and does not save them to the database (but you will need this data to 
> show plots of the battery voltages for the last week for example). There 
> should be two ways to overcome this:
>
> 1. Add the fields provided by the GW1000 driver to the database, see 
> http://weewx.com/docs/latest/customizing.htm#Modifying_an_existing_database
> 2. Map the GW1000 fields to WeeWX schema fields (see 
> https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py#L16) 
> I assume that was somehow done for a short period of time because e.g. 
> rxCheckPercent or consBaterryVoltage are showing/having data for a few 
> days!?)
>
> @Gary I don't quite understand what you have written about that:
>
> *It is not necessary to do so if only displaying current values (ie values 
> from the current archive record)*
>
>  
> A quick and simplified WeeWX data flow 101. A WeeWX driver gathers data 
> from a station/sensors and emits loop packets on a regular and frequent 
> basis. WeeWX accumulates these loop packets and at the end of an archive 
> period WeeWX synthesises an archive record from the accumulated loop 
> packets, this record is known as the current archive record. WeeWX saves 
> the current archive record to database, but only those fields that are 
> common to the WeeWX database schema and the current archive record. WeeWX 
> then generates reports. Note, there are usually a number of additional 
> WeeWX services that 'do things' (eg quality control, calculate derived 
> values etc) to the loop packets and archive records before they are 
> accumulated/saved to database.
>
> When WeeWX generates reports all fields in the current archive record are 
> available for use in WeeWX generated reports via the $current tag, 
> irrespective of whether the field was saved to database or not. So if you 
> wish to include only the current value of a field in a WeeWX report there 
> is no need to save that field to the database, but if you wish to display 
> any sort of historical data (eg an aggregate in a report or plot historical 
> values) for a field you need to save the field to database. For example, 
> generally folks want to display max/min values of outside temperature or 
> plot outside temperature over some period so outTemp is usually saved to 
> database. However, you may only wish to display the current signal level 
> value for a g

[weewx-user] Re: GW1000 Gateway - sensor battery stats not entering onto DB

2023-06-26 Thread David Bätge
Hi Gary and Jon,

I just got some time to look into this (and also made some notes for 
myself):

First of all, the GW1000 driver provides a lot of sensor information, the 
complete list is:

*Batteries*:
wh31_ch1_batt
wh31_ch2_batt
wh32_batt
wh40_batt
wh41_ch1_batt
wh51_ch1_batt
wh57_batt
ws80_batt
ws90_batt

*Signals*:
wh31_ch1_sig
wh31_ch2_sig
wh32_sig
wh40_sig
wh41_ch1_sig
wh51_ch1_sig
wh57_sig
ws80_sig
ws90_sig


Here is the complete LOOP package with relevant values:
{
   'wh31_ch1_batt': '0',
   'wh31_ch1_sig': '4',
   'wh31_ch2_batt': '0',
   'wh31_ch2_sig': '4',
   'wh32_batt': '0',
   'wh32_sig': '4',
   'wh40_batt': '1.39',
   'wh40_sig': '4',
   'wh41_ch1_batt': '5',
   'wh41_ch1_sig': '4',
   'wh51_ch1_batt': '1.3',
   'wh51_ch1_sig': '4',
   'wh57_batt': '4',
   'wh57_sig': '4',
   'ws80_batt': 'None',
   'ws80_sig': '0',
   'ws90_batt': '2.86',
   'ws90_sig': '4',
}

To be honest, I don't quite understand all of the fields, but I will try to 
give an explanation and how to configure these fields in weewx-wdc:

Observations that show something like "Battery OK" or "Battery LOW" (where 
0 is OK and 1 is LOW): `wh31_ch1_batt, wh31_ch2_batt, wh32_batt`, and 
`wh41_ch1_batt, wh57_batt` (see 
https://github.com/gjr80/weewx-gw1000/wiki/Sensor-battery-states). This 
kind of observation needs to be added to 
[DisplayOptions]sensor_battery_status in skin.conf.

*Note to me:* wh41_ch1_batt, wh57_batt using another representation of 
Battery status, see 
https://github.com/gjr80/weewx-gw1000/blob/master/supplementary/skins/Seasons/sensors.inc
 
and 
https://github.com/gjr80/weewx-gw1000/wiki/Adapting-the-Seasons-skin-to-display-battery-states
 
(There are a few tweaks needed to support these fields)

Signal level observations: All *_sig observations like, wh31_ch1_sig, 
wh31_ch2_sig, wh32_sig. I don't understand these: What is the signal level 
here? Values seem to be `0` or `4` in that LOOP packet (looks like battery 
state fields?). 

Battery Voltages observations: wh40_batt, wh51_ch1_batt, ws80_batt, 
ws90_batt. These should be added to any of 
[DisplayOptions]sensor_stat_tile_observations, 
[DisplayOptions]sensor_diagram_observations or 
[DisplayOptions]sensor_table_observations in skin.conf.

So the problem with all these observations is basically (as far as I 
understand, please correct me if I am wrong): WeeWX does not know about 
them and does not save them to the database (but you will need this data to 
show plots of the battery voltages for the last week for example). There 
should be two ways to overcome this:

1. Add the fields provided by the GW1000 driver to the database, see 
http://weewx.com/docs/latest/customizing.htm#Modifying_an_existing_database
2. Map the GW1000 fields to WeeWX schema fields (see 
https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py#L16) 
I assume that was somehow done for a short period of time because e.g. 
rxCheckPercent or consBaterryVoltage are showing/having data for a few 
days!?)

@Gary I don't quite understand what you have written about that:

*It is not necessary to do so if only displaying current values (ie values 
from the current archive record)*

How would you show fields like wh41_ch1_batt from the current archive 
record when the data is not saved? Am I missing something? 
gjr80 schrieb am Dienstag, 6. Juni 2023 um 13:32:47 UTC+2:

> Jon,
>
> No problems. The console output shows the Ecowitt gateway driver is 
> populating loop packets with sensor status data, eg ws90_sig, wh57_batt 
> etc. I assume the sensor data is complete for all sensors registered with 
> your gateway device (I cannot tell this, only you can). WeeWX is then 
> accumulating this data and it appears in WeeWX generated archive records.
>
> Looking at the weewx-wdc GitHub page it appears to use a similar system to 
> the Seasons skins for displaying sensor status data. The default fields to 
> be displayed are set in sensor-status.html.tmpl and these can be 
> overridden in skin.conf. The default appears to include fields such as 
> rxCheckPercent, consBatteryVoltage, inTempBatteryStatus, rainBatteryStatus 
> etc. None of the Ecowitt sensor state fields are included so I expect you 
> need to override/augment the sensor state fields to be displayed in 
> skin.conf. How you do this (ie which settings to adjust) is best 
> discussed with the skin author.
>
> On thing you will need to consider is whether or not to save the sensor 
> state data to archive. It is not necessary to do so if only displaying 
> current values (ie values from the current archive record), but if you wish 
> to display any aggregates based on historical data you will need to do so. 
> Fortunately it is easy to do, just modify your database schema using 
> wee_database to include the desired fields and WeeWX will take care of 
> the rest. Refer to Modifying an existing database 
>  
> in the Customization Guide.

[weewx-user] Moving to a different server

2023-06-16 Thread David Kozinn
I need to move my instance of weewx running on Ubuntu (20.04) to a 
different Ubuntu server on my local network. I'm planning to do a fresh 
install on the new server then copy over my weewx.conf file and re-install 
the extensions. I don't want to loose my old data, is copying 
/var/lib/weewx.sdb to the new machine sufficient or do I need to do 
anything else? The web server is on a different machine which will not 
change.

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/d5fb653c-09d4-4204-89fb-bc66d8de7a54n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2023-06-08 Thread David Bätge
Hi Greg!  Please set the base_path in skin.conf to '/wdc/':

base_path = /wdc/

See 
https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath
 
and https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras. This 
should resolve the problem.
Greg from Oz schrieb am Donnerstag, 8. Juni 2023 um 10:53:53 UTC+2:

> Hi,
>
> I am testing the wdc skin and have set the html document root to 
> /var/www/html/weather/wdc
> If I go to https://weather.ubeaut.work/wdc/ (because I am testing and 
> want to leave my other webpages) it shows the wdc index.html which is good.
> If I click on any of the menu items eg Today  week month it takes me to my 
> other web page. Yesterday doesn't work because on my other webpage there 
> isn't a yesterday web page.
> I suspect it is because of the $get_base_path which would be 
> https://weather.ubeaut.work in this case.
> How or where can I change this to be https://weather.ubeaut.work/wdc so I 
> can test it out?
>
> Thanks
>
>
> On Monday, 3 April 2023 at 00:31:31 UTC+10 gary@gmail.com wrote:
>
>> Version 3.1.1 has been released and this is now one of the nicest skins 
>> I've used.
>> Clear text, excellent graphs, histograms, live data from MQTT.
>> Scales well to tablets.
>> For my needs, replaced the Belchertown skin.
>> On Friday, August 5, 2022 at 10:43:52 AM UTC-4 Andrea Di Saverio wrote:
>>
>>> Sorry for my late replay.
>>>
>>> Yes, the suggestion solved my problem. I was not installing as root user.
>>> Thank you.
>>>
>>> Il giorno giovedì 4 agosto 2022 alle 01:46:26 UTC+2 david@gmail.com 
>>> ha scritto:
>>>
>>>> @disaveri Did this solve your problem?
>>>>
>>>> Btw: I released 2.0.1 which resolves the "non-web-root"-issue, the 
>>>> "Pressure diagram with inHg unit"-issue and includes a few other bugfixes: 
>>>> https://github.com/Daveiano/weewx-wdc/releases/tag/v2.0.1
>>>>
>>>> Thanks for your input!
>>>>
>>>> vince schrieb am Dienstag, 2. August 2022 um 00:54:05 UTC+2:
>>>>
>>>>> On Monday, August 1, 2022 at 3:32:23 PM UTC-7 disaveri...@gmail.com 
>>>>> wrote:
>>>>>
>>>>>>  the root cause is possibly something else?
>>>>>>
>>>>>
>>>>> Yes.  The 'root' cause indeed. 
>>>>>
>>>>> See the  FAQ - 
>>>>> https://github.com/weewx/weewx/wiki/faq-permission-denied
>>>>>  
>>>>>
>>>>

-- 
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/211b9bac-f1ce-4ea3-9aae-0cc91af870a8n%40googlegroups.com.


Re: [weewx-user] Raspberry Pi ... What's happening?

2023-03-29 Thread David Lang
when covid hit, the Pi foundation made the mistake of thinking that demand would 
drop, and so they reduced their fab orders (and then the fabs had outages, 
causing the chip shortages)


Instead, demand spiked, and they have spent the last couple of years scrambling 
to re-establish volume production. They opted to prioritize business bulk 
purchases over retail use, and even then were in the odd position of trying to 
sell as few to each buisiness as they could (to be able to provide a steady 
supply to all their corporate buyers).


The supply has started to recover, and they expect full recovery in the last 
half of 2023 (and have put off any Pi5 development until 2024)


As for what you want to use, if the Pi 2 1G was happy running it, it's still 
supported with software updates, so there's not a big reason to replace it. But 
if you want to replace it, anything new with similar specs will do the job.


David Lang

 On Wed, 29 Mar 2023, Yves Martin wrote:


Date: Wed, 29 Mar 2023 07:24:44 -0700 (PDT)
From: Yves Martin 
Reply-To: weewx-user@googlegroups.com
To: weewx-user 
Subject: [weewx-user] Raspberry Pi ... What's happening?

Hi,

I've ordered 6 months ago 2 Raspberry Pi 4B 8GB, and they are still BO, and
the price triple since! It looks like, it becomes very difficult to get
this board now at a reasonable price.

What model of motherboard with how much memory on it, do you suggest for
weewx? I have here an old version (Raspberry Pi 2B 1GB) and it works well
but the board is 4-5 years old. It is time to upgrade. What is your
suggestion?

Ref : https://ymartin.com/meteo/about.html

*PS: I'm using an old version of weewx (v3.9.2), and I want to add a
AirQuality device to it, so I need to upgrade... *

Regards,

YMartin.com/meteo




--
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/6nr07s12-4nn1-s360-7r88-rn9s3313480n%40ynat.uz.


[weewx-user] Re: weewx-wdc Skin v3.0.0 available

2023-03-09 Thread David Bätge
That's indeed a big ask and I am afraid to say that this is out of scope of 
my spare free time, I am sorry about that.

At first, I thought there should be some extension already to pull in the 
Australian BOM data, but it seems there is none yet. What I found is 
this: 
https://github.com/weewx/weewx/wiki/Raspberry-Pi-weather-station-with-i2C-sensors#australian-weather-forecast-added-to-belchertown-skin
 

A Post about integrating the data into the Belchertown skin - I have not 
had a look over the files, sorry, but this could be a potential starting 
point. If anyone has the time/need for that, I would be happy to support 
that in some way (Wiki Posts, PR's).

Greg from Oz schrieb am Donnerstag, 9. März 2023 um 22:58:00 UTC+1:

> Thanks for looking at the caching issue.
> Also would it be possible to have Australian official forecast from the 
> Bureau of Meteorology (BOM)?
> I can get a json file from here:
> https://api.weather.bom.gov.au/v1/locations/r7hgdpk/forecasts/daily
>
> The forecast looks like this:
> https://weather.bom.gov.au/location/r67rt9q-moonbi
>
> I know that this would be a big ask but it would be great if it was 
> available.
> If I knew enough about how the programming worked I would do it myself.
>
>
> On Thursday, 9 March 2023 at 22:49:05 UTC+11 David Bätge wrote:
>
>> @greg 
>>
>> Thank you for all the feedback!
>>
>> So the time of the last rain is not yet displayed, but I have noted this, 
>> and will add it in a future release :)
>>
>> Yes, I think I found the reason why your radar image is not refreshing 
>> (cached) - that's a bug with the service worker of the skin. I will have a 
>> look at it and release a small bugfix update by the end of the week, there 
>> were some more bugs with 3.0.0 which need to be resolved.
>>
>> Greg from Oz schrieb am Donnerstag, 9. März 2023 um 10:30:43 UTC+1:
>>
>>> Also another observation is the radar graphic doesn't change in the 
>>> weather web page until I press F5 refresh.
>>> If I click the today link it reverts back to the wrong image.
>>> If I open a new browser tab and use this:
>>> https://weather.ubeaut.work/WEBCAM/radar.jpg?
>>> I get the correct radar image.
>>> Very strange.
>>>
>>> On Thursday, 9 March 2023 at 19:33:07 UTC+11 Greg from Oz wrote:
>>>
>>>> Hi,
>>>>
>>>> Is there a way to add the date and time for example to the radar html 
>>>> code?
>>>> The reason I ask is because the image is being cached but if the name 
>>>> changes I should get the latest image.
>>>>
>>>> This is what I meanbut it doesn't work.
>>>>     radar_html = 'https://weather.ubeaut.work/WEBCAM/radar.jpg?""$current.dateTime";>'
>>>>
>>>> My web site is here:
>>>> https://weather.ubeaut.work/index.html
>>>>
>>>> Thanks
>>>>
>>>>
>>>> On Thursday, 9 March 2023 at 00:06:03 UTC+11 Claudio wrote:
>>>>
>>>>> Well done! you did a good job
>>>>>
>>>>> Il giorno lunedì 6 marzo 2023 alle 20:22:15 UTC+1 David Bätge ha 
>>>>> scritto:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>>
>>>>>> I just wanted to inform you that a new version is available for the 
>>>>>> weewx-wdc 
>>>>>> skin <https://github.com/Daveiano/weewx-wdc> for download 
>>>>>> <https://github.com/Daveiano/weewx-wdc/releases/download/v3.0.0/weewx-wdc-v3.0.0.zip>
>>>>>> .
>>>>>>
>>>>>>
>>>>>> This release includes some big updates and refactoring:
>>>>>>
>>>>>>- Several Bugfixes and enhancements for weewx-forecast
>>>>>>- Show weather data for a specific day - Daily archive
>>>>>>- Make diagrams configurable per context (per period) / Refactor 
>>>>>>diagrams configuration. Diagrams can now be configured per context, 
>>>>>> eg. 
>>>>>>day, week or month. Per default, the day and week pages do not 
>>>>>> include the 
>>>>>>outTemp min/max/avg diagram anymore.
>>>>>>- Make show_min, show_max, show_sum configurable for stat tiles 
>>>>>>- Support for custom data_bindings
>>>>>>- Configurable Icons
>>>>>>- Configurable unit for diagrams
>>>>

[weewx-user] Re: weewx-wdc Skin v3.0.0 available

2023-03-09 Thread David Bätge
@greg 

Thank you for all the feedback!

So the time of the last rain is not yet displayed, but I have noted this, 
and will add it in a future release :)

Yes, I think I found the reason why your radar image is not refreshing 
(cached) - that's a bug with the service worker of the skin. I will have a 
look at it and release a small bugfix update by the end of the week, there 
were some more bugs with 3.0.0 which need to be resolved.

Greg from Oz schrieb am Donnerstag, 9. März 2023 um 10:30:43 UTC+1:

> Also another observation is the radar graphic doesn't change in the 
> weather web page until I press F5 refresh.
> If I click the today link it reverts back to the wrong image.
> If I open a new browser tab and use this:
> https://weather.ubeaut.work/WEBCAM/radar.jpg?
> I get the correct radar image.
> Very strange.
>
> On Thursday, 9 March 2023 at 19:33:07 UTC+11 Greg from Oz wrote:
>
>> Hi,
>>
>> Is there a way to add the date and time for example to the radar html 
>> code?
>> The reason I ask is because the image is being cached but if the name 
>> changes I should get the latest image.
>>
>> This is what I meanbut it doesn't work.
>> radar_html = 'https://weather.ubeaut.work/WEBCAM/radar.jpg
>> ?""$current.dateTime">'
>>
>> My web site is here:
>> https://weather.ubeaut.work/index.html
>>
>> Thanks
>>
>>
>> On Thursday, 9 March 2023 at 00:06:03 UTC+11 Claudio wrote:
>>
>>> Well done! you did a good job
>>>
>>> Il giorno lunedì 6 marzo 2023 alle 20:22:15 UTC+1 David Bätge ha scritto:
>>>
>>>> Hi all,
>>>>
>>>>
>>>> I just wanted to inform you that a new version is available for the 
>>>> weewx-wdc 
>>>> skin <https://github.com/Daveiano/weewx-wdc> for download 
>>>> <https://github.com/Daveiano/weewx-wdc/releases/download/v3.0.0/weewx-wdc-v3.0.0.zip>
>>>> .
>>>>
>>>>
>>>> This release includes some big updates and refactoring:
>>>>
>>>>- Several Bugfixes and enhancements for weewx-forecast
>>>>- Show weather data for a specific day - Daily archive
>>>>- Make diagrams configurable per context (per period) / Refactor 
>>>>diagrams configuration. Diagrams can now be configured per context, eg. 
>>>>day, week or month. Per default, the day and week pages do not include 
>>>> the 
>>>>outTemp min/max/avg diagram anymore.
>>>>- Make show_min, show_max, show_sum configurable for stat tiles 
>>>>- Support for custom data_bindings
>>>>- Configurable Icons
>>>>- Configurable unit for diagrams
>>>>- Configurable Rounding
>>>>- Configurable markers for diagrams
>>>>- Automatic Refresh (via http-equiv="refresh")
>>>>- Added new climatogram (combined chart consisting of rain as bar 
>>>>and temp as line) for statistics and yearly statistics pages
>>>>- Update radar_img to allow for raw HTML (for using eg. iFrames as 
>>>>radar maps)
>>>>
>>>>
>>>> Also included is "Support for combining different diagram types" (eg. 
>>>> line and bar). I added an own implementation of chart rendering based 
>>>> directly on D3.js <https://d3js.org/>, which will replace the current nivo 
>>>> library <https://nivo.rocks/> in a future release. The direct usage of 
>>>> D3 allows for really custom implementations, so I am very open to new 
>>>> ideas 
>>>> of visualizations.
>>>>
>>>>
>>>> Please see 
>>>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#ENABLE_D3_DIAGRAMS
>>>>  for 
>>>> more information if you want to test this out in v3.0.0.
>>>>
>>>>
>>>> Since this release includes a near rewrite of the skin.conf, you likely 
>>>> have to make some changes to it, if you had the skin very heavily 
>>>> customized in a previous version.
>>>>
>>>>
>>>> The wiki <https://github.com/Daveiano/weewx-wdc/wiki> was updated to 
>>>> include information about all the new features and configurations. If you 
>>>> encounter any problem or bug, just let me know!
>>>>
>>>>
>>>> Thank you all for your feedback/contributions to the skin!
>>>>
>>>>
>>>> Changelog/Download: 
>>>> https://github.com/Daveiano/weewx-wdc/releases/tag/v3.0.0
>>>>
>>>

-- 
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/46166dda-e6ad-4634-9159-2ea41cdbd235n%40googlegroups.com.


[weewx-user] weewx-wdc Skin v3.0.0 available

2023-03-06 Thread David Bätge


Hi all,


I just wanted to inform you that a new version is available for the weewx-wdc 
skin  for download 

.


This release includes some big updates and refactoring:

   - Several Bugfixes and enhancements for weewx-forecast
   - Show weather data for a specific day - Daily archive
   - Make diagrams configurable per context (per period) / Refactor 
   diagrams configuration. Diagrams can now be configured per context, eg. 
   day, week or month. Per default, the day and week pages do not include the 
   outTemp min/max/avg diagram anymore.
   - Make show_min, show_max, show_sum configurable for stat tiles 
   - Support for custom data_bindings
   - Configurable Icons
   - Configurable unit for diagrams
   - Configurable Rounding
   - Configurable markers for diagrams
   - Automatic Refresh (via http-equiv="refresh")
   - Added new climatogram (combined chart consisting of rain as bar and 
   temp as line) for statistics and yearly statistics pages
   - Update radar_img to allow for raw HTML (for using eg. iFrames as radar 
   maps)


Also included is "Support for combining different diagram types" (eg. line 
and bar). I added an own implementation of chart rendering based directly 
on D3.js , which will replace the current nivo library 
 in a future release. The direct usage of D3 allows 
for really custom implementations, so I am very open to new ideas of 
visualizations.


Please see 
https://github.com/Daveiano/weewx-wdc/wiki/Configuration#ENABLE_D3_DIAGRAMS for 
more information if you want to test this out in v3.0.0.


Since this release includes a near rewrite of the skin.conf, you likely 
have to make some changes to it, if you had the skin very heavily 
customized in a previous version.


The wiki  was updated to 
include information about all the new features and configurations. If you 
encounter any problem or bug, just let me know!


Thank you all for your feedback/contributions to the skin!


Changelog/Download: 
https://github.com/Daveiano/weewx-wdc/releases/tag/v3.0.0

-- 
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/a8759291-390e-4335-bbca-4f847c8b57e3n%40googlegroups.com.


Re: [weewx-user] Why are the Weather intervals (week, month, year) all off by one day?

2023-02-28 Thread David Bätge
*Now I recognize that when one is running a report that works in units of 
days, not instants of time, you might want to represent the end of the 
month as being 31-Jan-2010 (no time) and not 1-Feb-2010 00:00. *

*Thinking out loud here, we could create tags such as:*

*$week.last_day*
*$month.last_day*
*$year.last_day*


Yes, that's exactly how this question was born. The weewx-wdc skin 
generates a page for each period (week, month, year), for example, the month's 
page  has a heading like:

Monthly Weather Conditions
03/01/23 - 04/01/23

03/01/23 - 04/01/23 is the output from $month.start - $month.end.

*If you're really stuck, you can always custom format the end of the month 
like this:*

*#from time import strftime, localtime*
*Month ends at $strftime("%d-%b-%Y", $localtime($month.end.raw - 1))*


*Note the "- 1". That shoves the time into the previous day. The results 
will be 31-Jan-2010. *

That's a good solution to the actual problem, I was not sure about the 
internals of period handling but the explanations of Tom and Karen are 
making perfect sense, thank you. After understanding this, I think I will 
implement the small change :)
michael.k...@gmx.at schrieb am Dienstag, 28. Februar 2023 um 21:29:45 UTC+1:

> Ah! Ok! Nevermind. I probably never really get warm with google groups... 
> :^)
>
> Tom Keffer schrieb am Dienstag, 28. Februar 2023 um 20:43:57 UTC+1:
>
>> My comment was in response to Karen's comment.
>>
>> On Tue, Feb 28, 2023 at 10:58 AM michael.k...@gmx.at  
>> wrote:
>>
>>> Yes, I agree, but I am thinking a little bit out of the standard weewx 
>>> box. A calculated average month observation, computed by weewx, using the 
>>> local timezone, uploading to a static website will be lead to a common user 
>>> experience, regardless where it is viewed from. On the other hand, when you 
>>> compare https://www.kainzbauer.net/weather/Rif/en/ with 
>>> https://www.kainzbauer.net/weather/Rif/en/day.html you will probably 
>>> recognize that the live charts are in your browser time zone, the static 
>>> images in the stations local time zone. eCharts doesn't support setting a 
>>> time zone independently from the browsers (systems?) time zone. If I would 
>>> compute monthly average values in the front end, there would be a 
>>> difference, depending on the time zone settings of the viewer's system.
>>>
>>> Tom Keffer schrieb am Dienstag, 28. Februar 2023 um 19:43:34 UTC+1:
>>>
 If you regard a day as ending precisely at midnight, the convention is 
 the same for both archive intervals and for a day: exclusive on the left, 
 inclusive on the right. 

 A five-minute archive interval timestamped 11:35 includes all data from 
 just after 11:30 to precisely 11:35. In a similar manner, a day 
 timestamped 
 1-Feb-2010 includes all data from just after 31-Jan 00:00 to precisely 
 1-Feb 00:00.

 On Tue, Feb 28, 2023 at 9:53 AM Karen K  wrote:

> May be it worth mentioning the background that the archive interval is 
> open at the left end (start time) and closed at the right end (end time). 
> That is not uncommon. It is a widely used design. That is because it is 
> the 
> only way to combine values that summarize the archive interval with 
> actual 
> readings. Unfortunately the day is counted the other way round: It starts 
> at 00:00 and ends right before 00:00 the next day.
>
> Tom Keffer schrieb am Dienstag, 28. Februar 2023 um 18:02:30 UTC+1:
>
>> I assume you are referring to the tags $month.start and $month.end, 
>> the start and stop of the interval $month. See 
>> http://www.weewx.com/docs/customizing.htm#Start,_end,_and_dateTime
>>
>> Using the example from the Customizing Guide, if $month.end returned 
>> 31-Jan-2010, what time should it be? It can't be 00:00: we would be 
>> missing 
>> the whole day 31-Jan-2010. It also can't be 24:00: no such time exists. 
>>
>> So, it must be 1-Feb-2010 at midnight. The month runs right up to the 
>> instant the clock turns over into February.
>>
>> Now I recognize that when one is running a report that works in units 
>> of days, not instants of time, you might want to represent the end of 
>> the 
>> month as being 31-Jan-2010 (no time) and not 1-Feb-2010 00:00. 
>>
>> Thinking out loud here, we could create tags such as:
>>
>> $week.last_day
>> $month.last_day
>> $year.last_day
>>
>> but I'm not sure what they would return. While the tag $month.end 
>> returns a ValueHelper that holds a unix epoch time internally, 
>> that's not going to work for $month.last_day, because it will print 
>> 31-Jan-2010 00:00 --- not what we want. The user would have to always 
>> remember to custom format it to show only days --- no time. Something 
>> like 
>> $month.last_day.format("%d-%b-%Y"). That feels wrong.

[weewx-user] Re: WDC skin v2.3.3

2023-02-28 Thread David Bätge
Yes that's because of a change in how weewx handles delta times, see 
here: 
http://www.weewx.com/docs/upgrading.htm#Breaking_changes_for_skins_that_use_delta_times

I added a short question/answer in the skins wiki about 
that: https://github.com/Daveiano/weewx-wdc/wiki#faq
Jim Munro schrieb am Dienstag, 28. Februar 2023 um 18:49:07 UTC+1:

> There are some other implications see thread 
> https://groups.google.com/g/weewx-user/c/J0aF5mzxcrE/m/CrR36ww3AgAJ
>
> On Tuesday, February 28, 2023 at 12:31:56 a.m. UTC-5 Jim Munro wrote:
>
>> Looks like in foot.inc
>> that you need 
>> $gettext("WeeWX uptime"): $station.uptime
>> $gettext("Server uptime"): $station.os_uptime
>> if weewx is version <4.10.0
>> On Monday, February 27, 2023 at 10:17:28 p.m. UTC-5 Jim Munro wrote:
>>
>>> Its been a while.  But I have just reinstalled 2.3.3 in a vbox docker 
>>> image.  The problem with the header and side bar seem to be gone but the 
>>> footer uptime doesn't seem right.  Please see attached.  The vbox image has 
>>> only been running approx 30 min.
>>>   
>>>
>>> On Monday, February 27, 2023 at 8:12:52 p.m. UTC-5 David Bätge wrote:
>>>
>>>> Hi Jim, sorry for the late response. I am the author of the skin, do 
>>>> you have still problems with running v2.3.3? I could have a look at why 
>>>> the 
>>>> page header and left sidebar are missing.
>>>>
>>>> Jim Munro schrieb am Freitag, 3. Februar 2023 um 01:46:56 UTC+1:
>>>>
>>>>> After downloading and installing the WDC skin with  "wget -O 
>>>>> "/tmp/weewx-wdc.zip" 
>>>>> https://github.com/Daveiano/weewx-wdc/releases/download/v2.3.3/weewx-wdc-v2.3.3.zip";
>>>>>  
>>>>> and installing it per instructions,  the index.html page header and left 
>>>>> hand side bar would disappear (readings and charts seemed ok) after an 
>>>>> archive update.  No error message in the log.  I did see the header and 
>>>>> side bar for a short time but it soon disappeared.
>>>>> Removing v2.3.3 and installing v2.3.2 seemed to fix the problem.  
>>>>> Weewx 4.9.1 was running
>>>>> as a container on a docker host.
>>>>>
>>>>

-- 
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/5743879b-1ec1-4371-bc6e-cef166e33ce0n%40googlegroups.com.


[weewx-user] Re: WDC skin v2.3.3

2023-02-27 Thread David Bätge
Hi Jim, sorry for the late response. I am the author of the skin, do you 
have still problems with running v2.3.3? I could have a look at why the 
page header and left sidebar are missing.

Jim Munro schrieb am Freitag, 3. Februar 2023 um 01:46:56 UTC+1:

> After downloading and installing the WDC skin with  "wget -O 
> "/tmp/weewx-wdc.zip" 
> https://github.com/Daveiano/weewx-wdc/releases/download/v2.3.3/weewx-wdc-v2.3.3.zip";
>  
> and installing it per instructions,  the index.html page header and left 
> hand side bar would disappear (readings and charts seemed ok) after an 
> archive update.  No error message in the log.  I did see the header and 
> side bar for a short time but it soon disappeared.
> Removing v2.3.3 and installing v2.3.2 seemed to fix the problem.  Weewx 
> 4.9.1 was running
> as a container on a docker host.
>

-- 
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/eac4ef23-8a50-4f07-9438-dad9e99a06f6n%40googlegroups.com.


[weewx-user] Re: Weather Forecast

2023-02-03 Thread David Schulz
Thanks for the work and the great plugin. I will update and test today.

kk44...@gmail.com schrieb am Donnerstag, 2. Februar 2023 um 16:11:42 UTC+1:

> Thanks to Open-Meteo  and Hoetzgit 
>  the WeeWX extension weewx-DWD 
>  is not 
> restricted to Germany any more. You can now create weather forecasts for 
> every place of the world and include them in your skin by the #include 
> directive. Additionally, Belchertown users can directly replace the Aeris 
> forecast by the forecast of other big weather services including DWD, 
> MeteoFrance, and NOAA.
>
> Weekday names and compass directions are actually available in german, 
> English, french, italian, and czech.
>
> The publicly available readings of the DWD (Germany) and ZAMG (Austria) 
> weather stations can be included into the WeeWX archive record for display 
> and saving.
>
> See the Readme 
>  (for 
> german speaking users Readme-de ) and 
> the Wiki  for more details.
>
> (Remark: Using data provided by Open-Meteo requires linking to their 
> website. And the weather services have their own terms and conditions, too. 
> Please observe them when displaying their data in public.)
>

-- 
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/25aff743-2f22-4d12-941e-f8c1b49ce0d3n%40googlegroups.com.


[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
thx

David Schulz schrieb am Sonntag, 15. Januar 2023 um 00:23:42 UTC+1:

> Jepp. Got it...
>
> decimal = ','
>
> gjr80 schrieb am Sonntag, 15. Januar 2023 um 00:18:03 UTC+1:
>
>> If your import rainfall data is a per row value and not a cumulative 
>> total then this is correct.
>>
>> Gary
>> On Sunday, 15 January 2023 at 09:14:27 UTC+10 schulz@gmail.com wrote:
>> I changed the config to...
>>
>> rain = discrete
>>
>

-- 
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/8a5fe65d-faf0-4a10-b998-6c7fc25677c3n%40googlegroups.com.


[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
Jepp. Got it...

decimal = ','

gjr80 schrieb am Sonntag, 15. Januar 2023 um 00:18:03 UTC+1:

> If your import rainfall data is a per row value and not a cumulative total 
> then this is correct.
>
> Gary
> On Sunday, 15 January 2023 at 09:14:27 UTC+10 schulz@gmail.com wrote:
> I changed the config to...
>
> rain = discrete
>

-- 
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/043ee4b4-6c01-4104-b705-fcdfd800de51n%40googlegroups.com.


[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
I changed the config to...

rain = discrete

gjr80 schrieb am Sonntag, 15. Januar 2023 um 00:06:43 UTC+1:

> Your import config file is telling wee_import the input rainfall field 
> contains cumulative data, so wee_import uses the difference between the 
> current row rainfall data and the previous row rainfall data to calculate 
> the WeeWX field rain. For the first row there is no previous row so rain 
> is set to None (also note that the 1January 2019 00:00 rain value is 
> considered by WeeWX as containing 2018 data (ie data covering the period 
> from 23:59:00 to 23:59:59 + 1 second on 31 December 2018). The second row 
> is is the first record containing 2019 data. It should calculate the rain 
> field as being 0.2 - 0.2 = 0.0, though from your database extract it 
> appears to have been set to None. This could be a corner case involving 
> the change of year, but as far as I know wee_import should handle change 
> of year without problem. I will need to look further at the wee_import 
> code. The third row will calculate rain as 0 - 0.2 = -0.2 which of course 
> is a nonsense and I believe wee_import would assume there has been a 
> counter overflow and set rain to 0.0. For the fourth row rain is calculated 
> as 0 - 0 = 0.0 which is what you see. 
>
> So other than the minor discrepancy at row two (for rain 0 and None are 
> essentially treated the same in WeeWX output) I think wee_import is 
> working as expected given the import data and import config settings. 
> Analysis of a larger sample of data involving non-zero rainfall data may 
> throw up more information.
>
> Gary
>
> On Sunday, 15 January 2023 at 08:40:05 UTC+10 schulz@gmail.com wrote:
>
>> I think I should add a period to all values, not a comma.
>>
>> David Schulz schrieb am Samstag, 14. Januar 2023 um 23:35:21 UTC+1:
>>
>>> There should actually be values in there.
>>>
>>> echo "SELECT dateTime, rain FROM archive" | sqlite3 
>>> /var/lib/weewx/weewx.sdb
>>> 1546297200|
>>> 1546297260|
>>> 1546297320|0.0
>>> 1546297380|0.0
>>>
>>> DatumZeit;Temp;Feuchte;Luftdruck;Regen;Wind;Richtung;Windboeen
>>> 01.01.2019 00:00;6,9;97;1026,6;0,2;4,7;242;9,7
>>> 01.01.2019 00:01;6,9;97;1026,6;0,2;4,7;251;7,9
>>> 01.01.2019 00:02;6,9;97;1026,6;0;4,7;250;7,9
>>> 01.01.2019 00:03;6,9;97;1026,6;0;4,7;245;4,7
>>>
>>>
>>> gjr80 schrieb am Samstag, 14. Januar 2023 um 23:19:12 UTC+1:
>>>
>>>> OK. Let's go straight to the horses head, what happens when you 
>>>> manually query the database archive table for the period concerned. Do 
>>>> each 
>>>> of the rows show the correct rainfall data or is it missing?
>>>>
>>>> Gary
>>>>
>>>> On Sunday, 15 January 2023 at 08:06:20 UTC+10 schulz@gmail.com 
>>>> wrote:
>>>>
>>>>> Thanks for the info. But for testing I delete every time the whole DB 
>>>>> and the NOAA reports. I have a Weewx test environment specifically for 
>>>>> this.
>>>>>
>>>>> gjr80 schrieb am Samstag, 14. Januar 2023 um 23:03:41 UTC+1:
>>>>>
>>>>>> You need to be very careful when using the NOAA format reports to 
>>>>>> verify the import of historical data, this is because only the current 
>>>>>> month and current year reports are updated each report cycle. Historical 
>>>>>> reports are not updated so will not reflect and changes to earlier data. 
>>>>>> The sample data you provided is from January 2019 so I am guessing you 
>>>>>> did 
>>>>>> not import into the current month and year on your system. Try deleting 
>>>>>> all 
>>>>>> of your NOAA format reports from your WeeWX system, they will all be 
>>>>>> re-generated on the next report cycle based on the current database data.
>>>>>>
>>>>>> Gary 
>>>>>>
>>>>>> On Sunday, 15 January 2023 at 07:06:08 UTC+10 schulz@gmail.com 
>>>>>> wrote:
>>>>>>
>>>>>>> [image: 2023-01-14 22_05_47-Blub.png]
>>>>>>>
>>>>>>> David Schulz schrieb am Samstag, 14. Januar 2023 um 22:04:28 UTC+1:
>>>>>>>
>>>>>>>> wee_import --verbose --import-config=/etc/weewx/import/csv.conf
>>>>>>>> /usr/share/weewx/wee_import:719: DeprecationWarning: The distutils 
>>>>>>>> package is deprec

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
...Dots instead of comma...



David Schulz schrieb am Samstag, 14. Januar 2023 um 23:58:07 UTC+1:

> I think so, because now the graphs are also generated better. But feel 
> free to test.
>
> gjr80 schrieb am Samstag, 14. Januar 2023 um 23:50:58 UTC+1:
>
>> No, commas are fine. If the commas were the problem wee_import would be 
>> failing hard. Let me finish working through your data.
>>
>> Gary
>> On Sunday, 15 January 2023 at 08:40:05 UTC+10 schulz@gmail.com wrote:
>>
>>> I think I should add a period to all values, not a comma.
>>>
>>> David Schulz schrieb am Samstag, 14. Januar 2023 um 23:35:21 UTC+1:
>>>
>>>> There should actually be values in there.
>>>>
>>>> echo "SELECT dateTime, rain FROM archive" | sqlite3 
>>>> /var/lib/weewx/weewx.sdb
>>>> 1546297200|
>>>> 1546297260|
>>>> 1546297320|0.0
>>>> 1546297380|0.0
>>>>
>>>> DatumZeit;Temp;Feuchte;Luftdruck;Regen;Wind;Richtung;Windboeen
>>>> 01.01.2019 00:00;6,9;97;1026,6;0,2;4,7;242;9,7
>>>> 01.01.2019 00:01;6,9;97;1026,6;0,2;4,7;251;7,9
>>>> 01.01.2019 00:02;6,9;97;1026,6;0;4,7;250;7,9
>>>> 01.01.2019 00:03;6,9;97;1026,6;0;4,7;245;4,7
>>>>
>>>>
>>>> gjr80 schrieb am Samstag, 14. Januar 2023 um 23:19:12 UTC+1:
>>>>
>>>>> OK. Let's go straight to the horses head, what happens when you 
>>>>> manually query the database archive table for the period concerned. Do 
>>>>> each 
>>>>> of the rows show the correct rainfall data or is it missing?
>>>>>
>>>>> Gary
>>>>>
>>>>> On Sunday, 15 January 2023 at 08:06:20 UTC+10 schulz@gmail.com 
>>>>> wrote:
>>>>>
>>>>>> Thanks for the info. But for testing I delete every time the whole DB 
>>>>>> and the NOAA reports. I have a Weewx test environment specifically for 
>>>>>> this.
>>>>>>
>>>>>> gjr80 schrieb am Samstag, 14. Januar 2023 um 23:03:41 UTC+1:
>>>>>>
>>>>>>> You need to be very careful when using the NOAA format reports to 
>>>>>>> verify the import of historical data, this is because only the current 
>>>>>>> month and current year reports are updated each report cycle. 
>>>>>>> Historical 
>>>>>>> reports are not updated so will not reflect and changes to earlier 
>>>>>>> data. 
>>>>>>> The sample data you provided is from January 2019 so I am guessing you 
>>>>>>> did 
>>>>>>> not import into the current month and year on your system. Try deleting 
>>>>>>> all 
>>>>>>> of your NOAA format reports from your WeeWX system, they will all be 
>>>>>>> re-generated on the next report cycle based on the current database 
>>>>>>> data.
>>>>>>>
>>>>>>> Gary 
>>>>>>>
>>>>>>> On Sunday, 15 January 2023 at 07:06:08 UTC+10 schulz@gmail.com 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> [image: 2023-01-14 22_05_47-Blub.png]
>>>>>>>>
>>>>>>>> David Schulz schrieb am Samstag, 14. Januar 2023 um 22:04:28 UTC+1:
>>>>>>>>
>>>>>>>>> wee_import --verbose --import-config=/etc/weewx/import/csv.conf
>>>>>>>>> /usr/share/weewx/wee_import:719: DeprecationWarning: The distutils 
>>>>>>>>> package is deprecated and slated for removal in Python 3.12. Use 
>>>>>>>>> setuptools 
>>>>>>>>> or check PEP 632 for potential alternatives
>>>>>>>>>   from distutils.version import StrictVersion
>>>>>>>>> Using WeeWX configuration file /etc/weewx/weewx.conf
>>>>>>>>> Starting wee_import...
>>>>>>>>> A CSV import from source file '/etc/weewx/import/EXP201901A.CSV' 
>>>>>>>>> has been requested.
>>>>>>>>> The following options will be used:
>>>>>>>>>  config=/etc/weewx/weewx.conf, 
>>>>>>>>> import-config=/etc/weewx/import/csv.conf
>>>>>>>>>  source=/etc/weewx/import/EXP201901A.CSV, from=None, to=Non

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
I think so, because now the graphs are also generated better. But feel free 
to test.

gjr80 schrieb am Samstag, 14. Januar 2023 um 23:50:58 UTC+1:

> No, commas are fine. If the commas were the problem wee_import would be 
> failing hard. Let me finish working through your data.
>
> Gary
> On Sunday, 15 January 2023 at 08:40:05 UTC+10 schulz@gmail.com wrote:
>
>> I think I should add a period to all values, not a comma.
>>
>> David Schulz schrieb am Samstag, 14. Januar 2023 um 23:35:21 UTC+1:
>>
>>> There should actually be values in there.
>>>
>>> echo "SELECT dateTime, rain FROM archive" | sqlite3 
>>> /var/lib/weewx/weewx.sdb
>>> 1546297200|
>>> 1546297260|
>>> 1546297320|0.0
>>> 1546297380|0.0
>>>
>>> DatumZeit;Temp;Feuchte;Luftdruck;Regen;Wind;Richtung;Windboeen
>>> 01.01.2019 00:00;6,9;97;1026,6;0,2;4,7;242;9,7
>>> 01.01.2019 00:01;6,9;97;1026,6;0,2;4,7;251;7,9
>>> 01.01.2019 00:02;6,9;97;1026,6;0;4,7;250;7,9
>>> 01.01.2019 00:03;6,9;97;1026,6;0;4,7;245;4,7
>>>
>>>
>>> gjr80 schrieb am Samstag, 14. Januar 2023 um 23:19:12 UTC+1:
>>>
>>>> OK. Let's go straight to the horses head, what happens when you 
>>>> manually query the database archive table for the period concerned. Do 
>>>> each 
>>>> of the rows show the correct rainfall data or is it missing?
>>>>
>>>> Gary
>>>>
>>>> On Sunday, 15 January 2023 at 08:06:20 UTC+10 schulz@gmail.com 
>>>> wrote:
>>>>
>>>>> Thanks for the info. But for testing I delete every time the whole DB 
>>>>> and the NOAA reports. I have a Weewx test environment specifically for 
>>>>> this.
>>>>>
>>>>> gjr80 schrieb am Samstag, 14. Januar 2023 um 23:03:41 UTC+1:
>>>>>
>>>>>> You need to be very careful when using the NOAA format reports to 
>>>>>> verify the import of historical data, this is because only the current 
>>>>>> month and current year reports are updated each report cycle. Historical 
>>>>>> reports are not updated so will not reflect and changes to earlier data. 
>>>>>> The sample data you provided is from January 2019 so I am guessing you 
>>>>>> did 
>>>>>> not import into the current month and year on your system. Try deleting 
>>>>>> all 
>>>>>> of your NOAA format reports from your WeeWX system, they will all be 
>>>>>> re-generated on the next report cycle based on the current database data.
>>>>>>
>>>>>> Gary 
>>>>>>
>>>>>> On Sunday, 15 January 2023 at 07:06:08 UTC+10 schulz@gmail.com 
>>>>>> wrote:
>>>>>>
>>>>>>> [image: 2023-01-14 22_05_47-Blub.png]
>>>>>>>
>>>>>>> David Schulz schrieb am Samstag, 14. Januar 2023 um 22:04:28 UTC+1:
>>>>>>>
>>>>>>>> wee_import --verbose --import-config=/etc/weewx/import/csv.conf
>>>>>>>> /usr/share/weewx/wee_import:719: DeprecationWarning: The distutils 
>>>>>>>> package is deprecated and slated for removal in Python 3.12. Use 
>>>>>>>> setuptools 
>>>>>>>> or check PEP 632 for potential alternatives
>>>>>>>>   from distutils.version import StrictVersion
>>>>>>>> Using WeeWX configuration file /etc/weewx/weewx.conf
>>>>>>>> Starting wee_import...
>>>>>>>> A CSV import from source file '/etc/weewx/import/EXP201901A.CSV' 
>>>>>>>> has been requested.
>>>>>>>> The following options will be used:
>>>>>>>>  config=/etc/weewx/weewx.conf, 
>>>>>>>> import-config=/etc/weewx/import/csv.conf
>>>>>>>>  source=/etc/weewx/import/EXP201901A.CSV, from=None, to=None
>>>>>>>>  dry-run=None, calc_missing=True, ignore_invalid_data=True
>>>>>>>>  tranche=1000, interval=derive, 
>>>>>>>> date/time_string_format=%d.%m.%Y %H:%M
>>>>>>>>  delimiter=';', rain=cumulative, wind_direction=[-360.0, 360.0]
>>>>>>>>  UV=False, radiation=False
>>>>>>>> Using database binding 'wx_binding', which is bound to database 
&g

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
I think I should add a period to all values, not a comma.

David Schulz schrieb am Samstag, 14. Januar 2023 um 23:35:21 UTC+1:

> There should actually be values in there.
>
> echo "SELECT dateTime, rain FROM archive" | sqlite3 
> /var/lib/weewx/weewx.sdb
> 1546297200|
> 1546297260|
> 1546297320|0.0
> 1546297380|0.0
>
> DatumZeit;Temp;Feuchte;Luftdruck;Regen;Wind;Richtung;Windboeen
> 01.01.2019 00:00;6,9;97;1026,6;0,2;4,7;242;9,7
> 01.01.2019 00:01;6,9;97;1026,6;0,2;4,7;251;7,9
> 01.01.2019 00:02;6,9;97;1026,6;0;4,7;250;7,9
> 01.01.2019 00:03;6,9;97;1026,6;0;4,7;245;4,7
>
>
> gjr80 schrieb am Samstag, 14. Januar 2023 um 23:19:12 UTC+1:
>
>> OK. Let's go straight to the horses head, what happens when you manually 
>> query the database archive table for the period concerned. Do each of the 
>> rows show the correct rainfall data or is it missing?
>>
>> Gary
>>
>> On Sunday, 15 January 2023 at 08:06:20 UTC+10 schulz@gmail.com wrote:
>>
>>> Thanks for the info. But for testing I delete every time the whole DB 
>>> and the NOAA reports. I have a Weewx test environment specifically for this.
>>>
>>> gjr80 schrieb am Samstag, 14. Januar 2023 um 23:03:41 UTC+1:
>>>
>>>> You need to be very careful when using the NOAA format reports to 
>>>> verify the import of historical data, this is because only the current 
>>>> month and current year reports are updated each report cycle. Historical 
>>>> reports are not updated so will not reflect and changes to earlier data. 
>>>> The sample data you provided is from January 2019 so I am guessing you did 
>>>> not import into the current month and year on your system. Try deleting 
>>>> all 
>>>> of your NOAA format reports from your WeeWX system, they will all be 
>>>> re-generated on the next report cycle based on the current database data.
>>>>
>>>> Gary 
>>>>
>>>> On Sunday, 15 January 2023 at 07:06:08 UTC+10 schulz@gmail.com 
>>>> wrote:
>>>>
>>>>> [image: 2023-01-14 22_05_47-Blub.png]
>>>>>
>>>>> David Schulz schrieb am Samstag, 14. Januar 2023 um 22:04:28 UTC+1:
>>>>>
>>>>>> wee_import --verbose --import-config=/etc/weewx/import/csv.conf
>>>>>> /usr/share/weewx/wee_import:719: DeprecationWarning: The distutils 
>>>>>> package is deprecated and slated for removal in Python 3.12. Use 
>>>>>> setuptools 
>>>>>> or check PEP 632 for potential alternatives
>>>>>>   from distutils.version import StrictVersion
>>>>>> Using WeeWX configuration file /etc/weewx/weewx.conf
>>>>>> Starting wee_import...
>>>>>> A CSV import from source file '/etc/weewx/import/EXP201901A.CSV' has 
>>>>>> been requested.
>>>>>> The following options will be used:
>>>>>>  config=/etc/weewx/weewx.conf, 
>>>>>> import-config=/etc/weewx/import/csv.conf
>>>>>>  source=/etc/weewx/import/EXP201901A.CSV, from=None, to=None
>>>>>>  dry-run=None, calc_missing=True, ignore_invalid_data=True
>>>>>>  tranche=1000, interval=derive, date/time_string_format=%d.%m.%Y 
>>>>>> %H:%M
>>>>>>  delimiter=';', rain=cumulative, wind_direction=[-360.0, 360.0]
>>>>>>  UV=False, radiation=False
>>>>>> Using database binding 'wx_binding', which is bound to database 
>>>>>> 'weewx.sdb'
>>>>>> Destination table 'archive' unit system is '0x01' (US).
>>>>>> Missing derived observations will be calculated.
>>>>>> All WeeWX UV fields will be set to None.
>>>>>> All WeeWX radiation fields will be set to None.
>>>>>> Starting import ...
>>>>>> Obtaining raw import data for period 1 ...
>>>>>> The following imported field-to-WeeWX field map will be used:
>>>>>>  source field 'DatumZeit' in units 'unix_epoch' --> WeeWX field 
>>>>>> 'dateTime'
>>>>>>  source field 'Temp' in units 'degree_C' --> WeeWX field 'outTemp'
>>>>>>  source field 'Feuchte' in units 'percent' --> WeeWX field 
>>>>>> 'outHumidity'
>>>>>>  source field 'Lu

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
There should actually be values in there.

echo "SELECT dateTime, rain FROM archive" | sqlite3 /var/lib/weewx/weewx.sdb
1546297200|
1546297260|
1546297320|0.0
1546297380|0.0

DatumZeit;Temp;Feuchte;Luftdruck;Regen;Wind;Richtung;Windboeen
01.01.2019 00:00;6,9;97;1026,6;0,2;4,7;242;9,7
01.01.2019 00:01;6,9;97;1026,6;0,2;4,7;251;7,9
01.01.2019 00:02;6,9;97;1026,6;0;4,7;250;7,9
01.01.2019 00:03;6,9;97;1026,6;0;4,7;245;4,7


gjr80 schrieb am Samstag, 14. Januar 2023 um 23:19:12 UTC+1:

> OK. Let's go straight to the horses head, what happens when you manually 
> query the database archive table for the period concerned. Do each of the 
> rows show the correct rainfall data or is it missing?
>
> Gary
>
> On Sunday, 15 January 2023 at 08:06:20 UTC+10 schulz@gmail.com wrote:
>
>> Thanks for the info. But for testing I delete every time the whole DB and 
>> the NOAA reports. I have a Weewx test environment specifically for this.
>>
>> gjr80 schrieb am Samstag, 14. Januar 2023 um 23:03:41 UTC+1:
>>
>>> You need to be very careful when using the NOAA format reports to verify 
>>> the import of historical data, this is because only the current month and 
>>> current year reports are updated each report cycle. Historical reports are 
>>> not updated so will not reflect and changes to earlier data. The sample 
>>> data you provided is from January 2019 so I am guessing you did not import 
>>> into the current month and year on your system. Try deleting all of your 
>>> NOAA format reports from your WeeWX system, they will all be re-generated 
>>> on the next report cycle based on the current database data.
>>>
>>> Gary 
>>>
>>> On Sunday, 15 January 2023 at 07:06:08 UTC+10 schulz@gmail.com 
>>> wrote:
>>>
>>>> [image: 2023-01-14 22_05_47-Blub.png]
>>>>
>>>> David Schulz schrieb am Samstag, 14. Januar 2023 um 22:04:28 UTC+1:
>>>>
>>>>> wee_import --verbose --import-config=/etc/weewx/import/csv.conf
>>>>> /usr/share/weewx/wee_import:719: DeprecationWarning: The distutils 
>>>>> package is deprecated and slated for removal in Python 3.12. Use 
>>>>> setuptools 
>>>>> or check PEP 632 for potential alternatives
>>>>>   from distutils.version import StrictVersion
>>>>> Using WeeWX configuration file /etc/weewx/weewx.conf
>>>>> Starting wee_import...
>>>>> A CSV import from source file '/etc/weewx/import/EXP201901A.CSV' has 
>>>>> been requested.
>>>>> The following options will be used:
>>>>>  config=/etc/weewx/weewx.conf, 
>>>>> import-config=/etc/weewx/import/csv.conf
>>>>>  source=/etc/weewx/import/EXP201901A.CSV, from=None, to=None
>>>>>  dry-run=None, calc_missing=True, ignore_invalid_data=True
>>>>>  tranche=1000, interval=derive, date/time_string_format=%d.%m.%Y 
>>>>> %H:%M
>>>>>  delimiter=';', rain=cumulative, wind_direction=[-360.0, 360.0]
>>>>>  UV=False, radiation=False
>>>>> Using database binding 'wx_binding', which is bound to database 
>>>>> 'weewx.sdb'
>>>>> Destination table 'archive' unit system is '0x01' (US).
>>>>> Missing derived observations will be calculated.
>>>>> All WeeWX UV fields will be set to None.
>>>>> All WeeWX radiation fields will be set to None.
>>>>> Starting import ...
>>>>> Obtaining raw import data for period 1 ...
>>>>> The following imported field-to-WeeWX field map will be used:
>>>>>  source field 'DatumZeit' in units 'unix_epoch' --> WeeWX field 
>>>>> 'dateTime'
>>>>>  source field 'Temp' in units 'degree_C' --> WeeWX field 'outTemp'
>>>>>  source field 'Feuchte' in units 'percent' --> WeeWX field 
>>>>> 'outHumidity'
>>>>>  source field 'Luftdruck' in units 'hPa' --> WeeWX field 
>>>>> 'barometer'
>>>>>  source field 'Regen' in units 'mm' --> WeeWX field 'rain'
>>>>>  source field 'Wind' in units 'km_per_hour' --> WeeWX field 
>>>>> 'windSpeed'
>>>>>  source field 'Richtung' in units 'degree_compass' --> WeeWX field 
>>&

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
Thanks for the info. But for testing I delete every time the whole DB and 
the NOAA reports. I have a Weewx test environment specifically for this.

gjr80 schrieb am Samstag, 14. Januar 2023 um 23:03:41 UTC+1:

> You need to be very careful when using the NOAA format reports to verify 
> the import of historical data, this is because only the current month and 
> current year reports are updated each report cycle. Historical reports are 
> not updated so will not reflect and changes to earlier data. The sample 
> data you provided is from January 2019 so I am guessing you did not import 
> into the current month and year on your system. Try deleting all of your 
> NOAA format reports from your WeeWX system, they will all be re-generated 
> on the next report cycle based on the current database data.
>
> Gary 
>
> On Sunday, 15 January 2023 at 07:06:08 UTC+10 schulz@gmail.com wrote:
>
>> [image: 2023-01-14 22_05_47-Blub.png]
>>
>> David Schulz schrieb am Samstag, 14. Januar 2023 um 22:04:28 UTC+1:
>>
>>> wee_import --verbose --import-config=/etc/weewx/import/csv.conf
>>> /usr/share/weewx/wee_import:719: DeprecationWarning: The distutils 
>>> package is deprecated and slated for removal in Python 3.12. Use setuptools 
>>> or check PEP 632 for potential alternatives
>>>   from distutils.version import StrictVersion
>>> Using WeeWX configuration file /etc/weewx/weewx.conf
>>> Starting wee_import...
>>> A CSV import from source file '/etc/weewx/import/EXP201901A.CSV' has 
>>> been requested.
>>> The following options will be used:
>>>  config=/etc/weewx/weewx.conf, 
>>> import-config=/etc/weewx/import/csv.conf
>>>  source=/etc/weewx/import/EXP201901A.CSV, from=None, to=None
>>>  dry-run=None, calc_missing=True, ignore_invalid_data=True
>>>  tranche=1000, interval=derive, date/time_string_format=%d.%m.%Y 
>>> %H:%M
>>>  delimiter=';', rain=cumulative, wind_direction=[-360.0, 360.0]
>>>  UV=False, radiation=False
>>> Using database binding 'wx_binding', which is bound to database 
>>> 'weewx.sdb'
>>> Destination table 'archive' unit system is '0x01' (US).
>>> Missing derived observations will be calculated.
>>> All WeeWX UV fields will be set to None.
>>> All WeeWX radiation fields will be set to None.
>>> Starting import ...
>>> Obtaining raw import data for period 1 ...
>>> The following imported field-to-WeeWX field map will be used:
>>>  source field 'DatumZeit' in units 'unix_epoch' --> WeeWX field 
>>> 'dateTime'
>>>  source field 'Temp' in units 'degree_C' --> WeeWX field 'outTemp'
>>>  source field 'Feuchte' in units 'percent' --> WeeWX field 
>>> 'outHumidity'
>>>  source field 'Luftdruck' in units 'hPa' --> WeeWX field 'barometer'
>>>  source field 'Regen' in units 'mm' --> WeeWX field 'rain'
>>>  source field 'Wind' in units 'km_per_hour' --> WeeWX field 
>>> 'windSpeed'
>>>  source field 'Richtung' in units 'degree_compass' --> WeeWX field 
>>> 'windDir'
>>>  source field 'Windboeen' in units 'km_per_hour' --> WeeWX field 
>>> 'windGust'
>>> Raw import data read successfully for period 1.
>>> Mapping raw import data for period 1 ...
>>> Mapped 1440 records.
>>> Raw import data mapped successfully for period 1.
>>> Saving mapped data to archive for period 1 ...
>>> 1440 records identified for import.
>>> Proceeding will save all imported records in the WeeWX archive.
>>> Are you sure you want to proceed (y/n)? y
>>> Unique records processed: 1440; Last timestamp: 2019-01-01 23:59:00 CET 
>>> (1546383540)
>>> Mapped data saved to archive successfully ""for period 1.
>>> Calculating missing derived observations ...
>>> Processing record: 1440; Last record: 2019-01-02 00:00:00 CET 
>>> (1546383600)
>>> Recalculating daily summaries...
>>> Records processed: 1000; time: 2019-01-01 16:39:00 CET (1546357140)
>>> Finished recalculating daily summaries
>>> Finished calculating missing derived observations
>>> Finished import
>>> 1440 records were processed and 1440 unique records imported in 40.49 
>>> seconds.
>

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
[image: 2023-01-14 22_05_47-Blub.png]

David Schulz schrieb am Samstag, 14. Januar 2023 um 22:04:28 UTC+1:

> wee_import --verbose --import-config=/etc/weewx/import/csv.conf
> /usr/share/weewx/wee_import:719: DeprecationWarning: The distutils package 
> is deprecated and slated for removal in Python 3.12. Use setuptools or 
> check PEP 632 for potential alternatives
>   from distutils.version import StrictVersion
> Using WeeWX configuration file /etc/weewx/weewx.conf
> Starting wee_import...
> A CSV import from source file '/etc/weewx/import/EXP201901A.CSV' has been 
> requested.
> The following options will be used:
>  config=/etc/weewx/weewx.conf, import-config=/etc/weewx/import/csv.conf
>  source=/etc/weewx/import/EXP201901A.CSV, from=None, to=None
>  dry-run=None, calc_missing=True, ignore_invalid_data=True
>  tranche=1000, interval=derive, date/time_string_format=%d.%m.%Y %H:%M
>  delimiter=';', rain=cumulative, wind_direction=[-360.0, 360.0]
>  UV=False, radiation=False
> Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
> Destination table 'archive' unit system is '0x01' (US).
> Missing derived observations will be calculated.
> All WeeWX UV fields will be set to None.
> All WeeWX radiation fields will be set to None.
> Starting import ...
> Obtaining raw import data for period 1 ...
> The following imported field-to-WeeWX field map will be used:
>  source field 'DatumZeit' in units 'unix_epoch' --> WeeWX field 
> 'dateTime'
>  source field 'Temp' in units 'degree_C' --> WeeWX field 'outTemp'
>  source field 'Feuchte' in units 'percent' --> WeeWX field 
> 'outHumidity'
>  source field 'Luftdruck' in units 'hPa' --> WeeWX field 'barometer'
>  source field 'Regen' in units 'mm' --> WeeWX field 'rain'
>  source field 'Wind' in units 'km_per_hour' --> WeeWX field 'windSpeed'
>  source field 'Richtung' in units 'degree_compass' --> WeeWX field 
> 'windDir'
>  source field 'Windboeen' in units 'km_per_hour' --> WeeWX field 
> 'windGust'
> Raw import data read successfully for period 1.
> Mapping raw import data for period 1 ...
> Mapped 1440 records.
> Raw import data mapped successfully for period 1.
> Saving mapped data to archive for period 1 ...
> 1440 records identified for import.
> Proceeding will save all imported records in the WeeWX archive.
> Are you sure you want to proceed (y/n)? y
> Unique records processed: 1440; Last timestamp: 2019-01-01 23:59:00 CET 
> (1546383540)
> Mapped data saved to archive successfully ""for period 1.
> Calculating missing derived observations ...
> Processing record: 1440; Last record: 2019-01-02 00:00:00 CET (1546383600)
> Recalculating daily summaries...
> Records processed: 1000; time: 2019-01-01 16:39:00 CET (1546357140)
> Finished recalculating daily summaries
> Finished calculating missing derived observations
> Finished import
> 1440 records were processed and 1440 unique records imported in 40.49 
> seconds.
> Those records with a timestamp already in the archive will not have been
> imported. Confirm successful import in the WeeWX log file.
>
> David Schulz schrieb am Samstag, 14. Januar 2023 um 22:03:34 UTC+1:
>
>> Hi,
>>
>> i want to import some old weatherdata via csv file, but after the import, 
>> the raindata is missing. i tried the import with "rain = cumulative / 
>> discrete".
>>
>> Here my config:
>>
>> source = CSV
>> ###
>> [CSV]
>> file = /etc/weewx/import/EXP201901A.CSV
>> delimiter = ;
>> interval = derive
>> qc = True
>> calc_missing = True
>> ignore_invalid_data = True
>> tranche = 1000
>> UV_sensor = False
>> solar_sensor = False
>> raw_datetime_format = %d.%m.%Y %H:%M
>> # rain = (discrete | cumulative)
>> rain = cumulative
>> wind_direction = -360,360
>> [[FieldMap]]
>> dateTime= DatumZeit, unix_epoch
>> outTemp = Temp, degree_C
>> outHumidity = Feuchte, percent
>> barometer   = Luftdruck, hPa
>> rain= Regen, mm
>> windSpeed   = Wind, km_per_hour
>> windDir = Richtung, degree_compass
>> windGust= Windboeen, km_per_hour
>>
>> And here some sample data.
>

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
wee_import --verbose --import-config=/etc/weewx/import/csv.conf
/usr/share/weewx/wee_import:719: DeprecationWarning: The distutils package 
is deprecated and slated for removal in Python 3.12. Use setuptools or 
check PEP 632 for potential alternatives
  from distutils.version import StrictVersion
Using WeeWX configuration file /etc/weewx/weewx.conf
Starting wee_import...
A CSV import from source file '/etc/weewx/import/EXP201901A.CSV' has been 
requested.
The following options will be used:
 config=/etc/weewx/weewx.conf, import-config=/etc/weewx/import/csv.conf
 source=/etc/weewx/import/EXP201901A.CSV, from=None, to=None
 dry-run=None, calc_missing=True, ignore_invalid_data=True
 tranche=1000, interval=derive, date/time_string_format=%d.%m.%Y %H:%M
 delimiter=';', rain=cumulative, wind_direction=[-360.0, 360.0]
 UV=False, radiation=False
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
All WeeWX UV fields will be set to None.
All WeeWX radiation fields will be set to None.
Starting import ...
Obtaining raw import data for period 1 ...
The following imported field-to-WeeWX field map will be used:
 source field 'DatumZeit' in units 'unix_epoch' --> WeeWX field 
'dateTime'
 source field 'Temp' in units 'degree_C' --> WeeWX field 'outTemp'
 source field 'Feuchte' in units 'percent' --> WeeWX field 'outHumidity'
 source field 'Luftdruck' in units 'hPa' --> WeeWX field 'barometer'
 source field 'Regen' in units 'mm' --> WeeWX field 'rain'
 source field 'Wind' in units 'km_per_hour' --> WeeWX field 'windSpeed'
 source field 'Richtung' in units 'degree_compass' --> WeeWX field 
'windDir'
 source field 'Windboeen' in units 'km_per_hour' --> WeeWX field 
'windGust'
Raw import data read successfully for period 1.
Mapping raw import data for period 1 ...
Mapped 1440 records.
Raw import data mapped successfully for period 1.
Saving mapped data to archive for period 1 ...
1440 records identified for import.
Proceeding will save all imported records in the WeeWX archive.
Are you sure you want to proceed (y/n)? y
Unique records processed: 1440; Last timestamp: 2019-01-01 23:59:00 CET 
(1546383540)
Mapped data saved to archive successfully ""for period 1.
Calculating missing derived observations ...
Processing record: 1440; Last record: 2019-01-02 00:00:00 CET (1546383600)
Recalculating daily summaries...
Records processed: 1000; time: 2019-01-01 16:39:00 CET (1546357140)
Finished recalculating daily summaries
Finished calculating missing derived observations
Finished import
1440 records were processed and 1440 unique records imported in 40.49 
seconds.
Those records with a timestamp already in the archive will not have been
imported. Confirm successful import in the WeeWX log file.

David Schulz schrieb am Samstag, 14. Januar 2023 um 22:03:34 UTC+1:

> Hi,
>
> i want to import some old weatherdata via csv file, but after the import, 
> the raindata is missing. i tried the import with "rain = cumulative / 
> discrete".
>
> Here my config:
>
> source = CSV
> ###
> [CSV]
> file = /etc/weewx/import/EXP201901A.CSV
> delimiter = ;
> interval = derive
> qc = True
> calc_missing = True
> ignore_invalid_data = True
> tranche = 1000
> UV_sensor = False
> solar_sensor = False
> raw_datetime_format = %d.%m.%Y %H:%M
> # rain = (discrete | cumulative)
> rain = cumulative
> wind_direction = -360,360
> [[FieldMap]]
> dateTime= DatumZeit, unix_epoch
> outTemp = Temp, degree_C
> outHumidity = Feuchte, percent
> barometer   = Luftdruck, hPa
> rain= Regen, mm
> windSpeed   = Wind, km_per_hour
> windDir = Richtung, degree_compass
> windGust= Windboeen, km_per_hour
>
> And here some sample data.
>
> DatumZeit;Temp;Feuchte;Luftdruck;Regen;Wind;Richtung;Windboeen
> 01.01.2019 00:00;6,9;97;1026,6;0,2;4,7;242;9,7
> 01.01.2019 00:01;6,9;97;1026,6;0,2;4,7;251;7,9
> 01.01.2019 00:02;6,9;97;1026,6;0,2;4,7;250;7,9
> 01.01.2019 00:03;6,9;97;1026,6;0,2;4,7;245;4,7
> 01.01.2019 00:04;6,9;97;1026,6;0;4,7;250;7,9
> 01.01.2019 00:05;6,9;97;1026,5;0;4,7;234;7,9
> 01.01.2019 00:06;6,9;97;1026,5;0;4,7;232;11,2
> 01.01.2019 00:07;7;97;1026,5;0;4,7;234;4,7
> 01.01.2019 00:08;7;97;1026,5;0;4,7;241;7,9
> 01.01.2019 00:09;7;97;1026,5;0;4,7;240;6,5
>

-- 
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/103cc457-012f-4d35-b606-3063563c40cen%40googlegroups.com.


[weewx-user] Missing Raindata after import

2023-01-14 Thread David Schulz
Hi,

i want to import some old weatherdata via csv file, but after the import, 
the raindata is missing. i tried the import with "rain = cumulative / 
discrete".

Here my config:

source = CSV
###
[CSV]
file = /etc/weewx/import/EXP201901A.CSV
delimiter = ;
interval = derive
qc = True
calc_missing = True
ignore_invalid_data = True
tranche = 1000
UV_sensor = False
solar_sensor = False
raw_datetime_format = %d.%m.%Y %H:%M
# rain = (discrete | cumulative)
rain = cumulative
wind_direction = -360,360
[[FieldMap]]
dateTime= DatumZeit, unix_epoch
outTemp = Temp, degree_C
outHumidity = Feuchte, percent
barometer   = Luftdruck, hPa
rain= Regen, mm
windSpeed   = Wind, km_per_hour
windDir = Richtung, degree_compass
windGust= Windboeen, km_per_hour

And here some sample data.

DatumZeit;Temp;Feuchte;Luftdruck;Regen;Wind;Richtung;Windboeen
01.01.2019 00:00;6,9;97;1026,6;0,2;4,7;242;9,7
01.01.2019 00:01;6,9;97;1026,6;0,2;4,7;251;7,9
01.01.2019 00:02;6,9;97;1026,6;0,2;4,7;250;7,9
01.01.2019 00:03;6,9;97;1026,6;0,2;4,7;245;4,7
01.01.2019 00:04;6,9;97;1026,6;0;4,7;250;7,9
01.01.2019 00:05;6,9;97;1026,5;0;4,7;234;7,9
01.01.2019 00:06;6,9;97;1026,5;0;4,7;232;11,2
01.01.2019 00:07;7;97;1026,5;0;4,7;234;4,7
01.01.2019 00:08;7;97;1026,5;0;4,7;241;7,9
01.01.2019 00:09;7;97;1026,5;0;4,7;240;6,5

-- 
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/b8c0d27c-7a0b-4920-8aa9-ea62a028b854n%40googlegroups.com.


Re: [weewx-user] Clarification - SDR sensor mapping for lux > illuminance or luminosity?

2022-12-15 Thread David Schulz
Thanks everyone for your assistance.  I think I've got a good sense of what 
I need to do.  Much appreciated!

On Thursday, December 15, 2022 at 11:25:57 PM UTC+10 Greg Troxel wrote:

>
> David Schulz  writes:
>
> > Battery : *1* Temperature: *22.4 C* Humidity : *59 %* 
> > Wind direction: *205* Wind speed: *0.0 m/s* Gust speed: *0.0 
> > m/s* Rainfall : *13.2 mm* UV : *83* UVI 
> > : *0* Light : *10922.0 lux* Integrity : *CRC*
> > In my SDR device sensor map I am mapping the UV value to radiation, the 
> UVI 
> > value to UV. Those values seem to be landing in the 'intended' columns 
> and 
> > display nicely in repots with correct values assigned. 
> >
> > radiation = uv.133.FOWH65BAltPacket
> >
> > UV = uv_index.133.FOWH65BAltPacket
> >
> > luminosity = light.133.FOWH65BAltPacket
> > It is the value being reported as 'light' from the sensor that I'm 
> > struggling with. It's currently I'm mapping that value to field I can 
> > physically see in the database called luminosity. That stores data in 
> the 
> > database but the display shows no units and presents with 6 decimal 
> > places. 
>
> As I understand it, Radiation is supposed to be the physical quantity
> "irradiance" in W/m^2, 1000ish at noon under blue sky. UV seems to be
> some radiometric measurement of just UV, and while that's useful, it is
> not irradiance.
>
> UVI I think you have correct.
>
> As I said before, luminosity is not a sensible word in this context.
>
> So stop mapping UV to radiation, figure out what UV really is, and add a
> column, perhaps uv_irradiance if it's in mW/m^2 which I think it might
> be, but I don't have that kind of hardware.
>
> > After some searching through this group, I found the post referenced 
> where 
> > it sounded like there 'should' be a column called 'illuminance' which is 
> > mapped to a group with the same name which uses lux as units. When I 
> make 
> > that mapping, weewx refuses to start - not surprisingly.
>
> There are multiple schemas, as I understand it (and I am far from an
> expert). Original wview, and extended, and then you can add whatever.
> Read this carefully:
> https://www.weewx.com/docs/customizing.htm#archive_database
>
> Look in bin/schemas in the source.
> The wview regular schema has UV and radiation. Schema entries do not
> give units. units are mapped in another file.
>
> wview extended adds luminosity. My best guess is that luminosity is a
> word to mean illuminance, and that it came from a decision in a scheme
> not in weewx long ago
>
> The processing part of the code seems to use illuminance in lux. This
> is correct.
>
> The fineoffset driver converts (bogus but the best you can do)
> illuminance to radiation and puts that in the radiation column.
>
> > So that leaves me with 2 options - assume my database is 'incorrect' and 
> > add a column (wee_database --add-column) called illuminance and remap 
> the 
> > light values to that column. The alternative is to add the existing 
> column 
> > to the illuminance group so it uses the correct unit and I can apply 
> some 
> > formatting. I guess I'm wondering if there are other options, and if 
> not, 
> > which of the methods is the "safest" in terms of playing nice with 
> future 
> > upgrades.
>
> My read -- and don't trust me -- is that having luminosity in the schema
> is a bug, perhaps inherited from wview, and that you want an illuminance
> column.
>
> > I'm just now looking up the command syntax to add a column and I notice 
> > this example from the section on renaming columns - 'wee_database 
> > --rename-column=luminosity --to-name=illuminance'. Maybe not a 
> coincidence 
> > that example is used? That's starting to lok like my third (and best?) 
> > option.
>
> That's what I would do, after making 3 backups, one of which is off
> site :-) 
>
> > Appreciate any guidance on what the intended design is here.
>
> Note that I am really just guessing in places.
>

-- 
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/87deb6c8-6bad-4435-bce5-2f076a1ec95dn%40googlegroups.com.


Re: [weewx-user] Clarification - SDR sensor mapping for lux > illuminance or luminosity?

2022-12-14 Thread David Schulz
Hi Greg,

Thanks for taking the time to respond.  

The WH65B reports values for 'UV', 'UVI' and 'Light' as you can see in the 
data coming through (shown below) when running rtl-433 from the command 
line.
*_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*

time  : *2022-12-14 22:05:08*

model : *Fineoffset-WH65B*   ID: *133*

Battery   : *1*Temperature: *22.4 C*   Humidity  : *59 %*  
Wind direction: *205*   Wind speed: *0.0 m/s*   Gust speed: 
*0.0 
m/s*   Rainfall  : *13.2 mm*   UV: *83*UVI 
  : *0* Light : *10922.0 lux*   Integrity : *CRC*
In my SDR device sensor map I am mapping the UV value to radiation, the UVI 
value to UV.  Those values seem to be landing in the 'intended' columns and 
display nicely in repots with correct values assigned.  

radiation = uv.133.FOWH65BAltPacket

UV = uv_index.133.FOWH65BAltPacket

luminosity = light.133.FOWH65BAltPacket
It is the value being reported as 'light' from the sensor that I'm 
struggling with.  It's currently I'm mapping that value to field I can 
physically see in the database called luminosity.  That stores data in the 
database but the display shows no units and presents with 6 decimal 
places.  

After some searching through this group, I found the post referenced where 
it sounded like there 'should' be a column called 'illuminance' which is 
mapped to a group with the same name which uses lux as units.  When I make 
that mapping, weewx refuses to start - not surprisingly.

So that leaves me with 2 options - assume my database is 'incorrect' and 
add a column (wee_database --add-column) called illuminance and remap the 
light values to that column.  The alternative is to add the existing column 
to the illuminance group so it uses the correct unit and I can apply some 
formatting.  I guess I'm wondering if there are other options, and if not, 
which of the methods is the "safest" in terms of playing nice with future 
upgrades.

I'm just now looking up the command syntax to add a column and I notice 
this example from the section on renaming columns - 'wee_database 
--rename-column=luminosity --to-name=illuminance'.  Maybe not a coincidence 
that example is used?  That's starting to lok like my third (and best?) 
option.

Appreciate any guidance on what the intended design is here.

Thanks,
David


On Tuesday, December 13, 2022 at 11:09:32 PM UTC+10 Greg Troxel wrote:

>
> David Schulz  writes:
>
> > I recently upgrade my venerable WH1080 sensor to the WH65B sensor array. 
> > I'm grabbing data directly using the SDR driver. Just having trouble 
> > nailing down the correct sensor mapping for the lux values being 
> reported.
> >
> > I'm looking at this post - 
> > https://groups.google.com/g/weewx-user/c/7ouux0bviRE/m/u46MyYN5BQAJ, 
> which 
> > lead me to believe there should be a field called illuminance which maps 
> to 
> > the illuminance group which sets the units to be lux. It sounds like 
> there 
> > might have been a column called luminosity in the schema at one point 
> but 
> > it was replaced with illuminance?
>
> First, read this:
>
> https://github.com/weewx/weewx/wiki/Watts-and-lux
>
> > My database is using the extended schema but is still showing only a 
> > luminosity column and has no illuminance column. I've just run a clean 
> > install on a spare Pi and I'm seeing the same column names as my main 
> > system. 
> >
> > Contemplating whether I add a new column called illuminance or assign 
> the 
> > existing luminosity column to the illuminance group so that correct 
> units 
> > get applied. I'd appreciate any recommendations on which is the safer 
> path 
> > regarding things working cleanly with future upgrades.
>
> I am not at all clear on the details of those sensors.
>
> illuminance has units lux; it is human-perceived light falling per area.
>
> Luminosity is a radiometric unit (power) rather than photometric (human
> perception). And, it's total power from a source, which doesn't make
> any sense for a weather station:
>
> https://en.wikipedia.org/wiki/Luminosity
>
> The two things weather stations often measure are:
>
> illuminance in lux, super roughly 200 000 in full sun
> irradiance in W/m^2, roughly 1000 in full sun
>
> So the big questions are
>
> Wha

[weewx-user] Clarification - SDR sensor mapping for lux > illuminance or luminosity?

2022-12-13 Thread David Schulz
I recently upgrade my venerable WH1080 sensor to the WH65B sensor array.  
I'm grabbing data directly using the SDR driver.  Just having trouble 
nailing down the correct sensor mapping for the lux values being reported.

I'm looking at this post -  
https://groups.google.com/g/weewx-user/c/7ouux0bviRE/m/u46MyYN5BQAJ, which 
lead me to believe there should be a field called illuminance which maps to 
the illuminance group which sets the units to be lux.  It sounds like there 
might have been a column called luminosity in the schema at one point but 
it was replaced with illuminance?

My database is using the extended schema but is still showing only a 
luminosity column and has no illuminance column.  I've just run a clean 
install on a spare Pi and I'm seeing the same column names as my main 
system. 

Contemplating whether I add a new column called illuminance or assign the 
existing luminosity column to the illuminance group so that correct units 
get applied.  I'd appreciate any recommendations on which is the safer path 
regarding things working cleanly with future upgrades.

Appreciate your assistance!
David

-- 
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/add974ea-6c8a-4450-a2cd-59079314e77an%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-03 Thread David Marshall
All working fine.
Many thanks for the new release.

On Thursday, November 3, 2022 at 3:58:33 AM UTC+1 gjr80 wrote:

> I've released v0.6.0 which should fix the average bearing/current bearing 
> issue highlighted in this thread. The release can be found in the usual 
> place <https://github.com/gjr80/weewx-realtime_gauge-data/releases>.
>
> In testing v0.6.0 I've noticed a problem with sporadic windrun updates on 
> the Wind Rose gauge. I'm not sure if this a bug or an issue with my system 
> as it needs more debug time than I have available just now. I will 
> investigate later this week and if necessary make a dot dot release.
>
> Gary  
>
> On Tuesday, 1 November 2022 at 22:28:59 UTC+10 marsha...@gmail.com wrote:
>
>> Thanks Gary, that would be great.
>> Amazing piece of work by the way.
>> David
>>
>> On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:
>>
>>> Thanks for spotting this. There is an issue is v0.5.5 that maps current 
>>> wind direction to both the 'bearing' and 'avgbearing' fields used by the 
>>> SteelSeries gauges. I should have a fix by tomorrow.
>>>
>>> Gary
>>>
>>> On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com 
>>> wrote:
>>>
>>>> Built a new station using an esp32 which mqtt’s data every second to a 
>>>> Raspi. A python program converts this to a txt file which I then file 
>>>> parse 
>>>> into weewx. All ok.
>>>> I have successfully installed the steelseries gauges and the rtgd 
>>>> extension. All works fine and it is fantastic to see the gauges updating 
>>>> in 
>>>> real time.
>>>>
>>>> Just one small problem - the Wind Direction gauge shows latest and 
>>>> average, but the average is always the same as the latest. Tried playing 
>>>> with the rtgd.py program but even when I set data[avgdirection] to a 
>>>> different value, nothing  changes.
>>>>
>>>> Any ideas?
>>>>
>>>

-- 
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/d75f6f2e-5cda-49b9-9df5-b16232b87af3n%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-01 Thread David Marshall
Thanks Gary, that would be great.
Amazing piece of work by the way.
David

On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:

> Thanks for spotting this. There is an issue is v0.5.5 that maps current 
> wind direction to both the 'bearing' and 'avgbearing' fields used by the 
> SteelSeries gauges. I should have a fix by tomorrow.
>
> Gary
>
> On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com wrote:
>
>> Built a new station using an esp32 which mqtt’s data every second to a 
>> Raspi. A python program converts this to a txt file which I then file parse 
>> into weewx. All ok.
>> I have successfully installed the steelseries gauges and the rtgd 
>> extension. All works fine and it is fantastic to see the gauges updating in 
>> real time.
>>
>> Just one small problem - the Wind Direction gauge shows latest and 
>> average, but the average is always the same as the latest. Tried playing 
>> with the rtgd.py program but even when I set data[avgdirection] to a 
>> different value, nothing  changes.
>>
>> Any ideas?
>>
>

-- 
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/6e032ed1-12eb-4aad-a310-3ad843c05926n%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-01 Thread David Marshall
Thanks Gary, looking at that.
Tried to keep things as simple as possible at the esp32 end, (which by the 
way is an amazing piece of kit for $10). So it is sending very raw data - 
number of clicks from the rain bucket, number of revolutions from the wind 
cups, for example. The python program then converts this into sensible data.
If I need to make any changes in the esp32 it needs to be physically 
connected to the pc using the Arduino ide, which is a pain. Also wanted to 
make as few demands on it as possible until I see how stable it is. But so 
far so good.
If it stays stable will try the direct mqtt driver.
David

On Tuesday, November 1, 2022 at 1:16:57 AM UTC+1 gary@gmail.com wrote:

> Use the MQTT driver which takes the data directly from your mosquitto 
> server.
> Avoids all the middleware.
> I use Rich's excellent package.
> https://github.com/bellrichm/WeeWX-MQTTSubscribe
>
>
> On Monday, October 31, 2022 at 3:34:05 PM UTC-4 marsha...@gmail.com wrote:
>
>> Built a new station using an esp32 which mqtt’s data every second to a 
>> Raspi. A python program converts this to a txt file which I then file parse 
>> into weewx. All ok.
>> I have successfully installed the steelseries gauges and the rtgd 
>> extension. All works fine and it is fantastic to see the gauges updating in 
>> real time.
>>
>> Just one small problem - the Wind Direction gauge shows latest and 
>> average, but the average is always the same as the latest. Tried playing 
>> with the rtgd.py program but even when I set data[avgdirection] to a 
>> different value, nothing  changes.
>>
>> Any ideas?
>>
>

-- 
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/45e52675-a88a-4099-bb49-b688b229n%40googlegroups.com.


[weewx-user] rtgd-0.5.5 extension Wind Direction Average

2022-10-31 Thread David Marshall
Built a new station using an esp32 which mqtt’s data every second to a 
Raspi. A python program converts this to a txt file which I then file parse 
into weewx. All ok.
I have successfully installed the steelseries gauges and the rtgd 
extension. All works fine and it is fantastic to see the gauges updating in 
real time.

Just one small problem - the Wind Direction gauge shows latest and average, 
but the average is always the same as the latest. Tried playing with the 
rtgd.py program but even when I set data[avgdirection] to a different 
value, nothing  changes.

Any ideas?

-- 
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/ca3039f7-b749-4e1b-94ef-e56912ea31b9n%40googlegroups.com.


Re: [weewx-user] 4.9.1 issue

2022-10-28 Thread David Hathaway
I've had a version of this issue since upgrading to 4.8.0.  In addition to 
the "Caught WeeWxIOError: Max tries exceeded while getting LOOP data" 
error, I have "Expected X chars, got Y " errors too.

Oct 28 11:10:15 HP-Iron weewx[3203645] ERROR weewx.drivers.vantage: LOOP 
try #1; error: Expected to read 99 chars; got 0 instead
Oct 28 11:10:19 HP-Iron weewx[3203645] ERROR weewx.drivers.vantage: LOOP 
try #2; error: Expected to read 99 chars; got 11 instead
Oct 28 11:10:23 HP-Iron weewx[3203645] ERROR weewx.drivers.vantage: LOOP 
try #3; error: Expected to read 99 chars; got 20 instead

It will run for a little bit, then eventually fail.  I have cron jobs that 
kill WeeWX and starts it again 15 minutes later.  It will catch up and then 
will start having errors and either die, or it is killed because it will 
fail anyways.

I'm on 4.8.0.  I'll see if 4.9.1 improves things.

Dave

On Friday, October 28, 2022 at 10:23:31 AM UTC-5 tke...@gmail.com wrote:

> Marius, that is a much older problem with several solutions. See the 
> *Troubleshooting 
> Davis stations guide 
> *
>  
> in the wiki.
>
> On Fri, Oct 28, 2022 at 8:18 AM Marius Schamschula  
> wrote:
>
>> I ran into the same issue yesterday when upgrading my RaspberryPI.
>>
>> The device had changed from /dev/ttyUSB0 to /dev/ttyUSB1
>>
>> I updated the weewx.conf file and all is well.
>>
>> On Oct 28, 2022, at 9:12 AM, wfs...@gmail.com  wrote:
>>
>> I just updated to 4.9.1 and am having similar problems..."unable to wake 
>> up Vantage console".  I have a VP1 and I've rebooted the Pi and unplugged 
>> and replugged the serial-to-USB interface.
>>
>> At reboot when Weewx first tries to start, it gets the unable to wakeup 
>> error.  If I do a sudo /etc/init.d/weewx stop and then sudo 
>> /etc/init.d/weewx start, it starts OK.  But I have yet to see it process an 
>> archive interval correctly.  It's getting an unable to wakeup error every 
>> time. 
>>
>> FWIW, I was watching the syslog with tail -f and the try errors all 
>> spilled out at once, like it wasn't pausing between retries. 
>>
>> My setup up until now has been very stable.  I'll go for months without 
>> any errors.
>>
>> At update, I chose to keep my current weewx.conf, and I haven't made any 
>> changes.  The only somewhat unexpected difference between my weewx.conf and 
>> weewx.conf-4.9.1 is that the socket timeout parameter is not in 4.9.1.  
>> But that seems unrelated, and it's still in my weewx.conf anyway.
>>
>> Walt
>>
>> At initial startup:
>>
>> Oct 28 08:20:56 raspberrypi weewx[907] INFO weewx.engine: Loading station 
>> type Vantage (weewx.drivers.vantage)
>> Oct 28 08:20:56 raspberrypi weewx[894]: Starting weewx weather system: 
>> weewx.
>> Oct 28 08:20:56 raspberrypi systemd[1]: Started LSB: weewx weather system.
>> Oct 28 08:20:56 raspberrypi weewx[907] ERROR weewx.drivers.vantage: 
>> Unable to wake up Vantage console
>> Oct 28 08:20:56 raspberrypi weewx[907] ERROR weewx.engine: Import of 
>> driver failed: Unable to wake up Vantage console (> 'weewx.WakeupError'>)
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:  
>>  Traceback (most recent call last):
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>self.console = loader_function(config_dict, self)
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>return VantageService(engine, config_dict)
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1939, in __init__
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>Vantage.__init__(self, **config_dict[DRIVER_NAME])
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 521, in __init__
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>self._setup()
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1340, in _setup
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>self.port.wakeup_console(max_tries=self.max_tries)
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in 
>> wakeup_console
>> Oct 28 08:20:56 raspberrypi weewx[907] CRITICAL weewx.engine:    
>>raise weewx.WakeupError("Unable to wake up Vantage console")
>> Oct 28 08:20:56 raspberrypi w

Re: [weewx-user] Re: Version 4.9.0 available

2022-10-25 Thread David Schulz
Thanks for the fix. And I deleted it because it does not belong directly to 
WeewX. But you fixed it here too.

https://github.com/roe-dl/weewx-wns

tke...@gmail.com schrieb am Dienstag, 25. Oktober 2022 um 15:53:28 UTC+2:

> The calling signature of archiveDaySpan() has changed. I didn't think 
> anyone would be affected by this, but I was obviously wrong.
>
> Go into file /usr/share/weewx/user/wns.cpy and change this
>
> yesterdaytimespan = weeutil.weeutil.archiveDaySpan(_time_ts,1,1)
>
> to this
>
> yesterdaytimespan = weeutil.weeutil.archiveDaySpan(_time_ts,1)
>
> I'll let the author know.
>
> -tk
>
>
> On Tue, Oct 25, 2022 at 6:06 AM David Schulz  wrote:
>
>> Hi, I have the following message in syslog after updating to 4.9.0 / 
>> 4.9.1. Is it relevant or not?
>>
>> python3 -c "import sqlite3; print(sqlite3.sqlite_version)"
>>
> 3.37.2
>>
>> Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: Wns: Unexpected 
>> exception of type 
>> Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: *** Traceback 
>> (most recent call last):
>> Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: ***   File 
>> "/usr/share/weewx/weewx/restx.py", line 379, in run_loop
>> Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: *** 
>> self.process_record(_record, dbmanager)
>> Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: ***   File 
>> "/usr/share/weewx/weewx/restx.py", line 425, in process_record
>> Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: *** 
>> _full_record = self.get_record(record, dbmanager)
>> Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: ***   File 
>> "/usr/share/weewx/user/wns.py", line 540, in get_record
>> Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: *** 
>> yesterdaytimespan = weeutil.weeutil.archiveDaySpan(_time_ts,1,1)
>> Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: *** TypeError: 
>> archiveDaySpan() takes from 1 to 2 positional arguments but 3 were given
>>
>> tke...@gmail.com schrieb am Dienstag, 25. Oktober 2022 um 13:46:36 UTC+2:
>>
>>> I have just uploaded v4.9.1. For older versions of sqlite, it does the 
>>> math calculations in Python, instead of SQL.  
>>>
>>> Please give it a try.
>>>
>>> On Mon, Oct 24, 2022 at 4:13 PM Tom Keffer  wrote:
>>>
>>>> One glitch that could affect new users running older operating systems. 
>>>>
>>>> Older versions of the Seasons skin plot wind direction over time. 
>>>> Unfortunately, they do this by taking the scalar average of the wind 
>>>> directions, instead of the vector average. For example, directions 350°, 
>>>> 0°, and 10° would average out to 120°, not the 0° you would expect. 
>>>>
>>>> The version of Seasons in V4.9 fixes this problem, but it uses SQL 
>>>> queries that use mathematical functions that were introduced in sqlite in 
>>>> v3.35, which came out about a year and a half ago. Not all versions of 
>>>> sqlite have caught up.
>>>>
>>>> Bottom line: if you're installing a new version of the Seasons skin you 
>>>> could encounter this problem. There are several easy workarounds. Let me 
>>>> know if you have the problem.
>>>>
>>>> MySQL users are not affected.
>>>>
>>>> Cheers,
>>>>
>>>> -tk
>>>>
>>>>
>>>>
>>>> On Mon, Oct 24, 2022 at 2:57 PM Tom Keffer  wrote:
>>>>
>>>>> Some new features, some bug fixes. For the most part, upwardly compatible 
>>>>> with earlier releases. See the upgrade guide 
>>>>> <http://www.weewx.com/docs/upgrading.htm#Upgrading_to_V4.9> for the two 
>>>>> obscure exceptions.
>>>>>
>>>>> Available in the usual places.
>>>>>
>>>>>
>>>>> 4.9.0 10/24/2022
>>>>> Fix problem that create 'ghost' values for VantageVue stations.
>>>>> Fix problem that causes `leafWet3` and `leafWet4` to be emitted in VP2
>>>>> stations that do not have the necessary sensors.
>>>>> Fixes issue #771.
>>>>>
>>>>> Try waking the Vantage console before giving up on LOOP errors.
>>>>> Better Vantage diagnostics.
>>>>> Fixes issue #772.
>>>>>
>>>>> Add missing 30-day barometer graph to Smartphone skin.
>>>>> Fixes issue #77

[weewx-user] Re: Version 4.9.0 available

2022-10-25 Thread David Schulz
Hi, I have the following message in syslog after updating to 4.9.0 / 
4.9.1. Is it relevant or not?

python3 -c "import sqlite3; print(sqlite3.sqlite_version)"
3.37.2

Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: Wns: Unexpected 
exception of type 
Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: *** Traceback (most 
recent call last):
Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: ***   File 
"/usr/share/weewx/weewx/restx.py", line 379, in run_loop
Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: *** 
self.process_record(_record, dbmanager)
Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: ***   File 
"/usr/share/weewx/weewx/restx.py", line 425, in process_record
Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: *** 
_full_record = self.get_record(record, dbmanager)
Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: ***   File 
"/usr/share/weewx/user/wns.py", line 540, in get_record
Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: *** 
yesterdaytimespan = weeutil.weeutil.archiveDaySpan(_time_ts,1,1)
Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: *** TypeError: 
archiveDaySpan() takes from 1 to 2 positional arguments but 3 were given

tke...@gmail.com schrieb am Dienstag, 25. Oktober 2022 um 13:46:36 UTC+2:

> I have just uploaded v4.9.1. For older versions of sqlite, it does the 
> math calculations in Python, instead of SQL.  
>
> Please give it a try.
>
> On Mon, Oct 24, 2022 at 4:13 PM Tom Keffer  wrote:
>
>> One glitch that could affect new users running older operating systems. 
>>
>> Older versions of the Seasons skin plot wind direction over time. 
>> Unfortunately, they do this by taking the scalar average of the wind 
>> directions, instead of the vector average. For example, directions 350°, 
>> 0°, and 10° would average out to 120°, not the 0° you would expect. 
>>
>> The version of Seasons in V4.9 fixes this problem, but it uses SQL 
>> queries that use mathematical functions that were introduced in sqlite in 
>> v3.35, which came out about a year and a half ago. Not all versions of 
>> sqlite have caught up.
>>
>> Bottom line: if you're installing a new version of the Seasons skin you 
>> could encounter this problem. There are several easy workarounds. Let me 
>> know if you have the problem.
>>
>> MySQL users are not affected.
>>
>> Cheers,
>>
>> -tk
>>
>>
>>
>> On Mon, Oct 24, 2022 at 2:57 PM Tom Keffer  wrote:
>>
>>> Some new features, some bug fixes. For the most part, upwardly compatible 
>>> with earlier releases. See the upgrade guide 
>>>  for the two 
>>> obscure exceptions.
>>>
>>> Available in the usual places.
>>>
>>>
>>> 4.9.0 10/24/2022
>>> Fix problem that create 'ghost' values for VantageVue stations.
>>> Fix problem that causes `leafWet3` and `leafWet4` to be emitted in VP2
>>> stations that do not have the necessary sensors.
>>> Fixes issue #771.
>>>
>>> Try waking the Vantage console before giving up on LOOP errors.
>>> Better Vantage diagnostics.
>>> Fixes issue #772.
>>>
>>> Add missing 30-day barometer graph to Smartphone skin.
>>> Fixes issue #774.
>>>
>>> Fix check for reuse_ssl for Python versions greater than 3.10.
>>> Fixes issue #775.
>>>
>>> The utility wee_reports can now be invoked by specifying a --date and 
>>> --time.
>>> Fixes issue #776.
>>>
>>> Allow timestamps that are not integers.
>>> Fixes issue #779.
>>>
>>> Add localization file for Traditional Chinese. Thanks to user lyuxingliu!
>>> PR #777.
>>>
>>> Don't swallow syntax errors when wee_config is looking for drivers.
>>>
>>> Include 'wind' in daily summary if 'windSpeed' is present.
>>>
>>> Refine translations for French skin. Thanks to user Pascal!
>>>
>>> Allow a custom cipher to be specified for FTP uploads. See option 'cipher'
>>> under [[FTP]].
>>>
>>> Ensure that rundir exists and has correct permissions in weewx-multi
>>>
>>> Allow auto-provisioning feature of Seasons to work when using a SQL 
>>> expression
>>> for option data_type in the ImageGenerator. Fixes issue #782.
>>>
>>> Allow constants albedo, cn, and cd to be specified when calculating ET.
>>> See the User's Guide. Resolves issue #730.
>>>
>>> Fix problem that prevented wee_reports from using a default location
>>> for weewx.conf.
>>>
>>> Post location of the configuration file and the top-level module to the 
>>> station
>>> registry. Thanks to Vince! PR #705.
>>>
>>> Fix minor install warning under Python 3.10. Fixes issue #799.
>>>
>>> Fix problem where xtypes.ArchiveTable.get_series() does not pass option_dict
>>> on to get_aggregate(). Fixes issue #797
>>>
>>> Added copytruncate option to default log rotation configuration.  Thanks to
>>> user sastorsl.  Addresses PR #791.
>>>
>>> Update the default and example rules in rsyslog configuration.  The output
>>> from the weewx daemon goes to weewxd.log whereas the output from wee_xxx
>>> utilities goes to weewx.log.  Also added examples of how 

Re: [weewx-user] Finally traced out why my Weewx isn't posting to WU

2022-10-19 Thread David Barto
Will 3.9.2 work with python3? I’m unsure of the version the switchover from 
python2 to python3 occurred.

David

> On Oct 19, 2022, at 2:13 PM, Tom Keffer  wrote:
> 
> Most likely your version of OpenSSL and/or Python are outdated. 
> 
> A bit of Googling reveals: 
> https://stackoverflow.com/questions/44316292/ssl-sslerror-tlsv1-alert-protocol-version
>  
> <https://stackoverflow.com/questions/44316292/ssl-sslerror-tlsv1-alert-protocol-version>
> 
> Try the suggestions there.
> 
> On Wed, Oct 19, 2022 at 1:37 PM David Barto  <mailto:da...@kdbarto.org>> wrote:
> Oct 19 13:32:27 Magrathea weewx[52934]: restx: Wunderground-PWS: Failed 
> upload attempt 3:  alert protocol version (_ssl.c:590)>
> 
> 
> Since the throw from the post in restx.py (line 443)
> 
> _response = self.post_request(request, data)
> 
> was getting captured, however since the logging was DEBUG nothing showed up. 
> I changed the logging to ALERT and lo- the problem was uncovered.
> 
> This is with 3.9.2, running on a very old MacOS 10.11.6. No the hardware 
> won’t go beyond this version.
> This was working for a few days, then it started failing again, without 
> changes.
> 
> Any ideas what certs need update?
> 
> David
> 
> -- 
> 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 
> <mailto:weewx-user%2bunsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/B6D68977-903D-4D0F-BC66-8538C15FBE99%40kdbarto.org
>  
> <https://groups.google.com/d/msgid/weewx-user/B6D68977-903D-4D0F-BC66-8538C15FBE99%40kdbarto.org>.
> 
> -- 
> 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 
> <mailto:weewx-user+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/CAPq0zEDLg93boFu9cpWOWwmDJMf4-w8RjMCiLU7DV4doNRyzzg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEDLg93boFu9cpWOWwmDJMf4-w8RjMCiLU7DV4doNRyzzg%40mail.gmail.com?utm_medium=email&utm_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/370EFED8-0E88-4140-A08C-4A0B283B2B44%40kdbarto.org.


[weewx-user] Finally traced out why my Weewx isn't posting to WU

2022-10-19 Thread David Barto
Oct 19 13:32:27 Magrathea weewx[52934]: restx: Wunderground-PWS: Failed upload 
attempt 3: 


Since the throw from the post in restx.py (line 443)

_response = self.post_request(request, data)

was getting captured, however since the logging was DEBUG nothing showed up. I 
changed the logging to ALERT and lo- the problem was uncovered.

This is with 3.9.2, running on a very old MacOS 10.11.6. No the hardware won’t 
go beyond this version.
This was working for a few days, then it started failing again, without changes.

Any ideas what certs need update?

David

-- 
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/B6D68977-903D-4D0F-BC66-8538C15FBE99%40kdbarto.org.


Re: [weewx-user] WUnderground not publishing again (Oct 4, 2022)

2022-10-09 Thread David Barto
So I finally got around to rebooting my router and restarting weewx, and 
nothing. Still offline.

David

> On Oct 5, 2022, at 12:33 PM, Doug Bo  wrote:
> 
> Reboot of the router seems to have fixed the issue.  Weird.
> 
> Thanks all,
> Doug B.
> 
> 
> On Wednesday, October 5, 2022 at 11:47:15 AM UTC-7 Doug Bo wrote:
> Updated to v4.8 and still receiving the same error...
> 
> Oct  5 11:08:41 raspberrypi2 weewx[3430] DEBUG weewx.restx: Wunderground-RF: 
> Failed upload attempt 1: 
> Oct  5 11:08:41 raspberrypi2 weewx[3430] ERROR weewx.restx: Wunderground-RF: 
> Failed to publish record 2022-10-05 11:07:41 PDT (1664993261): Failed upload 
> after 1 tries
> Oct  5 11:09:41 raspberrypi2 weewx[3430] DEBUG weewx.restx: Wunderground-RF: 
> Failed upload attempt 1: 
> Oct  5 11:09:41 raspberrypi2 weewx[3430] ERROR weewx.restx: Wunderground-RF: 
> Failed to publish record 2022-10-05 11:08:40 PDT (1664993320): Failed upload 
> after 1 tries
> 
> Guess I'll reboot the router and see if that helps.  My remaining 3.9.1 
> station is running fine, even with the old password.  Go figure.  LOL
> 
> Doug B.
> 
> 
> On Wednesday, October 5, 2022 at 10:39:06 AM UTC-7 Doug Bo wrote:
> Thanks Tom & David
> 
> Guess I'm going to upgrade to the latest & greatest.  :)
> 
> Stand by...
> 
> Doug B.
> 
> 
> On Wednesday, October 5, 2022 at 10:01:39 AM UTC-7 tke...@gmail.com <> wrote:
> V3.9.2 switched from using http to https. That could definitely be the issue.
> 
> On Wed, Oct 5, 2022 at 9:39 AM David Barto > wrote:
> I’m on 3.9.1 and am seeing the failure to publish as well. Mine started as 
> the first update after midnight on Oct 5. So they changed something at their 
> end, as I was asleep at that time.
> 
> Just restarted everything based on the earlier email to the list, no success 
> (and I didn’t expect it either).
> 
> David
> 
> 
>> On Oct 5, 2022, at 9:16 AM, Doug Bo > wrote:
>> 
>> Turned on weewx debugging ...
>> 
>> Oct  5 09:12:39 raspberrypi2 weewx[1601]: restx: Wunderground-RF: Failed 
>> upload attempt 1: 
>> Oct  5 09:12:44 raspberrypi2 weewx[1601]: restx: Wunderground-RF: Failed to 
>> publish record 2022-10-05 09:11:39 PDT (1664986299): Failed upload after 1 
>> tries
>> Oct  5 09:13:44 raspberrypi2 weewx[1601]: restx: Wunderground-RF: Failed 
>> upload attempt 1: 
>> Oct  5 09:13:49 raspberrypi2 weewx[1601]: restx: Wunderground-RF: Failed to 
>> publish record 2022-10-05 09:12:44 PDT (1664986364): Failed upload after 1 
>> tries
>> 
>> Maybe version 3.9.1 has the old URL?
>> 
>> Which is odd, my other 3.9.1 station is running just fine.
>> 
>> Also I switched from the old password method to the ID key.  No change, 
>> still broken.
>> 
>> Doug B.
>> 
>> On Wednesday, October 5, 2022 at 9:12:25 AM UTC-7 tke...@gmail.com 
>> <http://gmail.com/> wrote:
>> Pretty mysterious. I wonder if this is due to using a password instead of an 
>> id key?
>> 
>> On Wed, Oct 5, 2022 at 8:55 AM Doug Bo > wrote:
>> Surprise, surprise I got a reply!
>> 
>> Thank you for reaching out.  I checked the information we have for your 
>> station, and it looks like it went down when we turned off the old 
>> infrastructure.  So the station is hanging on to something it ought not.
>> 
>> The best thing to do is to reboot/reset/power cycle everything from the 
>> instrument itself to the internet, including your router if you can.  That 
>> should insure a fresh connection to us.
>> 
>> Please let me know if you don’t see data again on the PWS dashboard within 
>> about 20-30 minutes after finishing the reset.  
>> 
>> 
>> 
>> 
>> On Wednesday, October 5, 2022 at 8:50:00 AM UTC-7 David Barto wrote:
>> > On Oct 5, 2022, at 8:44 AM, Doug Bo > wrote: 
>> > 
>> > Anyone else having problems with Weather Underground again? 
>> > 
>> > .... Wunderground-RF: Failed to publish record 
>> >  Wunderground-RF: Failed to publish record 
>> >  Wunderground-RF: Failed to publish record 
>> > 
>> > I sent WU a message but this is the same station that is missing the 
>> > pressure reading on their app but pressure appears just fine on the web. 
>> > No response on that issue. Sigh, remember when WU just worked as intended? 
>> > LOL 
>> > 
>> > Doug B. 
>> > 
>> 
>> Yes, I noticed this AM that WU stopped updating. 
>> 
>> Sigh, again. 
>> 
>> David 
>> 
>> 
>>

Re: [weewx-user] WUnderground not publishing again (Oct 4, 2022)

2022-10-05 Thread David Barto
I’m on 3.9.1 and am seeing the failure to publish as well. Mine started as the 
first update after midnight on Oct 5. So they changed something at their end, 
as I was asleep at that time.

Just restarted everything based on the earlier email to the list, no success 
(and I didn’t expect it either).

David


> On Oct 5, 2022, at 9:16 AM, Doug Bo  wrote:
> 
> Turned on weewx debugging ...
> 
> Oct  5 09:12:39 raspberrypi2 weewx[1601]: restx: Wunderground-RF: Failed 
> upload attempt 1: 
> Oct  5 09:12:44 raspberrypi2 weewx[1601]: restx: Wunderground-RF: Failed to 
> publish record 2022-10-05 09:11:39 PDT (1664986299): Failed upload after 1 
> tries
> Oct  5 09:13:44 raspberrypi2 weewx[1601]: restx: Wunderground-RF: Failed 
> upload attempt 1: 
> Oct  5 09:13:49 raspberrypi2 weewx[1601]: restx: Wunderground-RF: Failed to 
> publish record 2022-10-05 09:12:44 PDT (1664986364): Failed upload after 1 
> tries
> 
> Maybe version 3.9.1 has the old URL?
> 
> Which is odd, my other 3.9.1 station is running just fine.
> 
> Also I switched from the old password method to the ID key.  No change, still 
> broken.
> 
> Doug B.
> 
> On Wednesday, October 5, 2022 at 9:12:25 AM UTC-7 tke...@gmail.com wrote:
> Pretty mysterious. I wonder if this is due to using a password instead of an 
> id key?
> 
> On Wed, Oct 5, 2022 at 8:55 AM Doug Bo  > wrote:
> Surprise, surprise I got a reply!
> 
> Thank you for reaching out.  I checked the information we have for your 
> station, and it looks like it went down when we turned off the old 
> infrastructure.  So the station is hanging on to something it ought not.
> 
> The best thing to do is to reboot/reset/power cycle everything from the 
> instrument itself to the internet, including your router if you can.  That 
> should insure a fresh connection to us.
> 
> Please let me know if you don’t see data again on the PWS dashboard within 
> about 20-30 minutes after finishing the reset.  
> 
> 
> 
> 
> On Wednesday, October 5, 2022 at 8:50:00 AM UTC-7 David Barto wrote:
> > On Oct 5, 2022, at 8:44 AM, Doug Bo > wrote: 
> > 
> > Anyone else having problems with Weather Underground again? 
> > 
> >  Wunderground-RF: Failed to publish record 
> >  Wunderground-RF: Failed to publish record 
> >  Wunderground-RF: Failed to publish record 
> > 
> > I sent WU a message but this is the same station that is missing the 
> > pressure reading on their app but pressure appears just fine on the web. No 
> > response on that issue. Sigh, remember when WU just worked as intended? LOL 
> > 
> > Doug B. 
> > 
> 
> Yes, I noticed this AM that WU stopped updating. 
> 
> Sigh, again. 
> 
> David 
> 
> 
> 
> -- 
> 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/c8bd9df6-a8be-4681-a7a6-3a7ef3503da2n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/c8bd9df6-a8be-4681-a7a6-3a7ef3503da2n%40googlegroups.com?utm_medium=email&utm_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 
> <mailto:weewx-user+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/6f801f90-2d60-48a2-9a61-f69b239fbb8bn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/6f801f90-2d60-48a2-9a61-f69b239fbb8bn%40googlegroups.com?utm_medium=email&utm_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/62D06251-3DB9-4AA9-8949-220DFA363933%40kdbarto.org.


Re: [weewx-user] WUnderground not publishing again (Oct 4, 2022)

2022-10-05 Thread David Barto
> On Oct 5, 2022, at 8:44 AM, Doug Bo  wrote:
> 
> Anyone else having problems with Weather Underground again?
> 
>   Wunderground-RF: Failed to publish record
>   Wunderground-RF: Failed to publish record 
>   Wunderground-RF: Failed to publish record 
> 
> I sent WU a message but this is the same station that is missing the pressure 
> reading on their app but pressure appears just fine on the web.  No response 
> on that issue.  Sigh, remember when WU just worked as intended?  LOL
> 
> Doug B.
> 

Yes, I noticed this AM that WU stopped updating.

Sigh, again.

David


-- 
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/D1C5A347-C2EF-4FB3-91D5-4DF80E8CF7D0%40kdbarto.org.


[weewx-user] Re: How do you enable forecast in Weewx-wdc

2022-10-04 Thread David Bätge
There is also a dedicated page for enabling forecast in the wiki of the 
skin: https://github.com/Daveiano/weewx-wdc/wiki/Support-for-weewx-forecast

Let me know if there are still questions!

gary@gmail.com schrieb am Sonntag, 2. Oktober 2022 um 17:02:39 UTC+1:

> Don't forget that you will need to add the following to the skin. conf
> [CheetahGenerator]
> search_list_extensions 
>
> user.forecast.ForecastVariables, user.weewx_wdc_forecast.WdcForecastUtil
>
> On Sunday, October 2, 2022 at 11:57:44 AM UTC-4 gary@gmail.com wrote:
>
>> weewx.conf
>> Adjust HTML_ROOT to your paths
>> Use your WU API key
>> Get your NWS values and use those.
>>
>> [[WdcReport]]
>> skin = weewx-wdc
>> enable = true
>> HTML_ROOT = /home/web/wdc
>> lang = en
>>
>> [[forecast]]
>> skin = forecast
>> HTML_ROOT = /home/web/forecast
>>
>> [Forecast]
>> data_binding = forecast_binding
>> #[[XTide]]
>> #location = "INSERT_LOCATION_HERE (e.g., Boston)"
>> [[Zambretti]]
>> hemisphere = NORTH
>> [[NWS]]
>> lid = MAZ011
>> foid = BOX
>> [[WU]]
>> api_key = 
>> #[[OWM]]
>> #api_key = INSERT_OWM_API_KEY_HERE
>> #[[UKMO]]
>> #api_key = INSERT_UKMO_API_KEY_HERE
>> #location = INSERT_UK_LOCATION_HERE
>> #[[Aeris]]
>> #client_id = INSERT_AERIS_CLIENT_ID_HERE
>> #client_secret = INSERT_AERIS_CLIENT_SECRET_HERE
>> #[[WWO]]
>> #api_key = INSERT_WWO_API_KEY_HERE
>> #[[DS]]
>> #api_key = INSERT_DS_API_KEY_HERE
>>
>>
>> skin.conf
>> Make adjustments for your location.
>>
>> # configuration file for the weewx-wdc skin
>> SKIN_NAME = Weather Data Center
>> SKIN_VERSION = 2.1.0
>>
>> [Extras]
>> # Show a link to the GitHub respository of this skin. Set to False to 
>> hide.
>> github_link = True
>>
>> # This radar image would be available as $Extras.radar_img
>> #radar_img = https://www.dwd.de/DWD/wetter/radar/radfilm_sac_akt.gif
>> # This URL will be used as the image hyperlink:
>> #radar_url =
>> https://www.dwd.de/DE/leistungen/radarbild_film/radarbild_film.html
>>
>> [[forecast_zambretti]]
>> enable = True
>> hemisphere = NORTH  
>>
>> [[forecast_table_settings]]
>> source = WU
>> num_periods = 72
>> num_days = 5
>> show_legend = 1
>> show_hourly = 0
>> show_day = 1
>> show_date = 1
>> show_outlook = 1
>> show_temp = 1
>> show_dewpoint = 0
>> show_humidity = 0
>> show_wind = 1
>> show_tides = 0
>> show_sun = 0
>> show_moon = 0
>> show_pop = 1
>> show_precip = 1
>> show_obvis = 0
>>
>> On Thursday, September 29, 2022 at 2:42:44 PM UTC-4 scott.d...@gmail.com 
>> wrote:
>>
>>> I am having difficulty enabling the forecast feature in weewx-wdc
>>> What needs to be included in weewx.conf to have a forecast from WU, 
>>> AERIS, or NWS?
>>>
>>>

-- 
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/676391ca-1deb-469e-91b2-fe77740d143cn%40googlegroups.com.


Re: [weewx-user] WeatherUnderground Not Publishing

2022-09-23 Thread David Barto
After a long long outage that was never explained and could never be diagnosed 
my Wunderground site is back on the air.

Thanks
David

www.wunderground.com/dashboard/pws/KCAPOWAY187 
<http://www.wunderground.com/dashboard/pws/KCAPOWAY187>
www.kdbarto.org/weather <http://www.kdbarto.org/weather>
www.kdbarto.org/weather/belchertown/ 
<http://www.kdbarto.org/weather/belchertown/>


> On Sep 23, 2022, at 5:59 AM, stefa...@gmail.com  wrote:
> 
> Just in case anyone else is still having WU issues, make sure you are using 
> the "Key" in your WU profile instead of your WU account password in 
> weewx.conf.
> Login to your wunderground.com account and go to "My Devices" under "My 
> Profile". Next to your Station ID, you will see "Key" and in my case, it is 8 
> characters. Use that Key for your password in weewx.conf. This is not the 
> same as the "API Key".
> 
> [[Wunderground]] 
> # This section is for configuring posts to the Weather Underground. 
> 
> # If you wish to post to the Weather Underground, set the option 'enable' to 
> true, then 
> # specify a station (e.g., 'KORHOODR3') and password. To guard against 
> parsing errors, put 
> # the password in quotes. 
> enable = true 
> station = your station id  
> password = "key " 
> 
> # If you plan on using wunderfixer, set the following 
> # to your API key: 
> api_key = your API Key
> 
> Hope this helps as this was my issue. 
> 
> Stefan 
> On Friday, 23 September 2022 at 00:39:35 UTC-4 nileg...@guitar-o-rama.com 
> wrote:
> My weather station is still offline.  Given the number of posts here I'm 
> assuming it's a Weather Underground issue.
> 
> On Thursday, September 22, 2022 at 11:17:21 AM UTC-7 tast...@gmail.com 
>  wrote:
> Same -- back as of 1310ish ET.
> 
> On Thursday, September 22, 2022 at 1:54:41 PM UTC-4 pgeenhuizen wrote:
> Mine is back also as of 13:10:25 EDT
> 
> 
> On 9/22/22 13:17, Tom Keffer wrote:
>> Mine is back online as well. Wonder what that was all about?
>> 
>> On Thu, Sep 22, 2022 at 10:15 AM Dave Webb KB1PVH > 
>> wrote:
>> Mine is back online as of 13:14 EDT.
>> 
>> Dave - KB1PVH
>> 
>> 
>> 
>> 
>> Sent from my Galaxy S21
>> 
>> On Thu, Sep 22, 2022, 12:43 PM Del Merritt > wrote:
>> I am seeing no errors publishing (rapid fire) to wunderground, e.g.:
>> Sep 22 12:38:49 weewx[15535] INFO weewx.restx: Wunderground-RF: Published 
>> record 2022-09-22 12:38:50 EDT (1663864730)
>> Sep 22 12:38:51 weewx[15535] INFO weewx.restx: Wunderground-RF: Published 
>> record 2022-09-22 12:38:52 EDT (1663864732)
>> Sep 22 12:38:53 weewx[15535] INFO weewx.restx: Wunderground-RF: Published 
>> record 2022-09-22 12:38:54 EDT (1663864734)
>> Sep 22 12:38:55 weewx[15535] INFO weewx.restx: Wunderground-RF: Published 
>> record 2022-09-22 12:38:56 EDT (1663864736)
>> Sep 22 12:38:57 weewx[15535] INFO weewx.restx: Wunderground-RF: Published 
>> record 2022-09-22 12:38:58 EDT (1663864738)
>> Sep 22 12:38:59 weewx[15535] INFO weewx.restx: Wunderground-RF: Published 
>> record 2022-09-22 12:39:00 EDT (1663864740)
>> Sep 22 12:39:01 weewx[15535] INFO weewx.restx: Wunderground-RF: Published 
>> record 2022-09-22 12:39:02 EDT (1663864742)
>> 
>> WeeWX 4.8.0, Davis Vantage Pro2. Running on a RaspberryPI.
>> 
>> Cheers,
>> -Del
>> 
>> 
>> On Thu, Sep 22, 2022 at 12:36 PM Pete Geenhuizen > 
>> wrote:
>> Seeing the same thing since 1300 Sept 21.
>> 
>> On 9/22/22 11:49, Tom Stewart wrote:
>>> Nothing since 9/21 @ 10:55 a.m. ET. :-(
>>> 
>>> getting errors like the following in the log:
>>> Sep 22 09:50:39 woodypi weewx[575] ERROR weewx.restx: Wunderground-PWS: 
>>> Failed to publish record 2022-09-22 09:50:00 EDT (1663854600): Failed 
>>> upload after 3 tries
>>> 
>>> similar to Tyler's
>>> 
>>> 
>>> On Thursday, September 22, 2022 at 11:44:45 AM UTC-4 TomR wrote:
>>> I’m seeing the same thing.
>>> 
>>> Tom
>>> 
>>>> On Sep 22, 2022, at 10:35 AM, Tyler Johnson > 
>>>> wrote:
>>>> 
>>> 
>>>> Hello,
>>>> 
>>>> I was wondering if anyone else is having issues publishing records to 
>>>> WeatherUnderground starting yesterday around 11:52PM EST? Both standard 
>>>> and rapid updates seem to be failing but I've validated the API is working 
>>>> and reachable from my server.
>>>> 
>>>&

[weewx-user] Re: Errors on Ubuntu Update

2022-09-03 Thread David Trebacz
For me :
sudo pip3 install paho-mqtt
eliminated my error after the upgrade of ubuntu from 20.04 to 22.04.1

On Friday, September 2, 2022 at 8:43:06 PM UTC-7 purc...@maladomini.com 
wrote:

> Hi all,
>
> I updated Ubuntu to the latest version (22.04.01), and since then, I 
> haven't been able to get it to update. So in troubleshooting it, I thought 
> I would update everything else while I was at it. 
>
> I did an update to Weewx 4.8
> I updated the GW1000 driver to gw1000-0.5.0b5
>
> This is the error I am getting, and Weewx isn't running. Any suggestions 
> on getting it back up and running? Thanks!
>
> Process: 807 ExecStart=/home/weewx/bin/weewxd /home/weewx/weewx.conf 
> (code=exited, status=1/FAILURE)
>Main PID: 807 (code=exited, status=1/FAILURE)
> CPU: 787ms
>
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__: 
> File "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__: 
>   obj = weeutil.weeutil.get_object(svc)(self, config_dict)
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__: 
> File "/home/weewx/bin/weeutil/weeutil.py", line 1150, in get_object
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__: 
>   mod = __import__(module)
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__: 
> File "/home/weewx/bin/user/mqtt.py", line 100, in 
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__: 
>   import paho.mqtt.client as mqtt
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__: 
>   ModuleNotFoundError: No module named 'paho'
> Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__: 
>   Exiting.
> Sep 02 18:49:26 weewx-pi systemd[1]: weewx.service: Main process exited, 
> code=exited, status=1/FAILURE
>

-- 
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/5cc1c196-4165-4a40-ae8c-f330814a0409n%40googlegroups.com.


Re: [weewx-user] WDC Skin

2022-08-30 Thread David Bätge
@luca

You can try out the 2.2.1 release, which contains various bugfixes. 

One change is that now all yScale options are exposed in the skin.conf, 
please have a look at all changes 
here: https://github.com/Daveiano/weewx-wdc/releases/tag/v2.2.1
It is now possible to set a custom yScaleOffset = 5 for inHumidity
David Bätge schrieb am Samstag, 27. August 2022 um 17:18:34 UTC+2:

> Sorry, just for clarification: the yScaleMin = 0, yScaleMax = 103 values 
> are set for humidity.
>
>
>
> David Bätge schrieb am Samstag, 27. August 2022 um 17:02:55 UTC+2:
>
>> @luca You got me. Before making this configurable for the user, I set 
>> some of the values programmatically. I forgot to move some of these static 
>> set values from code to skin.conf. 
>>
>> For example I have set a static
>>
>> yScaleMin = 0
>> yScaleMax = 103
>>
>> via Code. With this, it is not possible to set a custom yScaleOffset 
>> because it's not used if a yScaleMin or yScaleMax is set (see 
>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#general)
>>
>> I will move all these programmatically set default values to the 
>> skin.conf in the next release to give the user full control. Thank you for 
>> pointing this out!
>>
>>
>>
>> luca.mo...@gmail.com schrieb am Samstag, 27. August 2022 um 13:09:32 
>> UTC+2:
>>
>>> @david
>>>
>>> Sorry for the late reply.
>>>
>>> This morning I tested version 2.2.0
>>> Great work.
>>> I edited the configuration file:
>>>  [[[inTemp]]]
>>>  yScaleOffset = 0.5
>>>  [[[inHumidity]]]
>>>   yScaleOffset = 5
>>> The "yScaleOffset = 0.5" setting for inTemp works correctly
>>> The "yScaleOffset" setting for inHumidity seems not to work.
>>>
>>> I also tried
>>>  [[[inHumidity]]]
>>>  yScaleMin = 60
>>>  yScaleMax = 80
>>> and this setting works correctly.
>>> Where am I wrong?
>>>
>>> Thanks for your help and your work.
>>>
>>>
>>> Il giorno sab 20 ago 2022 alle ore 02:15 David Bätge <
>>> david@gmail.com> ha scritto:
>>>
>>>> @luca The new release 2.2.0 
>>>> <https://github.com/Daveiano/weewx-wdc/releases/tag/v2.2.0> is out. 
>>>> Included is among other things (like a really pretty dark mode) three new 
>>>> options for charts customisation: yScaleMin, yScaleMax and yScaleOffset
>>>> .
>>>>
>>>> Min and Max is for setting a static value, yScaleOffset is for setting 
>>>> a custom (dynamic) offset. you can read more about it in the wiki: 
>>>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#general
>>>>
>>>> I hope this will be a good addition and is what you were looking for, 
>>>> thank you for your feedback!
>>>>
>>>> David Bätge schrieb am Dienstag, 16. August 2022 um 03:23:58 UTC+2:
>>>>
>>>>> Yes from all that you have written, this is what makes sense and this 
>>>>> is what you want to change. 
>>>>>
>>>>> I will probably release a new version (2.2.0) by the end of this week, 
>>>>> which will include your first proposed improvement, the configurable 
>>>>> yScale 
>>>>> delta. The second improvement will hit in the next release. Thank you for 
>>>>> your feedback!
>>>>> luca.mo...@gmail.com schrieb am Sonntag, 14. August 2022 um 09:51:09 
>>>>> UTC+2:
>>>>>
>>>>>> I read in https://www.weewx.com/docs/customizing.htm :
>>>>>>
>>>>>> *aggregate_interval*
>>>>>>
>>>>>> *The time period over which the data should be aggregated, in 
>>>>>> seconds. Required if aggregate_type has been set. Alternatively, the 
>>>>>> time 
>>>>>> can be specified by using one of the "shortcuts" (that 
>>>>>> is, hour, day, week, month, or year).*
>>>>>> So, you would like to implement in your code the "aggregate_interval".
>>>>>> At this moment the value of aggregate_interval is "coded" inside the 
>>>>>> software.
>>>>>> You would like to let the user to be able to set this value for each 
>>>>>> contex/observation.
>>>>>>
>>>>>>

Re: [weewx-user] WDC Skin

2022-08-27 Thread David Bätge
Sorry, just for clarification: the yScaleMin = 0, yScaleMax = 103 values 
are set for humidity.



David Bätge schrieb am Samstag, 27. August 2022 um 17:02:55 UTC+2:

> @luca You got me. Before making this configurable for the user, I set some 
> of the values programmatically. I forgot to move some of these static set 
> values from code to skin.conf. 
>
> For example I have set a static
>
> yScaleMin = 0
> yScaleMax = 103
>
> via Code. With this, it is not possible to set a custom yScaleOffset 
> because it's not used if a yScaleMin or yScaleMax is set (see 
> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#general)
>
> I will move all these programmatically set default values to the skin.conf 
> in the next release to give the user full control. Thank you for pointing 
> this out!
>
>
>
> luca.mo...@gmail.com schrieb am Samstag, 27. August 2022 um 13:09:32 
> UTC+2:
>
>> @david
>>
>> Sorry for the late reply.
>>
>> This morning I tested version 2.2.0
>> Great work.
>> I edited the configuration file:
>>  [[[inTemp]]]
>>  yScaleOffset = 0.5
>>  [[[inHumidity]]]
>>   yScaleOffset = 5
>> The "yScaleOffset = 0.5" setting for inTemp works correctly
>> The "yScaleOffset" setting for inHumidity seems not to work.
>>
>> I also tried
>>  [[[inHumidity]]]
>>  yScaleMin = 60
>>  yScaleMax = 80
>> and this setting works correctly.
>> Where am I wrong?
>>
>> Thanks for your help and your work.
>>
>>
>> Il giorno sab 20 ago 2022 alle ore 02:15 David Bätge  
>> ha scritto:
>>
>>> @luca The new release 2.2.0 
>>> <https://github.com/Daveiano/weewx-wdc/releases/tag/v2.2.0> is out. 
>>> Included is among other things (like a really pretty dark mode) three new 
>>> options for charts customisation: yScaleMin, yScaleMax and yScaleOffset.
>>>
>>> Min and Max is for setting a static value, yScaleOffset is for setting 
>>> a custom (dynamic) offset. you can read more about it in the wiki: 
>>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#general
>>>
>>> I hope this will be a good addition and is what you were looking for, 
>>> thank you for your feedback!
>>>
>>> David Bätge schrieb am Dienstag, 16. August 2022 um 03:23:58 UTC+2:
>>>
>>>> Yes from all that you have written, this is what makes sense and this 
>>>> is what you want to change. 
>>>>
>>>> I will probably release a new version (2.2.0) by the end of this week, 
>>>> which will include your first proposed improvement, the configurable 
>>>> yScale 
>>>> delta. The second improvement will hit in the next release. Thank you for 
>>>> your feedback!
>>>> luca.mo...@gmail.com schrieb am Sonntag, 14. August 2022 um 09:51:09 
>>>> UTC+2:
>>>>
>>>>> I read in https://www.weewx.com/docs/customizing.htm :
>>>>>
>>>>> *aggregate_interval*
>>>>>
>>>>> *The time period over which the data should be aggregated, in seconds. 
>>>>> Required if aggregate_type has been set. Alternatively, the time can be 
>>>>> specified by using one of the "shortcuts" (that is, hour, day, week, 
>>>>> month, 
>>>>> or year).*
>>>>> So, you would like to implement in your code the "aggregate_interval".
>>>>> At this moment the value of aggregate_interval is "coded" inside the 
>>>>> software.
>>>>> You would like to let the user to be able to set this value for each 
>>>>> contex/observation.
>>>>>
>>>>> This is probably the correct and most "elegant" solution.
>>>>>
>>>>> I agree with you. 
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Il giorno sab 13 ago 2022 alle ore 16:22 David Bätge <
>>>>> david@gmail.com> ha scritto:
>>>>>
>>>>>> I think we are talking about slightly different things. Let me 
>>>>>> explain:
>>>>>>
>>>>>> The values for
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Today = last 24 hoursWeek = last 168 hoursMonth = last 31 daysYear = 
>>>>>> last 365 days*
>>>>>>
>>>>>> wil

Re: [weewx-user] WDC Skin

2022-08-27 Thread David Bätge
@luca You got me. Before making this configurable for the user, I set some 
of the values programmatically. I forgot to move some of these static set 
values from code to skin.conf. 

For example I have set a static

yScaleMin = 0
yScaleMax = 103

via Code. With this, it is not possible to set a custom yScaleOffset 
because it's not used if a yScaleMin or yScaleMax is set (see 
https://github.com/Daveiano/weewx-wdc/wiki/Configuration#general)

I will move all these programmatically set default values to the skin.conf 
in the next release to give the user full control. Thank you for pointing 
this out!



luca.mo...@gmail.com schrieb am Samstag, 27. August 2022 um 13:09:32 UTC+2:

> @david
>
> Sorry for the late reply.
>
> This morning I tested version 2.2.0
> Great work.
> I edited the configuration file:
>  [[[inTemp]]]
>  yScaleOffset = 0.5
>  [[[inHumidity]]]
>   yScaleOffset = 5
> The "yScaleOffset = 0.5" setting for inTemp works correctly
> The "yScaleOffset" setting for inHumidity seems not to work.
>
> I also tried
>  [[[inHumidity]]]
>  yScaleMin = 60
>  yScaleMax = 80
> and this setting works correctly.
> Where am I wrong?
>
> Thanks for your help and your work.
>
>
> Il giorno sab 20 ago 2022 alle ore 02:15 David Bätge  
> ha scritto:
>
>> @luca The new release 2.2.0 
>> <https://github.com/Daveiano/weewx-wdc/releases/tag/v2.2.0> is out. 
>> Included is among other things (like a really pretty dark mode) three new 
>> options for charts customisation: yScaleMin, yScaleMax and yScaleOffset.
>>
>> Min and Max is for setting a static value, yScaleOffset is for setting a 
>> custom (dynamic) offset. you can read more about it in the wiki: 
>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#general
>>
>> I hope this will be a good addition and is what you were looking for, 
>> thank you for your feedback!
>>
>> David Bätge schrieb am Dienstag, 16. August 2022 um 03:23:58 UTC+2:
>>
>>> Yes from all that you have written, this is what makes sense and this is 
>>> what you want to change. 
>>>
>>> I will probably release a new version (2.2.0) by the end of this week, 
>>> which will include your first proposed improvement, the configurable yScale 
>>> delta. The second improvement will hit in the next release. Thank you for 
>>> your feedback!
>>> luca.mo...@gmail.com schrieb am Sonntag, 14. August 2022 um 09:51:09 
>>> UTC+2:
>>>
>>>> I read in https://www.weewx.com/docs/customizing.htm :
>>>>
>>>> *aggregate_interval*
>>>>
>>>> *The time period over which the data should be aggregated, in seconds. 
>>>> Required if aggregate_type has been set. Alternatively, the time can be 
>>>> specified by using one of the "shortcuts" (that is, hour, day, week, 
>>>> month, 
>>>> or year).*
>>>> So, you would like to implement in your code the "aggregate_interval".
>>>> At this moment the value of aggregate_interval is "coded" inside the 
>>>> software.
>>>> You would like to let the user to be able to set this value for each 
>>>> contex/observation.
>>>>
>>>> This is probably the correct and most "elegant" solution.
>>>>
>>>> I agree with you. 
>>>>
>>>>
>>>>
>>>>
>>>> Il giorno sab 13 ago 2022 alle ore 16:22 David Bätge <
>>>> david@gmail.com> ha scritto:
>>>>
>>>>> I think we are talking about slightly different things. Let me explain:
>>>>>
>>>>> The values for
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Today = last 24 hoursWeek = last 168 hoursMonth = last 31 daysYear = 
>>>>> last 365 days*
>>>>>
>>>>> will not change and will not be changeable by the user because this 
>>>>> would not make any sense. Last week will consist of the last 7 days, not 
>>>>> 6, 
>>>>> not 8. Every time period is a constant.
>>>>>
>>>>> *Currently each chart consists of 48 values (every 30 min per daily 
>>>>> chart) (except for rain and evotranspiration)*
>>>>>
>>>>> Only the charts on the index page consist of 48 points:
>>>>>
>>>>> The index page, has a time span of 24h, aggregate_interval of 30min, 
>>>>> so 2

[weewx-user] Re: WDC Skin

2022-08-19 Thread David Bätge
Hello there,  I am the creator of this skin. It seems that there are 
problems with the windrose diagram. The error should go away if you remove 
windRose from the diagram_tile_observations in the skin.conf as a quick fix.

Does your station actually record wind speed and wind direction? From the 
error message, it seems the wind speed is empty.

leo.ol...@gmail.com schrieb am Freitag, 19. August 2022 um 13:35:25 UTC+2:

> After installing and starting the skin the following error messages show :
>
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: Evaluation 
> of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed with 
> exception ''
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
> Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
> Reason: unsupported operand type(s) for *: 'NoneType' and 'float'
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  Traceback (most recent call last):
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  unicode_string = compiled_template.respond()
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 201, in 
> respond
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _handleCheetahInclude
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 
> 313, in respond
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _handleCheetahInclude
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_includes_diagram_tile_wind_rose_inc.py", 
> line 238, in respond
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_includes_diagram_tile_wind_rose_inc.py", 
> line 99, in __errorCatcher5
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "", line 1, in 
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/share/weewx/user/weewx_wdc.py", line 658, in get_windrose_data
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  windspeed_knots = kph_to_knot(windSpeed_data.raw)
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/share/weewx/weewx/units.py", line 80, in kph_to_knot
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  return x * 0.539956803
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: Evaluation 
> of template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl failed with 
> exception ''
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
> Ignoring template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
> Reason: unsupported operand type(s) for *: 'NoneType' and 'float'
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  Traceback (most recent call last):
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  unicode_string = compiled_template.respond()
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_statistics_html_tmpl.py", line 200, in 
> respond
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _handleCheetahInclude
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 
> 313, in respond
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _h

Re: [weewx-user] WDC Skin

2022-08-19 Thread David Bätge
@luca The new release 2.2.0 
<https://github.com/Daveiano/weewx-wdc/releases/tag/v2.2.0> is out. 
Included is among other things (like a really pretty dark mode) three new 
options for charts customisation: yScaleMin, yScaleMax and yScaleOffset.

Min and Max is for setting a static value, yScaleOffset is for setting a 
custom (dynamic) offset. you can read more about it in the 
wiki: https://github.com/Daveiano/weewx-wdc/wiki/Configuration#general

I hope this will be a good addition and is what you were looking for, thank 
you for your feedback!

David Bätge schrieb am Dienstag, 16. August 2022 um 03:23:58 UTC+2:

> Yes from all that you have written, this is what makes sense and this is 
> what you want to change. 
>
> I will probably release a new version (2.2.0) by the end of this week, 
> which will include your first proposed improvement, the configurable yScale 
> delta. The second improvement will hit in the next release. Thank you for 
> your feedback!
> luca.mo...@gmail.com schrieb am Sonntag, 14. August 2022 um 09:51:09 
> UTC+2:
>
>> I read in https://www.weewx.com/docs/customizing.htm :
>>
>> *aggregate_interval*
>>
>> *The time period over which the data should be aggregated, in seconds. 
>> Required if aggregate_type has been set. Alternatively, the time can be 
>> specified by using one of the "shortcuts" (that is, hour, day, week, month, 
>> or year).*
>> So, you would like to implement in your code the "aggregate_interval".
>> At this moment the value of aggregate_interval is "coded" inside the 
>> software.
>> You would like to let the user to be able to set this value for each 
>> contex/observation.
>>
>> This is probably the correct and most "elegant" solution.
>>
>> I agree with you. 
>>
>>
>>
>>
>> Il giorno sab 13 ago 2022 alle ore 16:22 David Bätge  
>> ha scritto:
>>
>>> I think we are talking about slightly different things. Let me explain:
>>>
>>> The values for
>>>
>>>
>>>
>>>
>>> *Today = last 24 hoursWeek = last 168 hoursMonth = last 31 daysYear = 
>>> last 365 days*
>>>
>>> will not change and will not be changeable by the user because this 
>>> would not make any sense. Last week will consist of the last 7 days, not 6, 
>>> not 8. Every time period is a constant.
>>>
>>> *Currently each chart consists of 48 values (every 30 min per daily 
>>> chart) (except for rain and evotranspiration)*
>>>
>>> Only the charts on the index page consist of 48 points:
>>>
>>> The index page, has a time span of 24h, aggregate_interval of 30min, so 
>>> 24/0.5 = *48 points*
>>> The weekly page, has a time span of 7 days (168h), aggregate_interval of 
>>> 2h, so 168/2 = *84 points*
>>> The monthly pages, have a time span of 31 days (744h), 
>>> aggregate_interval of 6h, so 744/6 = *124 points*
>>> As I said, the aggregate_interval for the stats page (alltime) gets 
>>> calculated automatically to not make the graphs too heavy by producing too 
>>> many points (currently the max is 100 points on the stats page).
>>>
>>> What you want to change is the aggregate_interval, that is what you call 
>>> *resolution*. 
>>>
>>> This should be changeable for 
>>> 1. The context, eg. index, weekly, monthly, yearly
>>> 2. The observation (You are right, this should be changeable for every 
>>> single graph (observation).)
>>>
>>> However, I tend to implement the aggregate_interval, and not a 
>>> multiplier for multiple reasons:
>>> - weewx also uses this in the image generator so users should/could know 
>>> about this
>>> - To accomplish a specific resolution, the user would need to calculate 
>>> the specific multiplier, with a aggregate_interval it is much easier I 
>>> think!?
>>> - with the aggregate_interval, the user would be really "free" in what 
>>> to configure (like everything is possible)
>>>
>>> Please let me know what you think about that. And by the way, your 
>>> English isn't bad at all ;)
>>> Best regards
>>> luca.mo...@gmail.com schrieb am Freitag, 12. August 2022 um 16:56:19 
>>> UTC+2:
>>>
>>>> > Currently, there are predefined aggregate_intervals for each page 
>>>> (index, week, month, year and stats) that should make sense. I thought 
>>>> about making it possible (opt-in) to change these values for every page.
>>>>
>>>&

Re: [weewx-user] WDC Skin

2022-08-15 Thread David Bätge
Yes from all that you have written, this is what makes sense and this is 
what you want to change. 

I will probably release a new version (2.2.0) by the end of this week, 
which will include your first proposed improvement, the configurable yScale 
delta. The second improvement will hit in the next release. Thank you for 
your feedback!
luca.mo...@gmail.com schrieb am Sonntag, 14. August 2022 um 09:51:09 UTC+2:

> I read in https://www.weewx.com/docs/customizing.htm :
>
> *aggregate_interval*
>
> *The time period over which the data should be aggregated, in seconds. 
> Required if aggregate_type has been set. Alternatively, the time can be 
> specified by using one of the "shortcuts" (that is, hour, day, week, month, 
> or year).*
> So, you would like to implement in your code the "aggregate_interval".
> At this moment the value of aggregate_interval is "coded" inside the 
> software.
> You would like to let the user to be able to set this value for each 
> contex/observation.
>
> This is probably the correct and most "elegant" solution.
>
> I agree with you. 
>
>
>
>
> Il giorno sab 13 ago 2022 alle ore 16:22 David Bätge  
> ha scritto:
>
>> I think we are talking about slightly different things. Let me explain:
>>
>> The values for
>>
>>
>>
>>
>> *Today = last 24 hoursWeek = last 168 hoursMonth = last 31 daysYear = 
>> last 365 days*
>>
>> will not change and will not be changeable by the user because this would 
>> not make any sense. Last week will consist of the last 7 days, not 6, not 
>> 8. Every time period is a constant.
>>
>> *Currently each chart consists of 48 values (every 30 min per daily 
>> chart) (except for rain and evotranspiration)*
>>
>> Only the charts on the index page consist of 48 points:
>>
>> The index page, has a time span of 24h, aggregate_interval of 30min, so 
>> 24/0.5 = *48 points*
>> The weekly page, has a time span of 7 days (168h), aggregate_interval of 
>> 2h, so 168/2 = *84 points*
>> The monthly pages, have a time span of 31 days (744h), aggregate_interval 
>> of 6h, so 744/6 = *124 points*
>> As I said, the aggregate_interval for the stats page (alltime) gets 
>> calculated automatically to not make the graphs too heavy by producing too 
>> many points (currently the max is 100 points on the stats page).
>>
>> What you want to change is the aggregate_interval, that is what you call 
>> *resolution*. 
>>
>> This should be changeable for 
>> 1. The context, eg. index, weekly, monthly, yearly
>> 2. The observation (You are right, this should be changeable for every 
>> single graph (observation).)
>>
>> However, I tend to implement the aggregate_interval, and not a multiplier 
>> for multiple reasons:
>> - weewx also uses this in the image generator so users should/could know 
>> about this
>> - To accomplish a specific resolution, the user would need to calculate 
>> the specific multiplier, with a aggregate_interval it is much easier I 
>> think!?
>> - with the aggregate_interval, the user would be really "free" in what to 
>> configure (like everything is possible)
>>
>> Please let me know what you think about that. And by the way, your 
>> English isn't bad at all ;)
>> Best regards
>> luca.mo...@gmail.com schrieb am Freitag, 12. August 2022 um 16:56:19 
>> UTC+2:
>>
>>> > Currently, there are predefined aggregate_intervals for each page 
>>> (index, week, month, year and stats) that should make sense. I thought 
>>> about making it possible (opt-in) to change these values for every page.
>>>
>>> Probably this does not have much sense and needs much effort in 
>>> programming.
>>> I think that:
>>> Today = last 24 hours
>>> Week = last 168 hours
>>> Month = last 31 days
>>> Year = last 365 days
>>> are correct values.
>>>
>>> Currently each chart consists of 48 values (every 30 min per daily chart) 
>>> (except for rain and evotranspiration)
>>> With this resolution sometimes the graphs are not correct and not 
>>> sufficiently explanatory
>>>
>>> [image: image.png]
>>>
>>> In my opinion the user should be able (for each single graph) to add a 
>>> "resolution multiplier" (values 1, 2 or 3). This value should multiply the 
>>> calculated resolution.
>>> i.e. 48 (x1), 96 (x2) or 144 (x3) values for daily, 84 (x1), 168 (x2) or 
>>> 252 (x3) values for weekly, etc.
>>>
>>> I apol

Re: [weewx-user] WDC Skin

2022-08-13 Thread David Bätge
I think we are talking about slightly different things. Let me explain:

The values for




*Today = last 24 hoursWeek = last 168 hoursMonth = last 31 daysYear = last 
365 days*

will not change and will not be changeable by the user because this would 
not make any sense. Last week will consist of the last 7 days, not 6, not 
8. Every time period is a constant.

*Currently each chart consists of 48 values (every 30 min per daily 
chart) (except for rain and evotranspiration)*

Only the charts on the index page consist of 48 points:

The index page, has a time span of 24h, aggregate_interval of 30min, so 
24/0.5 = *48 points*
The weekly page, has a time span of 7 days (168h), aggregate_interval of 
2h, so 168/2 = *84 points*
The monthly pages, have a time span of 31 days (744h), aggregate_interval 
of 6h, so 744/6 = *124 points*
As I said, the aggregate_interval for the stats page (alltime) gets 
calculated automatically to not make the graphs too heavy by producing too 
many points (currently the max is 100 points on the stats page).

What you want to change is the aggregate_interval, that is what you call 
*resolution*. 

This should be changeable for 
1. The context, eg. index, weekly, monthly, yearly
2. The observation (You are right, this should be changeable for every 
single graph (observation).)

However, I tend to implement the aggregate_interval, and not a multiplier 
for multiple reasons:
- weewx also uses this in the image generator so users should/could know 
about this
- To accomplish a specific resolution, the user would need to calculate the 
specific multiplier, with a aggregate_interval it is much easier I think!?
- with the aggregate_interval, the user would be really "free" in what to 
configure (like everything is possible)

Please let me know what you think about that. And by the way, your English 
isn't bad at all ;)
Best regards
luca.mo...@gmail.com schrieb am Freitag, 12. August 2022 um 16:56:19 UTC+2:

> > Currently, there are predefined aggregate_intervals for each page 
> (index, week, month, year and stats) that should make sense. I thought 
> about making it possible (opt-in) to change these values for every page.
>
> Probably this does not have much sense and needs much effort in 
> programming.
> I think that:
> Today = last 24 hours
> Week = last 168 hours
> Month = last 31 days
> Year = last 365 days
> are correct values.
>
> Currently each chart consists of 48 values (every 30 min per daily chart) 
> (except for rain and evotranspiration)
> With this resolution sometimes the graphs are not correct and not 
> sufficiently explanatory
>
> [image: image.png]
>
> In my opinion the user should be able (for each single graph) to add a 
> "resolution multiplier" (values 1, 2 or 3). This value should multiply the 
> calculated resolution.
> i.e. 48 (x1), 96 (x2) or 144 (x3) values for daily, 84 (x1), 168 (x2) or 
> 252 (x3) values for weekly, etc.
>
> I apologize for my bad English.
>
> Best regards.
>
> Il giorno ven 12 ago 2022 alle ore 02:13 David Bätge  
> ha scritto:
>
>> OK, I just wanted to make sure we are talking about the same.
>>
>> Currently, there are predefined aggregate_intervals for each page (index, 
>> week, month, year and stats) that should make sense. I thought about 
>> making it possible (opt-in) to change these values for every page. 
>> Actually, on the stats page, the interval gets automatically calculated to 
>> make the diagrams not too heavy.
>>
>> Sorry, but I don't get what you mean by threshold, should the skin then 
>> decide what's best? Like on the index page it could be 10 minutes and on 
>> the monthly page 60 minutes? 
>>
>> luca.mo...@gmail.com schrieb am Donnerstag, 11. August 2022 um 08:19:06 
>> UTC+2:
>>
>>> My fault. 30 minutes is the actual value.
>>>
>>> I think it would be better to impose a lower and upper threshold (for 
>>> example max 10 minutes and min 60 minutes)
>>> Without these thresholds the web page can become too heavy
>>>
>>> [image: width=] 
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>>  Privo 
>>> di virus.www.avast.com 
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>>  
>>> <#m_-2243566614819322018_m_-1649220862571718601_m_-7511653341036107372_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> Il giorno gio 11 ago 2022 alle ore 01:46 David Bätge <
>>> david@gmail.com> ha scritto:
>>>
>>>> And that's another reasonable improvement! That'

Re: [weewx-user] WDC Skin

2022-08-11 Thread David Bätge
OK, I just wanted to make sure we are talking about the same.

Currently, there are predefined aggregate_intervals for each page (index, 
week, month, year and stats) that should make sense. I thought about making 
it possible (opt-in) to change these values for every page. Actually, on 
the stats page, the interval gets automatically calculated to make the 
diagrams not too heavy.

Sorry, but I don't get what you mean by threshold, should the skin then 
decide what's best? Like on the index page it could be 10 minutes and on 
the monthly page 60 minutes? 

luca.mo...@gmail.com schrieb am Donnerstag, 11. August 2022 um 08:19:06 
UTC+2:

> My fault. 30 minutes is the actual value.
>
> I think it would be better to impose a lower and upper threshold (for 
> example max 10 minutes and min 60 minutes)
> Without these thresholds the web page can become too heavy
>
> [image: width=] 
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  Privo 
> di virus.www.avast.com 
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  
> <#m_-7511653341036107372_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> Il giorno gio 11 ago 2022 alle ore 01:46 David Bätge  
> ha scritto:
>
>> And that's another reasonable improvement! That's the so-called 
>> aggregate_interval. 
>> I added another issue (https://github.com/Daveiano/weewx-wdc/issues/55), 
>> which will be available in a future release.
>>
>> But where do you observe a 15 minutes interval? On the index page, it 
>> should be set to 30 minutes. 
>> luca.mo...@gmail.com schrieb am Mittwoch, 10. August 2022 um 15:52:00 
>> UTC+2:
>>
>>> I would like to propose a further improvement.
>>> Currently the graphs have a resolution of 15 minutes.
>>> It would be interesting to be able to customize this resolution for each 
>>> individual chart.
>>>
>>> Best Regards
>>>
>>> Il giorno lunedì 8 agosto 2022 alle 04:57:55 UTC+2 david@gmail.com 
>>> ha scritto:
>>>
>>>> Hi there, I am the creator of this skin. 
>>>>
>>>> The graphs are getting generated via Javascript, not via the weewx 
>>>> image generator, so setting these options will not have any effect. 
>>>>
>>>> You are right, currently, the yScale delta is tied to the observation, 
>>>> in that case, temperature, which has a defined delta of 3 in the skin. 
>>>> Another user also requested to change this, so I think it would be good to 
>>>> add this option to the skin. I added a quick issue for that to track the 
>>>> progress: https://github.com/Daveiano/weewx-wdc/issues/49
>>>> Will be available in an upcoming release!
>>>> luca.mo...@gmail.com schrieb am Sonntag, 7. August 2022 um 22:11:43 
>>>> UTC+2:
>>>>
>>>>> I've tried to add
>>>>>  
>>>>>[[[inTemp]]]
>>>>> yscale = None, None, 0.02
>>>>>  
>>>>> to skin.conf
>>>>>
>>>>> But it doesn't works.
>>>>>
>>>>> In wdc skin seems that the "data-obs" variable (that define the type 
>>>>> of graph) with value "temp" drive all the parameters of the graph.
>>>>>
>>>>> Thanks
>>>>> Il giorno domenica 7 agosto 2022 alle 20:40:52 UTC+2 
>>>>> peterq...@gmail.com ha scritto:
>>>>>
>>>>>> I don't know that skin - and I took a quick look at it and it looks 
>>>>>> like you'd find this defined in the skin.conf file. One thing you should 
>>>>>> look at is the customization doc with regards to y axis scaling here: 
>>>>>> https://www.weewx.com/docs/customizing.htm#Image_files
>>>>>>
>>>>>>
>>>>>> On Sun, Aug 7, 2022 at 11:18 AM Montefiori Luca  
>>>>>> wrote:
>>>>>>
>>>>>>> I hope this is the right place for this question.
>>>>>>>
>>>>>>> I'm using WDC Skin versione 2.0.1
>>>>>>>  
>>>>>>> [image: Inside_Temperature.jpg]
>>>>>>> In each "temp" graph there is a 3° "delta" in top and low scale.
>>>>>>> I would like to know if there is the possibility to adjust this 
>>>>>>> delta to other values (i.e 1 

  1   2   3   4   5   >