cafedude wrote:
> So I can use the URL in a browser and i see my data but when I try it
> from within LMS I'm getting a redirect error:
>
> [19-03-30 02:19:18.0045] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP
> (6140) error getting
> https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KCAMONRO2&format=1
> [19-03-30 02:19:18.0052] Plugins::SuperDateTime::Plugin::gotErrorViaHTTP
> (6141) Redirection limit exceeded
>
> Actually it was using http but when I try it from the browser it
> redirects to https so I tried modifying Plugin.pm but that didn't seem
> to make a difference.
>
> Also I'm not able to install using the repo.xml file. I had to download
> manually and expand in the Plugin directory but it keeps asking to
> restart and then the directory in
> /apps/nastools-logitechmediaserver/cache/InstalledPlugins keeps
> disappearing.
The location you are trying to manually install in is reserved for
plugins installed via repository. That's why it disappears on restart.
Look on the LMS information tab in the browser for other locations for
plugins.
Your weather station data pulls correctly on my LMS system. So it
appears the redirection error is related to your install. Are you
getting redirection errors for any other URLs?
Code:
--------------------
[19-03-30 10:28:40.4910] Plugins::SuperDateTime::Plugin::getLatLong (2618)
async request:
https://dsx.weather.com/wxd/v2/loc/en_US/66062:4:US?apiKey=7bb1c920-7027-4289-9c96-ae5e263980bc&format=json
[19-03-30 10:28:40.7680] Plugins::SuperDateTime::Plugin::gotLatLong (2629)
got
https://dsx.weather.com/wxd/v2/loc/en_US/66062:4:US?apiKey=7bb1c920-7027-4289-9c96-ae5e263980bc&format=json
[19-03-30 10:28:48.4937] Plugins::SuperDateTime::Plugin::refreshData (3905)
Data refresh in process...
[19-03-30 10:28:48.4950] Plugins::SuperDateTime::Plugin::getWeatherNow (3341)
async request:
https://api.weather.com/v2/turbo/vt1observation?apiKey=d522aa97197fd864d36b418f39ebb323&units=e&language=en-US&format=json&geocode=38.87,-94.77
[19-03-30 10:28:48.7624] Plugins::SuperDateTime::Plugin::gotWeatherNow (3356)
got
https://api.weather.com/v2/turbo/vt1observation?apiKey=d522aa97197fd864d36b418f39ebb323&units=e&language=en-US&format=json&geocode=38.87,-94.77
[19-03-30 10:28:48.7635] Plugins::SuperDateTime::Plugin::getWeatherToday
(2900) async request:
https://api.weather.com/v2/turbo/vt1dailyforecast?apiKey=d522aa97197fd864d36b418f39ebb323&format=json&language=en-US&units=e&geocode=38.87,-94.77
[19-03-30 10:28:48.9940] Plugins::SuperDateTime::Plugin::gotWeatherToday
(2915) got
https://api.weather.com/v2/turbo/vt1dailyforecast?apiKey=d522aa97197fd864d36b418f39ebb323&format=json&language=en-US&units=e&geocode=38.87,-94.77
[19-03-30 10:28:48.9975] Plugins::SuperDateTime::Plugin::getWunderground
(3470) async request:
http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KCAMONRO2&format=1
[19-03-30 10:28:49.6386] Plugins::SuperDateTime::Plugin::gotWunderground
(3487) got
http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KCAMONRO2&format=1
[19-03-30 10:28:49.6397] Plugins::SuperDateTime::Plugin::getMLB (4123) aync
request:
http://mlb.mlb.com/gdcross/components/game/mlb/year_2019/month_03/day_30/master_scoreboard.json
[19-03-30 10:28:50.1322] Plugins::SuperDateTime::Plugin::gotMLB (4148) got
http://mlb.mlb.com/gdcross/components/game/mlb/year_2019/month_03/day_30/master_scoreboard.json
[19-03-30 10:28:50.1479] Plugins::SuperDateTime::Plugin::getNFL (5395)
Skipping NFL...
--------------------
------------------------------------------------------------------------
BoomX2's Profile: http://forums.slimdevices.com/member.php?userid=33529
View this thread: http://forums.slimdevices.com/showthread.php?t=107202
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins