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 <vent...@gmail.com>:
>
>> 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.
>>>
>>>
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>>  Virusfritt. 
>>> www.avast.com 
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>>  
>>> <#m_-3479274306117625716_m_7781062328472423483_m_911730526383832960_m_-4330114923121798979_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> Den mån 4 apr. 2022 kl 17:00 skrev vince <vince...@gmail.com>:
>>>
>>>> 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 <module>
>>>>     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
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/d874d2f8-775f-4057-9076-7f0eb8fb5d28n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> -- 
>>> ------------------------------------------------------
>>> 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
>>  
>> <https://groups.google.com/d/msgid/weewx-user/f1e883ec-f083-4be6-8581-ecf882f629c4n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> ------------------------------------------------------
> 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/5ed11edb-51e4-4c3b-a164-d4ccce36561en%40googlegroups.com.

Reply via email to