|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Traffic camera web page
Our local police department has opened access to many traffic cameras in our city. The cameras produce a jpeg image that is constantly updated. I've found the url for each camera I am interested in and have written a web page that auto-refreshes itself thus giving the images appear to be 'moving pictures'.
I would like to somehow have access to this web page under Sage so that I can see what the traffic is like before leaving home. Does this sound like something I should be using SageTV Studio to write or is there another way to do it? |
#2
|
||||
|
||||
Check out the Weather Report Suite Import. It works with the stock stv for Sage 6.4.8 (it's also built-in to SageMC, but not shown unless you point to it with the Dynamic menus).
Although it is intended to show weather, it will show any pictures you configure it to show. Configuration is done with an XML file that you can edit with any text editor (ie Windows Notepad). Sage does not support animated gifs, but the weather map import gets around this by loading several sequential images and sequencing through them. This is how it shows moving satellite weather maps. The import includes a sample weatherconfig.xml file that is pretty well documented inside with comments.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#3
|
||||
|
||||
Excellent! I'll give it a look. Thanks for the push in the right direction.
|
#4
|
||||
|
||||
Quote:
http://www.accuweather.com/radar-large.asp?partner=accuweather&traveler=0&zipChg=1&site=PA_&type=SIR&anim=1&level=state&large=1 The gif is located at http://sirocco.accuweather.com/nx_mo...inmaSIRPA_.gif No matter what I do, I cannot get the "animation" to work with the SageMC weather maps. I assume it's because I'm screwing something up, but I just can't figure it out. I managed to change the map names in the left column, as well as point them to static GIF images from AccuWeather, but the animation part is stumping me. Thanks. |
#5
|
|||
|
|||
The gif you linked to is animated. SageTV doesnt support those.
You'll have to use other software to split the animation into several still gifs, then point the weather map at all the gif files one after the other. Not sure SageTV (or is it SageMC?) will allow you to load the maps from a folder on the hard drive, so you might have to set up your own webserver and point it at that!
__________________
SageTV Server : Akasa Inifiiti Case, Gigabyte GA-P35C-DS3 MB, 8600GT, Core2 Duo (E6850 3GHz), 4GB RAM, ~6TB Filestore , Nova-TD500, TBS 6280, SageTV 7.1.9 New Client 2 :MSI P67A-GD53, i5 2500K Quad core (3.3GHz), 12GB, Windows 10 Pro (and test SageTV 9 Install) Sage Client 1 : HD300, Logitech Harmony One |
#6
|
||||
|
||||
Since I definitely don't want to use another program to get the map working, I can live without AccuWeather's maps. Back at Weather.com, I found this image http://image.weather.com/looper/arch...?1233037009974, which I see changes between 1L & 5L to create the animation.
What file needs to be edited in order to animate the above 5 images in SageMC? The only thing I've edited so far is my SageClient.properties file where I changed it to have the following lines: sagemc/wximage_title_1=Tri-State Conditions sagemc/wximage_title_2=NE Conditions sagemc/wximage_title_3=NE Precipitation sagemc/wximage_title_4=National Conditions sagemc/wximage_title_5=Morning Forecast sagemc/wximage_title_6=Evening Forecast sagemc/wximage_title_7=Current US Temps sagemc/wximage_url_1=http\://sirocco.accuweather.com/sat_mosaic_640x480_public/rs/isrpa_.jpg sagemc/wximage_url_2=http\://sirocco.accuweather.com/sat_mosaic_640x480_public/rs/isrne.jpg sagemc/wximage_url_3=http\://image.weather.com/images/maps/forecast/ne_precfcst_600x405.jpg sagemc/wximage_url_4=http\://image.weather.com/images/maps/current/curwx_600x405.jpg sagemc/wximage_url_5=http\://image.weather.com/images/maps/forecast/amfcst_600x405.jpg sagemc/wximage_url_6=http\://image.weather.com/images/maps/forecast/pmfcst_600x405.jpg sagemc/wximage_url_7=http\://image.weather.com/images/maps/current/acttemp_600x405.jpg Thanks! |
#7
|
|||
|
|||
This isnt exactly what you wanted... but I was planning to do something similar for a car computer. Just create a webpage on my local machine that linked to the cameras.
It sounds like from the previous posts you cant open with sage... which is a bummer.... but you can switch between your web browser and sage with the remote easily. I know from the RSS feed plug in that from sage you can open up your browser on a certain web site page... and it changes the focus from sage to the browser I was actually planning to do this for a mobile computer and have it gps driven.. showing me the cameras coming up on my drive. Heres just another thought.... any way to use the youtube access in sage to somehow make this work? or the upcoming hulu access? |
#8
|
||||
|
||||
Quote:
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#9
|
||||
|
||||
Does the WRS work with SageMC by default or will I need to do some serious tweaking?
|
#10
|
||||
|
||||
It's been awhile since I set it up. But read the wiki. I think SageMC basically put that plugin inplace with SageMC. Just run it and it should pull up some default maps. (I think)
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#11
|
||||
|
||||
I originally thought so, too. It definitely does put up default maps and I even changed them to the (static) ones I wanted. But, I'm trying to get animated maps, however I can. First, I thought WRS was built into SageMC, but then people seemed to say it wasn't. Then, I wanted to know how to implement WRS in SageMC. So, I'm back to my original question...
Can you get animated gifs (via cycling through several static images) in SageMC and, if so, how? I do appreciate everyone trying to help. |
#12
|
||||
|
||||
Quote:
Quote:
And sorry for taking this thread totally off the tracks. Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#13
|
||||
|
||||
Believe it or not, I did. I even searched that entire thread for any reference to SageMC and only got a handful of hits, only some of which were relevant. Then, I found a post from 2005 or 2006 saying that WRS probably wouldn't work with SageMC and another saying that WRS was implemented in SageMC at some point. So, I got stuck in a vicious circle with no real answer. I don't think that weatherconfig.xml is even used in my install, since there's no reference to my region, yet the sageclient.properties file I edited managed to change the maps. But, I'll go tinker with that xml file and see if anything changes. If not, I'll post a new thread and reference this one.
Sorry for hijacking this thread. I thought it might take just a single response or two to figure out what I was doing wrong and that the OP's issue was related. |
#14
|
||||
|
||||
I'm not currently running SageMC, but I did have it running about a month ago with the most recent release at the time (I think it was 6.3.8b). In that version, if you clicked on the weather icon from the main page it took you to a weather section that was unique to SageMC and had some weather maps. This is not the same as the Weather Report Suite import and I don't know how to customize it.
However, the Weather report suite is built in to SageMC - it just isn't exposed in any of the menus. You have to use the Dynamic Menus to get to it. Dynamic Menus are built in to SageMC, so it's just a matter of adding another menu item to one of your menus. Tell it to add an internal screen, then scroll through the available screens. The one you are looking for has the name SALZBT or something like that in the title. I can't remember the exact name but it is something like "WRS byt SALZBT" or "Weather Report Suite by SALZBOT" This one is just like the Weather Report Suite Import (but slightly tweaked to blend in with the SageMC theme). It uses the same weatherconfig.xml file to determine what to show. I hope that's enough to point you in the right direction.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#15
|
||||
|
||||
Yep... Gerry's info was spot on and I was able to find it all last night and enable it. Now I can start playing with the xml file.
Thanks, guys! And, sorry for hijacking this thread! I actually hate when people do that, so I'm REALLY sorry!!!! |
#16
|
|||
|
|||
Traffic cameras aren't very good at judging traffic speeds.
Does your city have motion sensing on the highways? Many large cities do now. For example, Minnesota metro: http://www.dot.state.mn.us/tmc/traff...efreshmap.html |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A Couple of Sage Web Server Questions... | robhix | SageTV Customizations | 4 | 01-22-2009 06:37 PM |
Traffic | QueOnda | SageTV Customizations | 2 | 12-16-2008 05:30 PM |
Web Page integration ... | CousinJed | SageTV Customizations | 3 | 08-06-2008 01:48 PM |
STV Import: Web page Viewer (v2.1 20/Dec/2007) | nielm | SageTV Customizations | 24 | 05-17-2008 12:15 AM |