[weewx-user] Update Problem

2022-02-22 Thread ried...@gmail.com
Hello
After the update from Weex 4.5.2 to 4.6.2 I only have 2 sensors in the list.
outside temperature and air pressure.
I am using an HP1000 driver.
There are also some error messages in the sys log!
Skin unknown unknown although I specified standard in the config.
Here is an excerpt from the log

Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator:  
 Traceback (most recent call last):
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator:    
 File "/usr/share/weewx/weewx/cheetahgenerator.py", line 328, in generate
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator:  
 compiled_template = Cheetah.Template.Template(
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator:    
 File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1337, in 
__init__
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator:  
 self._compile(source, file, compilerSettings=compilerSettings)
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator:    
 File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1631, in 
_compile
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator:  
 self._fileMtime = os.path.getmtime(file)
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator:    
 File "/usr/lib/python3.8/genericpath.py", line 55, in getmtime
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator:  
 return os.stat(filename).st_mtime
Feb 22 10:40:34 weewx weewx[6490] ERROR weewx.cheetahgenerator:  
 FileNotFoundError: [Errno 2] No such file or directory: 
'/etc/weewx/skins/Smartphone/smartphone/uv.html.tmpl'
Feb 22 10:40:34 weewx weewx[6490] INFO weewx.cheetahgenerator: Generated 6 
files for report SmartphoneReport in 0.22 seconds
Feb 22 10:40:35 weewx weewx[6490] INFO weewx.imagegenerator: Generated 6 
images for report SmartphoneReport in 0.33 seconds
Feb 22 10:40:35 weewx weewx[6490] INFO weewx.reportengine: Copied 0 files 
to /var/www/html/weewx/smartphone
Feb 22 10:40:35 weewx weewx[6490] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 30 files in 0.31 seconds


I hope this problem can be solved.

Regards
Andre

-- 
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/7f0a6c8a-43bb-4871-8690-fb1a9b8bae91n%40googlegroups.com.


[weewx-user] Shutdown HP1000

2021-11-25 Thread ried...@gmail.com
Hello
Unfortunately, weewx keeps crashing after a Linux update.
I once attached the log from the syslog. Maybe someone can help.
As hardware I have an HP1000 weather station with Hp driver and a virtual 
server (Linux Ubuntu) on a disk station DS 218+.
The whole thing lasted a few months. Until I did abt-get updat and upgrade.

Greetings André


Nov 25 16:06:47 weewx weewx[86060] INFO weewx.engine: Main loop exiting. 
Shutting engine down.
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__: Caught unrecoverable 
exception:
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:   unpack 
requires a buffer of 4 bytes
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:   Traceback 
(most recent call last):
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__: File 
"/usr/share/weewx/weewxd", line 157, in main
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:   
engine.run()
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 178, in run
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:   
self.dispatchEvent(weewx.Event(weewx.STARTUP))
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:   
callback(event)
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 574, in startup
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:   
self._catchup(self.engine.console.genStartupRecords)
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__: File 
"/usr/share/weewx/weewx/engine.py", line 687, in _catchup
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:   for 
record in generator(lastgood_ts):
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__: File 
"/usr/share/weewx/user/HP1000.py", line 904, in genStartupRecords
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:   
rec_packet = self.getHistoryData(year, record_count, start_record)
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__: File 
"/usr/share/weewx/user/HP1000.py", line 791, in getHistoryData
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:   
pkt_length = struct.unpack('I', rx_data[32:36])[0]
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:   
struct.error: unpack requires a buffer of 4 bytes
Nov 25 16:06:47 weewx weewx[86060] CRITICAL __main__:   Exiting.

-- 
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/0b1d6853-14de-451f-aa8b-ddfcc4120bfbn%40googlegroups.com.


Re: [weewx-user] Re: HP1000 Driver

2021-04-19 Thread ried...@gmail.com
Hello 
Thank you once again for your help. 
The driver works perfectly. I noticed a small blemish.
 In the log it is displayed as HP100 and not as HP1000. I fixed that in the 
driver. 
I have now solved the problem. 
My cable router had an update and probably deleted the setting from the IP. 
thus all ports for the weather station were blocked. 

 Thanks again for your quick help. 

 greetings André

vk3...@gmail.com schrieb am Montag, 19. April 2021 um 04:42:29 UTC+2:

> What happens after you wait the 60 seconds?
> The Timeout message means that the communication with the console is 
> having problems and either the console is not receiving the request or the 
> driver is not receiving the response.
> Susan
>
> On Sunday, 18 April 2021 at 7:22:41 am UTC+10 ried...@gmail.com wrote:
>
>> Hello 
>> Thanks again for your help. I now have weewx running with Python 3 and 
>> the HP driver. 
>> When I start weewx, not much happens. Except that often INFO root: 
>> HP1000: Timed out too many times occurs.
>>  If I delete the weewx.sdb file and restart weewx, the data is downloaded 
>> from the weather station. Unfortunately, this then breaks off and the 
>> message appears 
>>
>> Apr 17 23:18:27 weewx weewx [803] INFO root: HP1000: Retrieving startup 
>> records 
>> Apr 17 23:18:53 weewx weewx [803] INFO root: HP1000: timed out 
>> Apr 17 23:18:53 weewx weewx [803] INFO weewx.engine: Main loop exiting. 
>> Shutting engine down. 
>> Apr 17 23:18:53 weewx weewx [803] CRITICAL __main__: Caught WeeWxIOError: 
>> Apr 17 23:18:53 weewx weewx [803] CRITICAL __main__:  Waiting 60 
>> seconds then retrying ... 
>>
>>
>> greetings Andre
>>
>> vince schrieb am Samstag, 17. April 2021 um 04:10:46 UTC+2:
>>
>>> DOH - thanks Gary !
>>> On Friday, April 16, 2021 at 3:50:18 PM UTC-7 gjr80 wrote:
>>>
>>>> Right cause wrong location :) it’s actually the forecasting extension 
>>>> causing the latest problem. If you search the forums you will find a 
>>>> number 
>>>> of threads with details of an updated forecasting extension that will run 
>>>> under python 3.
>>>>
>>>> Gary
>>>>
>>>> On Saturday, 17 April 2021 at 08:42:32 UTC+10 vince wrote:
>>>>
>>>>> That is the classic "code is written for python2 only" error you get 
>>>>> when you try to run it under python3.You should either run your weewx 
>>>>> under python2 or contact the driver's author and see if they have plans 
>>>>> to 
>>>>> update to python3-compliant code.
>>>>>
>>>>> On Friday, April 16, 2021 at 3:11:44 PM UTC-7 ried...@gmail.com wrote:
>>>>>
>>>>>> Hello 
>>>>>>  Many thanks for the help. With the Master Link I was able to install 
>>>>>> the driver. 
>>>>>> Unfortunately, I now get a different error message.
>>>>>>
>>>>>>
>>>>>> root@raspberrypi:~# sudo /etc/init.d/weewx status -l
>>>>>> ● weewx.service - LSB: weewx weather system
>>>>>>Loaded: loaded (/etc/init.d/weewx; generated)
>>>>>>Active: active (exited) since Sat 2021-04-17 00:02:04 CEST; 4min 
>>>>>> 21s ago
>>>>>>  Docs: man:systemd-sysv-generator(8)
>>>>>>   Process: 430 ExecStart=/etc/init.d/weewx start (code=exited, 
>>>>>> status=0/SUCCESS)
>>>>>>
>>>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>>>> __main__:   self.loadServices(config_dict)
>>>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>>>> __main__: File "/usr/share/weewx/weewx/engine.py", line 161, 
>>>>>> in 
>>>>>> loadServices
>>>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>>>> __main__:   obj = weeutil.weeutil.get_object(svc)(self, 
>>>>>> config_dict)
>>>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>>>> __main__: File "/usr/share/weewx/weeutil/weeutil.py", line 
>>>>>> 1119, in get_object
>>>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>>>> __main__:   mod = __import__(module)
>>>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>

Re: [weewx-user] Re: HP1000 Driver

2021-04-17 Thread ried...@gmail.com
Hello 
Thanks again for your help. I now have weewx running with Python 3 and the 
HP driver. 
When I start weewx, not much happens. Except that often INFO root: HP1000: 
Timed out too many times occurs.
 If I delete the weewx.sdb file and restart weewx, the data is downloaded 
from the weather station. Unfortunately, this then breaks off and the 
message appears 

Apr 17 23:18:27 weewx weewx [803] INFO root: HP1000: Retrieving startup 
records 
Apr 17 23:18:53 weewx weewx [803] INFO root: HP1000: timed out 
Apr 17 23:18:53 weewx weewx [803] INFO weewx.engine: Main loop exiting. 
Shutting engine down. 
Apr 17 23:18:53 weewx weewx [803] CRITICAL __main__: Caught WeeWxIOError: 
Apr 17 23:18:53 weewx weewx [803] CRITICAL __main__:  Waiting 60 
seconds then retrying ... 


greetings Andre

vince schrieb am Samstag, 17. April 2021 um 04:10:46 UTC+2:

> DOH - thanks Gary !
> On Friday, April 16, 2021 at 3:50:18 PM UTC-7 gjr80 wrote:
>
>> Right cause wrong location :) it’s actually the forecasting extension 
>> causing the latest problem. If you search the forums you will find a number 
>> of threads with details of an updated forecasting extension that will run 
>> under python 3.
>>
>> Gary
>>
>> On Saturday, 17 April 2021 at 08:42:32 UTC+10 vince wrote:
>>
>>> That is the classic "code is written for python2 only" error you get 
>>> when you try to run it under python3.You should either run your weewx 
>>> under python2 or contact the driver's author and see if they have plans to 
>>> update to python3-compliant code.
>>>
>>> On Friday, April 16, 2021 at 3:11:44 PM UTC-7 ried...@gmail.com wrote:
>>>
>>>> Hello 
>>>>  Many thanks for the help. With the Master Link I was able to install 
>>>> the driver. 
>>>> Unfortunately, I now get a different error message.
>>>>
>>>>
>>>> root@raspberrypi:~# sudo /etc/init.d/weewx status -l
>>>> ● weewx.service - LSB: weewx weather system
>>>>Loaded: loaded (/etc/init.d/weewx; generated)
>>>>Active: active (exited) since Sat 2021-04-17 00:02:04 CEST; 4min 21s 
>>>> ago
>>>>  Docs: man:systemd-sysv-generator(8)
>>>>   Process: 430 ExecStart=/etc/init.d/weewx start (code=exited, 
>>>> status=0/SUCCESS)
>>>>
>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>> __main__:   self.loadServices(config_dict)
>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>> __main__: File "/usr/share/weewx/weewx/engine.py", line 161, 
>>>> in 
>>>> loadServices
>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>> __main__:   obj = weeutil.weeutil.get_object(svc)(self, 
>>>> config_dict)
>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>> __main__: File "/usr/share/weewx/weeutil/weeutil.py", line 
>>>> 1119, in get_object
>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>> __main__:   mod = __import__(module)
>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>> __main__: File "/usr/share/weewx/user/forecast.py", line 567
>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>> __main__:   except OSError, e:
>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>> __main__: ^
>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>> __main__:   SyntaxError: invalid syntax
>>>> Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL 
>>>> __main__:   Exiting.
>>>>
>>>> Andre
>>>> Glenn McKechnie schrieb am Freitag, 16. April 2021 um 13:43:28 UTC+2:
>>>>
>>>>> 'file' is your friend. 
>>>>>
>>>>> You're fetching the actual html page... 
>>>>> wget -P /var/tmp 
>>>>> https://github.com/AussieSusan/HP1000/blob/master/HP1000.tar.gz 
>>>>>
>>>>> file /var/tmp/HP1000.tar.gz 
>>>>> /var/tmp/HP1000.tar.gz: HTML document, UTF-8 Unicode text, with very 
>>>>> long lines 
>>>>>
>>>>> rm /var/tmp/HP1000.tar.gz 
>>>>>
>>>>> Try the download link (button) that is on that page, ie:- 
>>>>> wget -P /var/tmp 
&

Re: [weewx-user] Re: HP1000 Driver

2021-04-16 Thread ried...@gmail.com
Hello 
 Many thanks for the help. With the Master Link I was able to install the 
driver. 
Unfortunately, I now get a different error message.


root@raspberrypi:~# sudo /etc/init.d/weewx status -l
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (exited) since Sat 2021-04-17 00:02:04 CEST; 4min 21s ago
 Docs: man:systemd-sysv-generator(8)
  Process: 430 ExecStart=/etc/init.d/weewx start (code=exited, 
status=0/SUCCESS)

Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL __main__:
   self.loadServices(config_dict)
Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL __main__:
 File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL __main__:
   obj = weeutil.weeutil.get_object(svc)(self, config_dict)
Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL __main__:
 File "/usr/share/weewx/weeutil/weeutil.py", line 1119, in 
get_object
Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL __main__:
   mod = __import__(module)
Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL __main__:
 File "/usr/share/weewx/user/forecast.py", line 567
Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL __main__:
   except OSError, e:
Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL __main__:
 ^
Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL __main__:
   SyntaxError: invalid syntax
Apr 17 00:02:04 raspberrypi python3[520]: weewx[520] CRITICAL __main__:
   Exiting.

Andre
Glenn McKechnie schrieb am Freitag, 16. April 2021 um 13:43:28 UTC+2:

> 'file' is your friend.
>
> You're fetching the actual html page...
> wget -P /var/tmp 
> https://github.com/AussieSusan/HP1000/blob/master/HP1000.tar.gz
>
> file /var/tmp/HP1000.tar.gz
> /var/tmp/HP1000.tar.gz: HTML document, UTF-8 Unicode text, with very long 
> lines
>
> rm /var/tmp/HP1000.tar.gz
>
> Try the download link (button) that is on that page, ie:-
> wget -P /var/tmp 
> https://github.com/AussieSusan/HP1000/raw/master/HP1000.tar.gz
>
> file /var/tmp/HP1000.tar.gz
> /var/tmp/HP1000.tar.gz: gzip compressed data, last modified: Fri Sep
> 25 06:32:52 2020, from Unix, original size 71680
>
>
> On 16/04/2021, ried...@gmail.com  wrote:
> > pi@raspberrypi:~ $ sudo tar -xzf HP1000.tar.gz
> >
> > gzip: stdin: not in gzip format
> > tar: Child returned status 1
> > tar: Error is not recoverable: exiting now
> >
> > ried...@gmail.com schrieb am Freitag, 16. April 2021 um 09:51:49 UTC+2:
> >
> >> Hello I tried the Weewx 4.5.1-1 update. Since then, the HP1000 driver 
> has
> >>
> >> stopped working. I uninstalled and reinstalled Weewx. Unfortunately I
> >> can't
> >> add the HP1000 driver anymore. I have a Raspi4 with 8gb Ram. I tried to
> >> download and install the driver with these commands. wget
> >> https://github.com/AussieSusan/HP1000/blob/master/HP1000.tar.gz
> >> wee_extension --install HP1000.tar.gz
> >> wget -P / var / tmp
> >> https://github.com/AussieSusan/HP1000/blob/master/HP1000.tar.gz
> >> sudo wee_extension --install /var/tmp/HP1000.tar.gz
> >>
> >> I think that the file cannot be extracted.
> >> I then use this error message.
> >> pi @ raspberrypi: ~ $ sudo wee_extension --install = / var / tmp /
> >> HP1000.tar.gz Request to install '/var/tmp/HP1000.tar.gz' Extracting 
> from
> >>
> >> tar archive /var/tmp/HP1000.tar.gz Traceback (most recent call last): 
> File
> >>
> >> "/ usr / share / weewx / wee_extension", line 88, in  Main() 
> File
> >>
> >> "/ usr / share / weewx / wee_extension", line 80, in main
> >> ext.install_extension (options.install) File
> >> "/usr/share/weewx/weecfg/extension.py", line 118, in install_extension
> >> self.tmpdir, self.logger) File "/usr/share/weewx/weecfg/__init__.py", 
> line
> >>
> >> 1808, in extract_tar tar_archive = tarfile.open (filename, mode = 'r')
> >> File
> >> "/usr/lib/python3.7/tarfile.py", line 1580, in open raise ReadError 
> ("file
> >>
> >> could not be opened successfully") tarfile.ReadError: file could not be
> >> opened successfully pi @ raspberrypi: ~ $
> >>
> >> I hope someone can help me. I think the HP1000 driver is better than the
> >> Interceptor driver.
> >>
> >> Greetings André
> >>
> >
> >

[weewx-user] Re: HP1000 Driver

2021-04-16 Thread ried...@gmail.com
pi@raspberrypi:~ $ sudo tar -xzf HP1000.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

ried...@gmail.com schrieb am Freitag, 16. April 2021 um 09:51:49 UTC+2:

> Hello I tried the Weewx 4.5.1-1 update. Since then, the HP1000 driver has 
> stopped working. I uninstalled and reinstalled Weewx. Unfortunately I can't 
> add the HP1000 driver anymore. I have a Raspi4 with 8gb Ram. I tried to 
> download and install the driver with these commands. wget 
> https://github.com/AussieSusan/HP1000/blob/master/HP1000.tar.gz 
> wee_extension --install HP1000.tar.gz 
> wget -P / var / tmp 
> https://github.com/AussieSusan/HP1000/blob/master/HP1000.tar.gz 
> sudo wee_extension --install /var/tmp/HP1000.tar.gz
>  
> I think that the file cannot be extracted. 
> I then use this error message. 
>  pi @ raspberrypi: ~ $ sudo wee_extension --install = / var / tmp / 
> HP1000.tar.gz Request to install '/var/tmp/HP1000.tar.gz' Extracting from 
> tar archive /var/tmp/HP1000.tar.gz Traceback (most recent call last): File 
> "/ usr / share / weewx / wee_extension", line 88, in  Main() File 
> "/ usr / share / weewx / wee_extension", line 80, in main 
> ext.install_extension (options.install) File 
> "/usr/share/weewx/weecfg/extension.py", line 118, in install_extension 
> self.tmpdir, self.logger) File "/usr/share/weewx/weecfg/__init__.py", line 
> 1808, in extract_tar tar_archive = tarfile.open (filename, mode = 'r') File 
> "/usr/lib/python3.7/tarfile.py", line 1580, in open raise ReadError ("file 
> could not be opened successfully") tarfile.ReadError: file could not be 
> opened successfully pi @ raspberrypi: ~ $ 
>
> I hope someone can help me. I think the HP1000 driver is better than the 
> Interceptor driver. 
>
>  Greetings André
>

-- 
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/db5413b3-5389-4847-b1c9-85fd198c5eban%40googlegroups.com.


[weewx-user] HP1000 Driver

2021-04-16 Thread ried...@gmail.com
Hello I tried the Weewx 4.5.1-1 update. Since then, the HP1000 driver has 
stopped working. I uninstalled and reinstalled Weewx. Unfortunately I can't 
add the HP1000 driver anymore. I have a Raspi4 with 8gb Ram. I tried to 
download and install the driver with these commands. wget 
https://github.com/AussieSusan/HP1000/blob/master/HP1000.tar.gz 
wee_extension --install HP1000.tar.gz 
wget -P / var / tmp 
https://github.com/AussieSusan/HP1000/blob/master/HP1000.tar.gz 
sudo wee_extension --install /var/tmp/HP1000.tar.gz
 
I think that the file cannot be extracted. 
I then use this error message. 
 pi @ raspberrypi: ~ $ sudo wee_extension --install = / var / tmp / 
HP1000.tar.gz Request to install '/var/tmp/HP1000.tar.gz' Extracting from 
tar archive /var/tmp/HP1000.tar.gz Traceback (most recent call last): File 
"/ usr / share / weewx / wee_extension", line 88, in  Main() File 
"/ usr / share / weewx / wee_extension", line 80, in main 
ext.install_extension (options.install) File 
"/usr/share/weewx/weecfg/extension.py", line 118, in install_extension 
self.tmpdir, self.logger) File "/usr/share/weewx/weecfg/__init__.py", line 
1808, in extract_tar tar_archive = tarfile.open (filename, mode = 'r') File 
"/usr/lib/python3.7/tarfile.py", line 1580, in open raise ReadError ("file 
could not be opened successfully") tarfile.ReadError: file could not be 
opened successfully pi @ raspberrypi: ~ $ 

I hope someone can help me. I think the HP1000 driver is better than the 
Interceptor driver. 

 Greetings André

-- 
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/cedfa30e-6719-4939-93c0-73fa65dc6b3an%40googlegroups.com.


[weewx-user] Re: Main loop exiting

2021-04-13 Thread ried...@gmail.com
I have now tried to reinstall the HP driver because the driver is not in 
the list. Unfortunately, I get an error message during the installation.

xxx@raspberrypi:~# wee_extension --install=/var/tmp/HP1000.tar.gz
Request to install '/var/tmp/HP1000.tar.gz'
Extracting from tar archive /var/tmp/HP1000.tar.gz
Traceback (most recent call last):
  File "/usr/share/weewx/wee_extension", line 88, in 
main()
  File "/usr/share/weewx/wee_extension", line 80, in main
ext.install_extension(options.install)
  File "/usr/share/weewx/weecfg/extension.py", line 118, in 
install_extension
self.tmpdir, self.logger)
  File "/usr/share/weewx/weecfg/__init__.py", line 1808, in extract_tar
tar_archive = tarfile.open(filename, mode='r')
  File "/usr/lib/python3.7/tarfile.py", line 1580, in open
raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully

ried...@gmail.com schrieb am Dienstag, 13. April 2021 um 09:34:08 UTC+2:

> Hello I have had a problem since updating to weewx 4.5.1. Weewx is no 
> longer running. The following error appears in the log.
>
>
> Apr 13 09:29:03 raspberrypi weewx[519] INFO weewx.engine: Main loop 
> exiting. Shutting engine down.
> Apr 13 09:29:03 raspberrypi weewx[519] CRITICAL __main__: Caught 
> WeeWxIOError:
> Apr 13 09:29:03 raspberrypi weewx[519] CRITICAL __main__:   
> Waiting 60 seconds then retrying...
>
> I use the HP1000 driver from https://github.com/AussieSusan/HP1000 I hope 
> someone can help me. 
>
>  Greetings André
>

-- 
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/92217d56-d84b-47a5-b73f-3d94320e808bn%40googlegroups.com.


[weewx-user] Main loop exiting

2021-04-13 Thread ried...@gmail.com
Hello I have had a problem since updating to weewx 4.5.1. Weewx is no 
longer running. The following error appears in the log.


Apr 13 09:29:03 raspberrypi weewx[519] INFO weewx.engine: Main loop 
exiting. Shutting engine down.
Apr 13 09:29:03 raspberrypi weewx[519] CRITICAL __main__: Caught 
WeeWxIOError:
Apr 13 09:29:03 raspberrypi weewx[519] CRITICAL __main__:   Waiting 
60 seconds then retrying...

I use the HP1000 driver from https://github.com/AussieSusan/HP1000 I hope 
someone can help me. 

 Greetings André

-- 
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/b1a214d3-c34d-4bcd-8c13-e9793e4f7e71n%40googlegroups.com.


[weewx-user] HP1000 and MQTT

2020-12-19 Thread ried...@gmail.com
Hi there I run Weewx with an HP1000 weather station. Is it possible to 
receive sensors that send data via MQTT in Weewx at the same time as the 
HP1000. I would like to add additional data. greetings André  

-- 
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/d73b7113-03d1-4130-9aa0-187ca963b065n%40googlegroups.com.