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 <venti...@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_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+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
> <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.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.

Reply via email to