Hi, I hope you guys here can help me with my weather station and weewx.
What I did wrong?
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
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.
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
--
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.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
Is it not possible to send data from weather station to weewx? Like weather station sends data to www.wunderground.com?
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
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 firewallthan 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.confI 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=phpshould it be ServerType=php or ServerType=jsp
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
Yes I opened port on firewall and changed in weewx.conf too.
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 9999did 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 can't connect because only from my connection is allowed when I telnet I get this.
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
I did it but no changes on weewx.Maybe it is something wrong with this interceptor driver?
/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
Which ID and password I should use?
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&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&
amp;indoortempf=66.2&indoorhumidity=47&baromin=29.94&lowbatt=0&d
ateutc=2016-5-10%202:34:15&softwaretype=Weather%20logger%20V3.0.7&action
=updateraw&realtime=1&rtfreq=5').
<p>Error code explanation: 400 = Bad re
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
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.
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
--
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.
Just tested again, my weather station connect To EasyWeatherIP with no problems, it works great.
tcpdump -i iface src x.x.x.xSend 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.
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
I checked log and it is full of thisweewx[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: