I am trying to take data from an XML file and just put two of the elements into virtual devices. I have been searching up and down and can't seem to find the info I need to do this. I suspect it will take scripting but i really am limited (can read and modify slightly, but not build).
What I have done is setup a PHP script (there may be a better way of doing this, but its working) that outputs the data from said website into an XML formatted file that I have saved locally to my machine when invoked.
I need to be able to also refresh the data probably every 5 minutes for a few hours in the morning to keep the data fresh, but don't want to do it all the time all day to avoid doing too many API calls in a day.
The end results I want is to display this text in HSTouch (where 23 and Mild is the data I am getting from the XML file):
Current Drive Time is Roughly 23 Minutes, and Traffic Congestion is Mild.
What I have done is setup a PHP script (there may be a better way of doing this, but its working) that outputs the data from said website into an XML formatted file that I have saved locally to my machine when invoked.
I need to be able to also refresh the data probably every 5 minutes for a few hours in the morning to keep the data fresh, but don't want to do it all the time all day to avoid doing too many API calls in a day.
The end results I want is to display this text in HSTouch (where 23 and Mild is the data I am getting from the XML file):
Current Drive Time is Roughly 23 Minutes, and Traffic Congestion is Mild.
Comment