[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
[200] C200 Standby mode from command line
11-07-2011, 03:24 PM
Post: #1
C200 Standby mode from command line
Hello,

Is it possible to put the device somehow into standby state from command line?
Find all posts by this user
Add Thank You Quote this message in a reply
11-07-2011, 04:32 PM (This post was last modified: 11-07-2011 04:34 PM by dc11ab.)
Post: #2
RE: C200 Standby mode from command line
Yes I think so.

I browsed the official API and couldn't find this function there, but I think a remote control daemon should be listening on port 30000 (check with portmap/ps or your favorite utility of choice!) which should accept the "Stand by" command ("Stand by" as a relative term). It was quite some time I used this, recent feedback suggests something has been changed - or there is a bug in the c200remote app.

Connect to unix port (telnet should work too) 30000 on your NMT
Press/submit character: x

That should turn off the video interface and set the led to light red (as opposed to "power off" dark red).
Think of it as a basic remote control daemon, acting similarly to the physical remote control.

It can receive more commands, as outlined here:
https://code.google.com/p/c200remote/wik...ommandsMap
(Note that the new API is much more handy and granular compared to the remote daemon!)

But the bug that appears in c200remote (if it is a bug?) acts as if the remote deamon on the NMT loops a toggle of the command; standby/on/standby/on etc. As said, I'm not sure if the daemon has changed or if there is a bug in the app. If you happen to have time to investigate that would be very much appreciated; all source etc. is at google code.

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to dc11ab for this post
11-08-2011, 06:59 PM
Post: #3
RE: C200 Standby mode from command line
thanks dc11ab

Code:
echo x | telnet localhost 30000

works fine.
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [200] Airplay server for C200 and A100 popcornmix 335 141,213 05-22-2013 11:01 PM
Last Post: jreijling
  Is there a FTP CLIENT i can install on my C200? parpagnas 0 147 05-19-2013 12:45 PM
Last Post: parpagnas
  [400] how to convert scripts from c200 (html+php) to a400 (javascript or bash or ???) ? dmhwsm 0 451 02-10-2013 05:39 PM
Last Post: dmhwsm
  [200] Using PopcornHour C200 as frontend for MythTV/MythWeb schaumburg 13 6,886 01-01-2013 01:02 AM
Last Post: flitter
  [200] Compiling SqueezeSlave for C200 papaiannis 15 3,655 12-21-2012 04:54 PM
Last Post: papaiannis
  [200] C200 and software raid xray 14 2,590 11-19-2012 08:41 PM
Last Post: seba0902
  [200] Network command for shut down on C200 JamesTF 6 1,463 11-14-2012 09:24 PM
Last Post: opfeifer
  [200] Calling an index.htm from putty command line JamesTF 8 1,409 06-19-2012 07:57 PM
Last Post: zombiehunter
  [200] [Apps] MPDJukebox for A200/C200 Grael 15 5,742 04-29-2012 11:13 PM
Last Post: Micki
  [200] man command in opkg? sshambar 0 710 04-16-2012 06:01 AM
Last Post: sshambar

Forum Jump: