This is what I'm seeing...

pi@raspitest:~ $ cd /home/weewx/bin/user
pi@raspitest:/home/weewx/bin/user $ dir
extensions.py  HP1000.py  __init__.py  installer  __pycache__
pi@raspitest:/home/weewx/bin/user $ sudo nano HP1000.py

#
#    Copyright (c) 2017 Susan Mackay
#       acknowledging that this driver code originated from and
#       is structured in a similar way to the Weewx 'Simulator' driver code
#       that carries the following line:
#    
#
#
"""hp1000 driver for the weewx weather system

This driver communicates with the HP1000/WS1001/XC0422 and whatever other 
clone
weather stations respond over the LAN to the 'easyweather' protocol.

Communication starts with a UDP IP broadcast on the local subnet to port 
6000 to
see if the weather station responds. The broadcast packet is structured as:

Offset  Value           Structure       Comment
0x00    PC2000          8 byte string   Identifies the calling station
0x08    SEARCH          8 byte string   Command

On Wednesday, 2 September 2020 at 23:03:15 UTC+1 [email protected] wrote:

> Hi Gary,
>
> Yes to both questions.
>
> Thanks for your help
>
> On Wednesday, 2 September 2020 at 22:28:23 UTC+1 gjr80 wrote:
>
>> OK, let’s start with the obvious. Is HP1000.py in /home/weewx/bin/user 
>> and if you view the contents of the file is it legible code?
>>
>> Gary
>> On Thursday, 3 September 2020 at 07:08:58 UTC+10 [email protected] wrote:
>>
>>> this is what i'm seeing
>>>
>>> pi@raspitest:/var/tmp $ sudo /home/weewx/bin/wee_extension 
>>> --install=/var/tmp/HP1000-master/HP1000.tar.gz
>>> Request to install '/var/tmp/HP1000-master/HP1000.tar.gz'
>>> Extracting from tar archive /var/tmp/HP1000-master/HP1000.tar.gz
>>> Saving installer file to /home/weewx/bin/user/installer/HP1000
>>> Finished installing extension '/var/tmp/HP1000-master/HP1000.tar.gz'
>>> pi@raspitest:/var/tmp $ /home/weewx/bin/wee_config --list-drivers
>>>
>>> Module name Driver name Version Status
>>> weewx.drivers.acurite AcuRite 0.4
>>> weewx.drivers.cc3000 CC3000 0.40
>>> weewx.drivers.fousb FineOffsetUSB 1.20
>>> weewx.drivers.simulator Simulator 3.2
>>> weewx.drivers.te923 TE923 0.41
>>> weewx.drivers.ultimeter Ultimeter 0.41
>>> weewx.drivers.vantage Vantage 3.2.1
>>> weewx.drivers.wmr100 WMR100 3.5.0
>>> weewx.drivers.wmr200 WMR200 3.5.0
>>> weewx.drivers.wmr300 WMR300 0.33
>>> weewx.drivers.wmr9x8 WMR9x8 3.4.1
>>> weewx.drivers.ws1 WS1 0.41
>>> weewx.drivers.ws23xx WS23xx 0.41
>>> weewx.drivers.ws28xx WS28xx 0.51
>>> On Wednesday, 2 September 2020 at 21:59:38 UTC+1 [email protected] 
>>> wrote:
>>>
>>>> Apologies for resurrecting an old thread but I'm trying to do a fresh 
>>>> install using the commands listed above, using Weewx 4.1.1 and the HP1000 
>>>> driver is not appearing in the list so it cannot be chosen.  Has anything 
>>>> fundamental changes between the previous and current weewx versions?
>>>>
>>>> Thanks
>>>>
>>>> On Tuesday, 15 October 2019 at 19:50:53 UTC+1 [email protected] wrote:
>>>>
>>>>> Finally, it's working. 
>>>>>
>>>>> Thanks all for your help.
>>>>>
>>>>>
>>>>> On Tuesday, 15 October 2019 12:51:24 UTC+1, Matt wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> First post.
>>>>>>
>>>>>> I got Weewx set up on a brand new Raspberry Pi 3 model B yesterday.  
>>>>>> I saw that it was posting data but last night most of the data was 
>>>>>> incorrect (e.g. outside temp 0 degrees C when it was actually 10 
>>>>>> degrees).  
>>>>>> I decided to leave it and went to bed.  Today I am seeing better values 
>>>>>> but 
>>>>>> all readings appear to be summing/appending to the previous reading.  
>>>>>> For 
>>>>>> example, the temperature has risen from 0 to around 21 degrees very 
>>>>>> uniformly.  The actual temperature is around 13 degrees.
>>>>>>
>>>>>> I have an Aercus station, identical to Fine Offset HP1000.  I have 
>>>>>> set Weewx driver to both 'simulator' and 'Fine Offset' with no change in 
>>>>>> data.
>>>>>>
>>>>>> I read somewhere about an HP1000 driver written by aussie susan but 
>>>>>> editing the daemon file was beyond my capabilities so I couldn't proceed 
>>>>>> with it.
>>>>>>
>>>>>> My station can be seen at: 
>>>>>> https://www.pwsweather.com/obs/ILITTLEW9.html#
>>>>>>
>>>>>> I appreciate that I will need to provide logs etc, but I am work at 
>>>>>> the moment and will upload logs later.  I just wanted to get the post up 
>>>>>> to 
>>>>>> see if anyone had experienced anything similar or has any advice for a 
>>>>>> newbie.
>>>>>>
>>>>>> I love the functionality of weewx and look forward to using it.
>>>>>>
>>>>>> Many thanks in advance.
>>>>>>
>>>>>> Matt
>>>>>>
>>>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/61d4972e-636d-4a4b-b60f-2512fe7b2137n%40googlegroups.com.

Reply via email to