Weathersnoop v3.1 instead of 3.2.
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
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
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?
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?
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 (157.82 KiB) Viewed 6272 times
-
- Screen Shot 2022-06-03 at 7.28.51 PM.png (53.76 KiB) Viewed 6272 times
-
- Screen Shot 2022-06-03 at 9.11.02 AM.png (194.18 KiB) Viewed 6272 times
-
- Screen Shot 2022-06-03 at 7.25.24 PM.png (329.99 KiB) Viewed 6272 times
-
- Screen Shot 2022-06-03 at 9.11.12 AM.png (408.36 KiB) Viewed 6272 times
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:
What do you see if you type this address in a browser on your Mac mini:
Code: Select all
http://macmini2020.local:8001Re: Weathersnoop v3.1 instead of 3.2.
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 (293 KiB) Viewed 6229 times
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:
Do you get a response?
The Mac mini is running both Indigo and WeatherSnoop 2. Try this in Terminal:
Code: Select all
curl -vvv localhost:8001Re: Weathersnoop v3.1 instead of 3.2.
This what it returned
- Attachments
-
- Screen Shot 2022-06-07 at 1.56.48 PM.png (106.21 KiB) Viewed 6207 times
Re: Weathersnoop v3.1 instead of 3.2.
Alright, now type this in Safari:
What happens?
Code: Select all
http://localhost:8001Re: 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
-
- Result
- Screen Shot 2022-06-07 at 5.12.11 PM.png (427.66 KiB) Viewed 6189 times
-
- Entry
- Screen Shot 2022-06-07 at 5.11.57 PM.png (196.53 KiB) Viewed 6189 times
-
- Safari
- Screen Shot 2022-06-07 at 5.11.46 PM.png (203.26 KiB) Viewed 6189 times
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?
Can you setup your Indigo WS2 plugin to use localhost instead of the macmini2020.local and see if that makes a difference?
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 (289.07 KiB) Viewed 6175 times
Re: Weathersnoop v3.1 instead of 3.2.
I'm out of ideas, Ian. Sorry.
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
Sent from my iPhone using Tapatalk Pro