New User Setup issues - Raspberry Pi, Fine Offset HP1000 - weather reports show values being appended/summed

157 views
Skip to first unread message

Matt

unread,
Oct 15, 2019, 7:51:24 AM10/15/19
to weewx-user
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.


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

Andrew Milner

unread,
Oct 15, 2019, 10:13:04 AM10/15/19
to weewx-user
the chances are that your uniform incrementing values are the simulator data whic I hthink looks like a sine wave!!

chances are that you are set on simulator and are not reading any data from the station.  

Only the log will provide the answer.  the simulator does exactly what it says, it simulates A weather station (Not a specific type) and generates data to be put in the database which can then be used to generate reports.  It is not simulating your specific station!!

when you post the log post from before starting weewx until at keast one archive interval has passed - the length of the interval is whatever you have specified in weewx.conf

Matt

unread,
Oct 15, 2019, 10:27:28 AM10/15/19
to weewx-user
Thank you, that makes perfect sense.  I'm sure I followed instructions which said to select 'Simulator'.  I'll change to Fine Offset when I get home, after I've retrieved the logs.  I'll also try to find out more about how to install the driver for HP1000 but google wasn't too helpful last night!

steeple ian

unread,
Oct 15, 2019, 10:56:41 AM10/15/19
to weewx...@googlegroups.com
Matt,
You need to use the HP1000 driver or Interceptor driver for this device not the Fine Offset one. If my memory serves me correctly the FO driver is for a USB device where as the HP1000 is a wireless device.
Ian

Sent from my iPhone

On 15 Oct 2019, at 15:27, Matt <icoj...@gmail.com> wrote:


--
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/a350f353-ffa0-4410-9256-6bbac88444ae%40googlegroups.com.

Matt

unread,
Oct 15, 2019, 12:58:02 PM10/15/19
to weewx...@googlegroups.com
Thank you. I think I realise that now however I'm unable to install the HP1000 driver as the instructions on its GitHub page aren't working for me.

Still investigating...

steeple ian

unread,
Oct 15, 2019, 1:06:40 PM10/15/19
to weewx...@googlegroups.com
Matt,
Yes the syntax is incorrect. I can’t give you a full answer for an hour or so as I am rather occupied at the moment. Have a look at other driver install instructions and follow the same logic. Check back later if you are still having trouble and I will walk you through the installation.
Ian

Matt

unread,
Oct 15, 2019, 1:20:59 PM10/15/19
to weewx-user
Understood.  Thank you.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.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...@googlegroups.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...@googlegroups.com.

Matt

unread,
Oct 15, 2019, 2:32:52 PM10/15/19
to weewx-user
Hi,

I'm making progress.  I managed to install the driver using a number of different sources and lots of trial and error.  For anyone else seeing problems, what I did was:

cd var/tmp
unzip master.zip
sudo ./wee_extension --install=/var/tmp/HP1000-master/hp1000.tar.gz
sudo ./wee_config --reconfigure

Chose the number next to HP1000 then restarted weewx.

Now, next issue is that there appear to be some settings I've got to set.

The log says:

/home/weewx $ tail -f /var/log/syslog
Oct 15 19:19:09 raspberrypi weewx[2874]: engine: Locale is 'en_GB.UTF-8'
Oct 15 19:19:09 raspberrypi weewx[2874]: engine: pid file is /var/run/weewx.pid
Oct 15 19:19:09 raspberrypi weewx[2878]: engine: Using configuration file /home/                                    weewx/weewx.conf
Oct 15 19:19:09 raspberrypi weewx[2878]: engine: Loading station type HP1000 (us                                    er.HP1000)
Oct 15 19:19:09 raspberrypi weewx[2864]: Starting weewx weather system: weewx.
Oct 15 19:19:09 raspberrypi systemd[1]: Started LSB: weewx weather system.
Oct 15 19:19:09 raspberrypi weewx[2878]: HP1000: HP1000 Starting
Oct 15 19:19:09 raspberrypi weewx[2878]: engine: Import of driver failed: Requir                                    ed parameter 'ip_address_mask' has not been specified or could not be determined                                     (<type 'exceptions.Exception'>)
Oct 15 19:19:09 raspberrypi weewx[2878]: engine: Unable to load driver: Required                                     parameter 'ip_address_mask' has not been specified or could not be determined
Oct 15 19:19:09 raspberrypi weewx[2878]:     ****  Exiting...

I'm trying to find out where I need to specify the ip_address_mask now.

Cheers,

Matt

Matt

unread,
Oct 15, 2019, 2:35:59 PM10/15/19
to weewx-user
The ip_address_mask which is the IP address of the weather station, goes in the HP1000 section of the weewx.conf file as follows:

ip_address_mask = "192.168.1.255"

On Tuesday, 15 October 2019 12:51:24 UTC+1, Matt wrote:

Matt

unread,
Oct 15, 2019, 2:40:38 PM10/15/19
to weewx-user
Looks good so far...

Oct 15 19:35:05 raspberrypi weewx[2957]: HP1000: Connected to address ('192.168.1.255', 61184)
Oct 15 19:35:06 raspberrypi weewx[2957]: HP1000: Established contact at 15/10/19 19:35:06
Oct 15 19:35:06 raspberrypi weewx[2957]: HP1000: Retrieving startup records

Now, I'm waiting...I'd like to add 'patiently', but I can't!


On Tuesday, 15 October 2019 12:51:24 UTC+1, Matt wrote:

Matt

unread,
Oct 15, 2019, 2:50:53 PM10/15/19
to weewx-user
Finally, it's working. 

Thanks all for your help.


On Tuesday, 15 October 2019 12:51:24 UTC+1, Matt wrote:

icoj...@gmail.com

unread,
Sep 2, 2020, 4:59:38 PM9/2/20
to weewx-user
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

gjr80

unread,
Sep 2, 2020, 5:08:07 PM9/2/20
to weewx-user
Hi,

Would help to know what commands you entered and what output you received. Can you please try again and copy/post the exact commands entered and the resulting output to the console.

Gary

icoj...@gmail.com

unread,
Sep 2, 2020, 5:08:58 PM9/2/20
to weewx-user
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

gjr80

unread,
Sep 2, 2020, 5:28:23 PM9/2/20
to weewx-user
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

icoj...@gmail.com

unread,
Sep 2, 2020, 6:03:15 PM9/2/20
to weewx-user
Hi Gary,

Yes to both questions.

Thanks for your help

icoj...@gmail.com

unread,
Sep 2, 2020, 6:08:36 PM9/2/20
to weewx-user
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

steeple ian

unread,
Sep 2, 2020, 6:19:07 PM9/2/20
to weewx...@googlegroups.com
Matt,

Are you using Python2 or 3.

The driver was last updated 11months ok and may not be compatible with Python3

im.

--
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/61d4972e-636d-4a4b-b60f-2512fe7b2137n%40googlegroups.com.

Susan Mackay

unread,
Sep 3, 2020, 2:16:56 AM9/3/20
to weewx-user
It's not been updated and should not be used with Python 3.

This is something I have on my 'to do' list but I must admit it is not the top priority.

On the other hand, the source is there if anyone else wants to have a go.

Susan (HP1000 driver author)
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Matt C

unread,
Sep 3, 2020, 2:37:33 AM9/3/20
to weewx...@googlegroups.com

Ok, thank you for confirming.  I shall wait patiently.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/EoPbfNzH0n8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ee6f893b-6130-412e-a2be-11974e7f8e78o%40googlegroups.com.

 

Reply all
Reply to author
Forward
0 new messages