General discussion about LCD Smartie.
Moderators: _X7JAY7X_ , caesar , IFR , mattcro , limbo , Fast351
tzr916
Posts: 6 Joined: June 17th, 2014, 3:46 am
Post
by tzr916 » June 17th, 2014, 4:20 am
I have an iMon Soundgraph LCD in a Silverstone GD01MX. I have Window7 running WMC with cable card tuner via LAN. I can check the status of the tuners on a webpage. It returns the Temp, Signal Level, SNR, Status, Channel (and others). Is there any way to bring this up on the my iMon LCD?
Here is sample of the webpage:
Code: Select all
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:75px;' src='http Local IP/get_var?i=0&s=diag&v=Temperature'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:75px;' src='http Local IP/get_var?i=0&s=diag&v=Signal_Level'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:75px;' src='http Local IP/get_var?i=0&s=diag&v=Signal_SNR'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:75px;' src='http Local IP/get_var?i=0&s=av&v=TransportState'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:75px;' src='http Local IP/get_var?i=0&s=tuner&v=Frequency'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:75px;' src='http Local IP/get_var?i=0&s=tuner&v=Modulation'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:200px; height:75px;' src='http Local IP/get_var?i=0&s=diag&v=CopyProtectionStatus'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:75px;' src='http Local IP/get_var?i=0&s=cas&v=VirtualChannelNumber'>
dperrow
Plugin Author
Posts: 276 Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland
Post
by dperrow » June 17th, 2014, 9:04 am
Hi,
Can't think of anything offhand but sounds like this wouldn't be too hard to develop a plugin for. The command to get the data looks like it is something of the form 'Local IP/get_var?i=0&s=diag&v=Signal_Level' so a plugin could look like:
$dll(gethtml,1,"Local IP/get_var?i=0&s=diag&v=Signal_Level")
it would issue the tcp command and return the resulting string which could then be formatted with the trim, sandr etc. plugins.
If I get time this week I might have a go at this.
tzr916
Posts: 6 Joined: June 17th, 2014, 3:46 am
Post
by tzr916 » June 17th, 2014, 3:01 pm
Thanks! Man this would be so awesome!
It would really only need to display two values:
1. Local IP/get_var?i=0&s=av&v=TransportState
2. Local IP/get_var?i=0&s=cas&v=VirtualChannelNumber
On the webpage TransportState returns either "playing" or "stopped", VirtualChannelNumber returns a three digit number like "704" or "736" or "804". There are actually six tuners. So for example, if three tuners were in use it could show on the LCD as something like:
|| Tuner4 || Tuner5 || Tuner6 ||
|| CH 704 || CH 736 || CH 804 ||
And if only all six were in use then:
|| Tuner1 || Tuner2 || Tuner3 || Tuner4 || Tuner5 || Tuner6 ||
|| CH 704 || CH 736 || CH 804 || CH 708 || CH 760 || CH 369 ||
dperrow
Plugin Author
Posts: 276 Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland
Post
by dperrow » June 17th, 2014, 5:47 pm
Hi,
can you tell me the complete url you use to access this web page and can you also provide the text of the complete page returned pls.
Dave
dperrow
Plugin Author
Posts: 276 Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland
Post
by dperrow » June 17th, 2014, 5:50 pm
I assume you are using LCDSmartie to drive the display. What type of cable tuner/sofware that provides the web page?
dperrow
Plugin Author
Posts: 276 Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland
Post
by dperrow » June 17th, 2014, 6:34 pm
You could try the webtxt plugin which gets data from a url and returns it line by line. I haven't tried it myself but sounds like it might be appropriate.
tzr916
Posts: 6 Joined: June 17th, 2014, 3:46 am
Post
by tzr916 » June 17th, 2014, 11:42 pm
Right now I only have iMon software installed and working with the LCD. The Ceton Tv tuner is on the LAN with local IP of 192.168.1.47. I think the tuner has a web server built into it? Checking the tuner status is just an HTML file (portion of code provided) that looks like this in a browser:
dperrow
Plugin Author
Posts: 276 Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland
Post
by dperrow » June 18th, 2014, 8:33 am
Do you actually have LCDSmartie driving the display? I notice on another topic you asking about whether Smartie will drive an iMon display. There's no point in me developing a Smartie plugin if you cant drive the display now is there?
I need the whole of the code delivered by the page not just a section of it.
tzr916
Posts: 6 Joined: June 17th, 2014, 3:46 am
Post
by tzr916 » June 18th, 2014, 2:47 pm
There's no point in me developing a Smartie plugin if you cant drive the display now is there?
I completely understand.
I notice on another topic you asking about whether Smartie will drive an iMon display.
Ya, I kinda need help with this. Nobody has replied to tell me if it might work or not? So far the main LCD Smarite website only mentions Soundgraph VFD. Nothing about LCD. All info I have seen doesn't go as high as 96x16. Do I just install LCD Smartie and it will detect the LCD? Or does it need config/plugin to even run?
I need the whole of the code delivered by the page not just a section of it.
Here is the entire code:
Code: Select all
<html>
<body>
<div class='header'> Ceton InfiniTV</div>
<table>
<tr>
<td width=100>Temp</td>
<td width=100>Signal Level</td>
<td width=100>SNR</td>
<td width=100>Playback</td>
<td width=100>Frequency</td>
<td width=100>Modulation</td>
<td width=200>Copy Protection</td>
<td width=100>Channel</td>
</tr>
</table>
<div id="variable_row">
<div id="variable_label">Tuner #1:</div>
<div id="variable_value">
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=0&s=diag&v=Temperature'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=0&s=diag&v=Signal_Level'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=0&s=diag&v=Signal_SNR'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=0&s=av&v=TransportState'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=0&s=tuner&v=Frequency'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=0&s=tuner&v=Modulation'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:200px; height:50px;' src='http://192.168.1.47/get_var?i=0&s=diag&v=CopyProtectionStatus'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=0&s=cas&v=VirtualChannelNumber'>
</iframe>
</div>
</div>
<div id="variable_label">Tuner #2:</div>
<div id="variable_value">
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=1&s=diag&v=Temperature'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=1&s=diag&v=Signal_Level'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=1&s=diag&v=Signal_SNR'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=1&s=av&v=TransportState'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=1&s=tuner&v=Frequency'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=1&s=tuner&v=Modulation'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:200px; height:50px;' src='http://192.168.1.47/get_var?i=1&s=diag&v=CopyProtectionStatus'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=1&s=cas&v=VirtualChannelNumber'>
</iframe>
</div>
<div id="variable_label">Tuner #3:</div>
<div id="variable_value">
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=2&s=diag&v=Temperature'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=2&s=diag&v=Signal_Level'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=2&s=diag&v=Signal_SNR'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=2&s=av&v=TransportState'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=2&s=tuner&v=Frequency'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=2&s=tuner&v=Modulation'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:200px; height:50px;' src='http://192.168.1.47/get_var?i=2&s=diag&v=CopyProtectionStatus'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=2&s=cas&v=VirtualChannelNumber'>
</iframe>
</div>
<div id="variable_label">Tuner #4:</div>
<div id="variable_value">
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=3&s=diag&v=Temperature'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=3&s=diag&v=Signal_Level'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=3&s=diag&v=Signal_SNR'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=3&s=av&v=TransportState'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=3&s=tuner&v=Frequency'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=3&s=tuner&v=Modulation'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:200px; height:50px;' src='http://192.168.1.47/get_var?i=3&s=diag&v=CopyProtectionStatus'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=3&s=cas&v=VirtualChannelNumber'>
</iframe>
</div>
<div id="variable_label">Tuner #5:</div>
<div id="variable_value">
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=4&s=diag&v=Temperature'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=4&s=diag&v=Signal_Level'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=4&s=diag&v=Signal_SNR'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=4&s=av&v=TransportState'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=4&s=tuner&v=Frequency'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=4&s=tuner&v=Modulation'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:200px; height:50px;' src='http://192.168.1.47/get_var?i=4&s=diag&v=CopyProtectionStatus'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=4&s=cas&v=VirtualChannelNumber'>
</iframe>
</div>
<div id="variable_label">Tuner #6:</div>
<div id="variable_value">
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=5&s=diag&v=Temperature'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=5&s=diag&v=Signal_Level'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=5&s=diag&v=Signal_SNR'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=5&s=av&v=TransportState'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=5&s=tuner&v=Frequency'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=5&s=tuner&v=Modulation'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:200px; height:50px;' src='http://192.168.1.47/get_var?i=5&s=diag&v=CopyProtectionStatus'>
</iframe>
<iframe frameborder='0' scrolling='no' style='padding: 0px; margin: 0px; width:100px; height:50px;' src='http://192.168.1.47/get_var?i=5&s=cas&v=VirtualChannelNumber'>
</iframe>
</div>
</body>
</html>
dperrow
Plugin Author
Posts: 276 Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland
Post
by dperrow » June 19th, 2014, 10:21 pm
Hi,
I found this:
http://forum.xbmc.org/showthread.php?tid=196145
and I think the display driver for LCDSmartie linked there would drive your display. You won't need all the XBMC stuff. Obviously I can't try it cause I don't have that display.
Give it a try with some simple text in Smartie and let me know if it works. I've developed a dll to get http stuff which should work with your box and if Smartie works with that display driver i'll post it and we can test it out.