Re: [weewx-user] Re: GW1000 Ecowitt Gateway and WeeWx 5.0

2023-08-15 Thread gert.a...@gmail.com
Hi Ian
Thanks for looking.
I used this command to install WeeWx:

sudo apt install ./python3-weewx_5.0.0a24-a_all.deb


and this command to install GW1000


sudo weectl extension install 
https://github.com/gjr80/weewx-gw1000/releases/download/v0.5.0b5/gw1000-0.5.0b5.tar.gz


>From syslog:

Aug 15 10:36:01 raspberrypi weewx[677] INFO weewx.engine: Loading station 
type GW1000 (user.gw1000)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: Caught 
unrecoverable exception:
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:   No 
module named 'user.gw1000'
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
 Traceback (most recent call last):
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: File 
"/usr/share/weewx/weewxd.py", line 149, in main
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
 engine = weewx.engine.StdEngine(config_dict)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 78, in __init__
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
 self.setupStation(config_dict)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 105, in setupStation
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
 __import__(driver)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
 ModuleNotFoundError: No module named 'user.gw1000'
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:   Exiting.
Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Main process exited, 
code=exited, status=1/FAILURE
Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Failed with result 
'exit-code'.


I have attached the weewx.conf file


Gert




On Tuesday, August 15, 2023 at 8:52:05 AM UTC+2 Ian Millard wrote:

> How did you attempt the install? I am running version 5 with a pip 
> installation. I am also running the Gateway driver and it installed 
> seamlessly using weectl extension install [URL]
>
> Sent from my iPad.
>
> On 15 Aug 2023, at 05:57, gert.a...@gmail.com  wrote:
>
> Hi Vince
>
> I followed the installation guide for the driver, but the installation 
> used the folder structure from WeeWx version 4.
>
> Rgds
> Gert
>
> On Tuesday, August 15, 2023 at 1:44:12 AM UTC+2 vince wrote:
>
>> sure why wouldn't it be ?
>>
>> On Monday, August 14, 2023 at 2:03:23 PM UTC-7 gert.a...@gmail.com wrote:
>>
>>> Hi
>>> Is it possible to install the gateway with WeeWx 5.0
>>>
>>> Thanks
>>> Gert
>>>
>> -- 
> 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/99af5f5f-3f49-441d-acf0-e4006a1e734fn%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/3cac5915-3b90-44f0-9f5d-e6e85ec506f4n%40googlegroups.com.
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2022 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

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

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

# Whether to log successful operations. May get overridden below.
log_success = True

# Whether to log unsuccessful operations. May get overridden below.
log_failure = True

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

##

#   This section is for information about the station.

[Station]

# Description of the station location
location = Kongens Lyngby

# Latitude in decimal degrees. Negative for southern hemisphere
latitude = 55.768663592
# Longitude in decimal degrees. Negative for western hemisphere.
longitude = 12.48

# Altitude of the station, with the unit it is in. This is used only
# if the hardware cannot supply a value.
altitude = 33, meter

# Set to type of station hardware. There must be a corresponding stanza
# in this file, which includes a value for the 'driver' option.
station_type = GW1000

# If you have a website, you may specify an URL. This is required 

Re: [weewx-user] Re: GW1000 Ecowitt Gateway and WeeWx 5.0

2023-08-15 Thread 'Rainer Lang' via weewx-user
I think a simple solution could be to extract the file gw1000.py from 
the gw1000-0.5.0b5.tar.gz archive and copy it to /usr/share/weewx/user


On 15.08.2023 10:42, gert.a...@gmail.com wrote:

Hi Ian
Thanks for looking.
I used this command to install WeeWx:

sudo apt install ./python3-weewx_5.0.0a24-a_all.deb


and this command to install GW1000


sudo weectl extension install 
https://github.com/gjr80/weewx-gw1000/releases/download/v0.5.0b5/gw1000-0.5.0b5.tar.gz



From syslog:

Aug 15 10:36:01 raspberrypi weewx[677] INFO weewx.engine: Loading 
station type GW1000 (user.gw1000)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: Caught 
unrecoverable exception:
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:   No 
module named 'user.gw1000'
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
 Traceback (most recent call last):
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     File 
"/usr/share/weewx/weewxd.py", line 149, in main
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:      
 engine = weewx.engine.StdEngine(config_dict)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     File 
"/usr/share/weewx/weewx/engine.py", line 78, in __init__
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:      
 self.setupStation(config_dict)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:     File 
"/usr/share/weewx/weewx/engine.py", line 105, in setupStation
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:      
 __import__(driver)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
 ModuleNotFoundError: No module named 'user.gw1000'

Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:   Exiting.
Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Main process 
exited, code=exited, status=1/FAILURE
Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Failed with 
result 'exit-code'.



I have attached the weewx.conf file


Gert




On Tuesday, August 15, 2023 at 8:52:05 AM UTC+2 Ian Millard wrote:

How did you attempt the install? I am running version 5 with a pip
installation. I am also running the Gateway driver and it
installed seamlessly using weectl extension install [URL]

Sent from my iPad.


On 15 Aug 2023, at 05:57, gert.a...@gmail.com
 wrote:

Hi Vince
I followed the installation guide for the driver, but the
installation used the folder structure from WeeWx version 4.

Rgds
Gert

On Tuesday, August 15, 2023 at 1:44:12 AM UTC+2 vince wrote:

sure why wouldn't it be ?

On Monday, August 14, 2023 at 2:03:23 PM UTC-7
gert.a...@gmail.com wrote:

Hi
Is it possible to install the gateway with WeeWx 5.0

Thanks
Gert

-- 
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/99af5f5f-3f49-441d-acf0-e4006a1e734fn%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/3cac5915-3b90-44f0-9f5d-e6e85ec506f4n%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/f8d2f335-31e4-90ce-4976-cb7be8c60f08%40gmail.com.


Re: [weewx-user] SolarEdge PV API

2023-08-15 Thread Graham Eddy
i have been polling a SolarEdge HDWave inverter for a few years.
my inverter has the LED, so it is not the latest version, and doesn’t have 
direct API, so i use the API to the (yuck) vendor cloud API (and not happy 
about it). vendor API throttles to about 1 call/15 mins.
i have a simple daemon that polls then publishes to mqtt (then the route into 
weewx is obvious).
cheers
⊣GE⊢

> On 15 Aug 2023, at 3:35 am, Dan'l B  wrote:
> 
> Just got a new SolarEdge monitoring system running and looking for ways to 
> display its data in WeeWx. It looks as if I might have several options 
>  and I'm wondering if anyone here 
> has explored this project.
> 
> -- 
> 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/dcd61c91-e9ed-420c-9e8b-f2f23a2a232en%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/4B5D6ACD-5553-480E-ACEB-03EB99E467A9%40geddy.au.


Re: [weewx-user] Re: GW1000 Ecowitt Gateway and WeeWx 5.0

2023-08-15 Thread gert.a...@gmail.com
Hi Rainer
I did as you suggested and it seems to work now. gw1000.py was not there, 
so something went wrong during the installation.

A couple of questions:
1) I used sudo to install and WeeWX is running under root. Should I just 
use the user login(pi), to install WeeWx?
2) Is the weewx.sdb compatible with Version 5?
3) Should I use pip to install or sudo apt install ./python3-weewx_5, 
as I did

Thanks for helping

Rgds
Gert

On Tuesday, August 15, 2023 at 11:18:22 AM UTC+2 Rainer Lang wrote:

> I think a simple solution could be to extract the file gw1000.py from the 
> gw1000-0.5.0b5.tar.gz 
> archive and copy it to /usr/share/weewx/user
> On 15.08.2023 10:42, gert.a...@gmail.com wrote:
>
> Hi Ian 
> Thanks for looking.
> I used this command to install WeeWx:
>
> sudo apt install ./python3-weewx_5.0.0a24-a_all.deb
>
>
> and this command to install GW1000
>
>
> sudo weectl extension install 
> https://github.com/gjr80/weewx-gw1000/releases/download/v0.5.0b5/gw1000-0.5.0b5.tar.gz
>
>
> From syslog:
>
> Aug 15 10:36:01 raspberrypi weewx[677] INFO weewx.engine: Loading station 
> type GW1000 (user.gw1000)
> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: Caught 
> unrecoverable exception:
> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:   No 
> module named 'user.gw1000'
> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>  Traceback (most recent call last):
> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: File 
> "/usr/share/weewx/weewxd.py", line 149, in main
> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>  engine = weewx.engine.StdEngine(config_dict)
> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: File 
> "/usr/share/weewx/weewx/engine.py", line 78, in __init__
> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>  self.setupStation(config_dict)
> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: File 
> "/usr/share/weewx/weewx/engine.py", line 105, in setupStation
> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>  __import__(driver)
> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>  ModuleNotFoundError: No module named 'user.gw1000'
> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>  Exiting.
> Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Main process 
> exited, code=exited, status=1/FAILURE
> Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Failed with result 
> 'exit-code'.
>
>
> I have attached the weewx.conf file
>
>
> Gert
>
>
>
>
> On Tuesday, August 15, 2023 at 8:52:05 AM UTC+2 Ian Millard wrote:
>
>> How did you attempt the install? I am running version 5 with a pip 
>> installation. I am also running the Gateway driver and it installed 
>> seamlessly using weectl extension install [URL] 
>>
>> Sent from my iPad.
>>
>> On 15 Aug 2023, at 05:57, gert.a...@gmail.com  
>> wrote:
>>
>> Hi Vince
>>
>> I followed the installation guide for the driver, but the installation 
>> used the folder structure from WeeWx version 4.
>>
>> Rgds
>> Gert
>>
>> On Tuesday, August 15, 2023 at 1:44:12 AM UTC+2 vince wrote:
>>
>>> sure why wouldn't it be ?
>>>
>>> On Monday, August 14, 2023 at 2:03:23 PM UTC-7 gert.a...@gmail.com 
>>> wrote:
>>>
 Hi 
 Is it possible to install the gateway with WeeWx 5.0

 Thanks
 Gert

>>> -- 
>> 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/99af5f5f-3f49-441d-acf0-e4006a1e734fn%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+...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/3cac5915-3b90-44f0-9f5d-e6e85ec506f4n%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/691f18ef-cf92-48d9-b409-d440e3986915n%40googlegroups.com.


Re: [weewx-user] Re: GW1000 Ecowitt Gateway and WeeWx 5.0

2023-08-15 Thread vince
On Tuesday, August 15, 2023 at 2:18:22 AM UTC-7 Rainer Lang wrote:

I think a simple solution could be to extract the file gw1000.py from the 
gw1000-0.5.0b5.tar.gz 
archive and copy it to /usr/share/weewx/user


Agree. That worked here. Butthere does seem to be a bug in either weewx 
or Gary's driver however.   You shouldn't have to copy it from 
/etc/weewx/user to /usr/share/weewx/user manually.  It should install to 
the correct place and work fine.

FWIW - I'd also use a current beta (5.0b10) from 
http://weewx.com/downloads/development_versions/ if you want to go with a 
.deb installation.

wget -P /var/tmp 
https://github.com/gjr80/weewx-gw1000/releases/download/v0.5.0b5/gw1000-0.5.0b5.tar.gz
sudo weectl extension install /var/tmp/gw1000-0.5.0b5.tar.gz
sudo weectl extension list

sudo weectl station reconfigure
(note that GW1000 does 'not' appear in the driver picks)

sudo cp -r /etc/weewx/bin/user/* /usr/share/weewx/user

sudo weectl station reconfigure
(note GW1000 'does' appear now - so pick it and answer the questions)

 PYTHONPATH=/usr/share/weewx python3 -m user.gw1000 --test-driver
(it worked here)

-- 
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/542ff9e7-76e2-4717-ae63-bea5c2686f96n%40googlegroups.com.


Re: [weewx-user] Re: GW1000 Ecowitt Gateway and WeeWx 5.0

2023-08-15 Thread vince
Looks like a bug likely in the weewx beta .deb file to me...

If I install weewx using pip the driver works without copying anything into 
place

source ~/weewx-venv/bin/activate

wget -P /var/tmp 
https://github.com/gjr80/weewx-gw1000/releases/download/v0.5.0b5/gw1000-0.5.0b5.tar.gz
weectl extension install /var/tmp/gw1000-0.5.0b5.tar.gz

weectl extension list
(gw1000 is there)

weectl station reconfigure
(answer the questions)

PYTHONPATH=~/weewx-data/bin python3 -m user.gw1000 --test-driver

-- 
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/8e88-3c26-45f7-bd0f-5f737f3d26aen%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2023-08-15 Thread 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 
> 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/9968324e-6e11-4206-b52f-57eb366f70f4n%40googlegroups.com.


Re: [weewx-user] Re: GW1000 Ecowitt Gateway and WeeWx 5.0

2023-08-15 Thread 'Rainer Lang' via weewx-user

see inline below

On 15.08.2023 13:25, gert.a...@gmail.com wrote:

Hi Rainer
I did as you suggested and it seems to work now. gw1000.py was not 
there, so something went wrong during the installation.


A couple of questions:
1) I used sudo to install and WeeWX is running under root. Should I 
just use the user login(pi), to install WeeWx?
when you are acting as user pi, you need root rights - hence you use 
sudo 
installing weewx as any user, root or any other, hasn't been an issue so 
far (afaik)

2) Is the weewx.sdb compatible with Version 5?


I don't think the database type has changed (still either a sqlite3 
database or a MySQL database, and the weewx.sdb is/was a sqlite3 database)

- and you will probably still use the wview_extended database schema
what does weewx show when you use your "old" weewx.sdb in /var/lib/weewx ?
if you can see you historical data, all is fine 😉

3) Should I use pip to install or sudo apt install 
./python3-weewx_5, as I did


as far as I know the general weewx install instructions are valid - 
you can use apt and pip as package managers, depending on installation 
type

see weewx documentation



Thanks for helping

Rgds
Gert

On Tuesday, August 15, 2023 at 11:18:22 AM UTC+2 Rainer Lang wrote:

I think a simple solution could be to extract the file gw1000.py
from the gw1000-0.5.0b5.tar.gz archive and copy it to
/usr/share/weewx/user

On 15.08.2023 10:42, gert.a...@gmail.com wrote:

Hi Ian
Thanks for looking.
I used this command to install WeeWx:

sudo apt install ./python3-weewx_5.0.0a24-a_all.deb


and this command to install GW1000


sudo weectl extension install

https://github.com/gjr80/weewx-gw1000/releases/download/v0.5.0b5/gw1000-0.5.0b5.tar.gz


From syslog:

Aug 15 10:36:01 raspberrypi weewx[677] INFO weewx.engine: Loading
station type GW1000 (user.gw1000)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: Caught
unrecoverable exception:
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
  No module named 'user.gw1000'
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
  Traceback (most recent call last):
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
    File "/usr/share/weewx/weewxd.py", line 149, in main
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
      engine = weewx.engine.StdEngine(config_dict)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
    File "/usr/share/weewx/weewx/engine.py", line 78, in __init__
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
      self.setupStation(config_dict)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
    File "/usr/share/weewx/weewx/engine.py", line 105, in
setupStation
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
      __import__(driver)
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
  ModuleNotFoundError: No module named 'user.gw1000'
Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
  Exiting.
Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Main
process exited, code=exited, status=1/FAILURE
Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Failed
with result 'exit-code'.


I have attached the weewx.conf file


Gert




On Tuesday, August 15, 2023 at 8:52:05 AM UTC+2 Ian Millard wrote:

How did you attempt the install? I am running version 5 with
a pip installation. I am also running the Gateway driver and
it installed seamlessly using weectl extension install [URL]

Sent from my iPad.


On 15 Aug 2023, at 05:57, gert.a...@gmail.com
 wrote:

Hi Vince
I followed the installation guide for the driver, but the
installation used the folder structure from WeeWx version 4.

Rgds
Gert

On Tuesday, August 15, 2023 at 1:44:12 AM UTC+2 vince wrote:

sure why wouldn't it be ?

On Monday, August 14, 2023 at 2:03:23 PM UTC-7
gert.a...@gmail.com wrote:

Hi
Is it possible to install the gateway with WeeWx 5.0

Thanks
Gert

-- 
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/99af5f5f-3f49-441d-acf0-e4006a1e734fn%40googlegroups.com

.


-- 
You received this message because you are subscribed to the

Google G

Re: [weewx-user] Re: WDC Skin

2023-08-15 Thread Eirik Skorstad
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 
>> 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 directorie

Re: [weewx-user] Re: GW1000 Ecowitt Gateway and WeeWx 5.0

2023-08-15 Thread gert.a...@gmail.com
Hi
Thanks for all the answers.

I just copied a 4.10.2 database to the Version 5 system and it's working 
fine.

I have just installed version 5 on a test system and I'll continue to test 
the installation methods that Vince mentioned.

Gert

On Tuesday, August 15, 2023 at 3:23:10 PM UTC+2 Rainer Lang wrote:

> see inline below
> On 15.08.2023 13:25, gert.a...@gmail.com wrote:
>
> Hi Rainer 
> I did as you suggested and it seems to work now. gw1000.py was not there, 
> so something went wrong during the installation.
>
> A couple of questions:
> 1) I used sudo to install and WeeWX is running under root. Should I just 
> use the user login(pi), to install WeeWx?
>
> when you are acting as user pi, you need root rights - hence you use sudo 
> 
> installing weewx as any user, root or any other, hasn't been an issue so 
> far (afaik)
>
> 2) Is the weewx.sdb compatible with Version 5?
>
> I don't think the database type has changed (still either a sqlite3 
> database or a MySQL database, and the weewx.sdb is/was a sqlite3 database)
> - and you will probably still use the wview_extended database schema
> what does weewx show when you use your "old" weewx.sdb in /var/lib/weewx ?
> if you can see you historical data, all is fine 😉
>
> 3) Should I use pip to install or sudo apt install ./python3-weewx_5, 
> as I did
>
> as far as I know the general weewx install instructions are valid - you 
> can use apt and pip as package managers, depending on installation type
> see weewx documentation
>
>
> Thanks for helping
>
> Rgds
> Gert
>
> On Tuesday, August 15, 2023 at 11:18:22 AM UTC+2 Rainer Lang wrote:
>
>> I think a simple solution could be to extract the file gw1000.py from the 
>> gw1000-0.5.0b5.tar.gz 
>> archive and copy it to /usr/share/weewx/user
>> On 15.08.2023 10:42, gert.a...@gmail.com wrote:
>>
>> Hi Ian 
>> Thanks for looking.
>> I used this command to install WeeWx:
>>
>> sudo apt install ./python3-weewx_5.0.0a24-a_all.deb
>>
>>
>> and this command to install GW1000
>>
>>
>> sudo weectl extension install 
>> https://github.com/gjr80/weewx-gw1000/releases/download/v0.5.0b5/gw1000-0.5.0b5.tar.gz
>>
>>
>> From syslog:
>>
>> Aug 15 10:36:01 raspberrypi weewx[677] INFO weewx.engine: Loading station 
>> type GW1000 (user.gw1000)
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: Caught 
>> unrecoverable exception:
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:   No 
>> module named 'user.gw1000'
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>>  Traceback (most recent call last):
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
>>  File "/usr/share/weewx/weewxd.py", line 149, in main
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>>  engine = weewx.engine.StdEngine(config_dict)
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
>>  File "/usr/share/weewx/weewx/engine.py", line 78, in __init__
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>>  self.setupStation(config_dict)
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:    
>>  File "/usr/share/weewx/weewx/engine.py", line 105, in setupStation
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>>  __import__(driver)
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>>  ModuleNotFoundError: No module named 'user.gw1000'
>> Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:  
>>  Exiting.
>> Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Main process 
>> exited, code=exited, status=1/FAILURE
>> Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Failed with result 
>> 'exit-code'.
>>
>>
>> I have attached the weewx.conf file
>>
>>
>> Gert
>>
>>
>>
>>
>> On Tuesday, August 15, 2023 at 8:52:05 AM UTC+2 Ian Millard wrote:
>>
>>> How did you attempt the install? I am running version 5 with a pip 
>>> installation. I am also running the Gateway driver and it installed 
>>> seamlessly using weectl extension install [URL] 
>>>
>>> Sent from my iPad.
>>>
>>> On 15 Aug 2023, at 05:57, gert.a...@gmail.com  
>>> wrote:
>>>
>>> Hi Vince
>>>
>>> I followed the installation guide for the driver, but the installation 
>>> used the folder structure from WeeWx version 4.
>>>
>>> Rgds
>>> Gert
>>>
>>> On Tuesday, August 15, 2023 at 1:44:12 AM UTC+2 vince wrote:
>>>
 sure why wouldn't it be ?

 On Monday, August 14, 2023 at 2:03:23 PM UTC-7 gert.a...@gmail.com 
 wrote:

> Hi 
> Is it possible to install the gateway with WeeWx 5.0
>
> Thanks
> Gert
>
 -- 
>>> 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/99af5f5

Re: [weewx-user] Re: GW1000 Ecowitt Gateway and WeeWx 5.0

2023-08-15 Thread 'steepleian' via weewx-user
With a pip install you don’t need sudo. Also did you run weectl station reconfigure to actually select the driver?Then sudo systemctl restart weewx (sudo is needed in this instance).https://claydonsweather.org.ukOn 15 Aug 2023, at 09:42, gert.a...@gmail.com  wrote:Hi IanThanks for looking.I used this command to install WeeWx:sudo
apt install ./python3-weewx_5.0.0a24-a_all.deband this command to install GW1000sudo weectl extension install https://github.com/gjr80/weewx-gw1000/releases/download/v0.5.0b5/gw1000-0.5.0b5.tar.gzFrom syslog:Aug 15 10:36:01 raspberrypi weewx[677] INFO weewx.engine: Loading station type GW1000 (user.gw1000)Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__: Caught unrecoverable exception:Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:       No module named 'user.gw1000'Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:       Traceback (most recent call last):Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:         File "/usr/share/weewx/weewxd.py", line 149, in mainAug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:           engine = weewx.engine.StdEngine(config_dict)Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:         File "/usr/share/weewx/weewx/engine.py", line 78, in __init__Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:           self.setupStation(config_dict)Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:         File "/usr/share/weewx/weewx/engine.py", line 105, in setupStationAug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:           __import__(driver)Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:       ModuleNotFoundError: No module named 'user.gw1000'Aug 15 10:36:01 raspberrypi weewx[677] CRITICAL __main__:       Exiting.Aug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Main process exited, code=exited, status=1/FAILUREAug 15 10:36:01 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'.I have attached the weewx.conf fileGertOn Tuesday, August 15, 2023 at 8:52:05 AM UTC+2 Ian Millard wrote:How did you attempt the install? I am running version 5 with a pip installation. I am also running the Gateway driver and it installed seamlessly using weectl extension install [URL]Sent from my iPad.On 15 Aug 2023, at 05:57, gert.a...@gmail.com  wrote:Hi VinceI followed the installation guide for the driver, but the installation used the folder structure from WeeWx version 4.RgdsGertOn Tuesday, August 15, 2023 at 1:44:12 AM UTC+2 vince wrote:sure why wouldn't it be ?On Monday, August 14, 2023 at 2:03:23 PM UTC-7 gert.a...@gmail.com wrote:HiIs it possible to install the gateway with WeeWx 5.0ThanksGert



-- 
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/99af5f5f-3f49-441d-acf0-e4006a1e734fn%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/3cac5915-3b90-44f0-9f5d-e6e85ec506f4n%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/0A38E170-E51D-400D-BAAC-509EA31550EB%40btinternet.com.


[weewx-user] lacrosse ws2315 and <5 out temp

2023-08-15 Thread kufuu
I have a lacrosse ws2315 that feeds a pi zero-w thru a serial to usb 
converter with weewx, that thing throws a real  low out temp a couple times 
a week, is there anyway to not let weewx record < 5 temps ?

-- 
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/6fd599f3-b93b-416e-a849-d9f9e6c8235dn%40googlegroups.com.


Re: [weewx-user] lacrosse ws2315 and <5 out temp

2023-08-15 Thread p q
Yes, there is a QC section in the conf file where you can set min and max
values. This is from my .conf

#   This section is for quality control checks. If units are not specified,
#   values must be in the units defined in the StdConvert section.

[StdQC]

[[MinMax]]
barometer = 26, 32.5, inHg
pressure = 24, 34.5, inHg
outTemp = 0, 120, degree_F

On Tue, Aug 15, 2023 at 9:40 AM kufuu  wrote:

> I have a lacrosse ws2315 that feeds a pi zero-w thru a serial to usb
> converter with weewx, that thing throws a real  low out temp a couple times
> a week, is there anyway to not let weewx record < 5 temps ?
>
> --
> 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/6fd599f3-b93b-416e-a849-d9f9e6c8235dn%40googlegroups.com
> 
> .
>


-- 
Peter Quinn
(415)794-2264

-- 
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/CAA1SM23nkk%2BzDezoWQpwHAjAnCkpomih8UKw2GJpaoechdB%3D8Q%40mail.gmail.com.


[weewx-user] Re: lacrosse ws2315 and <5 out temp

2023-08-15 Thread kufuu
Thank you,

On Tuesday, August 15, 2023 at 12:40:54 PM UTC-4 kufuu wrote:

> I have a lacrosse ws2315 that feeds a pi zero-w thru a serial to usb 
> converter with weewx, that thing throws a real  low out temp a couple times 
> a week, is there anyway to not let weewx record < 5 temps ?
>

-- 
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/a6795b6c-12d1-4b33-a71e-1b0a8c4458e2n%40googlegroups.com.


Re: [weewx-user] SolarEdge PV API

2023-08-15 Thread 'Peter Fletcher' via weewx-user
I use the SolarEdge cloud API to download and save my PV production data on 
my Raspberry Pi, though I actually save it to a dedicated sqlite database 
rather than incorporating it into weewx's records. I haven't had any 
problems with it and download data every 5 minutes during the solar day 
without throttling. The API does have a declared *daily* limit of 300 
requests, which means that you may need to avoid querying it when it's dark 
out if you intermittently want to get some cumulative numbers as well as 
5-minute real-time ones (as I do), but I haven't found this to be a problem.

Let me know if you would like me to post the Python code.

On Tuesday, August 15, 2023 at 7:02:09 AM UTC-4 Graham Eddy wrote:

> i have been polling a SolarEdge HDWave inverter for a few years.
> my inverter has the LED, so it is not the latest version, and doesn’t have 
> direct API, so i use the API to the (yuck) vendor cloud API (and not happy 
> about it). vendor API throttles to about 1 call/15 mins.
> i have a simple daemon that polls then publishes to mqtt (then the route 
> into weewx is obvious).
> cheers
> *⊣GE⊢*
>
> On 15 Aug 2023, at 3:35 am, Dan'l B  wrote:
>
> Just got a new SolarEdge monitoring system running and looking for ways to 
> display its data in WeeWx. It looks as if I might have several options 
>  and I'm wondering if anyone 
> here has explored this project.
>
> -- 
> 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/dcd61c91-e9ed-420c-9e8b-f2f23a2a232en%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/3958dee9-37d6-4719-8e93-925c55dee6f4n%40googlegroups.com.


[weewx-user] What does the plot generator do when values exceed the y-axis maximums?

2023-08-15 Thread Dale

I am playing with getting a cumulative graph of rain for an additional plot.

The problem is, we've been basically in a drought and at best get a few 
one-hundredths (with one exception) when we do get rain, so I have no 
way of watching what happens.



I have a plot which accumulates rain over the last 24 hours, and have 
set the y-axis to 1.0" total, with markers at 0.1".


What happens when we get a 1 or more inch rainfall in that time period?  
Some graphs I've seen on other weather programs drop the cumulative line 
back down to zero and start incrementing again. Others level off at the 
max value, and still others just keep going on upwards.



What is WeeWx's behavior.  Obviously this is sort of a problem with bar 
graphs, too, if the hourly amount exceeds the y-max.


Dale


--
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/c42bd1fc-2188-d36f-01ec-9978afa86924%40gmail.com.


[weewx-user] getting data from Forecast extension

2023-08-15 Thread tut...@gmail.com
Hi,

  I'm just trying to figure out how I get up to a 3 day forecast of qpf 
from the search extension described in forecast.py so I can load that into 
a .json file for presentation to other applications. I can get the current 
day from $summary, but getting further out event_ts information is 
perplexing me, it should be straightforward, but I think, I'm missing 
something.

Thanks,

  Bryan

-- 
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/533f05ec-d8d9-4787-a892-b34fbb2eb964n%40googlegroups.com.


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 
>>> 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 te

[weewx-user] Issue with Belchertown skin and custom includes

2023-08-15 Thread Ed Oswald
I have not been able to figure this out on my own, but any content I'd 
place in the custom includes area (i.e. 
skins/Belchertown/index_hook_after_station_info.inc, etc) seems to only 
update the information when I first add the include, then it stays static. 
This happened with WeeWX XArgs variables, and is now happening with images 
I place in there.

My gut and basic understanding thinks this is a cache issue, but I am at a 
loss on how to fix it.

Thanks for any help. Trying to get the site the way it want it before i 
struggle with FTP/Rsync :)

Ed

-- 
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/5a13820a-ffb8-477e-a872-3b00f2f7adcen%40googlegroups.com.