weewx and aercus weatherRanger problem with updating

521 views
Skip to first unread message

Damjan Hajsek

unread,
Sep 10, 2017, 8:24:13 AM9/10/17
to weewx-user
Hi, I hope you guys here can help me with my weather station and weewx.

Today I have installed weewx and now I am trying to tak data from Aercus WeatherRanger.
I have setup server.ini to send data to weewx.
weewx have been installed with rpm file on my Centos 7 server.
After installing weewx it shows page and some data, but that data didn't update since installation, all is the same.
Also after seting up server.ini on my weather station for sending data to my server nothing changes.
I also setup http://help.wunderground.com and there is no data from my weather station.
So I checked and station is connected to wifi and I can ping it from my PC.

So what I did wrong that weather station not sending data to my weewx and why weewx not update.

When install weewx I have troubles to install drivers, so I first check 3) FineOffsetUSB  and  nothing happend so than I have installed another driver
And still no changes.


Installed drivers include:
  0) Interceptor     (user.interceptor)
  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) WMR200          (weewx.drivers.wmr200)
 10) WMR300          (weewx.drivers.wmr300)
 11) WMR9x8          (weewx.drivers.wmr9x8)
 12) WS1             (weewx.drivers.ws1)
 13) WS23xx          (weewx.drivers.ws23xx)
 14) WS28xx          (weewx.drivers.ws28xx)

What I did wrong?

Joachim Rummler

unread,
Sep 10, 2017, 9:10:14 AM9/10/17
to weewx-user
Hello Damjan,

I have the same station, it's a Fine Offset HP1000. Mine is from Froggit. I had the same problem. You must take care for upper and lower cases with your station name and password. Wunderground need some time to register your station (24 hours or so). After that my station didn't also work. So I did several resets by powercycling and suddenly it worke. But it also interrupts the transfer of data. You can see a WiFi-Symbol beside the signal-strength symbol if there is a transfer successful.

But there are some guys in the net where the problem of uploading still exists longer. http://fineoffset.com/hp1000.htm 

My dealer is now checking the station because it didn't also connect to EasyWeatherIP.

Is Port 80 open?

NOT REALLAY PLUG AND PLAY

Hope you will find the issue.

Good luck

Joachim

mwall

unread,
Sep 10, 2017, 2:24:38 PM9/10/17
to weewx-user
On Sunday, September 10, 2017 at 8:24:13 AM UTC-4, Damjan Hajsek wrote:
Hi, I hope you guys here can help me with my weather station and weewx.

What I did wrong?

very hard to say without seeing the log.  it looks like the weewx-interceptor driver is installed, but there is not enough information in what you posted to know if it has been selected or, if it has, what it is doing.

you might find it easier to use susan's weewx-hp1000 driver instead of the weewx-interceptor driver:

https://github.com/AussieSusan/HP1000

the instructions there are poorly formatted.  they should look like this:

1. download the driver:

wget -O weewx-hp1000.zip https://github.com/AussieSusan/HP1000/archive/master.zip

2. install the driver:


sudo wee_extension --install weewx-hp1000


3. select the driver:


sudo wee_config --reconfigure


4. restart weewx


sudo /etc/init.d/weewx stop

sudo /etc/init.d/weewx start



the weewx-hp1000 driver communicates directly with the weather station, whereas the weewx-interceptor driver sniffs or listens for traffic from the weather station to weather underground.

m

Damjan Hajsek

unread,
Sep 10, 2017, 2:49:20 PM9/10/17
to weewx-user
I tried to install but can't and don't know what is wrong.

 sudo wee_extension --install weewx-hp1000
Request to install 'weewx-hp1000'
Traceback (most recent call last):
  File "/bin/wee_extension", line 83, in <module>
    main()
  File "/bin/wee_extension", line 75, in main
    ext.install_extension(options.install)
  File "/usr/share/weewx/weecfg/extension.py", line 124, in install_extension
    raise InstallError("Extension '%s' not found." % extension_path)
weecfg.extension.InstallError: Extension 'weewx-hp1000' not found.



Dne nedelja, 10. september 2017 20.24.38 UTC+2 je oseba mwall napisala:

mwall

unread,
Sep 10, 2017, 2:59:09 PM9/10/17
to weewx-user
On Sunday, September 10, 2017 at 2:49:20 PM UTC-4, Damjan Hajsek wrote:
I tried to install but can't and don't know what is wrong.

 sudo wee_extension --install weewx-hp1000
Request to install 'weewx-hp1000'
Traceback (most recent call last):
  File "/bin/wee_extension", line 83, in <module>
    main()
  File "/bin/wee_extension", line 75, in main
    ext.install_extension(options.install)
  File "/usr/share/weewx/weecfg/extension.py", line 124, in install_extension
    raise InstallError("Extension '%s' not found." % extension_path)
weecfg.extension.InstallError: Extension 'weewx-hp1000' not found.

sorry, i mistyped.  the wee_extension command needs a file or directory that contains the extension.  in this case, assuming that you downloaded the file weewx-hp1000.zip, it should be:

wee_extension --install weewx-hp1000.zip

m


Damjan Hajsek

unread,
Sep 10, 2017, 5:35:07 PM9/10/17
to weewx-user


Dne nedelja, 10. september 2017 20.59.09 UTC+2 je oseba mwall napisala:
I have managed to install extension and reconfigure, but web page still not updating. http://vreme.povej.net
Where are weewx logs stored, because I checked apache logs and there is no errors.

mwall

unread,
Sep 10, 2017, 5:44:27 PM9/10/17
to weewx-user

Damjan Hajsek

unread,
Sep 11, 2017, 3:01:18 AM9/11/17
to weewx-user
I checked log and it is full of this
weewx[26283]: HP1000: Timed out too many times


Sep 11 08:28:10 webserver weewx[26279]: engine: Initializing weewx version 3.7.1
Sep 11 08:28:10 webserver weewx[26279]: engine: Using Python 2.7.5 (default, Nov 6 2016, 00:28:07) #012[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
Sep 11 08:28:11 webserver weewx[26279]: engine: Platform Linux-3.10.0-514.26.1.el7.x86_64-x86_64-with-centos-7.3.1611-Core
Sep 11 08:28:11 webserver weewx[26279]: engine: Locale is 'sl_SI.UTF-8'
Sep 11 08:28:11 webserver weewx[26279]: engine: pid file is /var/run/weewx.pid
Sep 11 08:28:11 webserver weewx[26283]: engine: Using configuration file /etc/weewx/weewx.conf
Sep 11 08:28:11 webserver weewx: Starting weewx: [ V redu ]
Sep 11 08:28:11 webserver weewx[26283]: engine: Loading station type HP1000 (user.HP1000)
Sep 11 08:28:11 webserver weewx[26283]: HP1000: HP1000 Starting
Sep 11 08:28:11 webserver systemd: Started SYSV: start and stop the weewx weather system.
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Using "netifaces" to determine broadcast mask
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Address Mask = XXX.XXX.255.255
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Retry count = 5.000000
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Socket timeout = 5.000000
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Loop delay = 15.000000
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Retry Wait = 5.000000
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Max Retry = 3.000000
Sep 11 08:28:11 webserver weewx[26283]: engine: StdConvert target unit is 0x1
Sep 11 08:28:11 webserver weewx[26283]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Sep 11 08:28:11 webserver weewx[26283]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Sep 11 08:28:11 webserver weewx[26283]: engine: Archive will use data binding wx_binding
Sep 11 08:28:11 webserver weewx[26283]: engine: Record generation will be attempted in 'software'
Sep 11 08:28:11 webserver weewx[26283]: engine: Using archive interval of 300 seconds (specified in weewx configuration)
Sep 11 08:28:11 webserver weewx[26283]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Sep 11 08:28:11 webserver weewx[26283]: manager: Starting backfill of daily summaries
Sep 11 08:28:11 webserver weewx[26283]: restx: StationRegistry: Registration not requested.
Sep 11 08:28:11 webserver weewx[26283]: restx: Wunderground: Posting not enabled.
Sep 11 08:28:11 webserver weewx[26283]: restx: PWSweather: Posting not enabled.
Sep 11 08:28:11 webserver weewx[26283]: restx: CWOP: Posting not enabled.
Sep 11 08:28:11 webserver weewx[26283]: restx: WOW: Posting not enabled.
Sep 11 08:28:11 webserver weewx[26283]: restx: AWEKAS: Posting not enabled.
Sep 11 08:28:11 webserver weewx[26283]: engine: Starting up weewx version 3.7.1
Sep 11 08:28:36 webserver weewx[26283]: HP1000: Timed out too many times
Sep 11 08:29:01 webserver weewx[26283]: HP1000: Timed out too many times
Sep 11 08:29:26 webserver weewx[26283]: HP1000: Timed out too many times
Sep 11 08:29:51 webserver weewx[26283]: HP1000: Timed out too many times
Sep 11 08:32:21 webserver weewx[26283]: HP1000: Timed out too many times
Sep 11 08:32:46 webserver weewx[26283]: HP1000: Timed out too many times


Dne nedelja, 10. september 2017 23.44.27 UTC+2 je oseba mwall napisala:

Damjan Hajsek

unread,
Sep 11, 2017, 4:57:54 AM9/11/17
to weewx-user
As far as I read about this HP1000 driver it connect to weather station.
But my weather station is at home and server is on other location. I thought weather station sends data to my server where weewx is installed and this shows up on my weewx web pages.

Dne ponedeljek, 11. september 2017 09.01.18 UTC+2 je oseba Damjan Hajsek napisala:

Andrew Milner

unread,
Sep 11, 2017, 6:28:50 AM9/11/17
to weewx-user
You need to have weewx installed on a server or pc on the same local network as the weather station for the driver to work.  Yes, the driver talks directly to the station over wifi and from what I can read it identifies the ip address of the station by broadcasting on the local network.

Weewx can then upload/transfer vie ftp or rsync the generated pages to the offsite server which you have got in another location.  Weewx only creates the pages and stores the database - it does not do the webserver aspects of a web site.

Damjan Hajsek

unread,
Sep 11, 2017, 7:48:18 AM9/11/17
to weewx-user
Is it not possible to send data from weather station to weewx? Like weather station sends data to www.wunderground.com?

Dne ponedeljek, 11. september 2017 12.28.50 UTC+2 je oseba Andrew Milner napisala:

Andrew Milner

unread,
Sep 11, 2017, 7:57:32 AM9/11/17
to weewx...@googlegroups.com
No

weewx does not receive data - it reads data.  It is not 'listening' - it is controlling.

If you can get a data file onto the weewx machine then weewx can be made to read the file instead of a weather station - but the simple answer to your question is no - unless you write a lot of code in which case anything is possible!!.

Most people in your situation would use an old pc or raspberry pi to run weewx and get the data from the weather station, and then use weewx's ftp and rsync capabilities to a) generate web pages  b) ftp web pages to a webserver  c) use rsync to take backups of weewx database to offsite server and would have a webserver running elsewhere to serve the weewx generated web pages.



--
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/im5Iq0rzsXM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Damjan Hajsek

unread,
Sep 11, 2017, 8:44:05 AM9/11/17
to weewx-user
OK, now I see.
Weather stations sends data, like on www.wunderground.com
So it is possible to send data also to my web server and than setup weewx to read that data?


Dne ponedeljek, 11. september 2017 13.57.32 UTC+2 je oseba Andrew Milner napisala:
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

Damjan Hajsek

unread,
Sep 11, 2017, 9:00:16 AM9/11/17
to weewx-user
Ins't eaysweatherIP also for sending data?
http://www.aercusinstruments.com/content/downloads/EasyWeatherIP%20Setup%281022%29.zip


Dne ponedeljek, 11. september 2017 14.44.05 UTC+2 je oseba Damjan Hajsek napisala:

mwall

unread,
Sep 11, 2017, 9:00:56 AM9/11/17
to weewx-user
On Monday, September 11, 2017 at 7:48:18 AM UTC-4, Damjan Hajsek wrote:
Is it not possible to send data from weather station to weewx? Like weather station sends data to www.wunderground.com?

yes, this is exactly what the weewx-interceptor driver does.

there are two modes of operation:  listen or sniff. 

to use the driver in listen mode, you must configure the weather station to send data to weewx, or you must use a proxy, such as a web server that then redirects or forwards the data to weewx, or you must hijack dns so that the weather station *thinks* it is sending to wunderground but actually sends to weewx.  details are in the readme for the weewx-interceptor driver.

to use the driver in sniff mode, weewx must be on the same network as the station.  weewx then 'sniffs' whatever data the station is sending to wunderground.  details are in the readme for the weewx-interceptor driver.

the hp1000 driver communicates directly with the weather station.

m



Damjan Hajsek

unread,
Sep 11, 2017, 9:24:48 AM9/11/17
to weewx-user
Thank you for helping, now I have more infos.
I have already setup my weather station to send data, but I am soure I miss something with weewx.
Below are settings from my weather station

[Menu]
default=www.wunderground.com
web=1
web1=www.wunderground.com
web2=vreme.povej.net

[www.wunderground.com]
Server=www.wunderground.com
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true

[vreme.povej.net ]
Server=vreme.povej.net
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true

Dne ponedeljek, 11. september 2017 15.00.56 UTC+2 je oseba mwall napisala:

mwall

unread,
Sep 11, 2017, 10:00:53 AM9/11/17
to weewx-user


On Monday, September 11, 2017 at 9:24:48 AM UTC-4, Damjan Hajsek wrote:
Thank you for helping, now I have more infos.
I have already setup my weather station to send data, but I am soure I miss something with weewx.
Below are settings from my weather station

[Menu]
default=www.wunderground.com
web=1
web1=www.wunderground.com
web2=vreme.povej.net

[www.wunderground.com]
Server=www.wunderground.com
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true

[vreme.povej.net ]
Server=vreme.povej.net
ServerType=php
ServerPort=80
UploadType=Customize
ReadOnly=true


is weewx running on vreme.povej.net?

you must set Server=x.x.x.x where x.x.x.x is the ip address (or host name) of the computer on which weewx is running with the weewx-interceptor driver.

then configure the interceptor driver to be in listen mode on port 80

if weewx is running on a computer that is already running a web server on port 80, then configure weewx to use some other port, say 8000, and set ServerPort on the weather station to that port

set debug=1 then watch the log to see when weewx starts to receive data

m

Damjan Hajsek

unread,
Sep 11, 2017, 1:38:47 PM9/11/17
to weewx-user


Dne ponedeljek, 11. september 2017 16.00.53 UTC+2 je oseba mwall napisala:
ok what I did, is first to reconfigure to interceptor driver (device_type = observer), and set port 8880 in weewx.conf and than restart weewex, which is now running on povej.net I have also opened port 8880 on firewall
than set port 8880 on my weather station ServerPort=8880 and restart weather station. I also set Server=X.X.X.X my server IP.

debug is still enabled 1 in weewx.conf

I checked www.wunderground.com and now it updates from my weather station, but my http://vreme.povej.net is still not updated.
Don't know what should I set on weather station for ServerType=php
should it be ServerType=php or ServerType=jsp


mwall

unread,
Sep 11, 2017, 1:47:55 PM9/11/17
to weewx-user
On Monday, September 11, 2017 at 1:38:47 PM UTC-4, Damjan Hajsek wrote:

ok what I did, is first to reconfigure to interceptor driver (device_type = observer), and set port 8880 in weewx.conf and than restart weewex, which is now running on povej.net I have also opened port 8880 on firewall
than set port 8880 on my weather station ServerPort=8880 and restart weather station. I also set Server=X.X.X.X my server IP.

debug is still enabled 1 in weewx.conf

I checked www.wunderground.com and now it updates from my weather station, but my http://vreme.povej.net is still not updated.
Don't know what should I set on weather station for ServerType=php
should it be ServerType=php or ServerType=jsp


Leave it as php

is weewx on the same network as the weather station?

what is the IP address (and/or hostname) of the computer that weewx is running on?

please post the log from the time that weewx starts until it starts to receive data

m

Damjan Hajsek

unread,
Sep 12, 2017, 3:54:00 AM9/12/17
to weewx-user

Dne ponedeljek, 11. september 2017 19.47.55 UTC+2 je oseba mwall napisala:
No, weewx is not on the same network, because it has external IP
weewx is on povej.net

here is log

mwall

unread,
Sep 12, 2017, 6:40:06 AM9/12/17
to weewx-user
damjan,

the interceptor driver is listening on port 9999:

Sep 12 09:25:01 povej weewx[13716]: interceptor: MainThread: driver version is 0.30
Sep 12 09:25:01 povej weewx[13716]: interceptor: MainThread: device type: observer
Sep 12 09:25:01 povej weewx[13716]: interceptor: MainThread: sensor map: None
Sep 12 09:25:01 povej weewx[13716]: interceptor: MainThread: mode is listen
Sep 12 09:25:01 povej weewx[13716]: interceptor: MainThread: listen on :9999

you must either change it to listen on port 8080:

[Interceptor]
    device_type = observer
    mode = listen
    port = 8080

or you must open port 9999 on the firewall/router and change the weather station to use port 9999:

ServerPort = 9999

m

Damjan Hajsek

unread,
Sep 12, 2017, 6:44:13 AM9/12/17
to weewx-user


Dne torek, 12. september 2017 12.40.06 UTC+2 je oseba mwall napisala:
I am sorry forget to mention I changed port to 9999, because port 8080 and 8000 are already taken.
I have setup all on port 9999 on my weather station, firewall and weewx to listen on 9999

mwall

unread,
Sep 12, 2017, 6:57:43 AM9/12/17
to weewx-user
On Tuesday, September 12, 2017 at 6:44:13 AM UTC-4, Damjan Hajsek wrote:

I am sorry forget to mention I changed port to 9999, because port 8080 and 8000 are already taken.
I have setup all on port 9999 on my weather station, firewall and weewx to listen on 9999

did you open port 9999 on the server on which weewx is running?
 

Damjan Hajsek

unread,
Sep 12, 2017, 8:06:07 AM9/12/17
to weewx-user


Dne torek, 12. september 2017 12.57.43 UTC+2 je oseba mwall napisala:
Yes I opened port on firewall and changed in weewx.conf too.
Is it ok on device driver??
device_type = observer


[Interceptor]
    # This section is for the network traffic interceptor driver.
   
    # The driver to use:
    driver = user.interceptor
   
    # Specify the hardware device to capture.  Options include:
    #   acurite-bridge - acurite internet bridge
    #   observer - fine offset WH2600/HP1000/HP1003, aka 'observer'
    #   lw30x - oregon scientific LW301/LW302
    #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
    device_type = observer
    port = 9999

mwall

unread,
Sep 12, 2017, 8:10:58 AM9/12/17
to weewx-user


On Tuesday, September 12, 2017 at 8:06:07 AM UTC-4, Damjan Hajsek wrote:

Dne torek, 12. september 2017 12.57.43 UTC+2 je oseba mwall napisala:
On Tuesday, September 12, 2017 at 6:44:13 AM UTC-4, Damjan Hajsek wrote:

I am sorry forget to mention I changed port to 9999, because port 8080 and 8000 are already taken.
I have setup all on port 9999 on my weather station, firewall and weewx to listen on 9999

did you open port 9999 on the server on which weewx is running?
 
Yes I opened port on firewall and changed in weewx.conf too.

you should be able to telnet to port 9999 and get a response from weewx.  i tried it and it did not respond, so either something is still blocking port 9999, or weewx was not running when i did the test.

telnet x.x.x.x 9999

then type GET

you should see a response from the weewx-interceptor driver.
 

Andrew Milner

unread,
Sep 12, 2017, 8:11:09 AM9/12/17
to weewx-user
is the server that is running weewx on the same network as the weather station??

Damjan Hajsek

unread,
Sep 12, 2017, 8:44:25 AM9/12/17
to weewx-user


Dne torek, 12. september 2017 14.10.58 UTC+2 je oseba mwall napisala:
you can't connect because only from my connection is allowed when I telnet I get this.

 telnet 194.X.X.X 9999
Trying 194.X.X.X...
Connected to 194.X.X.X.
Escape character is '^]'.
GET
<head>
<title>Error response</title>
</head>
<body>
<h1>Error response</h1>
<p>Error code 400.
<p>Message: Bad request syntax ('GET').
<p>Error code explanation: 400 = Bad request syntax or unsupported method.
</body>
Connection closed by foreign host.

Than I have telnet from windows PC


<head>
      <title>Error response</title>
                                   </head>
                                          <body>
                                                <h1>Error response</h1>
                                                                       <p>Error
code 400.
         <p>Message: Bad request syntax ('get').
                                                <p>Error code explanation: 400 =
 Bad request syntax or unsupported method.
                                          </body>


Connection to host lost.

And checked if weewx running on server!

 ps aux | grep "weewx"
root      1818  0.0  0.0 114692   928 pts/0    S+   14:40   0:00 grep --color=auto weewx
root     13716  0.1  0.0 291696 12492 ?        Sl   09:25   0:30 python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf

Damjan Hajsek

unread,
Sep 12, 2017, 8:48:55 AM9/12/17
to weewx-user
No, the server and weather station are on differend networks, weather station is on local network until server is on public network.

Dne torek, 12. september 2017 14.11.09 UTC+2 je oseba Andrew Milner napisala:

mwall

unread,
Sep 12, 2017, 9:08:34 AM9/12/17
to weewx-user
On Tuesday, September 12, 2017 at 8:44:25 AM UTC-4, Damjan Hajsek wrote:

Connection to host lost.

And checked if weewx running on server!

 ps aux | grep "weewx"
root      1818  0.0  0.0 114692   928 pts/0    S+   14:40   0:00 grep --color=auto weewx
root     13716  0.1  0.0 291696 12492 ?        Sl   09:25   0:30 python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf


good.  it is working.  so that means your problem is between the weather station and weewx.

on your weather station, change the default from wunderground to your server.

m

Damjan Hajsek

unread,
Sep 12, 2017, 11:15:49 AM9/12/17
to weewx-user


Dne torek, 12. september 2017 15.08.34 UTC+2 je oseba mwall napisala:
I did it but no changes on weewx.
Maybe it is something wrong with this interceptor driver?

mwall

unread,
Sep 12, 2017, 11:28:24 AM9/12/17
to weewx-user
On Tuesday, September 12, 2017 at 11:15:49 AM UTC-4, Damjan Hajsek wrote:

I did it but no changes on weewx.
Maybe it is something wrong with this interceptor driver?

try posting directly to weewx.  you can do it with your web browser or telnet.  

send it this (all one line):

http://x.x.x.x/weatherstation/updateweatherstation.asp?ID=XXXXXXXXXXXXX&PASSWORD=PASSWORD&outtemp=6.3&outhumi=80&dewpoint=3.1&windchill=6.3&winddir=197&windspeed=0.0&windgust=0.0&rainrate=0.0&dailyrain=0.0&weeklyrain=0.0&monthlyrain=0.0&yearlyrain=0.0&light=0.00&UV=1&intemp=19.8&inhumi=46&absbaro=1018.30&relbaro=1018.30&lowbatt=0&dateutc=2016-4-30%2021:5:1&softwaretype=Weather%20logger%20V2.1.9&action=updateraw&realtime=1&rtfreq=5 

or this:

/weatherstation/updateweatherstation.php?ID=XXXXXXXXXXXXX&PASSWORD=PASSWORD&tempf=-9999&humidity=-9999&dewptf=-9999&windchillf=-9999&winddir=-9999&windspeedmph=-9999&windgustmph=-9999&rainin=0.00&dailyrainin=0.00&weeklyrainin=0.00&monthlyrainin=0.00&yearlyrainin=0.00&solarradiation=-9999&UV=-9999&indoortempf=66.2&indoorhumidity=47&baromin=29.94&lowbatt=0&dateutc=2016-5-10%202:34:15&softwaretype=Weather%20logger%20V3.0.7&action=updateraw&realtime=1&rtfreq=5


then post the log and post what you get in response.


m


Damjan Hajsek

unread,
Sep 12, 2017, 1:31:57 PM9/12/17
to weewx-user
Which ID and password I should use?

Dne torek, 12. september 2017 17.28.24 UTC+2 je oseba mwall napisala:

mwall

unread,
Sep 12, 2017, 1:34:27 PM9/12/17
to weewx-user
On Tuesday, September 12, 2017 at 1:31:57 PM UTC-4, Damjan Hajsek wrote:
Which ID and password I should use?



it does not matter.

you should see something in the weewx log even when you do the telnet test

m

Damjan Hajsek

unread,
Sep 12, 2017, 2:42:51 PM9/12/17
to weewx-user


Dne torek, 12. september 2017 17.28.24 UTC+2 je oseba mwall napisala:
With web browser didn't work,

Not Found

The requested URL /updateweatherstation.asp was not found on this server.


With telnet it did something but nothing in logs.


<head>
      <title>Error response</title>
                                   </head>
                                          <body>
                                                <h1>Error response</h1>
                                                                       <p>Error
code 400.

         <p>Message: Bad request syntax ('/weatherstation/updateweatherstation.p
hp?ID=XXXXXXXXXXXXX&amp;PASSWORD=PASSWORD&amp;tempf=-9999&amp;humidity=-9999&amp
;dewptf=-9999&amp;windchillf=-9999&amp;winddir=-9999&amp;windspeedmph=-9999&amp;
windgustmph=-9999&amp;rainin=0.00&amp;dailyrainin=0.00&amp;weeklyrainin=0.00&amp
;monthlyrainin=0.00&amp;yearlyrainin=0.00&amp;solarradiation=-9999&amp;UV=-9999&
amp;indoortempf=66.2&amp;indoorhumidity=47&amp;baromin=29.94&amp;lowbatt=0&amp;d
ateutc=2016-5-10%202:34:15&amp;softwaretype=Weather%20logger%20V3.0.7&amp;action
=updateraw&amp;realtime=1&amp;rtfreq=5').


                                         <p>Error code explanation: 400 = Bad re

mwall

unread,
Sep 12, 2017, 2:55:17 PM9/12/17
to weewx-user
that is a response from a web server, not weewx.  probably whatever is listening on port 80.

you need to specify the port that weewx is using.  for example, try something like this:

http://x.x.x.x:9999/weatherstation/updateweatherstation.php?tempf=-9999&humidity=-9999&dewptf=-9999&windchillf=-9999&winddir=-9999&windspeedmph=-9999&windgustmph=-9999&rainin=0.00&dailyrainin=0.00&weeklyrainin=0.00&monthlyrainin=0.00&yearlyrainin=0.00&solarradiation=-9999&UV=-9999&indoortempf=66.2&indoorhumidity=47&baromin=29.94&lowbatt=0&dateutc=2016-5-10%202:34:15&softwaretype=Weather%20logger%20V3.0.7&action=updateraw&realtime=1&rtfreq=5

mwall

unread,
Sep 12, 2017, 2:59:36 PM9/12/17
to weewx-user
by the way, i still get no response when i try to hit your server on port 9999.  so your firewall must be blocking traffic, or weewx is not running.

these time out:





Damjan Hajsek

unread,
Sep 12, 2017, 4:45:38 PM9/12/17
to weewx-user
Firewall for port 9999 is open only for my IP, that's why it block you I can give your IP to whitelist.
Last web update was success and this is log.

Sep 12 22:39:17 povej weewx[28658]: interceptor: MainThread: skipping rain measurement of 0.0: no last rain
Sep 12 22:39:18 povej weewx[28658]: manager: Added record 2016-05-10 04:35:00 CEST (1462847700) to database 'weewx.sdb'
Sep 12 22:39:18 povej weewx[28658]: manager: Added record 2016-05-10 04:35:00 CEST (1462847700) to daily summary in 'weewx.sdb'
Sep 12 22:39:18 povej weewx[28658]: engine: garbage collected 0 objects
Sep 12 22:39:18 povej weewx[28658]: engine: Launch of report thread aborted: existing report thread still running
Sep 12 22:39:21 povej weewx[28658]: cheetahgenerator: Generated 31 files for report StandardReport in 2.36 seconds
Sep 12 22:39:21 povej weewx[28658]: imagegenerator: Generated 12 images for StandardReport in 0.39 seconds
Sep 12 22:39:22 povej weewx[28658]: copygenerator: copied 9 files to /var/www/weewx


I also checkd database and it is updated and new files are in weewx web folder, but web page still shows old data.




Dne torek, 12. september 2017 20.59.36 UTC+2 je oseba mwall napisala:

Damjan Hajsek

unread,
Sep 12, 2017, 5:22:35 PM9/12/17
to weewx-user


Dne torek, 12. september 2017 22.45.38 UTC+2 je oseba Damjan Hajsek napisala:


Now I retry this with web update data and it shows previous data update, you can see on web page.

So it looks like weewx works and weather station can send data or can't connect to weewx.
 

mwall

unread,
Sep 12, 2017, 7:13:38 PM9/12/17
to weewx-user
On Tuesday, September 12, 2017 at 5:22:35 PM UTC-4, Damjan Hajsek wrote:

 

So it looks like weewx works and weather station can send data or can't connect to weewx.
 

is the weather station actually sending data to vreme.povej.net:9999 ?

what does your router and/or firewall say?

if you cannot monitor it with router or firewall, then run a web server on vreme.povej.net:9999 and look at its log files

Damjan Hajsek

unread,
Sep 13, 2017, 1:23:10 AM9/13/17
to weewx-user
Don't know if weather station sends files on weewx, it sends to wunderground
Firewall on router is disabled
This is what I get vreme.povej.net:9999

Sep 13 07:15:13 povej weewx[28658]: manager: Unable to add record 2016-05-10 04:35:00 CEST (1462847700) to database 'weewx.sdb': PRIMARY KEY must be unique
Sep 13 07:15:14 povej weewx[28658]: engine: garbage collected 7073 objects
Sep 13 07:15:15 povej weewx[28658]: cheetahgenerator: Generated 14 files for report StandardReport in 0.36 seconds
Sep 13 07:15:15 povej weewx[28658]: imagegenerator: Generated 12 images for StandardReport in 0.17 seconds
Sep 13 07:15:15 povej weewx[28658]: copygenerator: copied 0 files to /var/www/html/weewx
Sep 13 07:15:45 povej weewx[28658]: engine: Launch of report thread aborted: existing report thread still running
Sep 13 07:15:45 povej weewx[28658]: engine: Launch of report thread aborted: existing report thread still running
Sep 13 07:15:45 povej weewx[28658]: cheetahgenerator: Generated 14 files for report StandardReport in 0.46 seconds
Sep 13 07:15:45 povej weewx[28658]: imagegenerator: Generated 12 images for StandardReport in 0.17 seconds
Sep 13 07:15:45 povej weewx[28658]: copygenerator: copied 0 files to /var/www/weewx


Dne sreda, 13. september 2017 01.13.38 UTC+2 je oseba mwall napisala:

Damjan Hajsek

unread,
Sep 13, 2017, 2:25:14 AM9/13/17
to weewx-user
I even put weatherstation on rozter to DMZ and tested and didn't worl

Dne sreda, 13. september 2017 07.23.10 UTC+2 je oseba Damjan Hajsek napisala:

Damjan Hajsek

unread,
Sep 14, 2017, 3:17:24 AM9/14/17
to weewx-user
Have anyone any ideas how to solve this?

Dne sreda, 13. september 2017 08.25.14 UTC+2 je oseba Damjan Hajsek napisala:

Joachim Rummler

unread,
Sep 14, 2017, 5:51:15 AM9/14/17
to weewx-user
Did you read my post? The 2nd in this thread. It may be an issue of the firmware of the weatherstation. I mentioned some posts of other users who has the same problem. My station ist still at the dealer. I will tell you what they found out. You should alos contact the dealer. D
oes your station connect to EasyWeatherIP? Mine didn't.

Regards 

Joachim

Damjan Hajsek

unread,
Sep 14, 2017, 6:18:03 AM9/14/17
to weewx...@googlegroups.com
I think first time when I connected weather station it connect to EasyWeatherIP and soure sends data to wunderground.com - https://www.wunderground.com/personal-weather-station/dashboard?ID=IDOMALE9#history
So I am not soure I have the same problem as you. Did you try to upgrade ifrmware to 2.4.4? https://ambientweather.wikispaces.com/ws1001-wifi


--
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/im5Iq0rzsXM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joachim Rummler

unread,
Sep 14, 2017, 8:47:45 AM9/14/17
to weewx-user
When I connected the frist time the weather staion, nothing happened. After some reboots of the station I had an upload to wunderground. But it had never a connect to EasyWeatherIP. The upload to wunder ground was stable after that. Than one day later it dropped the upload to wunderground. The one and only solutin was to powercycle the station. So I think it is an isue of the station. I had the FW 2.3.8. They say the FW depends on the branding of the station. You should not mix it up. I didn't try another FW bevause of guaranty-reason.

Joachim

Damjan Hajsek

unread,
Sep 14, 2017, 9:00:52 AM9/14/17
to weewx-user
Where did you find Aercus WeatherRanger 2.3.8 firmware on their site is last version 2.3.3?
I read on some forums that ambientweather Ws-1002-wifi is the same hardware as WeatherRanger and some two other brands. Some people updated with ambientweather firmware. As far as I know you can still reverse to original firmware. But didn't tested yet.


Dne četrtek, 14. september 2017 14.47.45 UTC+2 je oseba Joachim Rummler napisala:

Damjan Hajsek

unread,
Sep 14, 2017, 10:18:05 AM9/14/17
to weewx-user
Just tested again, my weather station connect To EasyWeatherIP with no problems, it works great.


Dne četrtek, 14. september 2017 15.00.52 UTC+2 je oseba Damjan Hajsek napisala:

Andrew Milner

unread,
Sep 14, 2017, 10:28:16 AM9/14/17
to weewx-user
The log you attached at 7.15 on 13th failed to launch reports thread because it said there was already a thread still running.

can you kill weewx and ensure that weewx and weewxreports are not running and then attach the log from the reboot/restart until the first archive interval

we may then get a clearer picture of what is happening.  You also had a failure due to a non unique key on the database, so maybe you should also consider deleting the database so that you start completely from a clean slate.  The duplicate key implies that some data was actually being received by weewx!!

it is important to have the full log from the restart until the one or two archive intervals have passed to get a clearer picture.

Joachim Rummler

unread,
Sep 14, 2017, 11:14:58 AM9/14/17
to weewx-user
The FW 2.3.8 was already on my Froggit HP1000SE. They have a special boot screen. Some minutes ago they sent my money back (PayPal) without any comment. I asked them why and waiting for an answer.

Joachim

Damjan Hajsek

unread,
Sep 14, 2017, 12:45:33 PM9/14/17
to weewx-user
It looks like the same weather station as mine, now when you get money back I am soure you can try to upgrade firmware from ambient
I pay for may weatherstation 230€

Dne četrtek, 14. september 2017 17.14.58 UTC+2 je oseba Joachim Rummler napisala:

Joachim Rummler

unread,
Sep 14, 2017, 1:53:04 PM9/14/17
to weewx-user
Isent it back and get my money back. So no more a station here. The dealer said that they didn't found an issue. So the configuration of my PC must be difficult and the reason. If you succed in get the station working you should post the reason here. Good luck

Joachim

mwall

unread,
Sep 14, 2017, 2:17:44 PM9/14/17
to weewx-user


On Thursday, September 14, 2017 at 10:18:05 AM UTC-4, Damjan Hajsek wrote:
Just tested again, my weather station connect To EasyWeatherIP with no problems, it works great.


damjan,

we still do not know exactly what the weather station is sending.

is it only sending to the web1 url, or does it also send to web2 url?

do the changes you make to its configuration matter?  when you change the configuration, does it send to a different destination?

or is the firmware buggy, and it ignores everything you enter in the configuration?  or does it require a power cycle of the weather station to make the changes take effect?

you can easily find out by sniffing the traffic from the weather station.  if you have a linux or macos machine on the same network as the station, use tcpdump like this:

tcpdump -i iface src x.x.x.x

where iface is the network interface of the computer on which you are running tcpdump, and x.x.x.x is the ip address of the weather station.

that will also work on your router, if you have something openwrt-based.

if you have a windows machine on the same network as the station, use wireshark.

you need to find out exactly what the station is sending, as well as the destination(s) to which it is sending.

Damjan Hajsek

unread,
Sep 15, 2017, 6:09:57 PM9/15/17
to weewx-user
I have tested now for a day and weather station can't send data on two places at the same time, don't know why is that.
I even update firmware from abientweather to 2.4.4 it is the same for weather ranger.
So I can send data to weatherunderground or on my web site.
Is there a way to send data on both sites?
Second is that weewx before it changes data on web get data in database for 5 minutes every few seconds or If I try manually, I update data about 5 times before web page changes.
Can that be modified to web page update when data is updated?



Dne četrtek, 14. september 2017 20.17.44 UTC+2 je oseba mwall napisala:

Andrew Milner

unread,
Sep 15, 2017, 6:50:16 PM9/15/17
to weewx...@googlegroups.com

Send to weewx and configure weewx to do the wunderground upload

 

Sent from my Windows 10 phone

--

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/im5Iq0rzsXM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

Damjan Hajsek

unread,
Sep 16, 2017, 2:38:26 AM9/16/17
to weewx-user
Now all works like it should, thank you for your time and helping.

Dne sobota, 16. september 2017 00.50.16 UTC+2 je oseba Andrew Milner napisala:

Joachim Rummler

unread,
Sep 16, 2017, 4:36:38 AM9/16/17
to weewx-user
Congratulation. Good support and good job. I have still a question because I want to understand all the things you did. In Weather Ranger you configured weewx as WeatherServer (IP of your server, which port?) You send your data via weewx to WU (weewx.config).
When you configured the console this way can you still use EasyWeatherIP the same time or do you have to stop the communication with weewx as server first? My dealer didn't kn ow weewx :-((((!!!! Perhaps that is the reason that there is no communication between EasyWeather, WU and weewx. Only one target at a  time.

Thank you for your help and ENJOY  your station and weewx.

Joachim

Damjan Hajsek

unread,
Sep 16, 2017, 2:31:00 PM9/16/17
to weewx-user
Ok what I did is this. First I found out a port which is free on my server povej.net where I have fev web pages, so port 80 was already taken so I use port 9999
I change weewx.conf from port 80 to port 9999, than I opened firewall for port 9999 and than change in Server.ini on my WeatherRanger to 9999.
But still didn't work, it worked for weather underground but no data on my server, so after alot of sniffing and trying, first I have updated firmware of weather station with ambientweather which is practically the same weather station with the same firmware as WeatherrRanger, so I upgrade it to 2.4.4 (WS-1002) first time I upgrade it I didn't change anything, but second time I change MAIN.INI to my old MAIN.INI, there are some slight differences and than upgrade it. After that I found out that weather station can not send data on 2 places at the same time, so I configure it to send data to my server with weewx and configure weewx to send data to wunderground. After upgrade all settings are changed on console so you need to manually change it back and frequency is differend so before upgrading you need to change frequency to what you have, or better to make a pictures of all of your settings before upgrading, so you can than setup as it was. I made all setings on console and not with EasyWeatherIP. After all of that I turn on EasyWeatherIP and works, like it did before. It wokrs no matter if I send data on weewx or not so you can use both at the same time.

Dne sobota, 16. september 2017 10.36.38 UTC+2 je oseba Joachim Rummler napisala:

Joachim Rummler

unread,
Sep 16, 2017, 2:58:59 PM9/16/17
to weewx-user
Good Evevning,

thank you a lot for your detailed explainations. I'm still looking for a station that talks with my PC. Perhaps I will buy the HP1000 again. 

Best Regards
Joachim 

Damjan Hajsek

unread,
Sep 16, 2017, 3:24:33 PM9/16/17
to weewx-user
No problem, I am glad I can help.
Buy the cheapest one all have the same hardware and software as far as I checked.


Dne sobota, 16. september 2017 20.58.59 UTC+2 je oseba Joachim Rummler napisala:

F Mitchell

unread,
Dec 13, 2017, 12:47:02 PM12/13/17
to weewx-user
The error message:
Sep 11 08:32:46 webserver weewx[26283]: HP1000: Timed out too many times

indicates that your weather station probably is not connected to the network. Reset your weather station and make sure that it is connected to your network and it should connect and solve the problem.

I just had the problem last night when I updated my router software and it knocked my wx station off of the network. Once I reconnected, weewx connected and is operating properly.

Mitch W4OA


On Monday, September 11, 2017 at 2:01:18 AM UTC-5, Damjan Hajsek wrote:
I checked log and it is full of this
weewx[26283]: HP1000: Timed out too many times


Sep 11 08:28:10 webserver weewx[26279]: engine: Initializing weewx version 3.7.1
Sep 11 08:28:10 webserver weewx[26279]: engine: Using Python 2.7.5 (default, Nov 6 2016, 00:28:07) #012[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
Sep 11 08:28:11 webserver weewx[26279]: engine: Platform Linux-3.10.0-514.26.1.el7.x86_64-x86_64-with-centos-7.3.1611-Core
Sep 11 08:28:11 webserver weewx[26279]: engine: Locale is 'sl_SI.UTF-8'
Sep 11 08:28:11 webserver weewx[26279]: engine: pid file is /var/run/weewx.pid
Sep 11 08:28:11 webserver weewx[26283]: engine: Using configuration file /etc/weewx/weewx.conf
Sep 11 08:28:11 webserver weewx: Starting weewx: [ V redu ]
Sep 11 08:28:11 webserver weewx[26283]: engine: Loading station type HP1000 (user.HP1000)
Sep 11 08:28:11 webserver weewx[26283]: HP1000: HP1000 Starting
Sep 11 08:28:11 webserver systemd: Started SYSV: start and stop the weewx weather system.
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Using "netifaces" to determine broadcast mask
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Address Mask = XXX.XXX.255.255
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Retry count = 5.000000
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Socket timeout = 5.000000
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Loop delay = 15.000000
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Retry Wait = 5.000000
Sep 11 08:28:11 webserver weewx[26283]: HP1000: Max Retry = 3.000000
Sep 11 08:28:11 webserver weewx[26283]: engine: StdConvert target unit is 0x1
Sep 11 08:28:11 webserver weewx[26283]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Sep 11 08:28:11 webserver weewx[26283]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Sep 11 08:28:11 webserver weewx[26283]: engine: Archive will use data binding wx_binding
Sep 11 08:28:11 webserver weewx[26283]: engine: Record generation will be attempted in 'software'
Sep 11 08:28:11 webserver weewx[26283]: engine: Using archive interval of 300 seconds (specified in weewx configuration)
Sep 11 08:28:11 webserver weewx[26283]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Sep 11 08:28:11 webserver weewx[26283]: manager: Starting backfill of daily summaries
Sep 11 08:28:11 webserver weewx[26283]: restx: StationRegistry: Registration not requested.
Sep 11 08:28:11 webserver weewx[26283]: restx: Wunderground: Posting not enabled.
Sep 11 08:28:11 webserver weewx[26283]: restx: PWSweather: Posting not enabled.
Sep 11 08:28:11 webserver weewx[26283]: restx: CWOP: Posting not enabled.
Sep 11 08:28:11 webserver weewx[26283]: restx: WOW: Posting not enabled.
Sep 11 08:28:11 webserver weewx[26283]: restx: AWEKAS: Posting not enabled.
Sep 11 08:28:11 webserver weewx[26283]: engine: Starting up weewx version 3.7.1
Sep 11 08:28:36 webserver weewx[26283]: HP1000: Timed out too many times
Sep 11 08:29:01 webserver weewx[26283]: HP1000: Timed out too many times
Sep 11 08:29:26 webserver weewx[26283]: HP1000: Timed out too many times
Sep 11 08:29:51 webserver weewx[26283]: HP1000: Timed out too many times
Sep 11 08:32:21 webserver weewx[26283]: HP1000: Timed out too many times
Sep 11 08:32:46 webserver weewx[26283]: HP1000: Timed out too many times


Dne nedelja, 10. september 2017 23.44.27 UTC+2 je oseba mwall napisala:
Reply all
Reply to author
Forward
0 new messages