[weewx-user] weewx cant generate graphs

2024-01-29 Thread Δημήτρης Βήχος
im use 5.0.0 version with debian install .
sudenly weewx stop to generate graphs all rest reports ang pages works 
normal
my log.tried allready to erase the images from var/www/html/weewx but weewx 
cant genetate graphs .

2024-01-30T08:30:57.714899+02:00 metfm weewxd[20618]: INFO weewx.manager: 
Added record 2024-01-30 08:30:00 EET (1706596200) to database 'weewx.sdb'
2024-01-30T08:30:57.735728+02:00 metfm weewxd[20618]: INFO weewx.manager: 
Added record 2024-01-30 08:30:00 EET (1706596200) to daily summary in 
'weewx.sdb'
2024-01-30T08:30:58.510882+02:00 metfm weewxd[20618]: INFO 
weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.68 
seconds
2024-01-30T08:30:58.535195+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine: Caught unrecoverable exception in generator 
'weewx.imagegenerator.ImageGenerator'
2024-01-30T08:30:58.535301+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:   Unit type cannot change within an 
aggregation interval.
2024-01-30T08:30:58.536457+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:   Traceback (most recent call last):
2024-01-30T08:30:58.536496+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine: File 
"/usr/share/weewx/weewx/reportengine.py", line 207, in run
2024-01-30T08:30:58.536533+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:   obj.start()
2024-01-30T08:30:58.536569+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine: File 
"/usr/share/weewx/weewx/reportengine.py", line 399, in start
2024-01-30T08:30:58.536604+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:   self.run()
2024-01-30T08:30:58.536631+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine: File 
"/usr/share/weewx/weewx/imagegenerator.py", line 37, in run
2024-01-30T08:30:58.536658+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:   self.gen_images(self.gen_ts)
2024-01-30T08:30:58.536691+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine: File 
"/usr/share/weewx/weewx/imagegenerator.py", line 100, in gen_images
2024-01-30T08:30:58.536719+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:   plot = self.gen_plot(plotgen_ts,
2024-01-30T08:30:58.536745+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:  ^
2024-01-30T08:30:58.536771+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine: File 
"/usr/share/weewx/weewx/imagegenerator.py", line 236, in gen_plot
2024-01-30T08:30:58.536797+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:   start_vec_t, stop_vec_t, data_vec_t = 
weewx.xtypes.get_series(
2024-01-30T08:30:58.536823+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:    
 
2024-01-30T08:30:58.536850+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine: File 
"/usr/share/weewx/weewx/xtypes.py", line 109, in get_series
2024-01-30T08:30:58.536876+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:   return xtype.get_series(obs_type, 
timespan, db_manager, aggregate_type,
2024-01-30T08:30:58.536903+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:  

2024-01-30T08:30:58.536933+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine: File 
"/usr/share/weewx/weewx/xtypes.py", line 250, in get_series
2024-01-30T08:30:58.536960+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:   raise weewx.UnsupportedFeature("Unit 
type cannot change "
2024-01-30T08:30:58.536988+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:   weewx.UnsupportedFeature: Unit type 
cannot change within an aggregation interval.
2024-01-30T08:30:58.537014+02:00 metfm weewxd[20618]: ERROR 
weewx.reportengine:   Generator terminated
2024-01-30T08:30:58.537280+02:00 metfm weewxd[20618]: Traceback (most 
recent call last):
2024-01-30T08:30:58.537408+02:00 metfm weewxd[20618]:   File 
"/usr/share/weewx/weewx/reportengine.py", line 207, in run
2024-01-30T08:30:58.537468+02:00 metfm weewxd[20618]: obj.start()
2024-01-30T08:30:58.537519+02:00 metfm weewxd[20618]:   File 
"/usr/share/weewx/weewx/reportengine.py", line 399, in start
2024-01-30T08:30:58.537576+02:00 metfm weewxd[20618]: self.run()
2024-01-30T08:30:58.537639+02:00 metfm weewxd[20618]:   File 
"/usr/share/weewx/weewx/imagegenerator.py", line 37, in run
2024-01-30T08:30:58.537698+02:00 metfm weewxd[20618]: 
self.gen_images(self.gen_ts)
2024-01-30T08:30:58.537750+02:00 metfm weewxd[20618]:   File 
"/usr/share/weewx/weewx/imagegenerator.py", line 100, in gen_images
2024-01-30T08:30:58.537809+02:00 metfm weewxd[20618]: plot = 
self.gen_plot(plotgen_ts,
2024-01-30T08:30:58.537862+02:00 metfm weewxd[20618]:   
 ^^

Re: [weewx-user] Re: Weewx version 5 installation

2024-01-29 Thread Kruse Ludington
Thank you - I must have overloooked one!

On Wednesday, January 17, 2024 at 9:52:44 PM UTC-5 vince wrote:

> oops - weewx-data/util/rsyslog of course there.
>
> On Wednesday, January 17, 2024 at 6:47:43 PM UTC-8 vince wrote:
>
>> Under weewx-data/rsyslog there is a weewx.conf for rsyslog so just edit 
>> that as desired for where you want it to go before putting it into place 
>> and restarting rsyslog.
>>
>> On Wednesday, January 17, 2024 at 6:39:45 PM UTC-8 Kruse Ludington wrote:
>>  
>>
>> Since I could not figure out how to keep my logging in the same weewx.log 
>> in a different directory that var/log, I just did a full restopre to my 
>> system so I now have the old systrem Working perfectly but not upgraded.
>>
>> I want to get to 1.5 - but need the logging in weewx.log onlyand that 
>> file should be in a diffrerent directory - and to keep my same 
>> configuration but show and be actually 5.0.0 in stationregistry. How do I 
>> do that properly?
>>
>>  
>>
>

-- 
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/10a22d38-0b0a-4f4c-badc-5dffa2d24872n%40googlegroups.com.


[weewx-user] Re: Aeris forcast with belchertown

2024-01-29 Thread bchap...@gmail.com
 I may try it again in a week or so and see what happens.  Thanks for the 
update!

On Monday, January 29, 2024 at 9:13:13 AM UTC-5 Dan Roman wrote:

> Yes, I am.  When it was failing when I manually entered the URL in a 
> browser I got back the following JSON response:
>
> {"success":false,"error":{"code":"maxhits_daily","description":"Maximum 
> number of daily accesses reached."},"response":[]}
>
> But as I said, after I waited a day or two it cleared itself up and 
> started working again without my needing to change anything.
>
>
>
> On Sunday, January 28, 2024 at 7:56:40 PM UTC-5 bchap...@gmail.com wrote:
>
>> Are you using the aeris maps?  That's where I found my issue.  The maps 
>> rack up hundreds of requests per hour and max you out real quick.  I turned 
>> off aeris maps and now I have less than 300 hits per day.
>>
>> On Sunday, January 28, 2024 at 1:25:38 PM UTC-5 Dan Roman wrote:
>>
>>> I had this problem back in October but it cleared itself up.  Never 
>>> determined if it was an Aeris or Blechertown problem.  Didn't need to 
>>> change my password, delete my account, or anything.  It was just a glitch 
>>> in the matrix I guess that went on for a couple of days and then fixed 
>>> itself.
>>>
>>>
>>> On Friday, January 26, 2024 at 11:32:57 AM UTC-5 bchap...@gmail.com 
>>> wrote:
>>>
 So, I've solved my problem.  If you're using the aeris free account on 
 their contributor plan, do not turn on aeris maps in the belchertown 
 settings.  I don't know what has changed on their end because I have had 
 the same configuration for many years, but now the map will make thousands 
 of hits per hour and they will shut you down when you exceed your allowed 
 5,000 hits.  I turned off the aeris maps and all looks well so far.

 On Wednesday, January 24, 2024 at 11:08:16 PM UTC-5 bchap...@gmail.com 
 wrote:

> I've done that.  Should have mentioned in original post.  I've changed 
> my password, deleted and created a new app.  My hit count reset at 
> 1900EST 
> and within an hour I was at ~600 hits, and that's with forcasting turned 
> off in the conf file.  Aeris tech support has not been able to solve 
> this.  
> I'm thinking I may need to delete my account with them and re-create a 
> new 
> one.  
>
> On Wednesday, January 24, 2024 at 7:38:45 PM UTC-5 bchap...@gmail.com 
> wrote:
>
>> Is anyone else having problems with aeris forcasting?  For the past 
>> few weeks my access credits have been running out resulting in my 
>> webpage 
>> not being updated.  I've turned off forcasting in weewx.conf and when I 
>> watch my activity on aeris the hits keep coming.  I don't know who is 
>> making these requests.  My aeris credits are racking up at an average of 
>> a 
>> few hundred an hour, even with forcasting turned off.  I've contacted 
>> aeris 
>> tech support which has not been helpful.
>>
>

-- 
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/85aab959-b95a-4438-ae5e-bb9f11b3325an%40googlegroups.com.


[weewx-user] Re: Aeris forcast with belchertown

2024-01-29 Thread bchap...@gmail.com
Yes, I know this.  The aeris map is an option.  I chose this option because 
they provide a better looking map.  I have since reverted to the windy map.

On Monday, January 29, 2024 at 12:23:18 PM UTC-5 MikeQ wrote:

> The latest version of the Belchertown skin v1.3.1 recommends using 
> windy.com for maps:
>
>- Q: Do I have to use the radar?
>- A: Nope! If you leave it disabled you'll just have a big blank box 
>on the website. But windy.com provides a free animated radar, so why 
>not include it? :)
>
> https://github.com/poblabs/weewx-belchertown
>
> On Monday, January 29, 2024 at 7:13:13 AM UTC-7 Dan Roman wrote:
>
>> Yes, I am.  When it was failing when I manually entered the URL in a 
>> browser I got back the following JSON response:
>>
>> {"success":false,"error":{"code":"maxhits_daily","description":"Maximum 
>> number of daily accesses reached."},"response":[]}
>>
>> But as I said, after I waited a day or two it cleared itself up and 
>> started working again without my needing to change anything.
>>
>>
>>
>> On Sunday, January 28, 2024 at 7:56:40 PM UTC-5 bchap...@gmail.com wrote:
>>
>>> Are you using the aeris maps?  That's where I found my issue.  The maps 
>>> rack up hundreds of requests per hour and max you out real quick.  I turned 
>>> off aeris maps and now I have less than 300 hits per day.
>>>
>>> On Sunday, January 28, 2024 at 1:25:38 PM UTC-5 Dan Roman wrote:
>>>
 I had this problem back in October but it cleared itself up.  Never 
 determined if it was an Aeris or Blechertown problem.  Didn't need to 
 change my password, delete my account, or anything.  It was just a glitch 
 in the matrix I guess that went on for a couple of days and then fixed 
 itself.


 On Friday, January 26, 2024 at 11:32:57 AM UTC-5 bchap...@gmail.com 
 wrote:

> So, I've solved my problem.  If you're using the aeris free account on 
> their contributor plan, do not turn on aeris maps in the belchertown 
> settings.  I don't know what has changed on their end because I have had 
> the same configuration for many years, but now the map will make 
> thousands 
> of hits per hour and they will shut you down when you exceed your allowed 
> 5,000 hits.  I turned off the aeris maps and all looks well so far.
>
> On Wednesday, January 24, 2024 at 11:08:16 PM UTC-5 bchap...@gmail.com 
> wrote:
>
>> I've done that.  Should have mentioned in original post.  I've 
>> changed my password, deleted and created a new app.  My hit count reset 
>> at 
>> 1900EST and within an hour I was at ~600 hits, and that's with 
>> forcasting 
>> turned off in the conf file.  Aeris tech support has not been able to 
>> solve 
>> this.  I'm thinking I may need to delete my account with them and 
>> re-create 
>> a new one.  
>>
>> On Wednesday, January 24, 2024 at 7:38:45 PM UTC-5 bchap...@gmail.com 
>> wrote:
>>
>>> Is anyone else having problems with aeris forcasting?  For the past 
>>> few weeks my access credits have been running out resulting in my 
>>> webpage 
>>> not being updated.  I've turned off forcasting in weewx.conf and when I 
>>> watch my activity on aeris the hits keep coming.  I don't know who is 
>>> making these requests.  My aeris credits are racking up at an average 
>>> of a 
>>> few hundred an hour, even with forcasting turned off.  I've contacted 
>>> aeris 
>>> tech support which has not been helpful.
>>>
>>

-- 
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/7459b93e-aaa6-4d14-9608-81884cd9944dn%40googlegroups.com.


Re: [weewx-user] Re: Trouble installing WeeWX-MQTTSubscribe

2024-01-29 Thread Frank Gruhlke Gg
That worked, thank you vince!

On Monday, January 29, 2024 at 1:23:41 PM UTC-6 vince wrote:

> Use the packaged version of paho-mqtt.
>
> $ sudo apt-get install python3-paho-mqtt
>
>
> On Monday, January 29, 2024 at 11:01:14 AM UTC-8 Frank Gruhlke Gg wrote:
>
>> I am still trying to get everything installed correctly...
>>
>> I can install weewx 5,  no problem(sudo apt install weewx)
>> I can install Paho-Mqtt, no problem   (pip install paho-mqtt)
>> I am using this to install  WeewxMQTTSubcribe (sudo weectl extension 
>> install 
>> https://github.com/bellrichm/WeeWX-MQTTSubscribe/archive/refs/tags/v2.3.1.tar.gz
>> )
>>
>> When use" "wectl station reconfigure", it indicates I may have path 
>> issues?
>>
>> Installed drivers include:
>>   0) ?   (user.MQTTSubscribe)  No module named 'paho'
>>   1) AcuRite (weewx.drivers.acurite)
>>   2) CC3000  (weewx.drivers.cc3000)
>>   3) FineOffsetUSB   (weewx.drivers.fousb)
>>   4) Simulator   (weewx.drivers.simulator)
>>   5) TE923   (weewx.drivers.te923)
>>   6) Ultimeter   (weewx.drivers.ultimeter)
>>   7) Vantage (weewx.drivers.vantage)
>>   8) WMR100  (weewx.drivers.wmr100)
>>   9) WMR300  (weewx.drivers.wmr300)
>>  10) WMR9x8  (weewx.drivers.wmr9x8)
>>  11) WS1 (weewx.drivers.ws1)
>>  12) WS23xx  (weewx.drivers.ws23xx)
>>  13) WS28xx  (weewx.drivers.ws28xx)
>> choose a driver [4]:
>>
>> On Saturday, January 27, 2024 at 5:44:59 PM UTC-6 Frank Gruhlke Gg wrote:
>>
>>> This worked!   Vince and Rich, thank you so much!!
>>>
>>> sudo weectl extension install 
>>> https://github.com/bellrichm/WeeWX-MQTTSubscribe/archive/refs/tags/v2.3.1.tar.gz
>>>
>>> On Saturday, January 27, 2024 at 5:20:52 PM UTC-6 Frank Gruhlke Gg wrote:
>>>
 And sorry, yes using WeeWx 5

 On Saturday, January 27, 2024 at 5:20:14 PM UTC-6 Frank Gruhlke Gg 
 wrote:

> That got me much closer...but (PermissionError: [Errno 13] 
> Permission denied: '/etc/weewx/bin/user/MQTTSubscribe.py')
>
>
> frank@pi4:/tmp $ weectl extension install v2.3.1.tar.gz
> Using configuration file /etc/weewx/weewx.conf
> Install extension 'v2.3.1.tar.gz' (y/n)? y
> Extracting from tar archive v2.3.1.tar.gz
> Traceback (most recent call last):
>   File "/usr/share/weewx/weectl.py", line 74, in 
> main()
>   File "/usr/share/weewx/weectl.py", line 66, in main
> namespace.func(namespace)
>   File "/usr/share/weewx/weectllib/__init__.py", line 121, in dispatch
> namespace.action_func(config_dict, namespace)
>   File "/usr/share/weewx/weectllib/extension_cmd.py", line 116, in 
> install_extension
> ext.install_extension(namespace.source, no_confirm=namespace.yes)
>   File "/usr/share/weewx/weecfg/extension.py", line 138, in 
> install_extension
> extension_name = self._install_from_file(extension_path, filetype)
>  ^
>   File "/usr/share/weewx/weecfg/extension.py", line 168, in 
> _install_from_file
> extension_name = self.install_from_dir(extension_dir)
>  
>   File "/usr/share/weewx/weecfg/extension.py", line 185, in 
> install_from_dir
> self._install_files(installer['files'], extension_dir)
>   File "/usr/share/weewx/weecfg/extension.py", line 269, in 
> _install_files
> shutil.copy(source_path, destination_path)
>   File "/usr/lib/python3.11/shutil.py", line 419, in copy
> copyfile(src, dst, follow_symlinks=follow_symlinks)
>   File "/usr/lib/python3.11/shutil.py", line 258, in copyfile
> with open(dst, 'wb') as fdst:
>  ^^^
> PermissionError: [Errno 13] Permission denied: 
> '/etc/weewx/bin/user/MQTTSubscribe.py'
>
>
> On Saturday, January 27, 2024 at 4:54:23 PM UTC-6 vince wrote:
>
>> You didn't say which version of weewx but you probably installed v5.
>>
>> See if 'weectl extension install' works (v5 syntax) rather than 
>> 'wee_extension --install' (v4 syntax).
>>
>> On Saturday, January 27, 2024 at 2:34:15 PM UTC-8 Frank Gruhlke Gg 
>> wrote:
>>
>>> Thanks for helping me out...  here is what got..
>>>
>>> frank@pi4:/tmp $ wee_extension --install=v2.3.1.tar.gz
>>> bash: wee_extension: command not found
>>>
>>> On Saturday, January 27, 2024 at 4:20:12 PM UTC-6 Rich Bell wrote:
>>>
 Drop the BIN_DIR
 wee_extension --install=v2.3.1.tar.gz
 Assuming you are /tmp

 On Sat, Jan 27, 2024 at 4:56 PM bell...@gmail.com <
 bell...@gmail.com> wrote:

> You caught me in the middle of a major documentation update.
>
> For weewx v5 use, 
> http://www.weewx.com/docs/5.0/utilities/weectl-extension/ 

Re: [weewx-user] Re: Trouble installing WeeWX-MQTTSubscribe

2024-01-29 Thread vince
Use the packaged version of paho-mqtt.

$ sudo apt-get install python3-paho-mqtt


On Monday, January 29, 2024 at 11:01:14 AM UTC-8 Frank Gruhlke Gg wrote:

> I am still trying to get everything installed correctly...
>
> I can install weewx 5,  no problem(sudo apt install weewx)
> I can install Paho-Mqtt, no problem   (pip install paho-mqtt)
> I am using this to install  WeewxMQTTSubcribe (sudo weectl extension 
> install 
> https://github.com/bellrichm/WeeWX-MQTTSubscribe/archive/refs/tags/v2.3.1.tar.gz
> )
>
> When use" "wectl station reconfigure", it indicates I may have path issues?
>
> Installed drivers include:
>   0) ?   (user.MQTTSubscribe)  No module named 'paho'
>   1) AcuRite (weewx.drivers.acurite)
>   2) CC3000  (weewx.drivers.cc3000)
>   3) FineOffsetUSB   (weewx.drivers.fousb)
>   4) Simulator   (weewx.drivers.simulator)
>   5) TE923   (weewx.drivers.te923)
>   6) Ultimeter   (weewx.drivers.ultimeter)
>   7) Vantage (weewx.drivers.vantage)
>   8) WMR100  (weewx.drivers.wmr100)
>   9) WMR300  (weewx.drivers.wmr300)
>  10) WMR9x8  (weewx.drivers.wmr9x8)
>  11) WS1 (weewx.drivers.ws1)
>  12) WS23xx  (weewx.drivers.ws23xx)
>  13) WS28xx  (weewx.drivers.ws28xx)
> choose a driver [4]:
>
> On Saturday, January 27, 2024 at 5:44:59 PM UTC-6 Frank Gruhlke Gg wrote:
>
>> This worked!   Vince and Rich, thank you so much!!
>>
>> sudo weectl extension install 
>> https://github.com/bellrichm/WeeWX-MQTTSubscribe/archive/refs/tags/v2.3.1.tar.gz
>>
>> On Saturday, January 27, 2024 at 5:20:52 PM UTC-6 Frank Gruhlke Gg wrote:
>>
>>> And sorry, yes using WeeWx 5
>>>
>>> On Saturday, January 27, 2024 at 5:20:14 PM UTC-6 Frank Gruhlke Gg wrote:
>>>
 That got me much closer...but (PermissionError: [Errno 13] 
 Permission denied: '/etc/weewx/bin/user/MQTTSubscribe.py')


 frank@pi4:/tmp $ weectl extension install v2.3.1.tar.gz
 Using configuration file /etc/weewx/weewx.conf
 Install extension 'v2.3.1.tar.gz' (y/n)? y
 Extracting from tar archive v2.3.1.tar.gz
 Traceback (most recent call last):
   File "/usr/share/weewx/weectl.py", line 74, in 
 main()
   File "/usr/share/weewx/weectl.py", line 66, in main
 namespace.func(namespace)
   File "/usr/share/weewx/weectllib/__init__.py", line 121, in dispatch
 namespace.action_func(config_dict, namespace)
   File "/usr/share/weewx/weectllib/extension_cmd.py", line 116, in 
 install_extension
 ext.install_extension(namespace.source, no_confirm=namespace.yes)
   File "/usr/share/weewx/weecfg/extension.py", line 138, in 
 install_extension
 extension_name = self._install_from_file(extension_path, filetype)
  ^
   File "/usr/share/weewx/weecfg/extension.py", line 168, in 
 _install_from_file
 extension_name = self.install_from_dir(extension_dir)
  
   File "/usr/share/weewx/weecfg/extension.py", line 185, in 
 install_from_dir
 self._install_files(installer['files'], extension_dir)
   File "/usr/share/weewx/weecfg/extension.py", line 269, in 
 _install_files
 shutil.copy(source_path, destination_path)
   File "/usr/lib/python3.11/shutil.py", line 419, in copy
 copyfile(src, dst, follow_symlinks=follow_symlinks)
   File "/usr/lib/python3.11/shutil.py", line 258, in copyfile
 with open(dst, 'wb') as fdst:
  ^^^
 PermissionError: [Errno 13] Permission denied: 
 '/etc/weewx/bin/user/MQTTSubscribe.py'


 On Saturday, January 27, 2024 at 4:54:23 PM UTC-6 vince wrote:

> You didn't say which version of weewx but you probably installed v5.
>
> See if 'weectl extension install' works (v5 syntax) rather than 
> 'wee_extension --install' (v4 syntax).
>
> On Saturday, January 27, 2024 at 2:34:15 PM UTC-8 Frank Gruhlke Gg 
> wrote:
>
>> Thanks for helping me out...  here is what got..
>>
>> frank@pi4:/tmp $ wee_extension --install=v2.3.1.tar.gz
>> bash: wee_extension: command not found
>>
>> On Saturday, January 27, 2024 at 4:20:12 PM UTC-6 Rich Bell wrote:
>>
>>> Drop the BIN_DIR
>>> wee_extension --install=v2.3.1.tar.gz
>>> Assuming you are /tmp
>>>
>>> On Sat, Jan 27, 2024 at 4:56 PM bell...@gmail.com  
>>> wrote:
>>>
 You caught me in the middle of a major documentation update.

 For weewx v5 use, 
 http://www.weewx.com/docs/5.0/utilities/weectl-extension/ and 
 http://www.weewx.com/docs/5.0/utilities/weectl-station/
 And v4, 
 http://www.weewx.com/docs/4.10/utilities.htm#wee_extension_utility 
 and 
 http://www.weewx.com/docs/4.10/utilities.htm#Action_--reco

Re: [weewx-user] Re: Trouble installing WeeWX-MQTTSubscribe

2024-01-29 Thread Frank Gruhlke Gg
I am still trying to get everything installed correctly...

I can install weewx 5,  no problem(sudo apt install weewx)
I can install Paho-Mqtt, no problem   (pip install paho-mqtt)
I am using this to install  WeewxMQTTSubcribe (sudo weectl extension 
install 
https://github.com/bellrichm/WeeWX-MQTTSubscribe/archive/refs/tags/v2.3.1.tar.gz)

When use" "wectl station reconfigure", it indicates I may have path issues?

Installed drivers include:
  0) ?   (user.MQTTSubscribe)  No module named 'paho'
  1) AcuRite (weewx.drivers.acurite)
  2) CC3000  (weewx.drivers.cc3000)
  3) FineOffsetUSB   (weewx.drivers.fousb)
  4) Simulator   (weewx.drivers.simulator)
  5) TE923   (weewx.drivers.te923)
  6) Ultimeter   (weewx.drivers.ultimeter)
  7) Vantage (weewx.drivers.vantage)
  8) WMR100  (weewx.drivers.wmr100)
  9) WMR300  (weewx.drivers.wmr300)
 10) WMR9x8  (weewx.drivers.wmr9x8)
 11) WS1 (weewx.drivers.ws1)
 12) WS23xx  (weewx.drivers.ws23xx)
 13) WS28xx  (weewx.drivers.ws28xx)
choose a driver [4]:

On Saturday, January 27, 2024 at 5:44:59 PM UTC-6 Frank Gruhlke Gg wrote:

> This worked!   Vince and Rich, thank you so much!!
>
> sudo weectl extension install 
> https://github.com/bellrichm/WeeWX-MQTTSubscribe/archive/refs/tags/v2.3.1.tar.gz
>
> On Saturday, January 27, 2024 at 5:20:52 PM UTC-6 Frank Gruhlke Gg wrote:
>
>> And sorry, yes using WeeWx 5
>>
>> On Saturday, January 27, 2024 at 5:20:14 PM UTC-6 Frank Gruhlke Gg wrote:
>>
>>> That got me much closer...but (PermissionError: [Errno 13] 
>>> Permission denied: '/etc/weewx/bin/user/MQTTSubscribe.py')
>>>
>>>
>>> frank@pi4:/tmp $ weectl extension install v2.3.1.tar.gz
>>> Using configuration file /etc/weewx/weewx.conf
>>> Install extension 'v2.3.1.tar.gz' (y/n)? y
>>> Extracting from tar archive v2.3.1.tar.gz
>>> Traceback (most recent call last):
>>>   File "/usr/share/weewx/weectl.py", line 74, in 
>>> main()
>>>   File "/usr/share/weewx/weectl.py", line 66, in main
>>> namespace.func(namespace)
>>>   File "/usr/share/weewx/weectllib/__init__.py", line 121, in dispatch
>>> namespace.action_func(config_dict, namespace)
>>>   File "/usr/share/weewx/weectllib/extension_cmd.py", line 116, in 
>>> install_extension
>>> ext.install_extension(namespace.source, no_confirm=namespace.yes)
>>>   File "/usr/share/weewx/weecfg/extension.py", line 138, in 
>>> install_extension
>>> extension_name = self._install_from_file(extension_path, filetype)
>>>  ^
>>>   File "/usr/share/weewx/weecfg/extension.py", line 168, in 
>>> _install_from_file
>>> extension_name = self.install_from_dir(extension_dir)
>>>  
>>>   File "/usr/share/weewx/weecfg/extension.py", line 185, in 
>>> install_from_dir
>>> self._install_files(installer['files'], extension_dir)
>>>   File "/usr/share/weewx/weecfg/extension.py", line 269, in 
>>> _install_files
>>> shutil.copy(source_path, destination_path)
>>>   File "/usr/lib/python3.11/shutil.py", line 419, in copy
>>> copyfile(src, dst, follow_symlinks=follow_symlinks)
>>>   File "/usr/lib/python3.11/shutil.py", line 258, in copyfile
>>> with open(dst, 'wb') as fdst:
>>>  ^^^
>>> PermissionError: [Errno 13] Permission denied: 
>>> '/etc/weewx/bin/user/MQTTSubscribe.py'
>>>
>>>
>>> On Saturday, January 27, 2024 at 4:54:23 PM UTC-6 vince wrote:
>>>
 You didn't say which version of weewx but you probably installed v5.

 See if 'weectl extension install' works (v5 syntax) rather than 
 'wee_extension --install' (v4 syntax).

 On Saturday, January 27, 2024 at 2:34:15 PM UTC-8 Frank Gruhlke Gg 
 wrote:

> Thanks for helping me out...  here is what got..
>
> frank@pi4:/tmp $ wee_extension --install=v2.3.1.tar.gz
> bash: wee_extension: command not found
>
> On Saturday, January 27, 2024 at 4:20:12 PM UTC-6 Rich Bell wrote:
>
>> Drop the BIN_DIR
>> wee_extension --install=v2.3.1.tar.gz
>> Assuming you are /tmp
>>
>> On Sat, Jan 27, 2024 at 4:56 PM bell...@gmail.com  
>> wrote:
>>
>>> You caught me in the middle of a major documentation update.
>>>
>>> For weewx v5 use, 
>>> http://www.weewx.com/docs/5.0/utilities/weectl-extension/ and 
>>> http://www.weewx.com/docs/5.0/utilities/weectl-station/
>>> And v4, 
>>> http://www.weewx.com/docs/4.10/utilities.htm#wee_extension_utility 
>>> and 
>>> http://www.weewx.com/docs/4.10/utilities.htm#Action_--reconfigure
>>>
>>> Then manually update weewx.conf using 
>>> https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Common-Options 
>>> as a reference
>>>
>>> rich
>>>
>>> On Saturday 27 January 2024 at 16:38:36 UTC-5 Frank Gruhlke Gg wrote:
>>>
 Hello all..   

[weewx-user] Re: Aeris forcast with belchertown

2024-01-29 Thread MikeQ
The latest version of the Belchertown skin v1.3.1 recommends using 
windy.com for maps:

   - Q: Do I have to use the radar?
   - A: Nope! If you leave it disabled you'll just have a big blank box on 
   the website. But windy.com provides a free animated radar, so why not 
   include it? :)

https://github.com/poblabs/weewx-belchertown

On Monday, January 29, 2024 at 7:13:13 AM UTC-7 Dan Roman wrote:

> Yes, I am.  When it was failing when I manually entered the URL in a 
> browser I got back the following JSON response:
>
> {"success":false,"error":{"code":"maxhits_daily","description":"Maximum 
> number of daily accesses reached."},"response":[]}
>
> But as I said, after I waited a day or two it cleared itself up and 
> started working again without my needing to change anything.
>
>
>
> On Sunday, January 28, 2024 at 7:56:40 PM UTC-5 bchap...@gmail.com wrote:
>
>> Are you using the aeris maps?  That's where I found my issue.  The maps 
>> rack up hundreds of requests per hour and max you out real quick.  I turned 
>> off aeris maps and now I have less than 300 hits per day.
>>
>> On Sunday, January 28, 2024 at 1:25:38 PM UTC-5 Dan Roman wrote:
>>
>>> I had this problem back in October but it cleared itself up.  Never 
>>> determined if it was an Aeris or Blechertown problem.  Didn't need to 
>>> change my password, delete my account, or anything.  It was just a glitch 
>>> in the matrix I guess that went on for a couple of days and then fixed 
>>> itself.
>>>
>>>
>>> On Friday, January 26, 2024 at 11:32:57 AM UTC-5 bchap...@gmail.com 
>>> wrote:
>>>
 So, I've solved my problem.  If you're using the aeris free account on 
 their contributor plan, do not turn on aeris maps in the belchertown 
 settings.  I don't know what has changed on their end because I have had 
 the same configuration for many years, but now the map will make thousands 
 of hits per hour and they will shut you down when you exceed your allowed 
 5,000 hits.  I turned off the aeris maps and all looks well so far.

 On Wednesday, January 24, 2024 at 11:08:16 PM UTC-5 bchap...@gmail.com 
 wrote:

> I've done that.  Should have mentioned in original post.  I've changed 
> my password, deleted and created a new app.  My hit count reset at 
> 1900EST 
> and within an hour I was at ~600 hits, and that's with forcasting turned 
> off in the conf file.  Aeris tech support has not been able to solve 
> this.  
> I'm thinking I may need to delete my account with them and re-create a 
> new 
> one.  
>
> On Wednesday, January 24, 2024 at 7:38:45 PM UTC-5 bchap...@gmail.com 
> wrote:
>
>> Is anyone else having problems with aeris forcasting?  For the past 
>> few weeks my access credits have been running out resulting in my 
>> webpage 
>> not being updated.  I've turned off forcasting in weewx.conf and when I 
>> watch my activity on aeris the hits keep coming.  I don't know who is 
>> making these requests.  My aeris credits are racking up at an average of 
>> a 
>> few hundred an hour, even with forcasting turned off.  I've contacted 
>> aeris 
>> tech support which has not been helpful.
>>
>

-- 
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/d0457179-413d-4d40-93ae-404ae14c4995n%40googlegroups.com.


[weewx-user] Re: Aeris forcast with belchertown

2024-01-29 Thread Dan Roman
Yes, I am.  When it was failing when I manually entered the URL in a 
browser I got back the following JSON response:

{"success":false,"error":{"code":"maxhits_daily","description":"Maximum 
number of daily accesses reached."},"response":[]}

But as I said, after I waited a day or two it cleared itself up and started 
working again without my needing to change anything.



On Sunday, January 28, 2024 at 7:56:40 PM UTC-5 bchap...@gmail.com wrote:

> Are you using the aeris maps?  That's where I found my issue.  The maps 
> rack up hundreds of requests per hour and max you out real quick.  I turned 
> off aeris maps and now I have less than 300 hits per day.
>
> On Sunday, January 28, 2024 at 1:25:38 PM UTC-5 Dan Roman wrote:
>
>> I had this problem back in October but it cleared itself up.  Never 
>> determined if it was an Aeris or Blechertown problem.  Didn't need to 
>> change my password, delete my account, or anything.  It was just a glitch 
>> in the matrix I guess that went on for a couple of days and then fixed 
>> itself.
>>
>>
>> On Friday, January 26, 2024 at 11:32:57 AM UTC-5 bchap...@gmail.com 
>> wrote:
>>
>>> So, I've solved my problem.  If you're using the aeris free account on 
>>> their contributor plan, do not turn on aeris maps in the belchertown 
>>> settings.  I don't know what has changed on their end because I have had 
>>> the same configuration for many years, but now the map will make thousands 
>>> of hits per hour and they will shut you down when you exceed your allowed 
>>> 5,000 hits.  I turned off the aeris maps and all looks well so far.
>>>
>>> On Wednesday, January 24, 2024 at 11:08:16 PM UTC-5 bchap...@gmail.com 
>>> wrote:
>>>
 I've done that.  Should have mentioned in original post.  I've changed 
 my password, deleted and created a new app.  My hit count reset at 1900EST 
 and within an hour I was at ~600 hits, and that's with forcasting turned 
 off in the conf file.  Aeris tech support has not been able to solve this. 
  
 I'm thinking I may need to delete my account with them and re-create a new 
 one.  

 On Wednesday, January 24, 2024 at 7:38:45 PM UTC-5 bchap...@gmail.com 
 wrote:

> Is anyone else having problems with aeris forcasting?  For the past 
> few weeks my access credits have been running out resulting in my webpage 
> not being updated.  I've turned off forcasting in weewx.conf and when I 
> watch my activity on aeris the hits keep coming.  I don't know who is 
> making these requests.  My aeris credits are racking up at an average of 
> a 
> few hundred an hour, even with forcasting turned off.  I've contacted 
> aeris 
> tech support which has not been helpful.
>


-- 
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/52b5adb6-2610-434c-9197-854b2a8a4729n%40googlegroups.com.


[weewx-user] Re: wee_extension: command not found: How do I run the wee_extension from bash session within a docker container.

2024-01-29 Thread Alvaro Villa Emperador
if you have installed Weewx 5.0, try using  sudo weectl extension install 
EXTENSION-LOCATION instead of wee_extension
that worked for me

El lunes, 13 de marzo de 2017 a las 21:04:11 UTC+1, mwall escribió:

> On Monday, March 13, 2017 at 2:49:45 PM UTC-4, mr wrote:
>>
>>  Based on the above Dockerfile, which rings and hoops do I need to jump 
>> through in order to run the following command within a weewx container?  
>>
>
> try specifying the full path to wee_extension.  since you are installing 
> to /home/weewx, the full path would be
>
> /home/weewx/bin/wee_extension
>
> just as you did to install the weewx-nm150 extension
>
> 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/c0d62559-3096-48eb-bf87-379e240d1ed3n%40googlegroups.com.


Re: [weewx-user] Integrate rain24 with Packetsloop

2024-01-29 Thread Remy Lavabre
Sorry Tom, I didn't notice how quick your insight was! ;-)

However *(if I may!*), I think that for a better understanding, there would 
be (*perhaps?*) another correction to make here: 
https://github.com/weewx/weewx/blob/master/ src/weewx/wxxtypes.py#L586

Indeed, you indicate in comments a "rain" field and a "dayRain" field. I 
quote *"for calculating observation type 'rain' from a daily total, such as 
'dayRain'"* -> OK, thank's for the ifo

But below, dayRain "transforms" into "totalRain":

 [StdWXCalculate]
 [[Calculations]]
 ...
 rain = prefer_hardware
 ...
 [[Delta]]
 [[[rain]]]
 input = totalRain

It's certainly not a big problem, but for a neophyte like me, it raises 
unnecessary questions when reading the manual... ;-)

Finally, I would like to take this opportunity to ask you if it would not 
be possible to provide a new class for a counter that never resets to zero 
(DELTA2 for example), which would simply calculate the delta between two 
packetsloops (delta2 = measurement2 - measurement1) and if the result is 
negative, then delta2 = measurement2 (obviously the counter has been reset).
That would be very cool... ;-)
A (good) idea for development... no ?
Thank you Tom

Le dimanche 28 janvier 2024 à 18:40:37 UTC+1, Tom Keffer a écrit :

> Oh, it was the first thing I did after realizing my omission! Commit 
> 9455fa1 
> 
> .
>
> On Sun, Jan 28, 2024 at 7:30 AM Remy Lavabre  wrote:
>
>> thanks Tom,
>>
>> I had thought about putting rain = prefer_software but as this type of 
>> rain configuration is not documented in the Weewx documentation (or at 
>> least I didn't find it!) I didn't take the initiative. .. stupid I am ! :-(
>>
>> little suggestion Tom, perhaps it would be good to document this point in 
>> the [[Delta]] rain class? 
>> Well, not everyone is ignorant like me!! :-))
>> Many thanks to you for your help Tom
>>
>> Le dimanche 28 janvier 2024 à 00:21:43 UTC+1, Tom Keffer a écrit :
>>
>>> My apologies. I forgot one important detail. The "[Delta]" section tells 
>>> WeeWX how to calculate rain, but you also have to include "rain" under 
>>> [StdWXCalculations] / [[Calculations]] in order to get it to do the actual 
>>> calculation. It looks like
>>>
>>> [StdWXCalculate]
>>> [[Calculations]]
>>> ...
>>> rain = prefer_hardware
>>>
>>> ...
>>> [[Delta]]
>>> [[[rain]]]
>>> input = dayRain
>>>
>>> On Sat, Jan 27, 2024 at 9:17 AM Remy Lavabre  
>>> wrote:
>>>
 Hello Tom,

 I followed your instructions:

 1/“rain” field present in the database
 2/ “dayRain” field not present in the database
 3/ My driver returns “dayRain” values and not “rain” values in the 
 packetsloop
 4/ [[Delta]] [[ [rain]]] input = dayRain added in weewx.conf (under 
 [StdWXCalculate]).

 I did some tests : my driver returns 0.0 for dayRain but unfortunately 
 the "rain" field in my database always remains NULL, even after several 
 recordings in weewx.conf.
 Shouldn't "rain" field go to 0.0?

 THANKS

 Le vendredi 26 janvier 2024 à 22:48:03 UTC+1, Tom Keffer a écrit :

> If an observation type never gets reset to zero, you have two choices.
> 1. Save the value. If you want to know daily use, take the difference 
> of the value.
> 2. Save the difference. That is, the change in the value over an 
> archive period. If you want to know daily use, you would sum all the 
> small 
> deltas. This is like rain
>
> See the discussion *Accumulated vs delta energy 
> *
>  in 
> the README of the Brultech driver for the pros and cons of the two 
> approaches.
>
> It is not necessary to save "dayRain". WeeWX mostly uses "rain". 
> Besides, as you note, it can always be calculated.
>
>
>
> On Fri, Jan 26, 2024 at 7:06 AM Remy Lavabre  
> wrote:
>
>> And one more question
>> Is it absolutely necessary to create a "dayRain" field in addition to 
>> the "rain" field in the weewx.sdb database?
>> If the database only contains the [rain] field but the Weewx driver 
>> returns a "dayRain" field (cumulative rain over 24 hours since midnight) 
>> with a real value in each packetloop, the class [[Delta]] [[ [rain]]] 
>> input 
>> = dayRain will it work??
>> (the accumulation of rain since midnight is useless to me in a 
>> database field since it is easily calculated)
>> Sorry for all the questions...and thanks again! ;-)
>>
>> Le vendredi 26 janvier 2024 à 15:46:04 UTC+1, Remy Lavabre a écrit :
>>
>>> Hello Tom and thank you for your response.
>>>
>>>  [StdWXCalculate]
>>>  [[Calculations]

[weewx-user] Re: Using radar data provided by the German Weather Service DWD

2024-01-29 Thread Karen K
michael.k...@gmx.at schrieb am Freitag, 12. Januar 2024 um 20:04:50 UTC+1:

Würde das auch gerne als Option für den Bootstrap Skin übernehmen.


@Michael: Wenn das dann umgesetzt ist, könnte ich einen Link setzen, daß 
die Leute sehen, daß sie da eine Skin installieren können, die das nutzt.
 

-- 
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/9bd9960e-7e8c-4435-9670-028f7ea6af97n%40googlegroups.com.