This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Check the status of the device by LM3( on/off)
#1
hi everyone.! 
I have a device connected to the Internet with the IP address 192.168.1.12.(a  television)
how to check the status of the device using the  this IP address on LM3? (On or Off  television)  Sad
I first used LM3 , .... so limited.

i thank everyone in advance!  Heart
Reply
#2
First tou should check it from your PC as TV network interface might still work even when TV is in stand-by mode. Try doing ping 192.168.1.12 in Command Prompt when TV is On and Off and see if you get replies in both cases.
Reply
#3
(24.09.2015, 06:59)admin Wrote: First tou should check it from your PC as TV network interface might still work even when TV is in stand-by mode. Try doing ping 192.168.1.12 in Command Prompt when TV is On and Off and see if you get replies in both cases.

You're right, Off mode here I want to say is "Standby mode", TV is not turn off.
I want to write a script on LM3, to monitor the status of the television is on or off Sad
 How can I do?
 Thank you very much admin. <3
Reply
#4
Can you tell me the model of the TV that you are using?
Reply
#5
(28.09.2015, 06:12)admin Wrote: Can you tell me the model of the TV that you are using?

that here Smile SAMSUNG UA40J5200( internet tivi )
TV is in standby mode, not power off. 
thank all!
Reply
#6
Samsung does have some kind of IP protocol but there's no open specification for it. Other possible approaches are ExLink (RS232) or HDMI CEC (supported on LM4). The problem is that which features are supported depends on the actual TV model and it's impossible to know this beforehand without testing.
Reply
#7
(05.10.2015, 08:53)admin Wrote: Samsung does have some kind of IP protocol but there's no open specification for it. Other possible approaches are ExLink (RS232) or HDMI CEC (supported on LM4). The problem is that which features are supported depends on the actual TV model and it's impossible to know this beforehand without testing.
Yes. Thank admin
I wrote the following:

""value = event.getvalue()


  sock = socket.tcp()
  sockConfusedettimeout(1)

status = sock:connect('192.168.1.12',55000)""



Then the object can receive a value of 0 or 1 are not?( equivalent is turned on or off (stand by))
Smile
Reply


Forum Jump: