ftarz wrote: 
> I'm trying to get SuperDateTime plugin working with piCorePlayer Version
> 4.1.0. I have it set as a screensaver when piCorePlayer is off. When I
> first boor piCorePlayer on the date and time are displayed but no
> weather data is shown. If I run /Extras/SuperDateTime/Current Conditions
> 2 or 3 times then current weather data is shown and the screensaver will
> show it as well.
> 
> I enabled debugging for the SuperDateTime plugin and also captured
> network traffic from piCorePlayer.
> 
> Can anyone provide so light into what's happening?
> 
> When I first boot piCorePlayer I see SuperDateTime plugin trying to get
> weather data, but no values are returned:
> 
> [19-03-24 14:01:20.8554] Plugins::SuperDateTime::Plugin::initPlugin
> (1948) Initializing 5.9.51 .
> [19-03-24 14:01:20.8569] Plugins::SuperDateTime::Plugin::getLatLong
> (2618) async request:
> https://dsx.weather.com/wxd/v2/loc/en_US/08006:4:US?apiKey=7bb1c920-7027-4289-9c96-ae5e263980bc&format=json
> [19-03-24 14:01:23.0272] Plugins::SuperDateTime::Plugin::gotLatLong
> (2629) got
> https://dsx.weather.com/wxd/v2/loc/en_US/08006:4:US?apiKey=7bb1c920-7027-4289-9c96-ae5e263980bc&format=json
> [19-03-24 14:01:23.0280] Plugins::SuperDateTime::Plugin::gotLatLong
> (2636) New Latitude: 39.76
> [19-03-24 14:01:23.0284] Plugins::SuperDateTime::Plugin::gotLatLong
> (2637) New Longitude: -74.11
> [19-03-24 14:01:29.3689] Plugins::SuperDateTime::Plugin::macroString
> (6970) Inside CLI request macroString
> [19-03-24 14:01:29.3695] Plugins::SuperDateTime::Plugin::macroString
> (6977) Incoming string: %t Period: -1
> [19-03-24 14:01:29.3709] Plugins::SuperDateTime::Plugin::macroString
> (6980) Outgoing string: °
> [19-03-24 14:01:29.3714] Plugins::SuperDateTime::Plugin::macroString
> (6996) Done
> [19-03-24 14:01:29.3762] Plugins::SuperDateTime::Plugin::macroString
> (6970) Inside CLI request macroString
> [19-03-24 14:01:29.3767] Plugins::SuperDateTime::Plugin::macroString
> (6977) Incoming string: %v Period: -1
> [19-03-24 14:01:29.3775] Plugins::SuperDateTime::Plugin::macroString
> (6980) Outgoing string:
> [19-03-24 14:01:29.3779] Plugins::SuperDateTime::Plugin::macroString
> (6996) Done
> [19-03-24 14:01:29.3822] Plugins::SuperDateTime::Plugin::macroString
> (6970) Inside CLI request macroString
> [19-03-24 14:01:29.3827] Plugins::SuperDateTime::Plugin::macroString
> (6977) Incoming string: Sunrise: %s Period: -1
> [19-03-24 14:01:29.3835] Plugins::SuperDateTime::Plugin::macroString
> (6980) Outgoing string: Sunrise:
> [19-03-24 14:01:29.3839] Plugins::SuperDateTime::Plugin::macroString
> (6996) Done
> [19-03-24 14:01:29.3883] Plugins::SuperDateTime::Plugin::macroString
> (6970) Inside CLI request macroString
> [19-03-24 14:01:29.3888] Plugins::SuperDateTime::Plugin::macroString
> (6977) Incoming string: Sunset: %S Period: -1
> [19-03-24 14:01:29.3896] Plugins::SuperDateTime::Plugin::macroString
> (6980) Outgoing string: Sunset:
> [19-03-24 14:01:29.3900] Plugins::SuperDateTime::Plugin::macroString
> (6996) Done
> [19-03-24 14:01:29.3942] Plugins::SuperDateTime::Plugin::macroString
> (6970) Inside CLI request macroString
> [19-03-24 14:01:29.3947] Plugins::SuperDateTime::Plugin::macroString
> (6977) Incoming string: %y Period: 0
> [19-03-24 14:01:29.3954] Plugins::SuperDateTime::Plugin::macroString
> (6980) Outgoing string:
> [19-03-24 14:01:29.3958] Plugins::SuperDateTime::Plugin::macroString
> (6996) Done
> [19-03-24 14:01:29.4003] Plugins::SuperDateTime::Plugin::macroString
> (6970) Inside CLI request macroString
> [19-03-24 14:01:29.4008] Plugins::SuperDateTime::Plugin::macroString
> (6977) Incoming string: %v Period: 0
> [19-03-24 14:01:29.4015] Plugins::SuperDateTime::Plugin::macroString
> (6980) Outgoing string:
> [19-03-24 14:01:29.4019] Plugins::SuperDateTime::Plugin::macroString
> (6996) Done
> [19-03-24 14:01:29.4064] Plugins::SuperDateTime::Plugin::macroString
> (6970) Inside CLI request macroString
> [19-03-24 14:01:29.4071] Plugins::SuperDateTime::Plugin::macroString
> (6977) Incoming string: %z Pr: %x% Period: 0
> [19-03-24 14:01:29.4081] Plugins::SuperDateTime::Plugin::macroString
> (6980) Outgoing string:  ° Pr: %
> [19-03-24 14:01:29.4085] Plugins::SuperDateTime::Plugin::macroString
> (6996) Done
> [19-03-24 14:01:29.4136] Plugins::SuperDateTime::Plugin::macroString
> (6970) Inside CLI request macroString
> [19-03-24 14:01:29.4141] Plugins::SuperDateTime::Plugin::macroString
> (6977) Incoming string: %y Period: 1
> [19-03-24 14:01:29.4150] Plugins::SuperDateTime::Plugin::macroString
> (6980) Outgoing string:
> [19-03-24 14:01:29.4155] Plugins::SuperDateTime::Plugin::macroString
> (6996) Done
> [19-03-24 14:01:29.4217] Plugins::SuperDateTime::Plugin::macroString
> (6970) Inside CLI request macroString
> [19-03-24 14:01:29.4223] Plugins::SuperDateTime::Plugin::macroString
> (6977) Incoming string: %v Period: 1
> [19-03-24 14:01:29.4231] Plugins::SuperDateTime::Plugin::macroString
> (6980) Outgoing string:
> [19-03-24 14:01:29.4237] Plugins::SuperDateTime::Plugin::macroString
> (6996) Done
> 
> 
> I left piCorePlayer sit for 2 hours, but no weather data was ever
> shown.
> 
> Then I run /Extras/SuperDateTime/Current Conditions and observe that
> weather is now returned:
> 
> [19-03-24 16:48:31.4740] Plugins::SuperDateTime::Plugin::duetCheck
> (2216) No active SDT clients so checking for duet only configuration.
> [19-03-24 16:48:31.4746] Plugins::SuperDateTime::Plugin::duetCheck
> (2222) Non-display player found, configuring SDT to always refresh
> data.
> [19-03-24 16:48:36.4764] Plugins::SuperDateTime::Plugin::refreshData
> (3905) Data refresh in process...
> [19-03-24 16:48:36.4775] Plugins::SuperDateTime::Plugin::refreshData
> (3939) Pacific Hour/Date:12/24
> [19-03-24 16:48:36.4781] Plugins::SuperDateTime::Plugin::getWeatherNow
> (3341) async request:
> https://api.weather.com/v2/turbo/vt1observation?apiKey=d522aa97197fd864d36b418f39ebb323&units=e&language=en-US&format=json&geocode=39.76,-74.11
> [19-03-24 16:48:37.5854] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3356) got
> https://api.weather.com/v2/turbo/vt1observation?apiKey=d522aa97197fd864d36b418f39ebb323&units=e&language=en-US&format=json&geocode=39.76,-74.11
> [19-03-24 16:48:37.5862] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3429) Time of Day: Currently
> [19-03-24 16:48:37.5866] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3430) Temperature F: 59
> [19-03-24 16:48:37.5870] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3431) Temperature C: 15
> [19-03-24 16:48:37.5874] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3432) ICON: 32
> [19-03-24 16:48:37.5878] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3433) ICON URL: /plugins/SuperDateTime/html/images/32.png
> [19-03-24 16:48:37.5882] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3434) Feels Like F: 56
> [19-03-24 16:48:37.5886] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3435) Feels Like C: 13
> [19-03-24 16:48:37.5889] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3436) Wind Speed MPH: SW16
> [19-03-24 16:48:37.5893] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3437) Wind Speed KM/H: SW26
> [19-03-24 16:48:37.5897] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3438) Wind Speed Knots/H: SW14
> [19-03-24 16:48:37.5900] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3439) Wind Speed Meters/S: SW7
> [19-03-24 16:48:37.5904] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3440) Sky Condition: Sunny
> [19-03-24 16:48:37.5908] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3441) Humidity: 29
> [19-03-24 16:48:37.5912] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3442) Dewpoint F: 26
> [19-03-24 16:48:37.5915] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3443) Dewpoint C: -3
> [19-03-24 16:48:37.5919] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3444) Barometer IN: 30.11
> [19-03-24 16:48:37.5923] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3445) Barometer MB: 1020
> [19-03-24 16:48:37.5927] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3446) Trend Raw: 2
> [19-03-24 16:48:37.5930] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3447) Trend: -
> [19-03-24 16:48:37.5934] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3448) UV Index: 2
> [19-03-24 16:48:37.5938] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3449) UV Text: Low
> [19-03-24 16:48:37.5942] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3450) 24Hr Rain Total: 0
> [19-03-24 16:48:37.5945] Plugins::SuperDateTime::Plugin::gotWeatherNow
> (3451) Snow Depth: 0
> [19-03-24 16:48:37.5950] Plugins::SuperDateTime::Plugin::getWeatherToday
> (2900) async request:
> https://api.weather.com/v2/turbo/vt1dailyforecast?
> [There is code from Greg's original plugin that checked for duet only
systems.  I. E. No display.  It looks like this might be coming into
play with your setup.  What do you have for players /display?  Can you
send me zip file of your log file with debug turned on.  The excerpts
you posted are helpful but I like to see more detail. 

Sent from my SAMSUNG-SM-G891A using Tapatalk




------------------------------------------------------------------------
BoomX2's Profile: http://forums.slimdevices.com/member.php?userid=33529
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to