Ape / samsungctl

Remote control Samsung televisions via a TCP/IP connection
MIT License
712 stars 189 forks source link

"Check if on" command? #78

Open causalloop opened 6 years ago

causalloop commented 6 years ago

I realize I could ping it - but I get the impression this may not always be a reliable way to tell (I don't know what kinds of things it might do while its "off"). I don't want to send random commands in the instance someone is actually watching it, but essentially I want to be able to deal with the random turning itself on problem. Ultimately, in combo with my smartthings hub, the basic rule would be, 'if no one is home, and tv is on (or turns on), turn off', and maybe something similar if its 2am - though thats going to be a tough one to hash out since maybe I'm up late, or maybe the cats are running around playing 'death to all things not glued down' (making motion sensors not particularly useful - shock collars on the other hand... j/k).

Ape commented 6 years ago

See #71. However, I would just recommend using ping.

arsaboo commented 5 years ago

@Ape What is holding back #71?