Weathersnoop v3.1 instead of 3.2.

Posted on
Fri Jun 03, 2022 7:39 am
Ian offline
Posts: 66
Joined: Oct 13, 2008
Location: Ottawa, ON ,Canada

Weathersnoop v3.1 instead of 3.2.

Hey Guys

A few questions........I have been using the weathersnoop plugin successfully since its inception

Anyhow....I am using Indigo 2022.1.1. I have weathersnoop plugin version 3.1 as I am using weathersnoop version 2.25 on my computer (Weather station is WMR200) which I dont believe is supported by higher version and plugin 3.2 does not support weathersnoop 2

was working OK until recently with a few Indigo changes.

the weather station is plugged into this computer directly (macmini2020.local or 192.168.0.94 in my case) and I am receiving data and serving it on port 8001 via http.

I have the plugin set to receive the same but getting an error message. Is this because this version (3.1) is python 2.7? Is that whats givng me the issues.? or is it a setup issue.?

this is what I am getting in Indigo.

WeatherSnoop Error Error getting station WMR 200A data
Traceback (most recent call last):
File "plugin.py", line 557, in update
f = urllib2.urlopen(theUrl)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

Posted on
Fri Jun 03, 2022 7:48 am
boisy offline
User avatar
Posts: 273
Joined: Jun 25, 2013

Re: Weathersnoop v3.1 instead of 3.2.

As you noted, I removed WeatherSnoop 2 support from the 3.2.0 release of the WeatherSnoop Indigo plugin.

The error you're receiving is HTTP Error 404. This appears to be an error communicating with the WeatherSnoop 2 server.

What exactly changed between the time it was working and the time it failed? Did you update to 2022.1?

Posted on
Fri Jun 03, 2022 5:35 pm
Ian offline
Posts: 66
Joined: Oct 13, 2008
Location: Ottawa, ON ,Canada

Re: Weathersnoop v3.1 instead of 3.2.

2 things changed......I had the weather station connected to a 11 year old imac. I was serving the weather via http on that iMac . The actual Indigo installation running the Automation is a Mac Mini. I was retrieving the data in Indigo by referencing the imac IP address and port and it was working OK......... The imac has been retired so I plugged the weather station directly in to the Mac mini and used its IP address and port in the Indigo setup and also upgraded the Indigo to 2022.1.1. Not sure which has caused the issue. FYI...I tried the IP address instead of "macmini2020.local". As you can see....Weathersnoop seems to be recieving the data from the weather station with no issues.
Attachments
Screen Shot 2022-06-03 at 9.11.28 AM.png
Screen Shot 2022-06-03 at 9.11.28 AM.png (157.82 KiB) Viewed 4442 times
Screen Shot 2022-06-03 at 7.28.51 PM.png
Screen Shot 2022-06-03 at 7.28.51 PM.png (53.76 KiB) Viewed 4442 times
Screen Shot 2022-06-03 at 9.11.02 AM.png
Screen Shot 2022-06-03 at 9.11.02 AM.png (194.18 KiB) Viewed 4442 times
Screen Shot 2022-06-03 at 7.25.24 PM.png
Screen Shot 2022-06-03 at 7.25.24 PM.png (329.99 KiB) Viewed 4442 times
Screen Shot 2022-06-03 at 9.11.12 AM.png
Screen Shot 2022-06-03 at 9.11.12 AM.png (408.36 KiB) Viewed 4442 times

Posted on
Sun Jun 05, 2022 3:59 am
boisy offline
User avatar
Posts: 273
Joined: Jun 25, 2013

Re: Weathersnoop v3.1 instead of 3.2.

Everything seems to appear correct.

What do you see if you type this address in a browser on your Mac mini:

Code: Select all
http://macmini2020.local:8001

Posted on
Tue Jun 07, 2022 6:46 am
Ian offline
Posts: 66
Joined: Oct 13, 2008
Location: Ottawa, ON ,Canada

Re: Weathersnoop v3.1 instead of 3.2.

Screen Shot 2022-06-07 at 8.42.55 AM.png
Screen Shot 2022-06-07 at 8.42.55 AM.png (167.33 KiB) Viewed 4399 times
Does not appear to be getting anything...tried 2 diffrenet browsers just to make sure. FYI...Obviously a Macmini (M1) and running OS 12.4
Attachments
Screen Shot 2022-06-07 at 8.44.43 AM.png
Screen Shot 2022-06-07 at 8.44.43 AM.png (293 KiB) Viewed 4399 times

Posted on
Tue Jun 07, 2022 6:50 am
boisy offline
User avatar
Posts: 273
Joined: Jun 25, 2013

Re: Weathersnoop v3.1 instead of 3.2.

That explains why the plugin isn't getting data from WeatherSnoop 2. For some reason, the web server isn't running.

The Mac mini is running both Indigo and WeatherSnoop 2. Try this in Terminal:

Code: Select all
curl -vvv localhost:8001


Do you get a response?

Posted on
Tue Jun 07, 2022 12:00 pm
Ian offline
Posts: 66
Joined: Oct 13, 2008
Location: Ottawa, ON ,Canada

Re: Weathersnoop v3.1 instead of 3.2.

This what it returned
Attachments
Screen Shot 2022-06-07 at 1.56.48 PM.png
Screen Shot 2022-06-07 at 1.56.48 PM.png (106.21 KiB) Viewed 4377 times

Posted on
Tue Jun 07, 2022 3:06 pm
boisy offline
User avatar
Posts: 273
Joined: Jun 25, 2013

Re: Weathersnoop v3.1 instead of 3.2.

Alright, now type this in Safari:

Code: Select all
http://localhost:8001


What happens?

Posted on
Tue Jun 07, 2022 3:19 pm
Ian offline
Posts: 66
Joined: Oct 13, 2008
Location: Ottawa, ON ,Canada

Re: Weathersnoop v3.1 instead of 3.2.

Nothing happens after I type it in....just a blank screen in Safari. Other websites do load so def connected.
Attachments
Screen Shot 2022-06-07 at 5.12.11 PM.png
Result
Screen Shot 2022-06-07 at 5.12.11 PM.png (427.66 KiB) Viewed 4359 times
Screen Shot 2022-06-07 at 5.11.57 PM.png
Entry
Screen Shot 2022-06-07 at 5.11.57 PM.png (196.53 KiB) Viewed 4359 times
Screen Shot 2022-06-07 at 5.11.46 PM.png
Safari
Screen Shot 2022-06-07 at 5.11.46 PM.png (203.26 KiB) Viewed 4359 times

Posted on
Tue Jun 07, 2022 3:22 pm
boisy offline
User avatar
Posts: 273
Joined: Jun 25, 2013

Re: Weathersnoop v3.1 instead of 3.2.

Ok, I think the WeatherSnoop 2 server is working, but only if you access it via localhost.

Can you setup your Indigo WS2 plugin to use localhost instead of the macmini2020.local and see if that makes a difference?

Posted on
Tue Jun 07, 2022 3:36 pm
Ian offline
Posts: 66
Joined: Oct 13, 2008
Location: Ottawa, ON ,Canada

Re: Weathersnoop v3.1 instead of 3.2.

I tried with localhost and also the IP address but no change unfortunately after I reloaded the plugin.
Attachments
Screen Shot 2022-06-07 at 5.34.13 PM.png
Screen Shot 2022-06-07 at 5.34.13 PM.png (289.07 KiB) Viewed 4345 times

Posted on
Tue Jun 07, 2022 4:00 pm
boisy offline
User avatar
Posts: 273
Joined: Jun 25, 2013

Re: Weathersnoop v3.1 instead of 3.2.

I'm out of ideas, Ian. Sorry.

Posted on
Thu Jun 09, 2022 2:59 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Weathersnoop v3.1 instead of 3.2.

I know nothing about Weathersnoop but can you try IP 127.0.01 which is equivalent to localhost?


Sent from my iPhone using Tapatalk Pro

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest