You are right, Vince. Input station number instead of station ID. Dumb. 
Cleaned that up in weewx.conf. 

No more 404 error, I don't think.

sudo weewxd now yields:

^CTraceback (most recent call last):
  File "/usr/share/weewx/weewxd", line 249, in <module>
    main()
  File "/usr/share/weewx/weewxd", line 154, in main
    engine.run()
  File "/usr/share/weewx/weewx/engine.py", line 208, in run
    for packet in self.console.genLoopPackets():
  File "/usr/share/weewx/user/weatherflowudp.py", line 304, in 
genLoopPackets
    m=s.recvfrom(1024)
KeyboardInterrupt

Any ideas?





On Monday, July 10, 2023 at 3:32:41 PM UTC-6 vince wrote:

You are not providing enough information to explain your setup.

A 404 error typically means the file it's looking for on the server isn't 
found.   You seem to be using some kind of websockets-enabled fork of the 
normal UDP-only driver so my 'guess' is that you are trying to look up data 
for a station id that does not exist.

What URL are you trying to access ?   Can you access it using their 
instructions at https://weatherflow.github.io/Tempest/api/ ?

On Monday, July 10, 2023 at 12:45:28 PM UTC-7 mukbar wrote:

It is an old system that crashed in December 2022,  due to a power outage, 
I think. I lost remote access at that time. I finally came to the site in 
Belize last week and have been trying to bring the system back to life with 
no luck. Everything on my droplet side (MQTT, etc.) is working, as far as I 
can tell. But I cannot get weewx to start. Not sure if it being down for 6 
months has rendered recovery impossible. 

Should I delete weewx and reinstall and start over? Or is there more 
troubleshooting I should do?





On Monday, July 10, 2023 at 1:25:53 PM UTC-6 vince wrote:

What did you change in your weewx system that possibly caused it to break ?

Or is it a new system that you are trying to get to work ?

On Monday, July 10, 2023 at 11:02:24 AM UTC-7 mukbar wrote:

Thank you. Just did all that. Now says python3-pip is already the newest 
version.

Forgot to mention weather station: Weatherflow Tempest

sudo weewxd now yields:

Traceback (most recent call last):
  File "/usr/share/weewx/weewxd", line 249, in <module>
    main()
  File "/usr/share/weewx/weewxd", line 154, in main
    engine.run()
  File "/usr/share/weewx/weewx/engine.py", line 178, in run
    self.dispatchEvent(weewx.Event(weewx.STARTUP))
  File "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
    callback(event)
  File "/usr/share/weewx/weewx/engine.py", line 584, in startup
    self._catchup(self.engine.console.genStartupRecords)
  File "/usr/share/weewx/weewx/engine.py", line 697, in _catchup
    for record in generator(lastgood_ts):
  File "/usr/share/weewx/user/weatherflowudp.py", line 620, in 
genStartupRecords
    for packet in readDataFromWF(since_ts + 1, self._token, self._devices, 
self._device_dict, self._batch_size):
  File "/usr/share/weewx/user/weatherflowudp.py", line 329, in 
readDataFromWF
    raise DriverException("Could not fetch records from WeatherFlow 
webservice: {}".format(response))
user.weatherflowudp.DriverException: Could not fetch records from 
WeatherFlow webservice: <Response [404]>

On Monday, July 10, 2023 at 11:07:23 AM UTC-6 Rainer Lang wrote:

try
sudo pip3 install --upgrade requests
if pip3 is not installed, do it before

sudo apt-get -y install python3-pip



On 10.07.2023 18:50, mukbar wrote:

Hello, 

Have lurked here for years. Many folks have been invaluable in helping me 
set up https://sanpedrowx.com/. 

I am stuck now and need some help, please. weewx is no longer running.

weewx version 4.10.2
installed with the debian package on Raspberry Pi 4 Model B rev 1.4.
raspbian version: 10

Trying to start weewx with sudo weewxd with debug = 1 yields:

/usr/lib/python3/dist-packages/requests/__init__.py:91: 
RequestsDependencyWarning: urllib3 (1.26.7) or chardet (3.0.4) doesn't 
match a supported version!
  RequestsDependencyWarning)
Traceback (most recent call last):
  File "/usr/share/weewx/weewxd", line 249, in <module>
    main()
  File "/usr/share/weewx/weewxd", line 154, in main
    engine.run()
  File "/usr/share/weewx/weewx/engine.py", line 178, in run
    self.dispatchEvent(weewx.Event(weewx.STARTUP))
  File "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
    callback(event)
  File "/usr/share/weewx/weewx/engine.py", line 584, in startup
    self._catchup(self.engine.console.genStartupRecords)
  File "/usr/share/weewx/weewx/engine.py", line 697, in _catchup
    for record in generator(lastgood_ts):
  File "/usr/share/weewx/user/weatherflowudp.py", line 620, in 
genStartupRecords
    for packet in readDataFromWF(since_ts + 1, self._token, self._devices, 
self._device_dict, self._batch_size):
  File "/usr/share/weewx/user/weatherflowudp.py", line 329, in 
readDataFromWF
    raise DriverException("Could not fetch records from WeatherFlow 
webservice: {}".format(response))
user.weatherflowudp.DriverException: Could not fetch records from 
WeatherFlow webservice: <Response [404]>

Thank you. 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/56b65698-3ea4-482b-8974-1a5a48c88a7bn%40googlegroups.com
 
<https://groups.google.com/d/msgid/weewx-user/56b65698-3ea4-482b-8974-1a5a48c88a7bn%40googlegroups.com?utm_medium=email&utm_source=footer>
.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d70f06fd-bed4-4b65-a5cc-07bb82611cb8n%40googlegroups.com.

Reply via email to