Re: [weewx-user] Re: Problem with moving to a new server

2022-04-05 Thread I L
Thank you very much for your advice! This solved the problem.

Den mån 4 apr. 2022 kl 19:51 skrev Francesco :

> Well, it seems that the interceptor on the new installation is not
> mapping/decoding correctly the packets received from the weather console.
> It's the interceptor.py (it should be located in /usr/share/weewx/user/)
> you're using on the new installation the same of the old one (or are you
> using some modded interceptor.py) ? You could try to copy the
> interceptor.py from the old installation overwriting (after backing it up)
> the one in the new installation and check if it's working running again sudo
> PYTHONPATH=/usr/share/weewx python3 /usr/share/weewx/user/interceptor.py
>  --device=observer --port=80 --debug (to see also the raw packets). I would
> also try to run  PYTHONPATH=/usr/share/weewx python3
> /usr/share/weewx/user/interceptor.py  --device=ecowitt-client --port=80
> Il giorno lunedì 4 aprile 2022 alle 21:12:24 UTC+2 IL ha scritto:
>
>> I missed that. Now I get:
>>
>> mapped packet: {'dateTime': 1649098956, 'usUnits': 16}
>>
>> from the new server (when it is enabled in the weather console).
>>
>> On the working server it looks like this:
>>
>> mapped packet: {'usUnits': 1, 'inTemp': 68.7, 'pressure': 28.651,
>> 'windGust': 1.1, 'inHumidity': 32.0, 'dateTime': 1649098792, 'windDir':
>> 8.0, 'rain': None, 'windSpeed': 0.7, 'radiation': 0.0, 'barometer': 28.807,
>> 'windchill': 32.7, 'outTemp': 32.7, 'UV': 0.0, 'dewpoint': 31.8,
>> 'outHumidity': 96.0}
>>
>>
>> Den mån 4 apr. 2022 kl 18:28 skrev Francesco :
>>
>>> Yeah, you should try with sudo, but first you have to stop the weewx
>>> service. If it's stopped and you have the "Address already in use"
>>> exception, then there is something else running on port 80
>>>
>>> Il giorno lunedì 4 aprile 2022 alle 19:30:15 UTC+2 IL ha scritto:
>>>
 With sudo the last line is changed to:

 OSError: [Errno 98] Address already in use

 This is what happens also on the working server.


 
  Virusfritt.
 www.avast.com
 
 <#m_-1245190308564441592_m_-3479274306117625716_m_7781062328472423483_m_911730526383832960_m_-4330114923121798979_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

 Den mån 4 apr. 2022 kl 17:00 skrev vince :

> The result from ~$ PYTHONPATH=/usr/share/weewx python3
> /usr/share/weewx/user/interceptor.py  --device=observer --port=80:
> Traceback (most recent call last):
>   File "/usr/share/weewx/user/interceptor.py", line 2661, in 
> device = InterceptorDriver.DEVICE_TYPES.get(options.device_type)(
>   File "/usr/share/weewx/user/interceptor.py", line 1284, in __init__
> super(Observer, self).__init__(
>   File "/usr/share/weewx/user/interceptor.py", line 429, in __init__
> self._server = Consumer.TCPServer(address, port, handler)
>   File "/usr/share/weewx/user/interceptor.py", line 584, in __init__
> TCPServer.__init__(self, (address, int(port)), handler)
>   File "/usr/lib/python3.8/socketserver.py", line 452, in __init__
> self.server_bind()
>   File "/usr/lib/python3.8/socketserver.py", line 466, in server_bind
> self.socket.bind(self.server_address)
> PermissionError: [Errno 13] Permission denied
>
> ==> try prefacing your command with 'sudo' and see if that helps any...
>
>
> --
> 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/d874d2f8-775f-4057-9076-7f0eb8fb5d28n%40googlegroups.com
> 
> .
>


 --
 --
 Ingemar Lekteus
 Älgstigen 2
 178 52  EKERÖ

 E-post: ingemar...@gmail.com
 Mobil: 0704-71 33 30

>>> --
>>> 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/f1e883ec-f083-4be6-8581-ecf882f629c4n%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> --
>> Ingemar Lekteus
>> Älgstige

Re: [weewx-user] Re: Problem with moving to a new server

2022-04-04 Thread I L
I missed that. Now I get:

mapped packet: {'dateTime': 1649098956, 'usUnits': 16}

from the new server (when it is enabled in the weather console).

On the working server it looks like this:

mapped packet: {'usUnits': 1, 'inTemp': 68.7, 'pressure': 28.651,
'windGust': 1.1, 'inHumidity': 32.0, 'dateTime': 1649098792, 'windDir':
8.0, 'rain': None, 'windSpeed': 0.7, 'radiation': 0.0, 'barometer': 28.807,
'windchill': 32.7, 'outTemp': 32.7, 'UV': 0.0, 'dewpoint': 31.8,
'outHumidity': 96.0}


Den mån 4 apr. 2022 kl 18:28 skrev Francesco :

> Yeah, you should try with sudo, but first you have to stop the weewx
> service. If it's stopped and you have the "Address already in use"
> exception, then there is something else running on port 80
>
> Il giorno lunedì 4 aprile 2022 alle 19:30:15 UTC+2 IL ha scritto:
>
>> With sudo the last line is changed to:
>>
>> OSError: [Errno 98] Address already in use
>>
>> This is what happens also on the working server.
>>
>>
>> 
>>  Virusfritt.
>> www.avast.com
>> 
>> <#m_7781062328472423483_m_911730526383832960_m_-4330114923121798979_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> Den mån 4 apr. 2022 kl 17:00 skrev vince :
>>
>>> The result from ~$ PYTHONPATH=/usr/share/weewx python3
>>> /usr/share/weewx/user/interceptor.py  --device=observer --port=80:
>>> Traceback (most recent call last):
>>>   File "/usr/share/weewx/user/interceptor.py", line 2661, in 
>>> device = InterceptorDriver.DEVICE_TYPES.get(options.device_type)(
>>>   File "/usr/share/weewx/user/interceptor.py", line 1284, in __init__
>>> super(Observer, self).__init__(
>>>   File "/usr/share/weewx/user/interceptor.py", line 429, in __init__
>>> self._server = Consumer.TCPServer(address, port, handler)
>>>   File "/usr/share/weewx/user/interceptor.py", line 584, in __init__
>>> TCPServer.__init__(self, (address, int(port)), handler)
>>>   File "/usr/lib/python3.8/socketserver.py", line 452, in __init__
>>> self.server_bind()
>>>   File "/usr/lib/python3.8/socketserver.py", line 466, in server_bind
>>> self.socket.bind(self.server_address)
>>> PermissionError: [Errno 13] Permission denied
>>>
>>> ==> try prefacing your command with 'sudo' and see if that helps any...
>>>
>>>
>>> --
>>> 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/d874d2f8-775f-4057-9076-7f0eb8fb5d28n%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> --
>> Ingemar Lekteus
>> Älgstigen 2
>> 178 52  EKERÖ
>>
>> E-post: ingemar...@gmail.com
>> Mobil: 0704-71 33 30
>>
> --
> 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/f1e883ec-f083-4be6-8581-ecf882f629c4n%40googlegroups.com
> 
> .
>


-- 
--
Ingemar Lekteus
Älgstigen 2
178 52  EKERÖ

E-post: ingemar.lekt...@gmail.com
Mobil: 0704-71 33 30

-- 
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/CALhjqzmsPyaktcDsh7-EP%2B4mBvq7e8oxBXA9cJ7zgr0B6pkHxA%40mail.gmail.com.


Re: [weewx-user] Re: Problem with moving to a new server

2022-04-04 Thread I L
With sudo the last line is changed to:

OSError: [Errno 98] Address already in use

This is what happens also on the working server.


Virusfritt.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Den mån 4 apr. 2022 kl 17:00 skrev vince :

> The result from ~$ PYTHONPATH=/usr/share/weewx python3
> /usr/share/weewx/user/interceptor.py  --device=observer --port=80:
> Traceback (most recent call last):
>   File "/usr/share/weewx/user/interceptor.py", line 2661, in 
> device = InterceptorDriver.DEVICE_TYPES.get(options.device_type)(
>   File "/usr/share/weewx/user/interceptor.py", line 1284, in __init__
> super(Observer, self).__init__(
>   File "/usr/share/weewx/user/interceptor.py", line 429, in __init__
> self._server = Consumer.TCPServer(address, port, handler)
>   File "/usr/share/weewx/user/interceptor.py", line 584, in __init__
> TCPServer.__init__(self, (address, int(port)), handler)
>   File "/usr/lib/python3.8/socketserver.py", line 452, in __init__
> self.server_bind()
>   File "/usr/lib/python3.8/socketserver.py", line 466, in server_bind
> self.socket.bind(self.server_address)
> PermissionError: [Errno 13] Permission denied
>
> ==> try prefacing your command with 'sudo' and see if that helps any...
>
>
> --
> 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/d874d2f8-775f-4057-9076-7f0eb8fb5d28n%40googlegroups.com
> 
> .
>


-- 
--
Ingemar Lekteus
Älgstigen 2
178 52  EKERÖ

E-post: ingemar.lekt...@gmail.com
Mobil: 0704-71 33 30

-- 
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/CALhjqznQpsowy%2B8%3DxdC8KerNinhFn2fSreE1KRarCDga_HKXXQ%40mail.gmail.com.


Re: [weewx-user] Re: Problem with moving to a new server

2022-04-02 Thread I L
Good Morning Francesco,

The result from ~$ PYTHONPATH=/usr/share/weewx python3
/usr/share/weewx/user/interceptor.py  --device=observer --port=80:
Traceback (most recent call last):
  File "/usr/share/weewx/user/interceptor.py", line 2661, in 
device = InterceptorDriver.DEVICE_TYPES.get(options.device_type)(
  File "/usr/share/weewx/user/interceptor.py", line 1284, in __init__
super(Observer, self).__init__(
  File "/usr/share/weewx/user/interceptor.py", line 429, in __init__
self._server = Consumer.TCPServer(address, port, handler)
  File "/usr/share/weewx/user/interceptor.py", line 584, in __init__
TCPServer.__init__(self, (address, int(port)), handler)
  File "/usr/lib/python3.8/socketserver.py", line 452, in __init__
self.server_bind()
  File "/usr/lib/python3.8/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
PermissionError: [Errno 13] Permission denied

I get the same result when I run the command on the working server (except
for line numbers as the Python version is older).

I am using port 8000 for the web page and it shows up with the simulator.
With observer the web page is updated with an interval
of 5 minutes but the content is N/A.

As far as I can remember I have only edited the first part of weewx.conf
(general configuration and driver part). Here it is:

# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2021 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 1

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# Whether to log successful operations
log_success = True

# Whether to log unsuccessful operations
log_failure = True

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 4.7.0

##

#   This section is for information about the station.

[Station]

# Description of the station location
location = "Älgstigen 2, Ekerö"

# Latitude in decimal degrees. Negative for southern hemisphere
latitude = 59.27564
# Longitude in decimal degrees. Negative for western hemisphere.
longitude = 17.73358

# Altitude of the station, with the unit it is in. This is used only
# if the hardware cannot supply a value.
altitude = 46, meter

# Set to type of station hardware. There must be a corresponding stanza
# in this file, which includes a value for the 'driver' option.
station_type = Interceptor

# If you have a website, you may specify an URL. This is required if you
# intend to register your station.
#station_url = http://www.example.com

# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1

# Start of week (0=Monday, 6=Sunday)
week_start = 0

##

[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, smarthub, or access
#   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
#   lw30x - oregon scientific LW301/LW302
#   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
#   ecowitt-client - any hardware that uses the ecowitt protocol
#   wu-client - any hardware that uses the weather underground protocol
device_type = observer
# port = 8000

##

[Simulator]
# This section is for the weewx weather station simulator

# The time (in seconds) between LOOP packets.
loop_interval = 2.5

# The simulator mode can be either 'simulator' or 'generator'.
# Real-time simulator. Sleep between each LOOP packet.
mode = simulator
# Generator.  Emit LOOP packets as fast as possible (useful for
testing).
#mode = generator

# The start time. Format is -mm-ddTHH:MM. If not specified, the
default
# is to use the present time.
#start = 2011-01-01T00:00

# The driver to use:
driver = weewx.drivers.simulator

##

#   This section is for uploading data to Internet sites

[StdRESTful]

[[StationRegistry]]
# To register this weather station with weewx, set this to true,
# then fill out option 'station_url' above.
register_this_station = false

[[AWEKAS]]
# This section is for configuring posts to AWEKAS.

 

[weewx-user] Problem with moving to a new server

2022-03-31 Thread I L
I have an old installation on raspian with weewx 4.0 and plan to move to
Ubuntu server 20.04 LTS (64-bit version) with v 4.7 of weewx. The weather
station is a Froggit WH3000 and I am using weewx-interceptor. The old
installation works fine with device_type = observer, so that is what I am
using on the new server as well.

The problem is that when I change the IP-address to the new server in the
weather station console the data is not coming through. Here is an extract
from the log (debug mode):

Mar 31 11:35:42 ubuntu weewx[1033] DEBUG user.interceptor: GET:
Mar 31 11:35:42 ubuntu weewx[1033] DEBUG user.interceptor: raw data:
Mar 31 11:35:42 ubuntu weewx[1033] DEBUG user.interceptor: raw packet:
{'dateTime': 1648719343, 'usUnits': 16}
Mar 31 11:35:42 ubuntu weewx[1033] DEBUG user.interceptor: mapped packet:
{'dateTime': 1648719343, 'usUnits': 16}
Mar 31 11:35:42 ubuntu weewx[1033] INFO weewx.manager: Added record
2022-03-31 11:35:00 CEST (1648719300) to database 'weewx.sdb'
Mar 31 11:35:42 ubuntu weewx[1033] INFO weewx.manager: Added record
2022-03-31 11:35:00 CEST (1648719300) to daily summary in 'weewx.sdb'
Mar 31 11:35:43 ubuntu weewx[1033] DEBUG weewx.reportengine: Running
reports for latest time in the database.
Mar 31 11:35:43 ubuntu weewx[1033] DEBUG weewx.reportengine: Running report
'SeasonsReport'
Mar 31 11:35:43 ubuntu weewx[1033] DEBUG weewx.reportengine: Found
configuration file /etc/weewx/skins/Seasons/skin.conf for report
'SeasonsReport'
Mar 31 11:35:43 ubuntu weewx[1033] DEBUG weewx.cheetahgenerator: Using
search list ['weewx.cheetahgenerator.Almanac',
'weewx.cheetahgenerator.Current',
'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras',
'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers',
'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo',
'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats',
'weewx.cheetahgenerator.UnitInfo']
Mar 31 11:35:43 ubuntu weewx[1033] DEBUG weewx.manager: Daily summary
version is 4.0
Mar 31 11:35:44 ubuntu weewx[1033] INFO weewx.cheetahgenerator: Generated 8
files for report SeasonsReport in 0.98 seconds
Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.manager: Daily summary
version is 4.0
Mar 31 11:35:44 ubuntu weewx[1033] INFO weewx.imagegenerator: Generated 30
images for report SeasonsReport in 0.86 seconds
Mar 31 11:35:44 ubuntu weewx[1033] INFO weewx.reportengine: Copied 0 files
to /var/www/html/weewx
Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.reportengine: Report
'SmartphoneReport' not enabled. Skipping.
Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.reportengine: Report
'MobileReport' not enabled. Skipping.
Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.reportengine: Report
'StandardReport' not enabled. Skipping.
Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.reportengine: Report 'FTP'
not enabled. Skipping.
Mar 31 11:35:44 ubuntu weewx[1033] DEBUG weewx.reportengine: Report 'RSYNC'
not enabled. Skipping.
Mar 31 11:35:53 ubuntu weewx[1033] DEBUG user.interceptor: empty queue

The log from the old server looks like this:
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: GET:
ID=IEKER22&PASSWORD=&indoortempf=69.8&tempf=37.0&dewptf=16.5&windchillf=37.0&
indoorhumidity=28&humidity=43&windspeedmph=2.2&windgustmph=2.2&winddir=216&absbaromin=29.673&baromin=29.829&rainin=0.000&dailyrainin=0.000&
weeklyrainin=0.008&monthlyrainin=0.020&solarradiation=386.09&UV=3&dateutc=2022-03-31%2008:55:00&softwaretype=EasyWeatherV1.6.2&action=updateraw&
realtime=1&rtfreq=5
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: raw data:
ID=IEKER22&PASSWORD=n16l3iL5&indoortempf=69.8&tempf=37.0&dewptf=16.5&windchillf=37.0&
indoorhumidity=28&humidity=43&windspeedmph=2.2&windgustmph=2.2&winddir=216&absbaromin=29.673&baromin=29.829&rainin=0.000&dailyrainin=0.000&
weeklyrainin=0.008&monthlyrainin=0.020&solarradiation=386.09&UV=3&dateutc=2022-03-31%2008:55:00&softwaretype=EasyWeatherV1.6.2&action=updateraw&
realtime=1&rtfreq=5
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: using rain_total
0.0 from dailyrainin
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: firmware
EasyWeatherV1.6.2: baromin is barometer
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored parameter
rainin=0.000
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored parameter
monthlyrainin=0.020
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored parameter
realtime=1
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored parameter
rtfreq=5
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored parameter
PASSWORD=
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored parameter
ID=IEKER22
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored parameter
softwaretype=EasyWeatherV1.6.2
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interceptor: ignored parameter
action=updateraw
Mar 31 10:55:07 wxpi weewx[26111] DEBUG user.interc

Re: [weewx-user] Re: Weewx-intercetor on Ubuntu

2022-03-20 Thread I L
Thank you vince! This worked fine (after installation of pip). But so far I
haven't got my RPi to listen to the wx station. The web page shows I am
using "observer" but data is old and from the Simulator.

// Ingemar

Den lör 19 mars 2022 kl 22:15 skrev vince :

>
> https://pypi.org/project/python-libpcap/ help any ?
>
>
> On Saturday, March 19, 2022 at 12:48:01 PM UTC-7 IL wrote:
>
>> I tried to install Weewx on my Rpi 4 running Ubuntu server 20.04 LTS
>> 64-bit version. Everything went well until I came to installing
>> python-libpcap which couldn't be found. Any suggestions?
>>
> --
> 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/f55ed527-343b-4e5c-8e8e-370d71949534n%40googlegroups.com
> 
> .
>


-- 
--
Ingemar Lekteus
Älgstigen 2
178 52  EKERÖ

E-post: ingemar.lekt...@gmail.com
Mobil: 0704-71 33 30

-- 
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/CALhjqznUj%2Bi%2BznzQ_bSb%3DK5aYGjTNMOottuj833wmJS74GyMLg%40mail.gmail.com.


Re: [weewx-user] Re: Weewx-interceptor stopped working

2020-05-19 Thread I L
Here is a longer extract from tcpdump. Why doesn't weewx receive the
weather data?

13:31:04.991102 IP ESP_7692C2.lekteus.local.23101 > 192.168.1.111.http:
Flags [S], seq 138945821, win 5840, options [mss 1460], length 0
13:31:04.991216 IP 192.168.1.111.http > ESP_7692C2.lekteus.local.23101:
Flags [S.], seq 831188931, ack 138945822, win 29200, options [mss 1460],
length 0
13:31:04.997308 IP ESP_7692C2.lekteus.local.23101 > 192.168.1.111.http:
Flags [P.], seq 1:457, ack 1, win 5840, length 456: HTTP: GET
ID=IEKER22&PASSWORD=&indoortempf=71.6&tempf=57.0&dewptf=31.6&windchillf=57.0&indoorhumidity=36&humidity=38&windspeedmph=4.5&windgustmph=4.5&winddir=258&absbaromin=29.723&baromin=29.879&rainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=1.000&solarradiation=658.41&UV=6&dateutc=2020-05-19%2011:31:03&softwaretype=EasyWeatherV1.4.9&action=updateraw&realtime=1&rtfreq=5
HTTP/1.0
13:31:04.997415 IP 192.168.1.111.http > ESP_7692C2.lekteus.local.23101:
Flags [.], ack 457, win 31624, length 0
13:31:04.999116 IP 192.168.1.111.http > ESP_7692C2.lekteus.local.23101:
Flags [P.], seq 1:18, ack 457, win 31624, length 17: HTTP: HTTP/1.0 200 OK
13:31:04.999763 IP 192.168.1.111.http > ESP_7692C2.lekteus.local.23101:
Flags [FP.], seq 18:119, ack 457, win 31624, length 101: HTTP
13:31:05.001438 IP ESP_7692C2.lekteus.local.23101 > 192.168.1.111.http:
Flags [F.], seq 457, ack 120, win 5721, length 0
13:31:05.001557 IP 192.168.1.111.http > ESP_7692C2.lekteus.local.23101:
Flags [.], ack 458, win 31624, length 0

Den mån 18 maj 2020 kl 15:56 skrev I L :

> Hi Gary,
>
> Thanks for trying!
>
> I get things like this when running sudo tcpdump -i any host 192.168.1.51
> (the IP address is for the wx station and I have replaced the password with
> ):
>
> 15:44:02.007755 IP ESP_7692C2.lekteus.local.22280 > 192.168.1.111.http:
> Flags [P.], seq 1:457, ack 1, win 5840, length 456: HTTP: GET
> ID=IEKER22&PASSWORD=&indoortempf=75.0&tempf=56.1&dewptf=34.5&windchillf=56.1&indoorhumidity=33&humidity=44&windspeedmph=1.6&windgustmph=3.4&winddir=346&absbaromin=29.708&baromin=29.864&rainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=1.000&solarradiation=637.62&UV=6&dateutc=2020-05-18%2013:43:51&softwaretype=EasyWeatherV1.4.9&action=updateraw&realtime=1&rtfreq=5
> HTTP/1.0
>
> But obviously something more is needed.
>
> Ingemar
>
> Den mån 18 maj 2020 kl 15:38 skrev gjr80 :
>
>> Hi Ingemar,
>>
>> From the log it would appear that the interceptor driver is configured
>> correctly but is not receiving any data, hence the empty queue and blank
>> raw data log entries. Since there is no data the mapped packets just have a
>> timestamp and unit code which means no data for WeeWX. I am no
>> interceptor/observer expert but it appears that the data is never making
>> its way to the socket server being run by the driver and listening on port
>> 80. I know you said that tcpdump is showing weather data is making it to
>> your RPi but as you surmise I wonder if something has changed on your RPi
>> to drop the data? If data was making its way to the interceptor socket
>> server I would expect at the very least you would see something in the raw
>> data in the log. Sorry I am not much help but I don't run the interceptor
>> in Observer mode. Hopefully someone else can offer more help.
>>
>> Gary
>>
>>
>> On Monday, 18 May 2020 22:57:27 UTC+10, IL wrote:
>>>
>>> Hi Gary,
>>>
>>> Thank you for coming back to me. I have attached the log file.
>>>
>>> Ingemar
>>>
>>> Den mån 18 maj 2020 kl 14:27 skrev gjr80 :
>>>
>>>> Hi,
>>>>
>>>> The description is helpful but a debug log is better. Could you please
>>>> post a log extract as outlined in the Help! Posting to weewx user
>>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user> wiki
>>>> entry.
>>>>
>>>> Gary
>>>>
>>>> On Monday, 18 May 2020 22:21:43 UTC+10, IL wrote:
>>>>>
>>>>> I am using a Froggit WH3000SE which is essentially the same as Fine
>>>>> Offset WH2900. A couple of days ago WU said my station was offline. (It 
>>>>> was
>>>>> still sending data to other weather services and to weewx, so this
>>>>> surprised me.) When I tried to fix that data stopped coming into weewx. I
>>>>> succeeded coming online in WU by setting up the weather station again but
&

[weewx-user] No data

2020-05-19 Thread I L
I am using Froggit WH3000SE and weewx on a RaspberryPi. WH3000SE should be
able to send data to weewx via weewx-interceptor in observer mode, but I
can't get it work. A log is attached.

I get things like this when running sudo tcpdump -i any host 192.168.1.51
(the IP address is that of the wx station):

13:31:04.991102 IP ESP_7692C2.lekteus.local.23101 > 192.168.1.111.http:
Flags [S], seq 138945821, win 5840, options [mss 1460], length 0
13:31:04.991216 IP 192.168.1.111.http > ESP_7692C2.lekteus.local.23101:
Flags [S.], seq 831188931, ack 138945822, win 29200, options [mss 1460],
length 0
13:31:04.997308 IP ESP_7692C2.lekteus.local.23101 > 192.168.1.111.http:
Flags [P.], seq 1:457, ack 1, win 5840, length 456: HTTP: GET
ID=IEKER22&PASSWORD=&indoortempf=71.6&tempf=57.0&dewptf=31.6&windchillf=57.0&indoorhumidity=36&humidity=38&windspeedmph=4.5&windgustmph=4.5&winddir=258&absbaromin=29.723&baromin=29.879&rainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=1.000&solarradiation=658.41&UV=6&dateutc=2020-05-19%2011:31:03&softwaretype=EasyWeatherV1.4.9&action=updateraw&realtime=1&rtfreq=5
HTTP/1.0
13:31:04.997415 IP 192.168.1.111.http > ESP_7692C2.lekteus.local.23101:
Flags [.], ack 457, win 31624, length 0
13:31:04.999116 IP 192.168.1.111.http > ESP_7692C2.lekteus.local.23101:
Flags [P.], seq 1:18, ack 457, win 31624, length 17: HTTP: HTTP/1.0 200 OK
13:31:04.999763 IP 192.168.1.111.http > ESP_7692C2.lekteus.local.23101:
Flags [FP.], seq 18:119, ack 457, win 31624, length 101: HTTP
13:31:05.001438 IP ESP_7692C2.lekteus.local.23101 > 192.168.1.111.http:
Flags [F.], seq 457, ack 120, win 5721, length 0
13:31:05.001557 IP 192.168.1.111.http > ESP_7692C2.lekteus.local.23101:
Flags [.], ack 458, win 31624, length 0

(The password was replaced by .)

I am not sure how to interpret this. Some weather data, but also packages
with length 0. And the log repeats "empty queue" a lot.

And this is the output from netstat:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address   Foreign Address State
PID/Program name
.
tcp0  0 192.168.1.111:80192.168.1.51:45426
 TIME_WAIT   -
.

I can't solve this on my own, so I would very much appreciate some help.

/Ingemar

-- 
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/CALhjqzkqbW8rECzkF0Lh%3Dg7K4dGEHEoaG%2BFdNs5%3DdS2f24symg%40mail.gmail.com.


mylog
Description: Binary data


Re: [weewx-user] Re: Weewx-interceptor stopped working

2020-05-18 Thread I L
Hi Gary,

Thanks for trying!

I get things like this when running sudo tcpdump -i any host 192.168.1.51
(the IP address is for the wx station and I have replaced the password with
):

15:44:02.007755 IP ESP_7692C2.lekteus.local.22280 > 192.168.1.111.http:
Flags [P.], seq 1:457, ack 1, win 5840, length 456: HTTP: GET
ID=IEKER22&PASSWORD=&indoortempf=75.0&tempf=56.1&dewptf=34.5&windchillf=56.1&indoorhumidity=33&humidity=44&windspeedmph=1.6&windgustmph=3.4&winddir=346&absbaromin=29.708&baromin=29.864&rainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=1.000&solarradiation=637.62&UV=6&dateutc=2020-05-18%2013:43:51&softwaretype=EasyWeatherV1.4.9&action=updateraw&realtime=1&rtfreq=5
HTTP/1.0

But obviously something more is needed.

Ingemar

Den mån 18 maj 2020 kl 15:38 skrev gjr80 :

> Hi Ingemar,
>
> From the log it would appear that the interceptor driver is configured
> correctly but is not receiving any data, hence the empty queue and blank
> raw data log entries. Since there is no data the mapped packets just have a
> timestamp and unit code which means no data for WeeWX. I am no
> interceptor/observer expert but it appears that the data is never making
> its way to the socket server being run by the driver and listening on port
> 80. I know you said that tcpdump is showing weather data is making it to
> your RPi but as you surmise I wonder if something has changed on your RPi
> to drop the data? If data was making its way to the interceptor socket
> server I would expect at the very least you would see something in the raw
> data in the log. Sorry I am not much help but I don't run the interceptor
> in Observer mode. Hopefully someone else can offer more help.
>
> Gary
>
>
> On Monday, 18 May 2020 22:57:27 UTC+10, IL wrote:
>>
>> Hi Gary,
>>
>> Thank you for coming back to me. I have attached the log file.
>>
>> Ingemar
>>
>> Den mån 18 maj 2020 kl 14:27 skrev gjr80 :
>>
>>> Hi,
>>>
>>> The description is helpful but a debug log is better. Could you please
>>> post a log extract as outlined in the Help! Posting to weewx user
>>>  wiki
>>> entry.
>>>
>>> Gary
>>>
>>> On Monday, 18 May 2020 22:21:43 UTC+10, IL wrote:

 I am using a Froggit WH3000SE which is essentially the same as Fine
 Offset WH2900. A couple of days ago WU said my station was offline. (It was
 still sending data to other weather services and to weewx, so this
 surprised me.) When I tried to fix that data stopped coming into weewx. I
 succeeded coming online in WU by setting up the weather station again but
 still no data to to weewx.

 Driver = user.interceptor, device_type = observer, port is default
 (=80) (not specified). On the wx console page Customized I have specified
 the server IP (which is static), the station ID and station key from the WU
 page, port = 80 and upload interval = 60. In short the same as worked
 before for a long time. The weewx config is also the same as before. The
 server has been restarted and there are no error messages in syslog.

 I have used tcpdump on the RaspberryPi running weewx and I can see
 weather data coming from Froggit, so I must have done something wrong on
 the Pi (or data is suddenly in wrong format?)  but I don’t know what. Any
 suggestions?
 --
 --
 Ingemar Lekteus
 Älgstigen 2
 178 52  EKERÖ

 E-post: ingemar...@gmail.com
 Mobil: 0704-71 33 30

>>> --
>>> 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.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/27a412ed-3f6f-4cd2-be4d-c560f574579a%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> --
>> Ingemar Lekteus
>> Älgstigen 2
>> 178 52  EKERÖ
>>
>> E-post: ingemar...@gmail.com
>> Mobil: 0704-71 33 30
>>
> --
> 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/e70ac4a8-58f4-450e-9749-c963a2dfc3cc%40googlegroups.com
> 
> .
>


-- 
--
Ingemar Lekteus
Älgstigen 2
178 52  EKERÖ

E-post: ingemar.lekt...@gmail.com
Mobil: 0704-71 33 30

-- 
You received this mes

Re: [weewx-user] Re: Weewx-interceptor stopped working

2020-05-18 Thread I L
Hi Gary,

Thank you for coming back to me. I have attached the log file.

Ingemar

Den mån 18 maj 2020 kl 14:27 skrev gjr80 :

> Hi,
>
> The description is helpful but a debug log is better. Could you please
> post a log extract as outlined in the Help! Posting to weewx user
>  wiki
> entry.
>
> Gary
>
> On Monday, 18 May 2020 22:21:43 UTC+10, IL wrote:
>>
>> I am using a Froggit WH3000SE which is essentially the same as Fine
>> Offset WH2900. A couple of days ago WU said my station was offline. (It was
>> still sending data to other weather services and to weewx, so this
>> surprised me.) When I tried to fix that data stopped coming into weewx. I
>> succeeded coming online in WU by setting up the weather station again but
>> still no data to to weewx.
>>
>> Driver = user.interceptor, device_type = observer, port is default (=80)
>> (not specified). On the wx console page Customized I have specified the
>> server IP (which is static), the station ID and station key from the WU
>> page, port = 80 and upload interval = 60. In short the same as worked
>> before for a long time. The weewx config is also the same as before. The
>> server has been restarted and there are no error messages in syslog.
>>
>> I have used tcpdump on the RaspberryPi running weewx and I can see
>> weather data coming from Froggit, so I must have done something wrong on
>> the Pi (or data is suddenly in wrong format?)  but I don’t know what. Any
>> suggestions?
>> --
>> --
>> Ingemar Lekteus
>> Älgstigen 2
>> 178 52  EKERÖ
>>
>> E-post: ingemar...@gmail.com
>> Mobil: 0704-71 33 30
>>
> --
> 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/27a412ed-3f6f-4cd2-be4d-c560f574579a%40googlegroups.com
> 
> .
>


-- 
--
Ingemar Lekteus
Älgstigen 2
178 52  EKERÖ

E-post: ingemar.lekt...@gmail.com
Mobil: 0704-71 33 30

-- 
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/CALhjqz%3DU0S%2B%2BuYTvN7UAtLNV0m%3DyJH3afgjwxpeAr-vg3wnpAg%40mail.gmail.com.


mylog
Description: Binary data


[weewx-user] Weewx-interceptor stopped working

2020-05-18 Thread I L
I am using a Froggit WH3000SE which is essentially the same as Fine Offset
WH2900. A couple of days ago WU said my station was offline. (It was still
sending data to other weather services and to weewx, so this surprised me.)
When I tried to fix that data stopped coming into weewx. I succeeded coming
online in WU by setting up the weather station again but still no data to
to weewx.

Driver = user.interceptor, device_type = observer, port is default (=80)
(not specified). On the wx console page Customized I have specified the
server IP (which is static), the station ID and station key from the WU
page, port = 80 and upload interval = 60. In short the same as worked
before for a long time. The weewx config is also the same as before. The
server has been restarted and there are no error messages in syslog.

I have used tcpdump on the RaspberryPi running weewx and I can see weather
data coming from Froggit, so I must have done something wrong on the Pi (or
data is suddenly in wrong format?)  but I don’t know what. Any suggestions?
-- 
--
Ingemar Lekteus
Älgstigen 2
178 52  EKERÖ

E-post: ingemar.lekt...@gmail.com
Mobil: 0704-71 33 30

-- 
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/CALhjqzkTxGXhhKpL_LeE%3DdW5tuZekKRVT2T3SNEB8fgfhruxeA%40mail.gmail.com.